I'm using DB2 Express-C 10.1.0.2 on Linux. During the installation I set that the instance should be auto-started, but after reboot it is not.
What am I missing?
This topic has been locked.
2 replies Latest Post - 2013-01-29T08:25:57Z by SystemAdmin
Pinned topic DB2 Express-C 10.1.0.2 instance not auto starting
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-29T08:25:57Z at 2013-01-29T08:25:57Z by SystemAdmin
Re: DB2 Express-C 10.1.0.2 instance not auto starting2013-01-29T07:54:02Z in response to SystemAdminHi!
What I found till now is that DB2 fault monitor is responsible for autostarting DB2 instance.
There is a command db2fm that can maintain db2fmcd (DB2 fault monitor deamon).
At boot time I see that db2fmcd is running, but is not starting DB2 instance.
"sudo ./db2fm -s -S" gives:
Gcf module 'fault monitor' is INSTALLED PROPERLY but NOT ALIVE
Gcf module '/opt/ibm/db2/V10.1/lib64/libdb2gcf.so' is INSTALLED PROPERLY but NOT ALIVE
If I bring the service and deamon up using
sudo ./db2fm -u -U
DB2 instance is started.
dmesg gives me a lot of this lines:
db2fmcd1094 general protection ip:7f06966e5154 sp:7fff2e2f2150 error:0 in libc-2.15.so7f0696677000+1b3000
init: db2fmcd main process (1094) killed by SEGV signal
init: db2fmcd main process ended, respawning
Re: DB2 Express-C 10.1.0.2 instance not auto starting2013-01-29T08:25:57Z in response to SystemAdminHi!
Workaround for this is to pu following lines to /etc/rc.local
./db2fm -i db2inst1 -u -U
./db2fm -i db2inst1 -s -S
Now DB2 instance is started at boot time and even if I kill the db2syscs process it comes back. :)
This does not solve the crashing of db2fmcd process, but gets your instance running.