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
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Error 8198 SQL Server Jobs

Author  Topic 

mark.innes
Starting Member

7 Posts

Posted - 2006-03-07 : 08:16:57
The following error is genereated on any scheduled jobs that are ran...

The job failed. Unable to determine if the owner (domain\username) of job testjob has server access (reason: Could not obtain information about Windows NT group/user 'domain\username'. [SQLSTATE 42000] (Error 8198)).

It is SQL Server 2000 on a 2003 Server. The server name has recently been changed but it connects to the new server name okay (called Local), the active directory is on a different server. I have tried changing the job user to sa but the same happens. The job is run a EXEC step for the xp_sqlmaint ext stored procedure.

It seems to have to be something to do with the server name change, can anyone help please?

kpsreenath
Yak Posting Veteran

52 Posts

Posted - 2006-03-07 : 09:34:15
The scenario mentioned above is documented and the way to troubleshoot as well.Not sure whether this will be helpful or not.
http://support.microsoft.com/?kbid=834124



Thanks
Sree
Go to Top of Page

mark.innes
Starting Member

7 Posts

Posted - 2006-03-07 : 10:51:02
I tried this without any luck.

I notice that the server reg name is local rather than the actual name. Would it cause any probs by deleting the registration and then re-registering the server, would this loose any information?

thanks
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-03-07 : 11:08:32
check your servername by running:
select @@servername
then verify if it's the same name as your machine

if not the same, resolve by changing either sql servername or machine name



--------------------
keeping it simple...
Go to Top of Page

mark.innes
Starting Member

7 Posts

Posted - 2006-03-07 : 11:33:46
Thanks for that, the server name is different.

It is SQL Server 2000 so do I need to reinstall SQL to change this?

thanks
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-03-07 : 21:18:17
Dearest NO

you can rename the sql server instead

use sp_dropserver to drop the current sql server name, do this in QA
restart the sql services

issue sp_addlinkedserver, also in QA to add the new sql servername (should be the same as your machine name)

restart the sql services

for more details refere to BOL

verify if this has resolved the problem...



--------------------
keeping it simple...
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2006-03-07 : 21:24:48
wait i just realized!

are there live applications connecting to this server?

if yes, you'd better check with them, renaming the server will obviously result to connection errors

also, another option is to rename the machine itself, reverting it back to its old name

unless your network guys are like Stevie's, good luck then...

--------------------
keeping it simple...
Go to Top of Page

eyechart
Master Smack Fu Yak Hacker

3575 Posts

Posted - 2006-03-07 : 21:38:22
follow these instructions

http://support.microsoft.com/kb/303774/en-us


-ec
Go to Top of Page
   

- Advertisement -