Skip to main content

Posts

Showing posts from May, 2008

Ubuntu: starting db2 at bootup

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 #!/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.

Websphere 6.1 administrative security + self signed certificates

I installed websphere 6.1 and chose the default "enable administrative security". Once I finished my installation, I noticed I could not login under https://localhost:9043/admin/console. I got a message about a certificate not being trusted. First I discovered, that I had renamed my machine, but that /etc/hosts still had old entries for 127.0.0.1. Because of that, my node and cell names were still deduced from the old machine name. I fixed that and reinstalled. At login I got the failure: invalid security certificate. My browser did not trust the self signed certificate that the websphere server uses. I did following to fix that: In /bin, started keyman: sudo ./ikeyman.sh Opened jks file under profiles/AppSrv01/etc/DummyClientTrustFile.jks, password is WebAS. there I looked up the default_signer, and selected the extract option. I exported cert.arm as base64 ascii. under firefox, preferences, advanced, view certificates I imported the CA certificate I restarted firefox. The ...

Installing websphere 6.1 under hardy-heron

I had problems to get websphere installed on Ubuntu 8.04. The install did work, but the configuration of profiles failed. In the end it turned out, that /bin/sh points to /bin/dash instead of /bin/bash. I executed following commands: sudo unlink /bin/sh sudo ln -s /bin/bash /bin/sh During installation I set an admin console username/password. When I start the server, and go to the console page http://localhost:9060/ibm/console/ I get redirected to https://localhost:9043/ibm/console/ and get an error that my self signed certificate is not trusted.