I installed db2 express 9.5 under ubuntu 8.04.
After installation of several packages, it installed well.
Only, after installation, it did not automatically start at boot.
Setting db2set autostart=yes (by db2inst1 user) did not help.
So in the end, I added a /etc/init.d/db2 script:
http://www.tldp.org/HOWTO/DB2-HOWTO/ubuntu704.html#AEN794
Then I installed bum package, and ran System-Administration-Bootup Manager to activate the db2 script at startup.
After installation of several packages, it installed well.
Only, after installation, it did not automatically start at boot.
Setting db2set autostart=yes (by db2inst1 user) did not help.
So in the end, I added a /etc/init.d/db2 script:
http://www.tldp.org/HOWTO/DB2-HOWTO/ubuntu704.html#AEN794
#!/bin/sh
#
# Script to start DB2 instances on bootup.
#
set -e
. /lib/lsb/init-functions
case "$1" in
start)
/opt/ibm/db2exc/V9.1/instance/db2istrt
;;
stop|restart|reload)
;;
esac
exit 0
Then I installed bum package, and ran System-Administration-Bootup Manager to activate the db2 script at startup.
Comments