rruttimann
Joined: 14 Feb 2006 Posts: 6
|
Posted: Fri Mar 03, 2006 1:51 pm Post subject: Error in Java 1.5 Binary package |
|
|
The binary package for Java 1.5 (foundation-1.1-m2-java15-bin.tar.gz) throws an error at startup. To fix it apply the following steps:
Step1:
Untar the package in the directory of your choice. If the package is expanded into /usr/local only step 3 & 4 need to be applied.
Step2:
Path for log file is incorrect. edit bin/log4j.properties and make sure that ../log/framework.log is used instead of ../log/log/framework.log
Step3:
If you installed the package in a different directory than /usr/local a configuration file inside the collage-common-impl-1.1-M2.jar needs to be updated.
--> Step into lib and create a dir temp
--> copy collage-common-impl-1.1-M2.jar into temp
--> step into the directory and unjar the file:
jar xf collage-common-impl-1.1-M2.jar
--> edit META-INF/common-model-assembly.xml line 29 and 38 where
the path to the property file is set to the correct path.
--> inside the temp directory delete the jar and then create a new jar by
issuing the command: jar cf ../collage-common-impl-1.1-M2.jar ./*
Step 4:
The server in the Nagios Status feeder script is hardcoded.
Edit bin/nagios2collage-socket.pl
Set my $thisnagios = "localhost"; #`hostname`; instead of the hardcoded name. |
|