SQL Server Agent not starting automatically on server reboot [closed]

半城伤御伤魂 提交于 2019-12-23 10:18:59

问题


I have noticed that SQL Agent does not start automatically after a reboot/shutdown on a few of our servers (SQL server starts up fine). The service is set to automatically start in windows. When we start SQL agent manually, it starts fine.


回答1:


Add your windows level user in following path:

Click on Start - Run - Secpol.msc

Go to: Local Policies - User right assignments

Ensure the user account your running the SQL Agent Service under has the following assignments:

  1. Act as a part of the Operating system

  2. bypass Traverse checking

  3. Lock pages in memory

  4. Log on as a service

  5. Log on a batch job

  6. Replace process level token

If not, please add them and try restarting your system. Your SQL Server should be now be automatically starting as a service.



来源:https://stackoverflow.com/questions/25619950/sql-server-agent-not-starting-automatically-on-server-reboot

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!