Tuesday, December 29, 2009
To "fix" it change net.ipv6.bindv6only = 1 to 0 and run:
invoke-rc.d procps restart
java now works again!!! I don't understand why (and I don't care) but this kind of things should be more public and more easy to find... Debian mainteners PLEASE don't break things so silently...
Tuesday, December 8, 2009
new setting is:
user@server~/firefox36/plugins$ ls -la
lrwxrwxrwx 1 user users 58 2009-12-07 19:47 libnpjp2.so -> /home/user/ibm-java-i386-60.sr6/jre/lib/i386/libnpjp2.so
yours should probably point to something like:
for SUN java or
for IBM java
Lets hope google will index this soon so others don't have to dig too deep...
Saturday, September 5, 2009
Configuring it on the supported platform is a little bit easier but still not as it should be!
Most of the problems come from the use of InstallShield installer on all platforms (instead only on windblows where it actually works)...
Installshield prerequisites are almost nondocumented (except for
libstdc++5on debian-based distros). Other than that you'll also need:
libXp6, libxtst, xclock(for some basic X libs)... For centos I also needed
compat-libstdc++-296 and pdksh(uninstall ksh and download pdksh from Internet since it's not part of the distribution)
Now you can at least install the product! But if it's WebSphere you should also add
libgtk2.0-0or your profile management tool dies...
If you are installing DB2 v9 on Ubuntu make sure you:
1. change /bin/sh as a link from /bin/dash to /bin/bash (or scripts will fail silently)
2. change /etc/pam.d/common-password from
password [success=1 default=ignore] pam_unix.so obscure sha512
password [success=1 default=ignore] pam_unix.so obscure md5
or DB2 will not be able to authenitace remote users (since their encrypted password will be to big!)
IBM please document your linux stuff and stop using InstallShield - it's simply broken!
Friday, April 3, 2009
If your file is original.txt, you can do it like this:
sed '1,/^hello world$/!d' < original.txt > first_half.txt
sed '1,/^hello world$/d' < original.txt > second_hald.txt
just simple sed...
hope you like it
Sunday, March 15, 2009
vi is a great editor and I just want to say it out loud!
Learn to use it, learn to love it and then learn to enjoy it...
I constantly find myself typing ESC h,j,k,l don't you?
PS learn to use hjkl and not the arrows, it will help you when you get your shell to vi mode (set -o vi)
Learn the tricks, learn search/replace and other tools and you'll greatly enhance your job performance...
I currently have to edit a lot of SQL files and search/replace just saved me 4-5 days of typing (and who knows how many mistakes)...
a simple ESC
:% s/what am I changing/what the new text will be/g
is all it takes... (g is for global, so if you have more occurencies of the same text all will be changed)
good options to know are
which will only run from 4th to 8th line and ask you to approve every change
other regexp formats are also supported:
:% s/this line has \(first\) argument/here was the \1 argument/g
just to make sure you know which lines to include try:
Monday, January 26, 2009
This is not a simple task without deployment manager. You have to do it via scripts. IBM provides this scripts for free but they are not easy to find :-)
and you are looking for ConfigScripts.zip
To rename it:
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/ws_ant.sh -profileName AppSrv01 -buildfile exportImport.xml -logfile rename.log -DoldServerName=server1 -DnewServerName=server2 -DnodeName=yourNode01 changeServerName
I would expect this to be a much easier process but IBM obviously doesn't share my ideas...