Jamuel Starkey | 3 Sep 2008 09:50

Troubleshoot Jetty 503 Service Unavailable

Hi,

After making what I thought would be an innocuous change to ONMS
v1.5.93-0.9408.snapshot I find a 503 Service Unavailable when I navigate
to my opennms web URL.

Any ideas how to troubleshoot?  (I believe I have backed out my changes
but I'm guessing I missed something.) 

Per the wiki on 503's I have looked at output.log and see this:

Wed Sep  3 00:35:39 PDT 2008
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) 32768
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) 32768
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
(Continue reading)

Hamid Majidy | 3 Sep 2008 23:41
Picon

Re: OpenNMS UI Not Coming Up

Hello list. I have installed OpenNMS 1.5.93 with Tomcat 6.0.18, PostgreSQL 8.1.11, J2SE JDK 1.6, RRDTool 1.2.23 jicmp 1.0.8 on CentOS 5.2 i386. All seems OK, except I get error HTTP 404 when trying to access the OpenNMS UI.

 

I can get to the Tomcat UI at http://10.0.1.5:8080/ but not to OpenNMS UI at http://10.0.1.5:8080/opennms while daemons are running:

./opennms -v status

OpenNMS.Eventd         : running

OpenNMS.Trapd          : running

OpenNMS.Queued         : running

OpenNMS.Dhcpd          : running

OpenNMS.Actiond        : running

OpenNMS.Capsd          : running

OpenNMS.Notifd         : running

OpenNMS.Scriptd        : running

OpenNMS.Rtcd           : running

OpenNMS.Pollerd        : running

OpenNMS.PollerBackEnd  : running

OpenNMS.Ticketer       : running

OpenNMS.Collectd       : running

OpenNMS.Threshd        : running

OpenNMS.Discovery      : running

OpenNMS.Vacuumd        : running

OpenNMS.EventTranslator: running

OpenNMS.PassiveStatusd : running

OpenNMS.Statsd         : running

OpenNMS.Importer       : running

OpenNMS.JettyServer    : running

opennms is running

 

This seems like a Tomcat integration issue, as OpenNMS no longer requires Tomcat, but Jetty server does not seem to be running at TCP 8980. Maybe it's just a matter of starting Jetty server or linking servlets to Tomcat? Tomcat logs do not show any errors.

 

Thanks,

Hamid.

 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
Tarus Balog | 4 Sep 2008 00:14
Favicon

Re: Troubleshoot Jetty 503 Service Unavailable


On Sep 3, 2008, at 3:50 AM, Jamuel Starkey wrote:

> Considering I had a bunch of stuff in jetty.log prior to my bounce and
> now that things are 503'd I don't have anything else appearing I'm
> guessing that the opennms webapp is not even getting started in Jetty.
>
> Thanks in advance for your ideas.

Did you modify the snmp-graph.properties file? Since it isn't XML it  
is hard to verify, and the smallest typo can cause issues. Replace it  
with the default (which you can get from the SVN repo browser on  
Sourceforge if you need it) and see if that helps.

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Jamuel Starkey | 4 Sep 2008 01:25

Re: SOLVED - Troubleshoot Jetty 503 Service Unavailable

That's one file that I did NOT modify, I did however modify
response-graph.properties--I've just restored it from SVN and that
solved the problem.  THANKS!

> -----Original Message-----
> From: opennms-install-bounces <at> lists.sourceforge.net [mailto:opennms-
> install-bounces <at> lists.sourceforge.net] On Behalf Of Tarus Balog
> Sent: Wednesday, September 03, 2008 3:14 PM
> To: Installation questions and help
> Subject: Re: [opennms-install] Troubleshoot Jetty 503 Service
> Unavailable
> 
> 
> On Sep 3, 2008, at 3:50 AM, Jamuel Starkey wrote:
> 
> > Considering I had a bunch of stuff in jetty.log prior to my bounce
> and
> > now that things are 503'd I don't have anything else appearing I'm
> > guessing that the opennms webapp is not even getting started in
> Jetty.
> >
> > Thanks in advance for your ideas.
> 
> Did you modify the snmp-graph.properties file? Since it isn't XML it
> is hard to verify, and the smallest typo can cause issues. Replace it
> with the default (which you can get from the SVN repo browser on
> Sourceforge if you need it) and see if that helps.
> 
> -T
> 
>
_______________________________________________________________________
> Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
> The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
> Email: tarus <at> opennms.org                    URL:
http://www.opennms.org
> PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82
B45C
> 
> 
>
-----------------------------------------------------------------------
> --
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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

ATTENTION: The information contained in this message may be legally privileged and confidential.  It is
intended to be read only by the individual or entity to whom it is addressed or by their designee.  If the
reader of this message is not the intended recipient, you are on notice that any distribution of this
message, in any form, is strictly prohibited.  If you have received this message in error, please
immediately notify the sender by telephone at (415) 318-7500 and delete or destroy any copy of this message

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Tarus Balog | 4 Sep 2008 02:11
Favicon

Re: SOLVED - Troubleshoot Jetty 503 Service Unavailable


On Sep 3, 2008, at 7:25 PM, Jamuel Starkey wrote:

> That's one file that I did NOT modify, I did however modify
> response-graph.properties--I've just restored it from SVN and that
> solved the problem.  THANKS!

Heh, guess what that file is built on ...

(grin)

The .properties files are always the biggest pain.

-T

_______________________________________________________________________
Tarus Balog, OpenNMS Maintainer             Main:   +1 919 533 0160
The OpenNMS Group, Inc.                     Fax:    +1 503 961 7746
Email: tarus <at> opennms.org                    URL: http://www.opennms.org
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Mertz Cyrille | 16 Sep 2008 16:40
Picon

Install as Windows Service with Java Service Wrapper

Hi all,

 

Can any one tell me how to configure Java Service Wrapper for installing OpenNMS as service on Windows?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
Timothy Krull | 16 Sep 2008 23:44

Java Problems

I installed OpenNMS onto a windows XP 32 bit machine and the install was
successfull, but when I run the opennms.bat start command I am receiving
the following error.

C:\Program Files\OpenNMS\bin>"C:\j2sdk1.4.2_18\bin\java" -Xmx256m
-Dopennms.home
="C:/PROGRA~1/OpenNMS" -jar "C:/PROGRA~1/OpenNMS/lib/opennms_bootstrap.jar"
start

Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/opennms/b
ootstrap/Bootstrap (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

C:\Program Files\OpenNMS\bin>

I am running the most up to date JDK package as verfied by their site, but
cannot get the web interface to install at all.  Is this a java issue, or
should I just give up and do this install proper on a linux box to save the
headache.

Thanks in advance,

Tim

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Michael Hale | 16 Sep 2008 23:56

1.5.93 beta 4 install database conversion bug

Wasn't sure if this needed to go to opennms-discuss or opennms- 
install, so apologies for x-posting

I'm trying to get OpenNMS 1.5.93 installed on Solaris 10 x86 and I
believe that I've found a bug in the install routine.

When I run an ./installer -disU, I get the following error eventually:

- checking if database "opennms" is unicode... NOT UNICODE, CONVERTING
   - dumping data to /tmp/pg_dump-opennms... Exception in thread
"main" java.lang.Exception: Dumping database returned non-zero exit
value 1 while executing command '/usr/bin/pg_dump -U postgres -a
opennms -f /tmp/pg_dump-opennms', check /tmp/unicode-convert.log
         at
org.opennms.netmgt.dao.db.InstallerDb.checkUnicode(InstallerDb.java:
2041)
         at org.opennms.install.Installer.install(Installer.java:248)
         at org.opennms.install.Installer.main(Installer.java:679)

If you'll notice, the dump command seems to have the arguments out of
order, it should be:

/usr/bin/pg_dump -U postgres -a -f /tmp/pg_dump-opennms opennms
--
Michael Hale                                           			<mhale <at> transcomus.com 
 >
Manager of Engineering Support 				Enterprise Engineering Group
Transcom Enhanced Services					http://www.transcomus.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

Michael Hale | 17 Sep 2008 00:13

Re: 1.5.93 beta 4 install database conversion bug

I should mention that this installer was the one that came from  
running the opennms-installer-1.5.93.jar that I grabbed from sourceforge

On Sep 16, 2008, at 4:56 PM, Michael Hale wrote:

> Wasn't sure if this needed to go to opennms-discuss or opennms-
> install, so apologies for x-posting
>
> I'm trying to get OpenNMS 1.5.93 installed on Solaris 10 x86 and I
> believe that I've found a bug in the install routine.

--
Michael Hale                                           			<mhale <at> transcomus.com 
 >
Manager of Engineering Support 				Enterprise Engineering Group
Transcom Enhanced Services					http://www.transcomus.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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

DJ Gregor | 17 Sep 2008 00:17
Favicon

Re: Java Problems

You are using a 1.4.2 JDK.  You need to use at least 1.5.

        - djg

On Tue, 16 Sep 2008 17:44:38 -0400, "Timothy Krull"
<tim.krull <at> edag-us.com> said:
> I installed OpenNMS onto a windows XP 32 bit machine and the install was
> successfull, but when I run the opennms.bat start command I am receiving
> the following error.
> 
> C:\Program Files\OpenNMS\bin>"C:\j2sdk1.4.2_18\bin\java" -Xmx256m
> -Dopennms.home
> ="C:/PROGRA~1/OpenNMS" -jar
> "C:/PROGRA~1/OpenNMS/lib/opennms_bootstrap.jar"
> start
> 
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/opennms/b
> ootstrap/Bootstrap (Unsupported major.minor version 49.0)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
>         at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
> 3)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> 
> C:\Program Files\OpenNMS\bin>
> 
> I am running the most up to date JDK package as verfied by their site,
> but
> cannot get the web interface to install at all.  Is this a java issue, or
> should I just give up and do this install proper on a linux box to save
> the
> headache.
> 
> Thanks in advance,
> 
> Tim
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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


Gmane