Xymon Mailing List Archive search

./hobbit-4.1.2p1/hobbitd/etcfiles

16 messages in this thread

list Rolf Schrittenlocher · Fri, 06 Jan 2006 11:45:41 +0100 ·
Hi,

am I right that the files in ./hobbit-4.1.2p1/hobbitd/etcfiles are only 
for documentation and upgrade-checks and aren't used in runtime (so they 
shouldn't be modified?)

kind regards and thanks
Rolf

-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

HRZ/BDV, Senckenberganlage 31, 60054 Frankfurt 
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-6ea8e907e200@xymon.invalid
list Henrik Størner · Fri, 6 Jan 2006 12:46:08 +0100 ·
quoted from Rolf Schrittenlocher
On Fri, Jan 06, 2006 at 11:45:41AM +0100, Rolf Schrittenlocher wrote:
am I right that the files in ./hobbit-4.1.2p1/hobbitd/etcfiles are only for documentation and upgrade-checks and aren't used in runtime (so they shouldn't be modified?)
Yes, you're right.

They are only used for building/installing Hobbit, not for the runtime
stuff. In fact, most of them will disappear if you run "make clean".


Regards,
Henrik
list Michael Frey · Fri, 6 Jan 2006 10:59:54 -0500 ·
I have had a linux rh 7.3 server running, and have had issues with the 
history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some 
important pieces.

What would be the recommended version of Linux to avoid all of these 
isuues?

Redhat 9?

Thanks

Michael Frey


This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited.  If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments.  Thank you.
list Tom Kauffman · Fri, 6 Jan 2006 11:12:45 -0500 ·
Not to start a distro war -

 
But I've had no problems with SuSE 8.2, 9.0 and SUSE 9.3.

 
I'm planning to go to SLES 9 in another month or so.

 
Tom
quoted from Michael Frey

 
From: Michael Frey [mailto:user-0d6bef7dd02b@xymon.invalid] 
Sent: Friday, January 06, 2006 11:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] linux version

 
I have had a linux rh 7.3 server running, and have had issues with the
history graphs. 

I tried to upgrade to Fedora C3, bit that looks to be missing some
important pieces. 

What would be the recommended version of Linux to avoid all of these
isuues? 

Redhat 9? 

Thanks

Michael Frey


This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you.
list Charles Jones · Fri, 06 Jan 2006 09:29:40 -0700 ·
quoted from Tom Kauffman

*From:* Michael Frey [mailto:user-0d6bef7dd02b@xymon.invalid]
*Sent:* Friday, January 06, 2006 11:00 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] linux version

I have had a linux rh 7.3 server running, and have had issues with the history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces.
What would be the recommended version of Linux to avoid all of these isuues?

Redhat 9?
Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool. 
If you are the kind of person who prefers to use RPMs for everything, check out Dags (http://dag.wieers.com/home-made/apt/packages.php), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles
list Michael Frey · Fri, 6 Jan 2006 11:55:50 -0500 ·
The specific issue I am having is with the history graphs drawing. Everything else is working fine.
see screenshot:


They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it.

I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out.

I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses.

Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


Charles Jones <user-e86b4aeade4e@xymon.invalid> 01/06/2006 11:29 AM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] linux version
quoted from Michael Frey


From: Michael Frey [mailto:user-0d6bef7dd02b@xymon.invalid] Sent: Friday, January 06, 2006 11:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] linux version
I have had a linux rh 7.3 server running, and have had issues with the history graphs. I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces. What would be the recommended version of Linux to avoid all of these isuues? 
Redhat 9? Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool. 
If you are the kind of person who prefers to use RPMs for everything, check out Dags (http://dag.wieers.com/home-made/apt/packages.php), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles


This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited.  If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments.  Thank you.
list Larry Barber · Fri, 6 Jan 2006 11:03:49 -0600 ·
Your problem may be that SELinux is enabled, most newer distros enable it by
default. Look at the selinux man page for instructions on how to disable it.


If that doesn't do it, check your web server logs for access errors.

Thanks,
Larry Barber
quoted from Michael Frey

On 1/6/06, Michael Frey <user-0d6bef7dd02b@xymon.invalid> wrote:

The specific issue I am having is with the history graphs drawing.
 Everything else is working fine.
see screenshot:


They used to work, but after a reboot, they failed.  I recall having to
manually copy ldpng somewhere, but that is it.

I know I am in over my head with the linux piece, but it worked before,
and I am sure it is a simple fix; I just can't figure it out.

I have some great resources here that know linux, but they are at a loss
with the pieces hobbit uses.

Any suggestions for the cgi-graphing would simplify everything, as I would
eave the current build running.

Michael Frey


 *Charles Jones <user-e86b4aeade4e@xymon.invalid>*

01/06/2006 11:29 AM  Please respond to
user-ae9b8668bcde@xymon.invalid

   To
user-ae9b8668bcde@xymon.invalid  cc

 Subject
Re: [hobbit] linux version


*From:* Michael Frey [*mailto:user-0d6bef7dd02b@xymon.invalid*<user-0d6bef7dd02b@xymon.invalid>]
quoted from Michael Frey
• Sent:* Friday, January 06, 2006 11:00 AM*
To:* *user-ae9b8668bcde@xymon.invalid* <user-ae9b8668bcde@xymon.invalid>*
Subject:* [hobbit] linux version

I have had a linux rh 7.3 server running, and have had issues with the
history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some
important pieces.
What would be the recommended version of Linux to avoid all of these
isuues?

Redhat 9?

Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core
3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool,
libpng, etc. I would say the easiest install I did was on FC4...I'm not sure
you will find an OS that will have all of hobbits dependencies available in
the base packages branch, but with any decently new distro you should have
pretty much everything available except rrdtool.

If you are the kind of person who prefers to use RPMs for everything,

check out Dags (*http://dag.wieers.com/home-made/apt/packages.php*<http://dag.wieers.com/home-made/apt/packages.php>;),
quoted from Michael Frey
they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and
rrdtool.  You can either download the rpms manually or add dag to your
yum.conf so you can just do "yum install rrdtool" and it will
automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid
(rightfully so if security is a concern) and refuse to install binary
releases and only install manually from tarballs.

-Charles


* This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you. *

list Charles Jones · Fri, 06 Jan 2006 10:08:59 -0700 ·
Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
        libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
        librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
        libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
        libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
        /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles
quoted from Michael Frey

Michael Frey wrote:
The specific issue I am having is with the history graphs drawing.  Everything else is working fine.
see screenshot:


They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it.

I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out.

I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses.

Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


*From:* Michael Frey [_mailto:user-0d6bef7dd02b@xymon.invalid_] *
Sent:* Friday, January 06, 2006 11:00 AM*

To:* user-3f509a273d1e@xymon.invalid_ <mailto:user-ae9b8668bcde@xymon.invalid>*
quoted from Larry Barber
Subject:* [hobbit] linux version

I have had a linux rh 7.3 server running, and have had issues with the history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces.
What would be the recommended version of Linux to avoid all of these isuues?

Redhat 9?

Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool.  
If you are the kind of person who prefers to use RPMs for everything, check out Dags (_ http://dag.wieers.com/home-made/apt/packages.php_), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles


*This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you. *
list Michael Frey · Fri, 6 Jan 2006 12:14:45 -0500 ·
This is what I get when I run the ldd

[root at nbtbigbro1 bin]# ldd hobbitgraph.cgi         librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x40018000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x400ec000)
        libc.so.6 => /lib/i686/libc.so.6 (0x4010d000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40248000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4026b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Michael Frey


Charles Jones <user-e86b4aeade4e@xymon.invalid> 01/06/2006 12:08 PM
Please respond to
user-ae9b8668bcde@xymon.invalid


To
Michael Frey <user-0d6bef7dd02b@xymon.invalid>
cc
user-ae9b8668bcde@xymon.invalid
Subject
Re: [hobbit] linux version
quoted from Charles Jones


Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
        libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
        librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
        libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
        libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
        /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles

Michael Frey wrote: 
The specific issue I am having is with the history graphs drawing. Everything else is working fine. see screenshot: 

They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it. 
I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out. 
I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses. 
Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


From: Michael Frey [mailto:user-0d6bef7dd02b@xymon.invalid] Sent: Friday, January 06, 2006 11:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] linux version I have had a linux rh 7.3 server running, and have had issues with the history graphs. I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces. What would be the recommended version of Linux to avoid all of these isuues? 
Redhat 9? Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool. 
If you are the kind of person who prefers to use RPMs for everything, check out Dags (http://dag.wieers.com/home-made/apt/packages.php), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles 
This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you.
list Charles Jones · Fri, 06 Jan 2006 10:16:25 -0700 ·
Michael,

I also forgot to mention the other thing to check for is cgi execution issues.  Your webserver should be configured to execute cgi in the specified hobbit-cgi directory, otherwise it can cause similar problems to what you are seeing. I recommend checking your /var/log/httpd/error_log and see if there are any cgi permissions errors.

My server has an /etc/httpd/conf.d/hobbit.conf, which contains all of the directory aliases and defines permissions for the cgi directories. You should have one as well, either there or appended to your /etc/httpd/conf/httpd.conf file.

-Charles
quoted from Charles Jones

Charles Jones wrote:
Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
        libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
        librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
        libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
        libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
        /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles

Michael Frey wrote:
The specific issue I am having is with the history graphs drawing.  Everything else is working fine.
see screenshot:


They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it.

I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out.

I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses.

Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


*From:* Michael Frey [_mailto:user-0d6bef7dd02b@xymon.invalid_] *
Sent:* Friday, January 06, 2006 11:00 AM*
To:* user-3f509a273d1e@xymon.invalid_ <mailto:user-ae9b8668bcde@xymon.invalid>*
Subject:* [hobbit] linux version

I have had a linux rh 7.3 server running, and have had issues with the history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces.
What would be the recommended version of Linux to avoid all of these isuues?

Redhat 9?

Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool.  
If you are the kind of person who prefers to use RPMs for everything, check out Dags (_ http://dag.wieers.com/home-made/apt/packages.php_), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles


*This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you. *
list Michael Frey · Fri, 6 Jan 2006 12:18:50 -0500 ·
My cgi-error log shows:
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library

Michael Frey
Intel Senior Systems Engineer
The Guardian Life Insurance Company of America
XXXX Burgess Place, 2-West
Bethlehem, PA XXXXX
E-Mail: user-0d6bef7dd02b@xymon.invalid
Phone: XXX-XXX-XXXX
Fax: XXX-XXX-XXXX


Charles Jones <user-e86b4aeade4e@xymon.invalid> 01/06/2006 12:16 PM
quoted from Charles Jones


To
Michael Frey <user-0d6bef7dd02b@xymon.invalid>
cc
user-ae9b8668bcde@xymon.invalid
Subject
Re: [hobbit] linux version


Michael,

I also forgot to mention the other thing to check for is cgi execution issues.  Your webserver should be configured to execute cgi in the specified hobbit-cgi directory, otherwise it can cause similar problems to what you are seeing. I recommend checking your /var/log/httpd/error_log and see if there are any cgi permissions errors.

My server has an /etc/httpd/conf.d/hobbit.conf, which contains all of the directory aliases and defines permissions for the cgi directories. You should have one as well, either there or appended to your /etc/httpd/conf/httpd.conf file.

-Charles

Charles Jones wrote: Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
        libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
        librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
        libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
        libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
        libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
        /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles

Michael Frey wrote: 
The specific issue I am having is with the history graphs drawing. Everything else is working fine. see screenshot: 

They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it. 
I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out. 
I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses. 
Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


From: Michael Frey [mailto:user-0d6bef7dd02b@xymon.invalid] Sent: Friday, January 06, 2006 11:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] linux version I have had a linux rh 7.3 server running, and have had issues with the history graphs. I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces. What would be the recommended version of Linux to avoid all of these isuues? 
Redhat 9? Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool. 
If you are the kind of person who prefers to use RPMs for everything, check out Dags (http://dag.wieers.com/home-made/apt/packages.php), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles 
This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you.
list Charles Jones · Fri, 06 Jan 2006 10:21:34 -0700 ·
Michael,

That looks good...if one of the libs was missing it would indicate it.  My next guess would be webserver configuration issues (see my other email), and/or file permissions, like can the apache user access the files in your hobbit cgi-bin directory (test by su to the apache user and see if you can acesss the dir/files).

-Charles
quoted from Michael Frey

Michael Frey wrote:
This is what I get when I run the ldd

[root at nbtbigbro1 bin]# ldd hobbitgraph.cgi
        librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x40018000)
        libpng.so.2 => /usr/lib/libpng.so.2 (0x400ec000)
        libc.so.6 => /lib/i686/libc.so.6 (0x4010d000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40248000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4026b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
       libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
       librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
       libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
       libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
       libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
       libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
       libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
       /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles

Michael Frey wrote:

The specific issue I am having is with the history graphs drawing.  Everything else is working fine.
see screenshot:


They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it.

I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out.

I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses.

Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


*From:* Michael Frey [_mailto:user-0d6bef7dd02b@xymon.invalid_] *
Sent:* Friday, January 06, 2006 11:00 AM*
To:* user-3f509a273d1e@xymon.invalid_ <mailto:user-ae9b8668bcde@xymon.invalid>*
Subject:* [hobbit] linux version

I have had a linux rh 7.3 server running, and have had issues with the history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces.
What would be the recommended version of Linux to avoid all of these isuues?

Redhat 9?

Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool.  
If you are the kind of person who prefers to use RPMs for everything, check out Dags (_ http://dag.wieers.com/home-made/apt/packages.php_), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles


*This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you. *
list Charles Jones · Fri, 06 Jan 2006 10:24:23 -0700 ·
Ah so there is the problem.  Have you "moved" this hobbit installation from another server, or upgraded the OS?  From the looks of the error you have an older libpng than what hobbit was compiled with. Your choices would seem to be to upgrade libpng, or recompile hobbit with your current libpng.

-Charles
quoted from Michael Frey

Michael Frey wrote:
My cgi-error log shows:
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library


Michael,

I also forgot to mention the other thing to check for is cgi execution issues.  Your webserver should be configured to execute cgi in the specified hobbit-cgi directory, otherwise it can cause similar problems to what you are seeing. I recommend checking your /var/log/httpd/error_log and see if there are any cgi permissions errors.

My server has an /etc/httpd/conf.d/hobbit.conf, which contains all of the directory aliases and defines permissions for the cgi directories. You should have one as well, either there or appended to your /etc/httpd/conf/httpd.conf file.

-Charles

Charles Jones wrote:
Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
       libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
       librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
       libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
       libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
       libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
       libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
       libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
       /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles

Michael Frey wrote:

The specific issue I am having is with the history graphs drawing.  Everything else is working fine.
see screenshot:


They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it.

I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out.

I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses.

Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


*From:* Michael Frey [_mailto:user-0d6bef7dd02b@xymon.invalid_] *
Sent:* Friday, January 06, 2006 11:00 AM*
To:* user-3f509a273d1e@xymon.invalid_ <mailto:user-ae9b8668bcde@xymon.invalid>*
Subject:* [hobbit] linux version

I have had a linux rh 7.3 server running, and have had issues with the history graphs.

I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces.
What would be the recommended version of Linux to avoid all of these isuues?

Redhat 9?

Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool.  
If you are the kind of person who prefers to use RPMs for everything, check out Dags (_ http://dag.wieers.com/home-made/apt/packages.php_), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles


*This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you. *

list Michael Frey · Fri, 6 Jan 2006 12:28:27 -0500 ·
Did not move or upgrade the os.  I did try and install the bb-notes function.  That is when my problems started.

I will try and install libpng-1.2.8.
quoted from Michael Frey


Michael Frey
Intel Senior Systems Engineer
The Guardian Life Insurance Company of America
XXXX Burgess Place, 2-West
Bethlehem, PA XXXXX
E-Mail: user-0d6bef7dd02b@xymon.invalid
Phone: XXX-XXX-XXXX
Fax: XXX-XXX-XXXX


Charles Jones <user-e86b4aeade4e@xymon.invalid> 01/06/2006 12:24 PM
quoted from Charles Jones


To
Michael Frey <user-0d6bef7dd02b@xymon.invalid>
cc
user-ae9b8668bcde@xymon.invalid
Subject
Re: [hobbit] linux version


Ah so there is the problem.  Have you "moved" this hobbit installation from another server, or upgraded the OS?  From the looks of the error you have an older libpng than what hobbit was compiled with. Your choices would seem to be to upgrade libpng, or recompile hobbit with your current libpng.

-Charles

Michael Frey wrote: 
My cgi-error log shows: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application  is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library


Michael,

I also forgot to mention the other thing to check for is cgi execution issues.  Your webserver should be configured to execute cgi in the specified hobbit-cgi directory, otherwise it can cause similar problems to what you are seeing. I recommend checking your /var/log/httpd/error_log and see if there are any cgi permissions errors.

My server has an /etc/httpd/conf.d/hobbit.conf, which contains all of the directory aliases and defines permissions for the cgi directories. You should have one as well, either there or appended to your /etc/httpd/conf/httpd.conf file.

-Charles

Charles Jones wrote: Michael,

Yes it looks like an issue with libpng. Verify this by going to your hobbit directory, then cd to the "bin" directory, and run the ldd command on hobbitgraph.cgi.  This will show all the libs that hobbitgraph expects to find, and if it has access to them or not.  Here is a sample output from my hobbit server:

# ldd hobbitgraph.cgi
       libpcre.so.0 => /lib/libpcre.so.0 (0x0098d000)
       librrd.so.2 => /usr/local/rrdtool-1.2.11/lib/librrd.so.2 (0x00d35000)
       libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00be1000)
       libc.so.6 => /lib/tls/libc.so.6 (0x005cf000)
       libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00804000)
       libz.so.1 => /usr/lib/libz.so.1 (0x00726000)
       libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x0044d000)
       libm.so.6 => /lib/tls/libm.so.6 (0x006fb000)
       /lib/ld-linux.so.2 (0x005b6000)

I'm guessing that for you libpng is missing.  If you already have it, but its in the wrong place, the fix can be as simple as making a symlink to it, or copying it to where hobbit expects it to be.  Other solutions include editing your /etc/ld.so.conf (run ldconfig afterwards), or recompiling hobbit and giving it the exact location of libpng.

-Charles

Michael Frey wrote: 
The specific issue I am having is with the history graphs drawing. Everything else is working fine. see screenshot: 

They used to work, but after a reboot, they failed.  I recall having to manually copy ldpng somewhere, but that is it. 
I know I am in over my head with the linux piece, but it worked before, and I am sure it is a simple fix; I just can't figure it out. 
I have some great resources here that know linux, but they are at a loss with the pieces hobbit uses. 
Any suggestions for the cgi-graphing would simplify everything, as I would eave the current build running.

Michael Frey


From: Michael Frey [mailto:user-0d6bef7dd02b@xymon.invalid] Sent: Friday, January 06, 2006 11:00 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] linux version I have had a linux rh 7.3 server running, and have had issues with the history graphs. I tried to upgrade to Fedora C3, bit that looks to be missing some important pieces. What would be the recommended version of Linux to avoid all of these isuues? 
Redhat 9? Michael,

What missing important pieces?  I have run hobbit on Redhat9, Fedora Core 3, Fedora Core 4, Centos 3.x, Centos 4.x, and Solaris 10.

All of the installs required fulfilling various dependencies like rrdtool, libpng, etc. I would say the easiest install I did was on FC4...I'm not sure you will find an OS that will have all of hobbits dependencies available in the base packages branch, but with any decently new distro you should have pretty much everything available except rrdtool. 
If you are the kind of person who prefers to use RPMs for everything, check out Dags (http://dag.wieers.com/home-made/apt/packages.php), they have RPMs for most distros (redhat 7,9,fc1-4,EL3-4) including fping and rrdtool.  You can either download the rpms manually or add dag to your yum.conf so you can just do "yum install rrdtool" and it will automatically grab the dependencies too.

Note I don't recommend this method for everyone...some people are paranoid (rightfully so if security is a concern) and refuse to install binary releases and only install manually from tarballs.

-Charles 
This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law. If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited. If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments. Thank you.
list Henrik Størner · Fri, 6 Jan 2006 19:16:56 +0100 ·
quoted from Charles Jones
On Fri, Jan 06, 2006 at 10:24:23AM -0700, Charles Jones wrote:
My cgi-error log shows:
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library
Ah so there is the problem.  Have you "moved" this hobbit installation from another server, or upgraded the OS?  From the looks of the error you have an older libpng than what hobbit was compiled with. Your choices would seem to be to upgrade libpng, or recompile hobbit with your current libpng.
Note that libpng is not used directly by Hobbit. It is pulled in by
rrdtool, so you may have to re-compile rrdtool also.


Henrik
list Michael Frey · Fri, 6 Jan 2006 13:51:01 -0500 ·
I recompiled Hobbit, and all is well.

Thnaks to all.
quoted from Michael Frey


Michael Frey
Intel Senior Systems Engineer
The Guardian Life Insurance Company of America
XXXX Burgess Place, 2-West
Bethlehem, PA XXXXX
E-Mail: user-0d6bef7dd02b@xymon.invalid
Phone: XXX-XXX-XXXX
Fax: XXX-XXX-XXXX


user-ce4a2c883f75@xymon.invalid (Henrik Stoerner) 
01/06/2006 01:16 PM
signature
Please respond to
user-ae9b8668bcde@xymon.invalid


To
user-ae9b8668bcde@xymon.invalid
cc

Subject
Re: [hobbit] linux version


quoted from Charles Jones
On Fri, Jan 06, 2006 at 10:24:23AM -0700, Charles Jones wrote:
My cgi-error log shows:
libpng warning: Application was compiled with png.h from libpng-1.2.8
libpng warning: Application  is running with png.c from libpng-1.0.12
libpng error: Incompatible libpng version in application and library
Ah so there is the problem.  Have you "moved" this hobbit installation 
from another server, or upgraded the OS?  From the looks of the error 
you have an older libpng than what hobbit was compiled with. Your 
choices would seem to be to upgrade libpng, or recompile hobbit with 
your current libpng.
Note that libpng is not used directly by Hobbit. It is pulled in by
rrdtool, so you may have to re-compile rrdtool also.


Henrik


This message, and any attachments to it, may contain information that
is privileged, confidential, and exempt from disclosure under
applicable law.  If the reader of this message is not the intended
recipient, you are notified that any use, dissemination, distribution,
copying, or communication of this message is strictly prohibited.  If
you have received this message in error, please notify the sender
immediately by return e-mail and delete the message and any
attachments.  Thank you.