Ошибка полученные сведения об учетной записи код ошибки 0x54b

Добрый день,

недавно переименовали один из контроллеров домена (носитель всех ролей), второй контроллер домена (в той же локации) создали заново.

Оба контроллера перенесли в другой vlan. Раньше они оба находились в vlan’е с пользовательскими компьютерами.

И теперь групповые политики, которые должны применяться при загрузки компьютера, например, установка програмного обеспечения, перестали работать.

Сначало в журнале выдает ошибку 7017 4 раза:

    

Системный вызов для получения сведений об учетной записи завершен.

     Ошибка вызова через 0 мс.

Потом пишет ошибку 7320

     Ошибка: Полученные сведения об учетной записи. Код ошибки 0x54B.

Затем ошибка 7000

    Не удалось обработать политику загрузки компьютера для DomainD-TEST7$ за 1 с.

И в итоге ошибка 1129

     Ошибка при обработке групповой политики из-за отсутствия сетевого подключения к контроллеру домена. Это может быть временным явлением. Будет создано сообщение об успехе после того, как компьютер удастся подключить к контроллеру
домена и групповая политика будет обработана успешно. Если в течение нескольких часов это сообщение не появляется, обратитесь к системному администратору.

В чем может быть трабла?

Причем такое поведение наблюдается не на всех компьютерах домена, на некоторых политики обрабатываются нормально. То есть ошибка 7017 либо вообще не появляется, либо появляется один раз, а со второго раза сведения об учетной записи получаются нормально.

На контроллере домена, никаких похожих ошибок не нашел. dcdiag выполняется корректно, только ругается на журнал и репликацию DFS, но имхо это не связано.

Есть подозрение, что он ищет старый контроллер домена, но у меня вообще нет предположений, как это можно проверить.

  • Изменен тип

    27 марта 2013 г. 15:00
    Давность и отсуствие действий

  • Remove From My Forums
  • Question

  • I am running SQLExpress 2005, on Win 2003.

    Occasionally in the event viewer I see the message:

    The SQL Network Interface library was unable to register SPN. Error: 0x54b

    When I click on the link on the event viewer for more info, there is no further details.

    Can someone clarify what this message means and should I be concerned

    Thanks

Answers

  • Hi,

    Is your machine part of a domain or just workgroup?

    This probably isn’t an error that you need to be concerned about.  Every time an instance is started, SQL Server will attempt to automatically register a Service Principal Name (SPN) to be used for Kerberos authentication in case it’s available(the BOL has more information about the format of the SPN).    Kerberos authentication requires that the client and server machines belong to the same domain or else, trusted domains.  In your case, the error indicates a Windows error of 1355 (=0x54B) which translates to «The specified domain either does not exist or could not be contacted.»  If I had to guess, I would say that your machine is not part of a domain.  There’s no problem with this except that Kerberos authentication will not be available.

    One other thing.  The registration of the SPN will only succeed if the account starting the service has the privilege to do so —normally the Local System Account or a Domain Admin account.  But if SPN registration failed because of lack of privilege, the error would be different.

    I hope this helps.

    Il-Sung.

    Il-Sung Lee
    Program Manager, SQL Server Protocols
    Microsoft Corp.

    This posting is provided «AS IS» with no warranties, and confers no rights.

Содержание

  1. Error 0x54b sql server
  2. Answered by:
  3. Question
  4. Answers
  5. Error 0x54b sql server
  6. Error 0x54b sql server
  7. Вопрос
  8. Ответы
  9. Error 0x54b sql server
  10. Вопрос
  11. Ответы
  12. Error 0x54b sql server

Error 0x54b sql server

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Answered by:

Question

I get the error below when I look at the the error log:-

‘Error: 0x54b, state: 3. Failure to register an SPN»

I cannot progress to install the SQL 2012 and would appreciate some advice on how to install SQL 2012.

Answers

The failure to register a Service Principal Name is typically an error you’ll see in the error log when the instance starts up and can’t register the SPN used for Kerberos authentication. Is this really causing the SQL Server install to fail or are you just seeing the error message in the error log? If setup is failing and throwing this error, can you post the screenshot showing the error along with the setup logs?

Here’s an older thread regarding the exact error message:

Thanks,
Sam Lester (MSFT)

This posting is provided «AS IS» with no warranties, and confers no rights. Please remember to click «Mark as Answer» and «Vote as Helpful» on posts that help you. This can be beneficial to other community members reading the thread.

  • Marked as answer by Olaf Helper MVP Saturday, November 10, 2018 8:23 AM

SPNs are used by the Kerberos authentication protocol, we will meet the above error message when the service account SQL server does not have sufficient rights to register the SPN.

Which service account did you use? If it is LocalSystem account, SPN is automatically registered as SQL registering with the machine account that has the right to create an SPN default. If it is domain account or a local account, we will need to add permission for them.

Источник

Error 0x54b sql server

Thank you for the reply.

This seems a permission issue.

Now please change it back to ‘Local System account”. Logon a local account with administrator privilege, add a domain account to the local Administrators group. Then logon this domain account and try to start Windows Deployment Services again.

In addition, I am wondering how you installed a boot image and install image from the Server 2008 install CD in Step 4 without starting Windows Deployment Services. Using command lines?

When I set the service back to normal, I continue to get the original error.

I don’t understand what you mean by this:

«Logon a local account with administrator privilege, add a domain account to the local Administrators group. Then logon this domain account and try to start Windows Deployment Services again.»

What I did was this:

1: Log in to the server with my Domain Admin account
2: Went to the Services and set the WDS to log in as the miltonstreetAdministrator account. (miltonstreet is the domain)

This is when I got the error 7000

I just tried the same thing, but this time setting WDS to log in using the account I logged into the machine, miltonstreetsam and I am getting the same error 7000. miltonstreetsam *IS* a member of the server’s local Administrators group.

As far as how I setup the boot image, I simply followed the instructions that are online at MSDN. It seemed to copy the files over even though the service was not running.

Again, if there is a good book that will talk about the in’s and out’s of setting up the WDS, I would really like to get my hands on it. I think there are a number of things go on here that I don’t understand and I would like to. Such as, what exactly is a boot image compared to an install image? I have seen WDS used at a previous job, but never worked with it in detail. I have a feeling a lot of my questions would go away if I could simply find a good source of info on what WDS is and how to setup it up correctly.

Источник

Error 0x54b sql server

Вопрос

I get the error below when I look at the the error log:-

‘Error: 0x54b, state: 3. Failure to register an SPN»

I cannot progress to install the SQL 2012 and would appreciate some advice on how to install SQL 2012.

Ответы

The failure to register a Service Principal Name is typically an error you’ll see in the error log when the instance starts up and can’t register the SPN used for Kerberos authentication. Is this really causing the SQL Server install to fail or are you just seeing the error message in the error log? If setup is failing and throwing this error, can you post the screenshot showing the error along with the setup logs?

Here’s an older thread regarding the exact error message:

Thanks,
Sam Lester (MSFT)

This posting is provided «AS IS» with no warranties, and confers no rights. Please remember to click «Mark as Answer» and «Vote as Helpful» on posts that help you. This can be beneficial to other community members reading the thread.

  • Помечено в качестве ответа Olaf Helper MVP 10 ноября 2018 г. 8:23

SPNs are used by the Kerberos authentication protocol, we will meet the above error message when the service account SQL server does not have sufficient rights to register the SPN.

Which service account did you use? If it is LocalSystem account, SPN is automatically registered as SQL registering with the machine account that has the right to create an SPN default. If it is domain account or a local account, we will need to add permission for them.

Источник

Error 0x54b sql server

Вопрос

I get the error below when I look at the the error log:-

‘Error: 0x54b, state: 3. Failure to register an SPN»

I cannot progress to install the SQL 2012 and would appreciate some advice on how to install SQL 2012.

Ответы

The failure to register a Service Principal Name is typically an error you’ll see in the error log when the instance starts up and can’t register the SPN used for Kerberos authentication. Is this really causing the SQL Server install to fail or are you just seeing the error message in the error log? If setup is failing and throwing this error, can you post the screenshot showing the error along with the setup logs?

Here’s an older thread regarding the exact error message:

Thanks,
Sam Lester (MSFT)

This posting is provided «AS IS» with no warranties, and confers no rights. Please remember to click «Mark as Answer» and «Vote as Helpful» on posts that help you. This can be beneficial to other community members reading the thread.

  • Помечено в качестве ответа Olaf Helper MVP 10 ноября 2018 г. 8:23

SPNs are used by the Kerberos authentication protocol, we will meet the above error message when the service account SQL server does not have sufficient rights to register the SPN.

Which service account did you use? If it is LocalSystem account, SPN is automatically registered as SQL registering with the machine account that has the right to create an SPN default. If it is domain account or a local account, we will need to add permission for them.

Источник

Error 0x54b sql server

Situation: SQL cluster with instances used by BizTalk (other cluster)

1. this error occurs

2. Authentication falls back to ntlm

3. service account used to start up instances uses delegation to start up sql server agent but can only delegate using Kerberos

4. SQL agent fails to startup with following error :

Message
[298] SQLServer Error: 22022, CryptUnprotectData() returned error -2146892987, ‘The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.’ [SQLSTATE 42000]

It worked before, stopped working when CU 8 installation was attempted and failed (process hung; no visible changes were made)

Can a failed installation be a reason for this error ?

i have the same problem in SQL Server 2008 when i did the installation on Windows 2008 server SP1 with SQL Server 2008. THe following is the error:

The SQL Server Network Interface library could not register the Service Principal Name (SPN) for the SQL Server service. Error: 0x2098, state: 15. Failure to register an SPN may cause integrated authentication to fall back to NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies.

I did try to change to the sql server account to the local admin ( earlier it was a local account) and then when this doesnt work, i make that account as a domain user.

can u tell me what the problem going on here?

Prashant Thakwani

Here is a solution.

This failure often is caused by a system or domain policy removing the SeDebugPrivelege security privilege from the administrator account running setup. Verify that the account running has this privilege.

The AccessChk tool will print all privleges for an account (http://technet.microsoft.com/en-us/sysinternals/bb664922.aspx) by running:
accesschk.exe -a *

Alternatively, we can check this through your group policy editor as mentioned below:

Open Group Policy.
Start | Run | Type: gpedit.msc | OK |
Navigate to
Computer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesUser Rights AssignmentDebug programs

The account through which we are trying to run the setup should be here ( besides the local admin on that machine). I included that here, restarted the server ( this is mandatory, gpupdate /force will not work) and ran the setup and it was successful this time.

SQL Server 2008 setup needs this privilege to start up the SQL Server process and listen to an event that signals back to setup that SQL Server successfully started.

Regards
Prashant Thakwani

This may or may not help, and sounds nuts, but, I ran into this same problem on Server 2008 with SQL 2008. And the problem was caused by ORACLE!
Yes, I said ORACLE!
I installed Oracle, and following their setup directions, added a loop-back adapter AND an entry in my hosts file.

My Host Name is GALAXY and per Oracle, I needed to set a dummy network connection and add an entry in the hosts file similar to:

127.0.0.1 localhost
10.10.10.10 galaxy.domain.home GALAXY #loopback adapater

Because of this, when SQL Server Agent tried to connect to the «local» instance (ie: Galaxy) it wasn’t resolving.
I fixed it by updating the hosts file to read as follows:
127.0.0.1 localhost GALAXY
10.10.10.10 galaxy.domain.home #loopback adapater

Once I did this and rebooted, all was well for SQL!

What lead me to this was the fact that I couldn’t see any of the SQL Server Errorlogs. Open SSMS, connect to the local server, click on Management- SQL Server Logs and you get the error:
Failed to retrieve data for this request.

and you will be unable to see the list of SQL errorlogs. If you open a query window and run the stored proc xp_enumerrorlogs you will get the error/message:
Msg 22004, Level 16, State 1, Line 0
Failed to open loopback connection. Please see event log for more information.
Msg 22004, Level 16, State 1, Line 0
error log location not found

Once I saw «Failed to open loopback conncetion. » Ah ha! Check the hosts file!

So I did. Changed it as stated above, and MS SQL 2008 was up and running.
But, I’m not sure if my Oracle 10g installation will be happy. It’s up, and I can connect with OraEM, but, what else will go wrong?

Maybe someday. Gates & Ellison will learn to play nice together.
Until then, let the DBAs and Network Trolls fight the good fight..

Don’t take any wooden data!
Sincerely, Smm3SQL

Источник


First published on TechNet on Dec 15, 2008

Hi all, Rob Newhouse again, and today I am talking about errors that you may see while running

ADPREP


.

Normally I do not like to create a laundry list of errors, however I believe it should be beneficial and save you some time and (maybe) money by posting these common errors. This is a follow up to my previous post

So You Want to Upgrade to Windows 2008 Domain Controllers (ADPREP)

.

So you have run

ADPREP

and it has failed. The first thing that you need to do is open your

C:WindowsDebugAdprepLogs

folder. There will be a separate file each time that you run

ADPREP

.

At the bottom of the file, you will see what the problem is. Common failures include:


Errors Running Adprep /Forestprep


Adprep Was Unable to Extend the Schema


Adprep was unable to extend the schema.

[Status/Consequence]

The schema master did not complete a replication cycle after the last reboot. The schema master must complete at least one replication cycle before the schema can be extended.

[User Action]

Verify that the schema master is connected to the network and can communicate with other Active Directory Domain Controllers. Use the Sites and Services snap-in to replicate between the schema operations master and at least one replication partner. After replication has succeeded, run adprep again.


Solution

This error indicates that there are AD replication problems in the environment. In order to continue the replication issue must be resolved.

To check what replication problems you are having install your Windows Support tools and run

Repadmin /Showrepl or Repadmin /Showreps

on the Schema Master. This should show you which DC’s you are having problems with.

Once you have determined the DC (s) that has the problem, check to see if you can connect to

server

(servername) and

FQDN(servername)

If both are unsuccessful then you may have a networking problem, a broken secure channel or a 5 minute time difference between the two machines.

If one is unsuccessful you have a networking problem involving DNS or Netbios name resolution.

If both are successful:

On both the DC that is not replicating with the Schema Master as well as the Schema Master:

  1. In the TCPNic properties point DNS to a single DNS server
  2. At a cmd prompt type
  3. Netdiag /fix

On the Schema Master

  1. Open Active Directory Sites and Services
  2. Expand the site that the Schema Master is in
  3. Right click on the NTDS settings under the Schema Master and choose All TasksCheck Replication topology.
  4. Refresh the view
  5. Right click on each replication object and attempt a replication

These are just some basic troubleshooting steps. If you get an error message, go to

Support.Microsoft.com

and in the search type in the error message in quotes.


User Not a Member of Required Groups

Adprep detected that the logon user is not a member of the following groups: Enterprise Admins Group, Schema Admins Group and Contoso.localDomain Admins Group.

[Status/Consequence]

Adprep has stopped without making changes.

[User Action]

Verify the current logged on user is a member of Enterprise Admins group, Schema Admins group and Contoso.localDomain Admins group.

— Or —

Adprep was unable to check the current User’s group membership

[Status/Consequence]

Adprep has stopped without making changes.

[User Action]

Verify the current logged on user is a member of Domain Admins Group, Enterprise Admins group and Schema Admins group if /forestprep is specified, or is a member of Domain Admins group if /domainprep is specified.

Adprep encountered a Win32 error.

Error code: 0x5 Error message: Access is denied


Solution

Check your group membership. If you are a member of many nested groups, you may experience the problem due to your token size. In this case, you may choose to create a new account in Active Directory Users and computers, make the new account a member of the Domain Admins, Enterprise Admins, and Schema Admin groups only, logon to the Schema Master as that account and rerun the Adprep /ForestPrep command.

As an alternative to creating a new account you can

1. Increase Maxtokensize in the registry

a) Open Regedit

b) Navigate to HKLMSystemCurrent Control SetControlLsaKerberosParameters

c) Add a new Dword

d) MaxtokenSize

e) Value 65535

or

2. Remove all unnecessary groups


ADPREP not Running on Schema Master

ADPREP WARNING:

Before running adprep, all Windows 2000 Active Directory Domain Controllers in the forest should be upgraded to Windows 2000 Service Pack 4 (SP4) or later.

[User Action]

If ALL your existing Windows 2000 Active Directory Domain Controllers meet this requirement, type C and then press ENTER to continue. Otherwise, type any other key and press ENTER to quit.

C

Forest-wide information can only be updated on the Active Directory Domain Controller that holds the schema operations master role.

[Status/Consequence]

Adprep has stopped on this Active Directory Domain Controller and must be run on the current schema operations master, which is Rob731.Contoso.local.

[User Action]

Log on to the Rob731.Contoso.local Active Directory Domain Controller, change to the directory of adprep.exe on the installation media, and then type the following command at the command prompt to complete the forest update: adprep /forestprep


Solution

On rare occasions you may experience this message when you are on the schema master. In these cases transfer the schema master to another DC and then transfer it back to the original and run Adprep /Forestprep again. See also

How to view and transfer FSMO roles in the graphical user interface

.

If your schema master was on another machine that was removed from Active Directory then you will have to seize the schema master Role using Ntdsutil. See also

Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller

.


In your Adprep log you see “Error 0x80070020 (Error_sharing_Violation)”


Solution

This is normally caused by antivirus programs’ on-demand scanning. To resolve the issue, disable the antivirus software on-demand scanning feature.


Adprep /Forestprep Fails Due To OID Conflict On Any Schema Attribute


“OID will not be changed resulting in probable failure to add a new class.”


Solution

This error happens when custom schema changes have been made, or when a third-party software makes schema changes that conflict with Microsoft’s.

What you will see is “OID will not be changed resulting in probable failure to add a new class.”

To resolve this issue, open the

ADPREP

log to see what the failed object is. If you know the third-party software that is using the attribute, contact them and determine if there is a fix. Otherwise I would recommend opening a case with Microsoft for assistance resolving this issue.


Schema update failed: An attribute with the same link identifier already exists.

This error occurs when you are trying to update/add an object in the schema and the link identifier already exists for another attribute. Some third party apps will modify the schema with a link identifier set that is owned by the OS.

You will see the following in the CMD prompt window. The key here is the message about link identifier.

Connecting to «Machine»

Logging in as current user using SSPI

Importing directory from file «D:SourcesadprepschXX.ldf»

Loading entriesAdd error on line 249: Unwilling To Perform

The server side error is «Schema update failed: An attribute with the same link identifier already exists.»

15 entries modified successfully.

An error has occurred in the program

…………….

Opened Connection to Machine

SSPI Bind succeeded

Current Schema Version is 30

Upgrading schema to version 44

ERROR: Import from file D:Sourcesadprep sch34.ldf failed. Error file is saved in ldif.err.34.

When you look in the ldif.err.XX log you will see the attribute we are trying to add:

Entry DN: CN=ms-PKI-AccountCredentials,CN=Schema,CN=Configuration,DC=Contoso,DC=local

Add error on line 249: Unwilling To Perform The server side error is «Schema update failed: An attribute with the same link identifier already exists.»An error has occurred in the program.»


Solution


In this instance please contact Microsoft for a resolution.   This error indicates that there is a link identifier that is already in use that shouldn’t be there.


Errors Running Adprep /Domainprep


Forestprep Not Run Or Not Recognized As Having Been Run

Running domainprep …

Forest-wide information needs to be updated before the domain-wide information can be updated.

[User Action]

Log on to the schema master Rob731.Contoso.local for this forest, run the following command from the installation media to complete the forest update first:  adprep.exe /forestprep and then rerun adprep.exe /domainprep on infrastructure master again.


Solution

This problem can happen if you haven’t run Adprep /Forestprep yet, or if replication is broken and you are running it on a different DC or Domain than you ran the Adprep /Forestprep on. To resolve this issue either run Adprep /Forestprep or resolve the replication issue depending on the situation.


Not In Windows 2000/2003 Native Mode

Adprep detected that the domain is not in native mode

[Status/Consequence]

Adprep has stopped without making changes.

[User Action]

Configure the domain to run in native mode and re-run domainprep

Raise the domain functional level to 2000 Native mode

To raise Windows 2003 to native mode

1)    Open Active Directory Users and computers

2)    Right click on your domain name and select Raise Domain Functional Level

3)    Use the drop down to select Windows 2000 Native Mode

4)    Click Raise


Unable To Contact Infrastructure Master

Adprep was unable to check the domain update status.

[Status/Consequence]

Adprep queries the directory to see if the domain has already been prepared. If the information is unavailable or unknown, Adprep proceeds without attempting this operation.

[User Action]

Restart Adprep and check the ADPrep.log file. Verify in the log file that this domain has already been successfully prepared.

Adprep encountered a Win32 error.  Error code: 0x3a Error message: The specified server cannot perform the requested operation..

Check connectivity to the Infrastructure Master.


Errors Running Adprep /Domainprep

If you have already run Adprep domain prep, there is really only one error that you can get. When you run the Adprep /Domainprep /Gpprep after you have done the normal Domainprep you are only setting permissions on the policies folder. Below is the error that you will receive if they are inaccessible.


Group Policies Missing Or Inaccessible

Adprep was unable to complete because the call back function failed.

[Status/Consequence]

Error message: (null)

[User Action]

Check the log file ADPrep.log, in the C:WINDOWSdebugadpreplogs20080806171216 directory for more information


Solution

Check to make sure that your sysvolsysvolpolicies{6ac…………..} and {31b…………….} folders exist and are accessible. If either or both are missing and you have a backup of these folders, restore the folders. If you do not have a backup and the folders are not in an NTFRS_Policies folder, then contact Microsoft for assistance in recreating the folders.


Errors Running Adprep /Rodcprep


Adprep /Rodcprep Fails Due To Insufficient Permissions

Adprep connected to the domain FSMO: Rob731.Contoso.local.

Adprep found partition DC=ForestDnsZones,DC=Contoso,DC=local, and is about to update the permissions.

Adprep connected to a replica DC Rob731.Contoso.local that holds partition DC=ForestDnsZones,DC=Contoso,DC=local.

Adprep was unable to modify the security descriptor on object DC=ForestDnsZones,DC=Contoso,DC=local.

[Status/Consequence]

ADPREP was unable to merge the existing security descriptor with the new access control entry (ACE).

[User Action]

Check the log file ADPrep.log in the C:WINDOWSdebugadpreplogs20080813153240 directory for more information.

Adprep encountered an LDAP error.  Error code: 0x32. Server extended error code: 0x5, Server error message: 00000005: SecErr: DSID-03151D54, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

Adprep failed the operation on partition DC=ForestDnsZones,DC=Contoso,DC=local. Skipping to next partition.


Solution

You will see other partitions DC=domainDnsZones,DC=Contoso,DC=local as well. To fix this issue make sure you are in the Domain Admins and Enterprise Admins groups.


Adprep /Rodcprep Fails Because It Cannot Connect To Domain Naming Master

Adprep could not contact the Domain Naming FSMO to read the partitions. The Domain Naming FSMO must be reachable for this operation to proceed.

[Status/Consequence]

The Active Directory Domain Services DNS partitions are not prepared for Read Only DCs.

[User Action]

Check the log file ADPrep.log in the C:WINDOWSdebugadpreplogs20080813175105 directory for possible cause of failure.

Adprep encountered a Win32 error.  Error code: 0x54b Error message: The specified domain either does not exist or could not be contacted..


Solution

This error indicates that there is a problem with the domain naming master. Verify that you can contact the Domain Naming Master for the forest. You can check the operations master role in Active Directory Users and Computers.


Adprep /Rodcprep Fails Because It Cannot Connect To Infrastructure Master

Adprep found partition DC=Contoso,DC=local, and is about to update the permissions.

Adprep could not contact the Infrastructure FSMO for domain DC=Contoso,DC=local. The Infrastructure FSMO must be reachable for this operation to proceed.

[Status/Consequence]

The Active Directory Domain Services DNS partitions are not prepared for Read Only DCs.

[User Action]

Check the log file ADPrep.log in the C:WINDOWSdebugadpreplogs20080814090356 directory for possible cause of failure.

Adprep encountered a Win32 error.  Error code: 0x3a Error message: The specified server cannot perform the requested operation..

Adprep failed the operation on partition DC=Contoso,DC=local. Skipping to next partition.

Adprep completed with errors. Not all partitions are updated. See the ADPrep.log in the C:WINDOWSdebugadpreplogs20080814090356 directory for more information. To successfully update all partititions, the current logged on user needs to be a member of Enterprise Admins group. If that is not the case, please correct the problem, and then restart Adprep.


Solution

On the Schema Master run the following command:

Netdom Query FSMO

You should see the five FSMO roles including the Infrastructure Master. Once you have determined who the Infrastructure master is type

Server

name and

FQDN(servername)

. Ensure that you can connect to the Infrastructure master

If you need to transfer or seize the Infrastructure master for any reason follow:

Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller

Or

How to view and transfer FSMO roles in the graphical user interface

This concludes this post on many of the errors that you may encounter while running

ADPREP

. For those reading this after running into an error, I hope that it helped to resolve the issue.

— Rob Newhouse

I have a Windows 2012 Server running SharePoint 2010 using an SQL Server Express locally installed. Unfortunately my logs are currently flooding with message «An exception occurred while enqueueing a message in the target queue. Error: 15404, State: 19. Could not obtain information about Windows NT group/user ‘DOMAINuser’, error code 0x5.» It can be 20 such messages every second!

(…and the ‘DOMAINuser’ happens to be my personal account.)

Are there a job running that has missing rights? «Qoute from https://serverfault.com/questions/277551/mssqlserver-exception-occurred-while-enqueueing-a-message-in-the-target-queue-e «Try to changing the owner of the jobs to the sa account, on the properties of the job.» If I’m correct the express version of SQL server cannot run jobs? Or is there someone/something that wants access to our AD? Why do that account wants to obtain information about my account 20 times every second?

I do find lot’s of blogs and hints about this task, but I just dont understand the solutions. One says «To repair this, login as one of the SA accounts and grant SA access for the account that needs it.» But what account needs sa access?

Community's user avatar

asked Sep 15, 2014 at 10:22

kolback's user avatar

1

Change the owner to sa. Here are the steps I took to solve this issue:

  1. Right-Click on the database and select properties

  2. Click on Files under the Select a page

  3. Under the Owner, but just below the Database Name on the right-hand pane, select sa as the owner.

ΩmegaMan's user avatar

ΩmegaMan

29.2k10 gold badges99 silver badges121 bronze badges

answered Aug 21, 2017 at 10:09

olammy's user avatar

olammyolammy

6,5384 gold badges25 silver badges32 bronze badges

6

In my case, sa was not the owner of the DB, I was. When I tried to execute CLR configuration that required sa privileges, I got the error too.

The solution:

USE MyDB 
GO 
ALTER DATABASE MyDB set TRUSTWORTHY ON; 
GO 
EXEC dbo.sp_changedbowner @loginame = N'sa', @map = false 
GO 
sp_configure 'show advanced options', 1; 
GO 
RECONFIGURE; 
GO 
sp_configure 'clr enabled', 1; 
GO 
RECONFIGURE; 
GO

I used help from the db team at work and this post to find the answer.

starball's user avatar

starball

16.1k6 gold badges29 silver badges147 bronze badges

answered Nov 17, 2014 at 21:46

Chaim Eliyah's user avatar

Chaim EliyahChaim Eliyah

2,7334 gold badges24 silver badges37 bronze badges

7

In my case the owner of the database was a domain account DomainMe.

The error message was

Error: 15404, State: 19. Could not obtain information about Windows NT
group/user ‘DomainMyAccount’

The problem was that the database didn’t know what to do with the domain account — so the logical thing to do was to use a local account instead.

I tried changing the owner of the database, but things still wouldn’t work correctly.

In the end I dropped and recreated the entire database MAKING SURE THAT THE OWNER WAS SA

enter image description here

I also set the Broker to Enabled in the settings

enter image description here

Thing started magically working after this

answered May 6, 2015 at 11:38

Malcolm Swaine's user avatar

2

No Domain Authentication

Failure was ultimately due to the fact that it was not able to authenticate when I was not vpn-ed into the corporate network.

For I was connecting to a local db on my work laptop, however the User ‘DOMAINuser’ needed to be authenticated by AD on the corporate network.

Error was resolved as soon as I reconnected and refreshed; the error disappeared.

ΩmegaMan's user avatar

ΩmegaMan

29.2k10 gold badges99 silver badges121 bronze badges

answered Jun 26, 2020 at 7:59

Ameet Bhat's user avatar

Ameet BhatAmeet Bhat

911 silver badge1 bronze badge

1

to do a bulk update for all databases, run this script and then execute its output:

 SELECT 'ALTER AUTHORIZATION ON DATABASE::' + QUOTENAME(name) + ' TO [sa];' 
 from sys.databases
     where name not in ('master', 'model', 'tempdb')

answered Mar 26, 2018 at 17:05

avs099's user avatar

avs099avs099

10.9k6 gold badges60 silver badges110 bronze badges

I had this error from a scheduled job in sql Server Agent, in my case, just after I changed the hostname of the Windows Server. I had also ran sp_dropserver and sp_addserver. My database was owned by «sa», not a Windows user.

I could login into SQL as the Windows user NEWHOSTNAMEusername (I guess after a hostname change, the SID doesn’t change, that’s why it worked automatically?).

However, in SQL, in Security/Logins node, I had SQL logins defined as OLDHOSTNAMEusername. I connected to SQL using «sa» instead of Windows Integrated, dropped the old logins, and create new ones with NEWHOSTNAMEusername.

The error disappeared.

answered Jan 11, 2016 at 14:26

Thierry_S's user avatar

Thierry_SThierry_S

1,51616 silver badges25 bronze badges

I was having the same problem. In my case it was due to the fact that my machine was part of a domain, but I was not connected to the company VPN. The problem was solved after connecting to the VPN (so the domain user could be resolved by the SQLAgent).

answered Mar 1, 2021 at 13:41

erionpc's user avatar

erionpcerionpc

3563 silver badges14 bronze badges

I had the same issue where my domain login was not being recognized. All I did was go into the SQL Server configuration manager and start the services as Network Services instead of a local service. The sql server / agent was then able to recognize the AD logins for the jobs.

answered Jun 14, 2019 at 12:42

Hali's user avatar

HaliHali

413 bronze badges

In my case, it was VPN issue. When I turned on the VPN to connect with my office network & then tried to start the snapshot agent again, it started successfully.

answered Oct 29, 2019 at 18:37

Ankush Jain's user avatar

Ankush JainAnkush Jain

5,3514 gold badges32 silver badges53 bronze badges

2

I was facing the same issue.
Fix for me was changing the log-on from NT User to global user in Sql Server Configuration Manager => Sql Server Service => Sql Server Agent => Properties => Account name.

enter image description here

answered Apr 4, 2020 at 9:10

Jitan Gupta's user avatar

Jitan GuptaJitan Gupta

4546 silver badges17 bronze badges

You should be connected with your domain. (VPN)

answered Feb 8, 2022 at 8:53

Wouter's user avatar

WouterWouter

2,49019 silver badges31 bronze badges

I have run into this issue and I am stuck with it for hours. I have 2 databases one which is publisher and distributor and second which is subscriber I am going to use them as snapshot replication. Installation went without issues but when I look in Replication monitor publication status is ok but a subscription is «uninitialized subscription».

I checked sqlagent errorlog and I get same error

Error: 15404, Could not obtain information about Windows NT group/user‘MicrosoftAccountMyEmail’, error code 0x54b.

[SQLSTATE 42000] (ConnIsLoginSysAdmin).

This really boggles me since I am being logged to the database through windows authentication but I am being seen as ADMINRG-XXXXXXYYYYY.

In my security properties on «Specify the domain or machine account under which Distribution/Snapshot Agent will run» I have set it on Run under SQL Server Agent service account, but when I tried using windows account either ADMINRG-XXXXXYYYYY or MicrosoftAccountMyEmail It puked out error 3930 which I also couldn’t manage to fix.

I also looked in generated scripts when I was installing publication and subscriptions, they both have parameters @job_login and @job_password set to null could this be source of issue?

SQL Server Reporting Services, in SSRS it seems like Schedules never fire, however a look at the SQL Agent reveals a permission issue related to not being able to resolve a user account.

Seems SQL Agent does not rely on caching or whatever voodoo Windows magically works.

link text
Fix is listed here…
edit —

Above is the fix I used to workaround this issue, has any one found any other work arounds or resolutions to this issue?

It seems that by default the SSRS Generated Schedules are run as this phantom user account. How do I change this default? Is SSRS creating the jobs as the user the service runs as?

Thanks Remus

Community's user avatar

asked Dec 15, 2009 at 4:28

john.da.costa's user avatar

john.da.costajohn.da.costa

4,6324 gold badges28 silver badges30 bronze badges

1

I was running into the same issue. Here is how I fixed it.

Problem description
When setting an SSRS report subscription to run at a given time, I would wait for the time to pass and then find that the «Last Run» timestamp did not change. My subscription appears not to have run.

Relevant troubleshooting info

  1. SSRS report subscriptions are executed as SQL Jobs that the Report Server web UI creates for you behind the scenes.

  2. When looking at the job that was created for my report subscription, I saw that it always failed with the error:

    The job failed. Unable to determine if the owner (domainuserName) of job 0814588B-D590-4C45-A304-6086D5C1F559 has server access (reason: Could not obtain information about Windows NT group/user ‘domainuserName’, error code 0x5. [SQLSTATE 42000] (Error 15404)).

  3. In the Sql Server Configuration Manager I could see that the «SQL Server Reporting Services» service was configured to run using an AD user account.

  4. In the Sql Server Configuration Manager I could see that the «SQL Server» service was configured to run using a local Windows account.

  5. As @Remus Resanu pointed out, the SQL error 15404 refers to an exception when EXECUTE AS context cannot be impersonated.

Solution
Bingo! #4 and #5 are the key to the problem. The SQL Server service (a local Windows user account) was trying to authenticate the user «domainuserName» in AD, which it could not do because it does not have the right/permission to access AD resources.

I changed the SQL Server service to us an AD user account, restarted the SQL Server and SQL Server Agent services, re-ran the SQL job and, blamo, success!

answered Jul 30, 2013 at 19:04

Vince Horst's user avatar

15404 is the exception when EXECUTE AS context cannot be impersonated. Reasons for these error are plenty. The most common reasons are:

  • when the SQL Server instance does not have access to the AD server because is running as a local user or as ‘local service’ (this would have an error code 0x5, ACCESS_DENIED)
  • when the SQL Server is asked to impersonate an unknown user, like an user from a domain the SQL Server has not idea about (this would have the error code 0x54b, ERROR_NO_SUCH_DOMAIN)

The proper solution is always dependent on the error code, which is the OS error when trying to obtain the impersonated user identity token: one searches first for the error code in the System Error Codes table (or fires up windbg, does a loopback non-invasive kernel debug connection and goes !error, which is what I prefer cause is faster…).

So, John… do you actually have a question, or just posted a random piece of partial information?

answered Dec 15, 2009 at 5:13

Remus Rusanu's user avatar

Remus RusanuRemus Rusanu

285k40 gold badges429 silver badges564 bronze badges

I did 2 things and it’s now working.

1) Go to «SQL Server Configuration», change the «SQL Server Agent» — «Log On As» to match the «SQL Server» above.

enter image description here

2) Secondly, open «Microsoft SQL Management Studio», at the «SQL Server Agent», expand the «Jobs» and you should be able to see your created job. Right click on it and go to «Properties».
enter image description here

3) Change the owner to also match the «SQL Server Agent» above.
enter image description here

After, I’m able to execute the Maintenance Plan without any issue.

answered Dec 4, 2018 at 4:38

TPG's user avatar

TPGTPG

2,4911 gold badge29 silver badges49 bronze badges

Just follow this steps in images

Just follow this steps in images

answered Mar 8, 2019 at 7:32

TuanDPH's user avatar

TuanDPHTuanDPH

4614 silver badges13 bronze badges

  • Remove From My Forums
  • Question

  • I always get the following error when backing up a database:

    Date        2/9/2011 10:39:11 AM
    Log        SQL Server Agent (Current — 2/9/2011 10:39:00 AM)

    Message
    [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user ‘MyMachineAdministrator’, error code 0x54b. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

    The original owner of the database is MyMachineAdministrator, but I have changed it to another SQL login which is not a domain user.

    Any tip would be greatly appreciated.


    hz

Answers

  • Hi,

    It should not affect database backup operations after database owner changed and any user (SQL Server Login or Windows user) can access server can be the woner of the databse.

    From the error message, it seems that the bakcup agent job is trying to use ‘MyMachineAdministrator’ to perform backup operation, please double check the job to see if you have any inapporpriate security setting (like job owner, step proxy). You may also
    try to recreate job to see if that works.

    Hope this helps.


    Best Regards,
    Chunsong Feng

    Please remember to click «Mark as Answer» on the post that helps you, and to click «Unmark as Answer» if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by

      Thursday, February 10, 2011 5:47 AM

    • Marked as answer by
      Hong (MA, USA)
      Thursday, February 10, 2011 12:38 PM
  • Remove From My Forums
  • Question

  • I always get the following error when backing up a database:

    Date        2/9/2011 10:39:11 AM
    Log        SQL Server Agent (Current — 2/9/2011 10:39:00 AM)

    Message
    [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user ‘MyMachineAdministrator’, error code 0x54b. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

    The original owner of the database is MyMachineAdministrator, but I have changed it to another SQL login which is not a domain user.

    Any tip would be greatly appreciated.


    hz

Answers

  • Hi,

    It should not affect database backup operations after database owner changed and any user (SQL Server Login or Windows user) can access server can be the woner of the databse.

    From the error message, it seems that the bakcup agent job is trying to use ‘MyMachineAdministrator’ to perform backup operation, please double check the job to see if you have any inapporpriate security setting (like job owner, step proxy). You may also
    try to recreate job to see if that works.

    Hope this helps.


    Best Regards,
    Chunsong Feng

    Please remember to click «Mark as Answer» on the post that helps you, and to click «Unmark as Answer» if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by

      Thursday, February 10, 2011 5:47 AM

    • Marked as answer by
      Hong (MA, USA)
      Thursday, February 10, 2011 12:38 PM
  • Remove From My Forums
  • Question

  • Hello,

    I’m having trouble running jobs with my active directory (ADS) account. I’ve setup my SQL services to run under an ADS account, but jobs cannot seem to query ADS for user information. We’re running Windows Server 2003 and SQL Server 2005 SP2.

     Here is the error message:

    ==

    The job failed.  Unable to determine if the owner (ADSme) of job eFASRtest has server access (reason: Could not obtain information about Windows NT group/user ‘ADSme’, error code 0x5. [SQLSTATE 42000] (Error 15404)).

    ==

    also this message in log:

    ==

    [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user ‘ADSme, error code 0x5. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

    ==

    I already tested the suggested:

    execute as login=’adsme’ and I get the same error on both (my local installations and production)

    appreciate your help

Answers

  •   Most likely the machine account doesn’t have permission to query the AD.

      I would recommend requesting access to the AD administrator or change SQL Server and run the service as a low-privileged domain account that has proper permissions on the AD.

    -Raul Garcia

      SDE/T

      SQL Server Engine

  • Remove From My Forums
  • Question

  • I always get the following error when backing up a database:

    Date        2/9/2011 10:39:11 AM
    Log        SQL Server Agent (Current — 2/9/2011 10:39:00 AM)

    Message
    [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user ‘MyMachineAdministrator’, error code 0x54b. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

    The original owner of the database is MyMachineAdministrator, but I have changed it to another SQL login which is not a domain user.

    Any tip would be greatly appreciated.


    hz

Answers

  • Hi,

    It should not affect database backup operations after database owner changed and any user (SQL Server Login or Windows user) can access server can be the woner of the databse.

    From the error message, it seems that the bakcup agent job is trying to use ‘MyMachineAdministrator’ to perform backup operation, please double check the job to see if you have any inapporpriate security setting (like job owner, step proxy). You may also
    try to recreate job to see if that works.

    Hope this helps.


    Best Regards,
    Chunsong Feng

    Please remember to click «Mark as Answer» on the post that helps you, and to click «Unmark as Answer» if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by

      Thursday, February 10, 2011 5:47 AM

    • Marked as answer by
      Hong (MA, USA)
      Thursday, February 10, 2011 12:38 PM
  • #1

Добрый день, коллеги! Помогите с проблемой — не получается выполнить план обслуживания SQL server 2019. Ошибка внутри Агента

Сообщение
[298] Ошибка SQLServer: 15404, Не удалось получить сведения о пользователе или группе Windows NT «DOMENJulia», код ошибки: 0x5. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

Подскажите что не так…

Последнее редактирование: 20.09.2021

  • #2

Еще вижу пару ошибок, не ясно относится это к делу или нет

Дата 20.09.2021 11:35:22
Журнал Агент SQL Server (Текущий — 20.09.2021 11:35:00)
Сообщение
[408] SQL Server MSSQLSERVER является кластеризованным сервером — возможность автозапуска (AutoRestart) отключена

Дата 20.09.2021 11:35:22
Журнал Агент SQL Server (Текущий — 20.09.2021 11:35:00)

Сообщение
[396] Не определено условие простоя процессора — расписания заданий типа OnIdle использоваться не будут

  • #3

Попробуйте использовать SA а не «DOMENJulia

  • #4

Можно попробовать пересоздать план обслуживания

  • #5

Попробуйте использовать SA а не «DOMENJulia

А где это делать ??

  • #7

Создала план обслуживания заново, заработало)

  • #8

Как я понял, это происходит из-за изменения названия домена или имени ПК (при этом изменяется имя сервера). А у пользователя остаётся предыдущее имя. Например, у вас было имя «DOMENJulia», соответственно имя сервера «DOMEN». Вы меняете имя компьютера на другое, имя сервера тоже меняется на «дргуое», а ваше имя остаётся «DOMENJulia», вместо «другоеJulia». Точнее, оно меняется, но при создании объектов в поле «владелец» записывается старое имя, которое уже не проходит проверку безопасности.

Вот что у меня сейчас и вот что показывает, когда создаю новую БД:

БД.png

Помогло изменение владельца на sa.

  • Remove From My Forums
  • Question

  • I always get the following error when backing up a database:

    Date        2/9/2011 10:39:11 AM
    Log        SQL Server Agent (Current — 2/9/2011 10:39:00 AM)

    Message
    [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user ‘MyMachineAdministrator’, error code 0x54b. [SQLSTATE 42000] (ConnIsLoginSysAdmin)

    The original owner of the database is MyMachineAdministrator, but I have changed it to another SQL login which is not a domain user.

    Any tip would be greatly appreciated.


    hz

Answers

  • Hi,

    It should not affect database backup operations after database owner changed and any user (SQL Server Login or Windows user) can access server can be the woner of the databse.

    From the error message, it seems that the bakcup agent job is trying to use ‘MyMachineAdministrator’ to perform backup operation, please double check the job to see if you have any inapporpriate security setting (like job owner, step proxy). You may also
    try to recreate job to see if that works.

    Hope this helps.


    Best Regards,
    Chunsong Feng

    Please remember to click «Mark as Answer» on the post that helps you, and to click «Unmark as Answer» if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Proposed as answer by

      Thursday, February 10, 2011 5:47 AM

    • Marked as answer by
      Hong (MA, USA)
      Thursday, February 10, 2011 12:38 PM

I am trying to create a maintenance plan that will run automatically and back up my SQL Server 2005 databases automatically.
I create a new maintenance plan and add a «Back Up Database Task», select all User databases, and choose a path to back up to.

IMAGE in http://www.freeimagehosting.net/uploads/16be7dce43.jpg [new user limitation]

When I save and try to execute this plan, I get the following error message:

===================================
Execution failed. See the maintenance plan and SQL Server Agent job history logs for details.
===================================
Job 'Backup.Subplan_1' failed. (SqlManagerUI)

I’ve checked the maintenance plan log, the agent log, and just about every log file I can find and there are no entries at all to help me figure out why this is failing.

If I right-click on a specific database and select «Back Up», the task succeeds. I tried changing the plan to back up just that one database and it still failed.

I’ve tried running the plan with both Windows authentication and SQL Server authentication with the sa account. I also tried specifically granting the SQL Server Agent user account full privileges on the backup folder, but it still failed.

Thanks for any suggestions!

  • Remove From My Forums
  • Question

  • I am running SQLExpress 2005, on Win 2003.

    Occasionally in the event viewer I see the message:

    The SQL Network Interface library was unable to register SPN. Error: 0x54b

    When I click on the link on the event viewer for more info, there is no further details.

    Can someone clarify what this message means and should I be concerned

    Thanks

Answers

  • Hi,

    Is your machine part of a domain or just workgroup?

    This probably isn’t an error that you need to be concerned about.  Every time an instance is started, SQL Server will attempt to automatically register a Service Principal Name (SPN) to be used for Kerberos authentication in case it’s available(the BOL has more information about the format of the SPN).    Kerberos authentication requires that the client and server machines belong to the same domain or else, trusted domains.  In your case, the error indicates a Windows error of 1355 (=0x54B) which translates to «The specified domain either does not exist or could not be contacted.»  If I had to guess, I would say that your machine is not part of a domain.  There’s no problem with this except that Kerberos authentication will not be available.

    One other thing.  The registration of the SPN will only succeed if the account starting the service has the privilege to do so —normally the Local System Account or a Domain Admin account.  But if SPN registration failed because of lack of privilege, the error would be different.

    I hope this helps.

    Il-Sung.

    Il-Sung Lee
    Program Manager, SQL Server Protocols
    Microsoft Corp.

    This posting is provided «AS IS» with no warranties, and confers no rights.

  • Ошибка получения штампа времени
  • Ошибка получения цены товара битрикс
  • Ошибка получения файлов gta 5 rp
  • Ошибка получения файла ошибка 10 направленный файл
  • Ошибка получения файла описания базы mobile smarts