all groups > sql server replication > march 2006 >
You're in the

sql server replication

group:

Access Denied when starting Log Reader


Access Denied when starting Log Reader fnadal via SQLMonster.com
3/21/2006 9:29:40 PM
sql server replication:
I've been trying to set up the publisher for transactional replication.

The distribution server is sp2 the subscriber is sp3.

I have set up replication on Server1 to be its own distributor.

However I have been recieving errors such as this below:

SQL Server Enterprise Manager could not start the service 'SQLSERVERAGENT' on
server 'Server1'. 5 - (Access is denied)

and

Execute permission denied on object 'sp_mshelp_logreader_agentid'.

or

The could not access database db1 on Server1.

I also checked the services msssqlserver and sqlserveragent on the other
server and the 'log on as' is the same on both which has admin rights.

I'm really stumped, I don't know what to check next.

--
Message posted via SQLMonster.com
Re: Access Denied when starting Log Reader Hilary Cotter
3/21/2006 10:50:24 PM
Right click on the log reader agent and make the job owner sa, then right
click again and restart it.

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com



[quoted text, click to view]

Re: Access Denied when starting Log Reader Paul Ibison
3/22/2006 12:00:00 AM
Please make sure that SQL Server Agent and the SQL Server Service both use
the same domain account (in local admins).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)

Re: Access Denied when starting Log Reader fnadal via SQLMonster.com
3/22/2006 12:00:00 AM
[quoted text, click to view]


The log reader agent is set to use SA. Still can't access database.

Both the services are using the same domain account.

I'm stumped. Thanks for the help nonetheless.

--
Message posted via SQLMonster.com
Re: Access Denied when starting Log Reader Paul Ibison
3/22/2006 12:00:00 AM
Is the domain account a local administrator?
Also, can you start the sql server agent service manually?
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)


Re: Access Denied when starting Log Reader Paramasivam Srinivasan
4/7/2006 12:00:00 AM
Hi

I had the same problem. I applied Sp3 in the distributor. It started to
work..

P. Srinivasan MCDBA
Consultant
C-13/1,GF,Tulip Garden, Ardee City,
Sector-52,
Gurgaon-122003
India
Mobile:+91-9810321551

[quoted text, click to view]

AddThis Social Bookmark Button