Morten Vold said:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Forselv Ketil wrote:
[root@Nav3]# less /usr/local/nav/var/log/eventEngine/eventEngine-stderr.log Exception in thread "main" java.lang.NoClassDefFoundError: no/ntnu/nav/Path at eventEngine.<clinit>(eventEngine.java:54)
[root@Nav3]# less /usr/local/nav/var/log/getDeviceData/getDeviceData-stderr.log Exception in thread "main" java.lang.NoClassDefFoundError: no/ntnu/nav/Path at getDeviceData.<clinit>(getDeviceData.java:61)
Dette lukter av feil CLASSPATH, men vi har ogs? sett det selv med riktig CLASSPATH (da tror jeg at det var JVM'en til vedkommende det var et problem med).
F?r du starter eventEngine og gDD, skriv "echo $CLASSPATH", hvordan ser den ut?
[root@Nav3 root]# echo $CLASSPATH /usr/local/nav/lib/java/ConfigParser.jar /usr/local/nav/lib/java/Database.jar /usr/local/nav/lib/java/Event.jar /usr/local/nav/lib/java/Logger.jar /usr/local/nav/lib/java/NetboxInfo.jar /usr/local/nav/lib/java/SimpleSnmp.jar /usr/local/nav/lib/java/snmp4_13.jar /usr/local/nav/lib/java/Util.jar [root@Nav3 root]#
og jeg har fremdeles samme feilmelding i xxxx-stderr.log, og navstatus er f?lgende:
[root@Nav3 root]# /usr/local/nav/bin/nav status mactrace: Up cricket: Up eventEngine does not seem to be running... iptrace: Up maintengine: Up servicemon.py (pid 879) is running... smsd.pl (pid 912) is running... thresholdMon: Up networkDiscovery: Up logengine: Up safe_smsd: Up Alertengine is running with process id 945. It has been running for 14 minutes and 55 seconds.
backup: Up pping.py (pid 958) is running... getDeviceData does not seem to be running...
mvh Ketil
Morten Vold NTNU ITEA Nettgruppen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBWREKXxIl0kpcOkQRAvYUAKDM5P1o3C4KZA7KmA0GLMqmVN2D1wCg5Ncg upbhwYv3b+jNpgh5rULffEg= =508O -----END PGP SIGNATURE-----