Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 log shipping, job agent service in the secondary

Author  Topic 

java148
Yak Posting Veteran

63 Posts

Posted - 2011-11-28 : 13:00:10
In the log shipping of 2008 server, the job agent service in the secondary server has to be activated ?

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-11-28 : 20:08:59
Yes. Why wouldn't you want it to be started?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

java148
Yak Posting Veteran

63 Posts

Posted - 2011-11-28 : 21:42:52
I can't start the job agent service in my secondary server. Maybe it is the account problem.

Thanks.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-11-28 : 21:49:28
The application log in Event Viewer is your friend here. It'll have the reason for the service failing to start. Resolve that.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

java148
Yak Posting Veteran

63 Posts

Posted - 2011-11-28 : 22:41:42
here is the SQLAGENT log . is it related to DisableAgentXPs ? I tried all accounts , Network, Local System and Local service, failed.

I do remember I have disabled SA account and created my own account. I can't use Windows Authentication to log in, only SQL server authentication works now.

Thanks


2011-11-29 22:33:03 - ! [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. [SQLSTATE 28000]
2011-11-29 22:33:03 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
2011-11-29 22:33:03 - ! [298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. [SQLSTATE 28000]
2011-11-29 22:33:03 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
2011-11-29 22:33:04 - ? [098] SQLServerAgent terminated (normally)


Go to Top of Page

java148
Yak Posting Veteran

63 Posts

Posted - 2011-11-28 : 23:05:06
finally made it work. I enabled XP Agent. When I use 'local service' account to login job agent, I have to apply first, then start it. The lesson I learned is this 'APPLY' .

Thanks
Go to Top of Page
   

- Advertisement -