• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 403
  • Last Modified:

Can't Start OpenNMS

I'm having troubles getting opennms to start.

Fedora 5
Kerenl = 2.6.15-1.2054
Java = j2sdk1.4.2_13 /usr/java/j2sdk1.4.2_13
Tomcat = 4.1.18 /etc/tomcat4/tomcat.conf
Postgresql = 8.1.3
opennms = 1.2.9 /opt/Opennms

The installation of the webapps takes an extremely long time.  See next section:

[root@nagios OpenNMS]# bin/install -y -w /var/tomcat4/webapps -W
OpenNMS Installer Version $Id: Installer.java 3056 2006-03-26 19:39:16Z
djgregor $

Configures PostgreSQL tables, users, and other miscellaneous settings.

* using 'opennms' as the PostgreSQL user for OpenNMS
* using 'opennms' as the PostgreSQL password for OpenNMS
* using 'opennms' as the PostgreSQL database name for OpenNMS
- using Top-level web application directory... /var/tomcat4/webapps
- using Tomcat server library directory... /var/tomcat4/server/lib
- using OpenNMS webapps directory... /opt/OpenNMS/webapps
- Checking for old opennms webapp directory in
/var/tomcat4/webapps/opennms... OK
- Checking for old opennms context in
/var/tomcat4/webapps/../conf/server.xml... OK

*****---  The system hangs here for a real long time (5 minutes +) when
installing --*****

- Install OpenNMS webapp...
  - /var/tomcat4/webapps/opennms.xml exists, removing... REMOVED
  - creating link to /var/tomcat4/webapps/opennms.xml... DONE
  - /var/tomcat4/server/lib/log4j.jar exists, removing... REMOVED
  - creating link to /var/tomcat4/server/lib/log4j.jar... DONE
  - /var/tomcat4/server/lib/castor- exists, removing... REMOVED
  - creating link to /var/tomcat4/server/lib/castor- DONE
  - /var/tomcat4/server/lib/castor- exists, removing...
  - creating link to /var/tomcat4/server/lib/castor- DONE
  - /var/tomcat4/server/lib/opennms_core.jar exists, removing... REMOVED
  - creating link to /var/tomcat4/server/lib/opennms_core.jar... DONE
  - /var/tomcat4/server/lib/opennms_services.jar exists, removing... REMOVED
  - creating link to /var/tomcat4/server/lib/opennms_services.jar... DONE
  - /var/tomcat4/server/lib/opennms_web.jar exists, removing... REMOVED
  - creating link to /var/tomcat4/server/lib/opennms_web.jar... DONE
- Installing OpenNMS webapp... DONE

Installer completed successfully!

When I try to start openNMS here is what I get:
[root@nagios OpenNMS]# /etc/init.d/opennms -v start Starting OpenNMS:
Started OpenNMS, but it stopped running: check output.log
[root@nagios OpenNMS]#

Heres the last entry in the output.log:

Mon Nov 20 14:06:14 EST 2006
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
max nice                        (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 12260
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 10240
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
max rt priority                 (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 12260
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/OpenNMS/bin/runjava -r  -- -classpath
  -DOPENNMSLAUNCH -Dopennms.home=/opt/OpenNMS
-Djcifs.properties=/opt/OpenNMS/etc/jcifs.properties -Xmx256m -verbose:gc
Could not initialize IcmpSocket: null
   <<No stacktrace available>>
[root@nagios logs]#

Any ideas?
  • 2
1 Solution
you have a problem with the ping class. the icmpsocket is the ping protocol. you have this class?
januismerAuthor Commented:
Is this a specific section of OpenNMS your talking about (class wise) or are you basically asking if I can ping other devices?

I can ping other devices without a problem, but I don't seem to find a classes sections in OpenNMS anywhere.

Could you please point me in the right direction?

januismerAuthor Commented:
I've resolved the problem.

The paths to Java were defined improperly.

In the cases where you resolve your own issue, you can ask to have it PAQ'ed to the EE DB and your points refunded.  To do this, you click on the Support link at the upper right part of this page.  Then you post a 0 point Q referencing the URL for this Q.  You also state your intentions.  In this case, since you solved your own issue you ask for a PAQ/Refund.  A moderator will pick up your request and post a comment here stating your request and giving participants 4 days to post any objections.  If there are none, then your request will be fulfilled.   I hope this helps.

EE Cleanup Volunteer
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now