OpenNMS
-
@thanksajdotcom
Thank you. -
It's slow - but It's running, and I'm connected.
-
Most any network monitor will be slow, without beefy hardware to back it up. They are quiet resource intensive.
-
It's on CloudatCost -
-
@scottalanmiller said:
Yeah, what's up with installing nano?
Nothing wrong with using nano either. I have never had an issue caused by nano.
I know how to use vi, but I don't use it.
-
(command line) restarted the box yesterday.
PostgreSQL is starting okay
but OpenNMS is not.[root@c1115844-28040 ~]# /sbin/service postgresql start Starting postgresql service: [ OK ] [root@c1115844-28040 ~]# /sbin/service postgresql opennms Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|try-restart|reload|force-reloa d|initdb} [root@c1115844-28040 ~]# /sbin/service opennms start Starting OpenNMS: Started OpenNMS, but it stopped running: for details see /opt/opennms/logs/output .log [FAILED] [root@c1115844-28040 ~]# vi /opt/opennms/logs/output.log ------------------------------------------------------------------------------ Fri Apr 17 13:17:02 EDT 2015 begin ulimit settings: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 3879 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 20480 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 3879 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited end ulimit settings Executing command: /opt/opennms/bin/runjava -r -- -Djava.endorsed.dirs=/opt/opennms/lib/endorsed -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -DisThreadContextMapInheritable=true -XX:MaxPermSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp -jar /opt/opennms/lib/opennms_bootstrap.jar start [DEBUG] System property 'opennms.library.jicmp' set to '/usr/lib/libjicmp.so. Attempting to load jicmp library from this location. [INFO] Successfully loaded jicmp library. [DEBUG] System property 'opennms.library.jicmp6' set to '/usr/lib/libjicmp6.so. Attempting to load jicmp6 library from this location. [INFO] Successfully loaded jicmp6 library. init... Apr 17, 2015 1:19:46 PM com.noelios.restlet.http.StreamClientHelper start INFO: Starting the HTTP client org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling SLF4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Enabling JULI Logger API support. [Main] INFO com.sun.jersey.api.core.PackagesResourceConfig - Scanning for root resource and provider classes in the packages: org.codehaus.jackson.jaxrs org.opennms.web.rest org.opennms.web.rest.config [Main] INFO com.sun.jersey.spi.service.ServiceFinder - Running in a non-OSGi environment [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.ops4j.pax.url.mvn.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.features.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.opennms.features.vaadin.nodemaps.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from jmx.acl.org.apache.karaf.config.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.felix.fileinstall-deploy.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.jaas.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.shell.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.features.repos.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from jmx.acl.java.lang.Memory.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.log.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.features.obr.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from jmx.acl.org.apache.karaf.bundle.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.kar.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.command.acl.osgi.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.opennms.features.topology.plugin.ncs.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.apache.karaf.command.acl.features.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from jmx.acl.org.apache.karaf.security.jmx.cfg [FelixStartLevel] INFO org.apache.felix.fileinstall - Creating configuration from org.ops4j.pax.logging.cfg
By posting the log file here, i'm hoping to see something different. I"m not accustom to this type of log file... so I am unsure what to look for.
-
That's where the log stops?
-
@scottalanmiller said:
That's where the log stops?
Yes- unless I'm doing something incorrectly. Even the attempt last night and review of the log shows this. However since I am new to using vi and looking at logs on the Linux system using the CLI,.. I might see about downloading it locally and going from there... There is a high chance I am not seeing the complete log.
-
You can use the cat command to view files. Tail will allow you to only see certian lines of a log file as well.
-
Correct log detail
Mon Apr 20 19:11:03 EDT 2015 begin ulimit settings: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 3879 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 20480 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 3879 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited end ulimit settings Executing command: /opt/opennms/bin/runjava -r -- -Djava.endorsed.dirs=/opt/opennms/lib/endorsed -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -DisThreadContextMapInheritable=true -XX:MaxPermSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp-jar /opt/opennms/lib/opennms_bootstrap.jar startError: Exception thrown by the agent : java.net.MalformedURLException: Local host name unknown: java.net.UnknownHostException: <XXXXXXXXXX>..cloudatcost.com: c<XXXXXXXXXX>.cloudatcost.com: Name or service notknown
-
Time for a reload..
It give me practice anyway...