dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Renaming Windows DB2 Server Machine - ibm-db2

This is a discussion on Renaming Windows DB2 Server Machine - ibm-db2 ; I'm attempting to rename a Windows 2003 Server machine that has DB2 9.1 Express with Fixpack 2 installed. After I rename the machine and reboot, I get an error: DB2 UDB: SQL1042C An unexpected system error occurred. Service Control Manager: ...


Home > Database Forum > Other Databases > ibm-db2 > Renaming Windows DB2 Server Machine

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 09-20-2007, 04:19 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Renaming Windows DB2 Server Machine

I'm attempting to rename a Windows 2003 Server machine that has DB2
9.1 Express with Fixpack 2 installed. After I rename the machine and
reboot, I get an error:

DB2 UDB:
SQL1042C An unexpected system error occurred.

Service Control Manager:
At least one service or driver failed during system startup. Use
Event Viewer to examine the event log for details.

Inside the event log I find:
The DB2 - DB2COPY1 - DB2 service terminated with service-specific
error 4294966274 (0xFFFFFC02).

Inside db2diag.log I find this error several times:
2007-09-20-12.09.32.109000-420 E68293H405 LEVEL: Error (OS)
PID : 2860 TID : 2848 PROC : db2syscs.exe
INSTANCE: DB2 NODE : 000
FUNCTION: DB2 UDB, oper system services, sqloGetAccountSID, probe:30
MESSAGE : ZRC=0x83000534=-2097150668
CALLED : OS, -, LookupAccountName
OSERR : 1332 "No mapping between account names and security IDs was
done."

I found an article about renaming the DB2 Server machine, but I am
unable to do this after renaming the machine:
http://www-304.ibm.com/jct09002c/isv...sp?oid=1:23295
(the db2 ... command fails).

I looked up the windows error message and didn't find anything useful.

How do I rename a DB2 Server Machine?

Reply With Quote
  #2  
Old 09-20-2007, 04:51 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Renaming Windows DB2 Server Machine

On Sep 20, 3:19 pm, Shepherd.Tra...@gmail.com wrote:
> I'm attempting to rename a Windows 2003 Server machine that has DB2
> 9.1 Express with Fixpack 2 installed. After I rename the machine and
> reboot, I get an error:
>
> DB2 UDB:
> SQL1042C An unexpected system error occurred.
>
> Service Control Manager:
> At least one service or driver failed during system startup. Use
> Event Viewer to examine the event log for details.
>
> Inside the event log I find:
> The DB2 - DB2COPY1 - DB2 service terminated with service-specific
> error 4294966274 (0xFFFFFC02).
>
> Inside db2diag.log I find this error several times:
> 2007-09-20-12.09.32.109000-420 E68293H405 LEVEL: Error (OS)
> PID : 2860 TID : 2848 PROC : db2syscs.exe
> INSTANCE: DB2 NODE : 000
> FUNCTION: DB2 UDB, oper system services, sqloGetAccountSID, probe:30
> MESSAGE : ZRC=0x83000534=-2097150668
> CALLED : OS, -, LookupAccountName
> OSERR : 1332 "No mapping between account names and security IDs was
> done."
>
> I found an article about renaming the DB2 Server machine, but I am
> unable to do this after renaming the machine:http://www-304.ibm.com/jct09002c/isv...sp?oid=1:23295
> (the db2 ... command fails).
>
> I looked up the windows error message and didn't find anything useful.
>
> How do I rename a DB2 Server Machine?


DB2 (and many other services in Win NT type machines) depend upon
NetBIOS service mappings for proper operation. Just a wild guess that
might be related to that. Check 'nbtstat -n' to see if there are any
discrepancies there.

Is your instance service installed as a local userid or domain userid?

Reply With Quote
  #3  
Old 09-20-2007, 05:51 PM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Renaming Windows DB2 Server Machine

On Sep 20, 1:51 pm, Sanjuro wrote:
> On Sep 20, 3:19 pm, Shepherd.Tra...@gmail.com wrote:
>
>
>
>
>
> > I'm attempting to rename a Windows 2003 Server machine that has DB2
> > 9.1 Express with Fixpack 2 installed. After I rename the machine and
> > reboot, I get an error:

>
> > DB2 UDB:
> > SQL1042C An unexpected system error occurred.

>
> > Service Control Manager:
> > At least one service or driver failed during system startup. Use
> > Event Viewer to examine the event log for details.

>
> > Inside the event log I find:
> > The DB2 - DB2COPY1 - DB2 service terminated with service-specific
> > error 4294966274 (0xFFFFFC02).

>
> > Inside db2diag.log I find this error several times:
> > 2007-09-20-12.09.32.109000-420 E68293H405 LEVEL: Error (OS)
> > PID : 2860 TID : 2848 PROC : db2syscs.exe
> > INSTANCE: DB2 NODE : 000
> > FUNCTION: DB2 UDB, oper system services, sqloGetAccountSID, probe:30
> > MESSAGE : ZRC=0x83000534=-2097150668
> > CALLED : OS, -, LookupAccountName
> > OSERR : 1332 "No mapping between account names and security IDs was
> > done."

>
> > I found an article about renaming the DB2 Server machine, but I am
> > unable to do this after renaming the machine:http://www-304.ibm.com/jct09002c/isv...sp?oid=1:23295
> > (the db2 ... command fails).

>
> > I looked up the windows error message and didn't find anything useful.

>
> > How do I rename a DB2 Server Machine?

>
> DB2 (and many other services in Win NT type machines) depend upon
> NetBIOS service mappings for proper operation. Just a wild guess that
> might be related to that. Check 'nbtstat -n' to see if there are any
> discrepancies there.
>
> Is your instance service installed as a local userid or domain userid?- Hide quoted text -
>
> - Show quoted text -


After changing the machine name, nbtstat -n shows the updated machine
name in its list. I installed DB2 using the local administrator
account. The service is set to log on as the Local System account.

Reply With Quote
  #4  
Old 09-25-2007, 11:22 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Renaming Windows DB2 Server Machine

On Sep 20, 2:51 pm, Shepherd.Tra...@gmail.com wrote:
> On Sep 20, 1:51 pm, Sanjuro wrote:
>
>
>
>
>
> > On Sep 20, 3:19 pm, Shepherd.Tra...@gmail.com wrote:

>
> > > I'm attempting to rename a Windows 2003 Server machine that has DB2
> > > 9.1 Express with Fixpack 2 installed. After I rename the machine and
> > > reboot, I get an error:

>
> > > DB2 UDB:
> > > SQL1042C An unexpected system error occurred.

>
> > > Service Control Manager:
> > > At least one service or driver failed during system startup. Use
> > > Event Viewer to examine the event log for details.

>
> > > Inside the event log I find:
> > > The DB2 - DB2COPY1 - DB2 service terminated with service-specific
> > > error 4294966274 (0xFFFFFC02).

>
> > > Inside db2diag.log I find this error several times:
> > > 2007-09-20-12.09.32.109000-420 E68293H405 LEVEL: Error (OS)
> > > PID : 2860 TID : 2848 PROC : db2syscs.exe
> > > INSTANCE: DB2 NODE : 000
> > > FUNCTION: DB2 UDB, oper system services, sqloGetAccountSID, probe:30
> > > MESSAGE : ZRC=0x83000534=-2097150668
> > > CALLED : OS, -, LookupAccountName
> > > OSERR : 1332 "No mapping between account names and security IDs was
> > > done."

>
> > > I found an article about renaming the DB2 Server machine, but I am
> > > unable to do this after renaming the machine:http://www-304.ibm.com/jct09002c/isv...sp?oid=1:23295
> > > (the db2 ... command fails).

>
> > > I looked up the windows error message and didn't find anything useful.

>
> > > How do I rename a DB2 Server Machine?

>
> > DB2 (and many other services in Win NT type machines) depend upon
> > NetBIOS service mappings for proper operation. Just a wild guess that
> > might be related to that. Check 'nbtstat -n' to see if there are any
> > discrepancies there.

>
> > Is your instance service installed as a local userid or domain userid?- Hide quoted text -

>
> > - Show quoted text -

>
> After changing the machine name, nbtstat -n shows the updated machine
> name in its list. I installed DB2 using the local administrator
> account. The service is set to log on as the Local System account.- Hide quoted text -
>
> - Show quoted text -


Any other ideas on what the problem could be? I'm running the server
on VMWare, in case that makes a difference.

Reply With Quote
  #5  
Old 09-11-2009, 01:30 PM
Database Newbie
 
Join Date: Sep 2009
Posts: 1
saiderico is on a distinguished road
Default Re: Renaming Windows DB2 Server Machine

1. edit hosts file
add old host name alias to 127.0.0.1 to your C:\WINDOWS\system32\drivers\etc\hosts

2. edit registry at three following places:

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\GLOBAL_PROFILE]
"DB2_ADMINGROUP"="your_new_comp_name\DB2ADMNS"
"DB2_USERSGROUP"="your_new_comp_name\DB2USERS"
"DB2SYSTEM"="your_new_comp_name"

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopie s\DB2COPY1\GLOBAL_PROFILE]
"DB2_ADMINGROUP"="your_new_comp_name\DB2ADMNS"
"DB2_USERSGROUP"="your_new_comp_name\DB2USERS"
"DB2SYSTEM"="your_new_comp_name"

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopie s\DB2COPY1\PROFILES\DB2]
"DB2INSTOWNER"="your_new_comp_name"

3. then following
C:\>db2stop
C:\>db2admin stop
C:\>db2extsec -r
C:\>db2extsec /a DB2ADMNS /u DB2USERS

4. fix db2nodes.cfg
"C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2COPY1\DB2\db2nodes.cfg"

5. db2set -g DB2SYSTEM=your_new_comp_name

6. reboot
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 12:39 AM.