Skip to main content

Posts

Showing posts from 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.

Dual screen for Dell D830

My Dell D830 uses an Intel Graphic Card GM965. To use dualscreen, you must use the package xrandr. As a normal user you can see your current configuration with: xrandr -q When you connect a second monitor (docking station), then by default you will get both screens displaying the same. Example: jan@southfork:~$ xrandr -q Screen 0: minimum 320 x 200, current 3600 x 1200, maximum 3600 x 1200 VGA disconnected (normal left inverted right) LVDS connected 1920x1200+0+0 (normal left inverted right) 331mm x 207mm 1920x1200 60.0*+ 1280x800 60.0 1280x768 60.0 1024x768 60.0 800x600 60.3 640x480 59.9 TMDS-1 connected 1680x1050+0+0 (normal left inverted right) 434mm x 270mm 1680x1050 59.9*+ 1280x1024 75.0 59.9 1152x864 74.8 1024x768 75.1 60.0 800x600 75.0 60.3 640x480 75.0 60.0 720x400 70.1 TV disconnected (normal left inverted right) In my example above you will see that both screens start their output ...