October 8, 2007 at 3:53 am
My SQL Server Agent stops and cannot be started when viewing the error logs it displays the following errors:
[298] SQLServer Error: 18456, Login failed for user 'NT AUTHORITY\SYSTEM'. [SQLSTATE 28000]
000] Unable to connect to server '(local)'; SQLServerAgent cannot start
[098] SQLServerAgent terminated (normally)
tried starting using the Services in control panel but to no avail what could be the problem? dunno what errors are saying....
There are no errors written in the event viewer only in the SQL Server Agent Error Log although this happened in my dummy database (testing server) i want to know what happened in my SQL Server agent
"-=Still Learning=-"
Lester Policarpio
October 8, 2007 at 4:56 am
Looking at the error message my first guess would be that you removed the Builtin\Administrators and now the local system acocunt can't login to the server.
If that's the case add a windows login 'NT Authority\System' and make it member of tyhe sysadmin role.
Hope this helps
Markus
[font="Verdana"]Markus Bohse[/font]
October 8, 2007 at 6:56 pm
thanks very much Marcus!!!!!! works very fine the SQL Server Agent starts again ill take note this information
"-=Still Learning=-"
Lester Policarpio
February 6, 2009 at 1:17 pm
Hola, Yo tenía el mismo problema y también me funcionó. Gracias.
October 18, 2011 at 1:26 pm
You may solve this problem by assigning user rights to the user: "NT AUTHORITY\SYSTEM".
Follow these steps:
Open "SQL Server Management Studio".
Open "Security, and then Logins".
Rightclick on user: "NT AUTHORITY\SYSTEM >> Properties".
Select "Server Roles" tab, and check the "sysadmin" server role.
You are done. SQL Server Agent will be started now.
August 19, 2013 at 1:27 pm
Unable to Start SQL Server Agent: it's greyed out and there are no options for it.
Running Windows-7 Pro 32 bit, with SQL Server 2008 R2. Apparently unable to install Management Studio or maybe it's already installed.
Cannot create a user=> "NT Authority/System" as those characters are not allowed in the username. The is only 1 user acount => john with Admin privildges. How do I create this NT Authority account and configure it?
Thanks
May 31, 2014 at 3:33 pm
Try these 2 way and share if it works...
1st way
USE master
CREATE LOGIN [NT AUTHORITY\SYSTEM] From Windows with default_database = [master], DEFAULT_LANGUAGE=[us_english]
2nd way
If this account is missing under Security/Logins then please add the login by the following syntax:
sp_grantlogin 'NT AUTHORITY\SYSTEM' if this fails then try this sp_grantlogin '[NT AUTHORITY\SYSTEM]'
then
make sure the default database for ' NT AUTHORITY\SYSTEM ' login is master.
then
Go to 'Security->Logins' in Management Studio, open the properties window of ' NT AUTHORITY\SYSTEM ' login, at the 'User Mapping' tab, map the appropriate database and select the required database role for each database.
Sanjiv
HTH
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply