Hello,
According to the IBM website : http://www-
106.ibm.com/developerworks/linux/library/l-ss3-db2/
If you are using Red Hat 9, with its new thread library, Native POSIX
Thread Library (NPTL), then the Java installation code used by DB2 will
not work. You can force compatibility mode by setting the environment
variable LD_ASSUME_KERNEL to 2.2.5 before starting the install program
(db2setup).
LD_ASSUME_KERNEL=2.2.5
export LD_ASSUME_KERNEL
Note: This is not a supported platform for DB2 V8.1, and some functions
may not work as expected. You should also add these lines to the .bashrc
profile file for any user (for example, db2inst1) who wants to use the
DB2 Control Center or other Java tools.
Well... I have done that. But when I run the ./db2cc from
/home/db2inst1/sqllib/bin ... , I get the following :
[db2inst1@mairl bin]$ ./db2cc
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11
window
server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnviron ment.java:7
7)
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:142)
at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvi
ronment.java:72)
at java.awt.Font.initializeFont(Font.java:285)
at java.awt.Font.(Font.java:319)
at javax.swing.plaf.FontUIResource.(FontUIResource.ja va:51)
at
javax.swing.plaf.basic.BasicLookAndFeel.getFont(Ba sicLookAndFeel.java
:252)
at
javax.swing.plaf.basic.BasicLookAndFeel.initCompon entDefaults(BasicLo
okAndFeel.java:271)
at
javax.swing.plaf.metal.MetalLookAndFeel.initCompon entDefaults(MetalLo
okAndFeel.java:210)
at
javax.swing.plaf.basic.BasicLookAndFeel.getDefault s(BasicLookAndFeel.
java:80)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefault s(MetalLookAndFeel.
java:1088)
at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:408)
at javax.swing.UIManager.setLookAndFeel(UIManager.jav a:435)
at javax.swing.UIManager.initializeDefaultLAF(UIManag er.java:895)
at javax.swing.UIManager.initialize(UIManager.java:99 1)
at javax.swing.UIManager.maybeInitialize(UIManager.ja va:974)
at javax.swing.UIManager.getDefaults(UIManager.java:4 95)
at javax.swing.UIManager.get(UIManager.java:586)
at com.ibm.db2.tools.common.CommonUIManager.initializ e(Unknown
Source)
at CC.setLookAndFeel(Unknown Source)
at CC.(Unknown Source)
at CC.main(Unknown Source)
DB2JAVIT : RC = 1
Does this mean I'm going to have to run the control centre from my
winders machine and catalog the database as not local? Would be a pure
pain in the arse. I thought DB2 was supported on Fedora Core 2 ....???
Mairhtin