Re: Cannot start opennms

Tarus Balog <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
On 07/10/2013 05:49 AM, Janis Kublinskis wrote:
> Thanks for respond!
> 
> After    /usr/share/opennms/bin/opennms start
> i got
> Starting OpenNMS: OpenNMS is partially running.
> If you have just attempted starting OpenNMS, please try again in a few
> moments, otherwise, at least one service probably had issues starting.
> Check your logs in /var/log/opennms/daemon for errors.
> failed

Yeah, like the other guys said, this doesn't mean that OpenNMS isn't
running, it just means that it didn't start within the default timeout.

opennms -v status

should give you a list of things that are running. The last one, Jetty,
can take awhile to load.

You can do a few things to help this.

One is: create a file

/etc/opennms/opennms.conf

and add the line:

JAVA_HEAP_SIZE=xxxxm

where xxxx is something like 1024 or 2048 (1G and 2G). The default
memory size that OpenNMS ships with is 512m, so if you have more
physical memory on the box, it is a good idea to up that number.

Next, you could add:

START_TIMEOUT=0

and that would get rid of the "partially running" message and only fail
if OpenNMS doesn't start at all. Or you could increase it to 60 or 120
(seconds) as needed.

HTH,
-T

-- 
Tarus BALOG, Maintainer                     Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 773 345 3645
Email: [email protected]                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.