Robert Collins | 2 Nov 2003 10:39
Favicon

Re: opennms 1.1.1-5 on debian sid

On Sat, 2003-11-01 at 02:24, Edwin Buck wrote:
> Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
...
> If log4j is installed on your system, check the CLASSPATH for your
> tomcat4 startup environment to ensure it is including log4j.  Or
> alternatively, drop a copy of apache's log4j.jar into the
> ${CATALINA_HOME}/server/lib directory (or link, to taste, etc.)

Bingo, the setclasspath script in tomcat didn't have log4j.jar - I've
symlinked it in.

> Then keep a close eye on the catalina.out log file and the not finding
> log4j complaints should disappear.   Unfortunately, I don't have a list 
> of the "external" jars that opennms references, so there's a possibility
> that you will run into another missing jar.  If so, wash, rinse, repeat.
> 
> These problems stem from packagers (or build systems) having different
> ideas about what is part of a tomcat4 install.  Modular minded packagers
> tend to include tomcat, and only tomcat, because those that want log4j
> will also install log4j.  Less modular packagers assume that those who
> want tomcat will also want log4j, so those packagers bundle the two. 
> 
> Hope this helps,
> Edwin

It does, but now I get what appears to be a version mismatch of some
sort...

Using CLASSPATH:      
/usr/lib/j2sdk1.4/lib/tools.jar:/usr/lib/j2sdk1.4/jre//lib/jcert.jar:/usr/lib/j2sdk1.4/jre//lib/jnet.jar:/usr/lib/j2sdk1.4/jre//lib/jsse.jar:/usr/share/tomcat4/bin/bootstrap.jar
(Continue reading)

Tarus Balog | 4 Nov 2003 17:29

Re: DBD::Pg problem


On Oct 29, 2003, at 3:26 PM, Jason Conley wrote:

> I've built OpenNMS before on Redhat 8.0 but this time I'm having  
> trouble getting ' install DBD::Pg ' to install correctly.   To  
> Note: This box was just built for OpenNMS so everything is pretty much  
> default. The output I'm getting is:
>  
> make: *** [Pg.o] Error 1
>   /usr/bin/make  -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
>

I don't know much about diagnosing perl build errors, but you can  
always use the packages at ftp.opennms.org.

-T

________________________________________________________________________ 
___
Tarus Balog							Main:		+1 919 545 2553
Blast Internet Services, Inc.			Fax:			+1 919 542 5955
Email: tarus <at> blast.com					URL: http://www2.blast.com/tarus
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

______________________________________________________________
(install <at> opennms.org)
(Continue reading)

s.chappell | 4 Nov 2003 23:16

install on redhat

Hi All

I just installed opennms on a redhat 8 box via the web installer.
All installed OK, I logged out and back in, started the services and this is
what i see

[root <at> localhost root]# /opt/OpenNMS/bin/opennms.sh status
OpenNMS.Eventd         : starting
OpenNMS.Trapd          : starting
OpenNMS.Dhcpd          : starting
OpenNMS.Actiond        : running
OpenNMS.Capsd          : starting
OpenNMS.Notifd         : running
OpenNMS.Outaged        : starting
OpenNMS.Rtcd           : starting
OpenNMS.Pollerd        : starting
OpenNMS.Collectd       : starting
OpenNMS.Threshd        : starting
OpenNMS.Discovery      : starting

If I log in via the web I get refused a connection which I guess is because of
the above.
Anyone seen this before

Thanks in advance
______________________________________________________________
(install <at> opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/install

(Continue reading)

Tarus Balog | 7 Nov 2003 15:49

Re: install on redhat


On Nov 4, 2003, at 5:16 PM, s.chappell <at> isnsuk.com wrote:

> Hi All
>
> I just installed opennms on a redhat 8 box via the web installer.
> All installed OK, I logged out and back in, started the services and  
> this is
> what i see

1) grep ERROR /opt/OpenNMS/logs
2) grep FATAL /opt/OpenNMS/logs

Any clues?

-T

________________________________________________________________________ 
___
Tarus Balog							Main:		+1 919 545 2553
Blast Internet Services, Inc.			Fax:			+1 919 542 5955
Email: tarus <at> blast.com					URL: http://www2.blast.com/tarus
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

______________________________________________________________
(install <at> opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/install

(Continue reading)

Storch, Robin | 7 Nov 2003 22:02
Picon

Red Hat 9 opennms start problem

I installed the latest stable version of opennms on RH9, added the IP ranges
I wanted to monitor to discovery-configuration.xml,
poller-configuration.xml, snmp-config.xml, collectd-configuration.xml.  When
I start opennms, everything starts except for capsd.  The logs show these
errors:

/opt/OpenNMS/logs/capsd.log:2003-11-07 15:50:27,369 ERROR [main] Capsd:
Failed to load SNMP configuration
/opt/OpenNMS/logs/manager.log:2003-11-07 15:50:27,374 ERROR [main] Manager:
An error occured invoking operation init on MBean OpenNMS:Name=Capsd
/opt/OpenNMS/logs/manager.log:2003-11-07 15:50:38,480 ERROR [main] Manager:
An error occured invoking operation start on MBean OpenNMS:Name=Capsd
[root <at> opennms logs]# grep FATAL /opt/OpenNMS/logs/*
/opt/OpenNMS/logs/collectd.log:2003-11-07 15:50:35,035 FATAL [main]
SnmpCollector: initialize: Failed to load SNMP configuration
/opt/OpenNMS/logs/pollers.log:2003-11-07 15:50:34,541 FATAL [main]
SnmpMonitor: initialize: Failed to load SNMP configuration
/opt/OpenNMS/logs/threshd.log:2003-11-07 15:50:36,578 FATAL [main]
SnmpThresholder: initialize: Failed to initialize JNI RRD interface

Could anyone tell me where to start?  It looks like the snmp configuration
is not loading because of a JNI RRD interface but I'm not sure how to fix
that.

-----------------------------------------------

Robin Storch
Senior Server Analyst
Trihealth, Inc.

(Continue reading)

Tarus Balog | 10 Nov 2003 15:02

Re: Red Hat 9 opennms start problem


On Nov 7, 2003, at 4:02 PM, Storch, Robin wrote:

> I installed the latest stable version of opennms on RH9, added the IP  
> ranges
> I wanted to monitor to discovery-configuration.xml,
> poller-configuration.xml, snmp-config.xml, collectd-configuration.xml.  
>  When
> I start opennms, everything starts except for capsd.  The logs show  
> these
> errors:
>
> /opt/OpenNMS/logs/capsd.log:2003-11-07 15:50:27,369 ERROR [main] Capsd:
> Failed to load SNMP configuration

Check your snmp-config.xml file. Did you happen to make a mistake in  
that file? Feel free to post it (minus any community strings, of  
course) and we'll take a look.

-T

________________________________________________________________________ 
___
Tarus Balog							Main:		+1 919 545 2553
Blast Internet Services, Inc.			Fax:			+1 919 542 5955
Email: tarus <at> blast.com					URL: http://www2.blast.com/tarus
PGP Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

______________________________________________________________
(install <at> opennms.org)
(Continue reading)

Indio | 10 Nov 2003 12:58
Picon

Re: install on redhat

I had the same problem. If you look inside the logs, they will sure say
somthing like "Failed to connect the database server". So, first make sure
the postgreSql is running and listening on the configured port (netstat -tlp
should show you the port where the postmaster is listening on). I correct
this configuration and all the threads are "running".

----- Original Message ----- 
From: <s.chappell <at> isnsuk.com>
To: <install <at> opennms.org>
Sent: Tuesday, November 04, 2003 7:16 PM
Subject: [opennms-install] install on redhat

> Hi All
>
> I just installed opennms on a redhat 8 box via the web installer.
> All installed OK, I logged out and back in, started the services and this
is
> what i see
>
> [root <at> localhost root]# /opt/OpenNMS/bin/opennms.sh status
> OpenNMS.Eventd : starting
> OpenNMS.Trapd : starting
> OpenNMS.Dhcpd : starting
> OpenNMS.Actiond : running
> OpenNMS.Capsd : starting
> OpenNMS.Notifd : running
> OpenNMS.Outaged : starting
> OpenNMS.Rtcd : starting
> OpenNMS.Pollerd : starting
> OpenNMS.Collectd : starting
(Continue reading)

Edwin Buck | 10 Nov 2003 16:14

Re: opennms 1.1.1-5 on debian sid

Robert,

Sorry about the late reply, but I've been out sick with the Flu.  Hope
that you're not anywhere near Houston, TX; because, we have a really bad
strain going around this year.

Sounds like you have log4j, but the jar you included lacks a properties
file (remember the properties file must also be in the same classpath as
tomcat4)  If you linked a log4j.jar, odds are you need to find the
properties file corresponding to that log4j.jar and link that too.

Alternatively, you can write a properties file yourself, but be sure to
place it in the classes directory related to the lib your jar is in (ie
$LIBDIR/../classes)

Hope this helps,
Edwin

On Sun, 2003-11-02 at 03:39, Robert Collins wrote:
> On Sat, 2003-11-01 at 02:24, Edwin Buck wrote:
> > Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
> ...
> > If log4j is installed on your system, check the CLASSPATH for your
> > tomcat4 startup environment to ensure it is including log4j.  Or
> > alternatively, drop a copy of apache's log4j.jar into the
> > ${CATALINA_HOME}/server/lib directory (or link, to taste, etc.)
> 
> Bingo, the setclasspath script in tomcat didn't have log4j.jar - I've
> symlinked it in.
> 
(Continue reading)

James Zuo | 10 Nov 2003 17:44

Re: Red Hat 9 opennms start problem

Tarus Balog wrote:

>
> On Nov 7, 2003, at 4:02 PM, Storch, Robin wrote:
>
>> I installed the latest stable version of opennms on RH9, added the 
>> IP  ranges
>> I wanted to monitor to discovery-configuration.xml,
>> poller-configuration.xml, snmp-config.xml, 
>> collectd-configuration.xml.   When
>> I start opennms, everything starts except for capsd.  The logs show  
>> these
>> errors:
>>
>> /opt/OpenNMS/logs/capsd.log:2003-11-07 15:50:27,369 ERROR [main] Capsd:
>> Failed to load SNMP configuration
>
>
> Check your snmp-config.xml file. Did you happen to make a mistake in  
> that file? Feel free to post it (minus any community strings, of  
> course) and we'll take a look.
>
> -T
>
> ________________________________________________________________________ 
> ___
> Tarus Balog                            Main:        +1 919 545 2553
> Blast Internet Services, Inc.            Fax:            +1 919 542 5955
> Email: tarus <at> blast.com                    URL: 
> http://www2.blast.com/tarus
(Continue reading)

Storch, Robin | 10 Nov 2003 21:20
Picon

Red Hat 9 opennms start problem

> Check your snmp-config.xml file. Did you happen to make a mistake in that file? Feel free to post > it (minus any community strings, of course) and we'll take a look. -T


Here it is:

<?xml version="1.0"?>
<snmp-config retry="3" timeout="800"
        read-community="codered" write-community="codered">
        <definition version="v2c">
                <specific>192.168.0.5</specific>
        </definition>
                <range begin="192.168.100.1" end="192.168.100.254" />
                <range begin="172.18.1.1" end="172.18.1.254" />
                <range begin="172.18.3.1" end="172.18.3.254" />
                <range begin="172.18.7.1" end="172.18.7.254" />
                <range begin="172.31.1.1" end="172.31.1.254" />
                <range begin="172.18.32.1" end="172.18.32.254" />
                <range begin="172.18.31.1" end="172.18.31.254" />
                <range begin="172.19.5.1" end="172.19.5.254" />
                <range begin="172.19.6.1" end="172.19.6.254" />
                <range begin="172.19.7.1" end="172.19.7.254" />
                <range begin="172.20.9.1" end="172.20.9.254" />
                <range begin="172.20.15.1" end="172.20.15.254" />
                <range begin="172.20.19.1" end="172.20.19.254" />
        </definition>

</snmp-config>

-----------------------------------------------
 
Robin Storch
Senior Server Analyst
Trihealth, Inc.
robin_storch <at> trihealth.com
513/569-5808


PRIVACY/CONFIDENTIALITY NOTICE REGARDING PROTECTED HEALTH INFORMATION
This email (and accompanying documents) contains protected health information that is privileged, confidential and/or otherwise exempt from and protected from disclosure under applicable laws, including the Health Insurance Portability and Accountability Act.  The information contained in this email (and any accompanying documents) is intended only for the personal and confidential use of the intended recipient.  If the reader of this message is not the intended recipient or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this information in error and that any review, dissemination, distribution, copying or action taken in reliance on the contents of this communication is strictly prohibited.  If you have received this communication in error, please destroy it immediately.

______________________________________________________________
(install <at> opennms.org)
To subscribe, unsubscribe, or change your list options, go to:
http://lists.opennms.org/mailman/listinfo/install

Gmane