Showing posts with label SQL. Show all posts
Showing posts with label SQL. Show all posts

December 3, 2014

Error: KDC Event ID 11 There are multiple accounts with name MSSQLsvc

Source: KDC
Event ID: 11
Description: There are multiple accounts with name MSSQLSvc/databaseserver1.local:1433 of type DS_SERVICE_PRINCIPAL_NAME




This error occured when a computer join a domain in the same name and same user in the network. Or Starting the SQL server services and SQL server agent in different user resulting to duplicate SERVICE PRINCIPAL NAME in one port which is 1433.

To Solve this use the setspn tools from your domain controller. If this tools is not installed in your domain controller you can download it in microsoft.

First locate the duplicate Name
1. run>cmd.exe
2. In your command prompt type:
setspn -x
This will view the duplicate name, take note of the computer name and the user (Ex: databaseserver1,Administrator)

Finally you can now delete the duplicate SPN
1. In your command prompt type:

setspn -D MSSQLSvc/databaseserver1.local:1433 Administrator

2. Check again if the duplicate still exist by typing the  setspn -x

DONE!

Hope this helps. It takes me two days solving this kind of error in my server.



November 27, 2014

SQL Error 1069: The service did not start due to a logon Failure.

As the error message says it is a log on failure, maybe the password data in registry is damage or the credentials for that services is change.

Check first the network if it is connected or getting the right IP address.

Go to Control Panel/Administrative Tools>Services locate for MSSQLSERVER service right click then properties. Click log on tab then change the Username and Password, or just check the local system click Apply. 

Then on the General tab click start.

Hope it solves your problem.