Bernd Hohmann wrote:
Lan W via DBMonster.com wrote:
I tried to issue the command: db2admin start on my db2 UDB 8.2 with AIX
5.2 server. It gives me the error:
SQL4401C The DB2 Administration Server encountered an error during
startup.
Does anyone can tell me how to fix it?
I have this error sometimes under OS/2 and usually
DB2ADMIN stop
DB2ADMIN drop
DB2ADMIN create /user:your_user /password:your_password
DB2ADMIN start
fixes the problem. But no idea if this is an ointment under AIX :)
Bernd
Oh, I'd suggest that's a bad idea on AIX. The way to create/drop/etc the
das on OS/2 and Windows is very different than Unix and Linux.
This would be:
/usr/opt/db2_08_01/instance/dasdrop # as root
/usr/opt/db2_08_01/instance/dascrt dasusr1 # as root
(dasdrop automatically stops the das, dascrt automatically starts it)
If you have any configuration in your das, however, you'll lose that. And
because the unix das in v8 is so different from the OS/2 das in v7, this
may not even work.
Lan W - do you have any logfiles that would help diagnose the problem?