Xymon starts but logs errors.
Hi Folks,
I have used BB for the past 10 years and have now decided to move to Xymon.
After quite a few problems getting Xymon to Compile I just checking some stuff out before I make the required changes to httpd.conf.
When I check the Log I see the following;
2011-11-28 13:59:48 xymonlaunch starting 2011-11-28 13:59:48 Loading tasklist configuration from /opt/xymon/server/etc/tasks.cfg 2011-11-28 13:59:48 Cannot open directory ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:48 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:53 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:58 Task xymond terminated by signal 9
Have checked and I do have /lib/ld.so.1 and /usr/local/lib/libpcre.so.0
- Am I missing something really basic here?
I'm running the XAMPP stack,
Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_perl/2.0.4 Perl/v5.12.1
Xymon is Version 4.3.3
Xymon user environment is;
-bash-3.00$ env HZ= SHELL=/bin/bash TERM=xterm LC_NUMERIC=C OLDPWD=/usr/local/lib LC_ALL= LD_LIBRARY_PATH=/etc/emc/rsa/cst/lib DSM_LOG=/rwe/log MAIL=/usr/mail/xymon PATH=/usr/sbin:/opt/quest/bin:/bin:/usr/bin:/etc:/usr/local/bin:/usr/loc al/rwe/bin:/opt/EMCpower/bin:/etc/emc/bin PWD=/opt/xymon LANG=en_US TZ=GB SHLVL=1 HOME=/opt/xymon LOGNAME=xymon _=/bin/env -bash-3.00$
Regards
Dave Munro
RWE Systems, Rainton House. Midrange Systems Admin Tel 01661814210 Mobile 07788710306 Email dave.munro at rwe.com RWE IT International Solaris Team.
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
Le 28/11/2011 15:14, Dave.Munro at rwe.com a écrit :
Hi Folks,
I have used BB for the past 10 years and have now decided to move to Xymon.
After quite a few problems getting Xymon to Compile I just checking some stuff out before I make the required changes to httpd.conf.
Have checked and I do have /lib/ld.so.1 and /usr/local/lib/libpcre.so.0 - Am I missing something really basic here?
Xymon user environment is;
-bash-3.00$ env HZ= SHELL=/bin/bash TERM=xterm LC_NUMERIC=C OLDPWD=/usr/local/lib LC_ALL= LD_LIBRARY_PATH=/etc/emc/rsa/cst/lib
you should add the /usr/local/lib to LD_LIBRARY_PATH then check with "ldd /path/to/xymond" that xymond can reach all required libraries.
DSM_LOG=/rwe/log MAIL=/usr/mail/xymon PATH=/usr/sbin:/opt/quest/bin:/bin:/usr/bin:/etc:/usr/local/bin:/usr/local/rwe/bin:/opt/EMCpower/bin:/etc/emc/bin
PWD=/opt/xymon LANG=en_US TZ=GB SHLVL=1 HOME=/opt/xymon LOGNAME=xymon _=/bin/env -bash-3.00$
Regards
Dave Munro
Since you didn't say what platform you are trying to work on here, we have to guess.
I'm going to guess Solaris, since it seems to have the worst time of it.
My guess is that you compiled it with "-L /usr/local/lib" but not "-R /usr/local/lib". Therefore, the program doesn't know to look in /usr/local/lib for the libpcre.so0 library.
Add:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib export LIBRARY_PATH
to your startup of xymon.
Paul Root - Engineer III Managed Services Systems - CenturyLink
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Dave.Munro at rwe.com Sent: Monday, November 28, 2011 8:15 AM To: xymon at xymon.com Subject: [Xymon] Xymon starts but logs errors.
Hi Folks,
I have used BB for the past 10 years and have now decided to move to Xymon.
After quite a few problems getting Xymon to Compile I just checking some stuff out before I make the required changes to httpd.conf.
When I check the Log I see the following;
2011-11-28 13:59:48 xymonlaunch starting 2011-11-28 13:59:48 Loading tasklist configuration from /opt/xymon/server/etc/tasks.cfg 2011-11-28 13:59:48 Cannot open directory ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:48 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:53 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:58 Task xymond terminated by signal 9
Have checked and I do have /lib/ld.so.1 and /usr/local/lib/libpcre.so.0 - Am I missing something really basic here?
I'm running the XAMPP stack,
Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_perl/2.0.4 Perl/v5.12.1
Xymon is Version 4.3.3
Xymon user environment is;
-bash-3.00$ env HZ= SHELL=/bin/bash TERM=xterm LC_NUMERIC=C OLDPWD=/usr/local/lib LC_ALL= LD_LIBRARY_PATH=/etc/emc/rsa/cst/lib DSM_LOG=/rwe/log MAIL=/usr/mail/xymon PATH=/usr/sbin:/opt/quest/bin:/bin:/usr/bin:/etc:/usr/local/bin:/usr/local/rwe/bin:/opt/EMCpower/bin:/etc/emc/bin PWD=/opt/xymon LANG=en_US TZ=GB SHLVL=1 HOME=/opt/xymon LOGNAME=xymon _=/bin/env -bash-3.00$
Regards
Dave Munro
RWE Systems, Rainton House. Midrange Systems Admin Tel 01661814210 Mobile 07788710306 Email dave.munro at rwe.com RWE IT International Solaris Team.
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Hi Guys,
Thanks for the responses, I have the server all up and running now and the top level page is there. However behind each status indicator the same error, as follows;
I should have said in the last post what I was running, well here it is;
su12sl001> uname -a SunOS su12sl001 5.10 Generic_147440-02 sun4v sparc SUNW,SPARC-Enterprise-T5220 su12sl001>
As I said behind every test I have the following error.
Server error!
The server encountered an internal error and was unable to complete your request.
Error message: Premature end of script headers: svcstatus.sh
If you think this is a server error, please contact the webmaster <mailto:you at example.com> .
Error 500
su12sl001 <http://su12sl001/> November 28, 2011 03:38:33 PM GMT Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_perl/2.0.4 Perl/v5.12.1
Regards
Dave Munro
From: Root, Paul [mailto:Paul.Root at CenturyLink.com] Sent: 28 November 2011 14:50 To: Munro, Dave; xymon at xymon.com Subject: RE: Xymon starts but logs errors.
Since you didn't say what platform you are trying to work on here, we have to guess.
I'm going to guess Solaris, since it seems to have the worst time of it.
My guess is that you compiled it with "-L /usr/local/lib" but not "-R /usr/local/lib". Therefore, the program doesn't know to look in /usr/local/lib for the libpcre.so0 library.
Add:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LIBRARY_PATH
to your startup of xymon.
Paul Root - Engineer III
Managed Services Systems - CenturyLink
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Dave.Munro at rwe.com Sent: Monday, November 28, 2011 8:15 AM To: xymon at xymon.com Subject: [Xymon] Xymon starts but logs errors.
Hi Folks,
I have used BB for the past 10 years and have now decided to move to Xymon.
After quite a few problems getting Xymon to Compile I just checking some stuff out before I make the required changes to httpd.conf.
When I check the Log I see the following;
2011-11-28 13:59:48 xymonlaunch starting 2011-11-28 13:59:48 Loading tasklist configuration from /opt/xymon/server/etc/tasks.cfg 2011-11-28 13:59:48 Cannot open directory ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:48 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:53 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:58 Task xymond terminated by signal 9
Have checked and I do have /lib/ld.so.1 and /usr/local/lib/libpcre.so.0
- Am I missing something really basic here?
I'm running the XAMPP stack,
Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_perl/2.0.4 Perl/v5.12.1
Xymon is Version 4.3.3
Xymon user environment is;
-bash-3.00$ env HZ= SHELL=/bin/bash TERM=xterm LC_NUMERIC=C OLDPWD=/usr/local/lib LC_ALL= LD_LIBRARY_PATH=/etc/emc/rsa/cst/lib DSM_LOG=/rwe/log MAIL=/usr/mail/xymon PATH=/usr/sbin:/opt/quest/bin:/bin:/usr/bin:/etc:/usr/local/bin:/usr/loc al/rwe/bin:/opt/EMCpower/bin:/etc/emc/bin PWD=/opt/xymon LANG=en_US TZ=GB SHLVL=1 HOME=/opt/xymon LOGNAME=xymon _=/bin/env -bash-3.00$
Regards
Dave Munro
RWE Systems, Rainton House. Midrange Systems Admin Tel 01661814210 Mobile 07788710306 Email dave.munro at rwe.com RWE IT International Solaris Team.
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Likely there's some more info in the Apache logs, no?
On 11/28/2011 11:07 AM, Dave.Munro at rwe.com wrote:
Hi Guys,
Thanks for the responses, I have the server all up and running now and the top level page is there. However behind each status indicator the same error, as follows;
I should have said in the last post what I was running, well here it is;
su12sl001> uname -a SunOS su12sl001 5.10 Generic_147440-02 sun4v sparc SUNW,SPARC-Enterprise-T5220 su12sl001>
As I said behind every test I have the following error.
Server error!
The server encountered an internal error and was unable to complete your request.
Error message: Premature end of script headers: svcstatus.sh
If you think this is a server error, please contact the webmaster <mailto:you at example.com>.
Error 500
su12sl001 <http://su12sl001/> November 28, 2011 03:38:33 PM GMT Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_perl/2.0.4 Perl/v5.12.1
Regards
Dave Munro
*From:* Root, Paul [mailto:Paul.Root at CenturyLink.com] *Sent:* 28 November 2011 14:50 *To:* Munro, Dave; xymon at xymon.com *Subject:* RE: Xymon starts but logs errors.
Since you didn?t say what platform you are trying to work on here, we have to guess.
I?m going to guess Solaris, since it seems to have the worst time of it.
My guess is that you compiled it with ?-L /usr/local/lib? but not ?-R /usr/local/lib?. Therefore, the program doesn?t know to look in /usr/local/lib for the libpcre.so0 library.
Add:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LIBRARY_PATH
to your startup of xymon.
Paul Root - Engineer III
Managed Services Systems - CenturyLink
*From:*xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] *On Behalf Of *Dave.Munro at rwe.com *Sent:* Monday, November 28, 2011 8:15 AM *To:* xymon at xymon.com *Subject:* [Xymon] Xymon starts but logs errors.
Hi Folks,
I have used BB for the past 10 years and have now decided to move to Xymon.
After quite a few problems getting Xymon to Compile I just checking some stuff out before I make the required changes to httpd.conf.
When I check the Log I see the following;
2011-11-28 13:59:48 xymonlaunch starting 2011-11-28 13:59:48 Loading tasklist configuration from /opt/xymon/server/etc/tasks.cfg 2011-11-28 13:59:48 Cannot open directory ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:48 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:53 Task xymond terminated by signal 9 ld.so.1: xymond: fatal: libpcre.so.0: open failed: No such file or directory 2011-11-28 13:59:58 Task xymond terminated by signal 9
Have checked and I do have /lib/ld.so.1 and /usr/local/lib/libpcre.so.0
- Am I missing something really basic here?
I'm running the XAMPP stack,
Apache/2.2.21 (Unix) DAV/2 mod_ssl/2.2.21 OpenSSL/1.0.0c PHP/5.3.8 mod_perl/2.0.4 Perl/v5.12.1
Xymon is Version 4.3.3
Xymon user environment is;
-bash-3.00$ env HZ= SHELL=/bin/bash TERM=xterm LC_NUMERIC=C OLDPWD=/usr/local/lib LC_ALL= LD_LIBRARY_PATH=/etc/emc/rsa/cst/lib DSM_LOG=/rwe/log MAIL=/usr/mail/xymon PATH=/usr/sbin:/opt/quest/bin:/bin:/usr/bin:/etc:/usr/local/bin:/usr/local/rwe/bin:/opt/EMCpower/bin:/etc/emc/bin
PWD=/opt/xymon LANG=en_US TZ=GB SHLVL=1 HOME=/opt/xymon LOGNAME=xymon _=/bin/env -bash-3.00$
Regards
Dave Munro
RWE Systems, Rainton House. Midrange Systems Admin Tel 01661814210 Mobile 07788710306 Email dave.munro at rwe.com */RWE IT International Solaris Team./*
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
- ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7TtJAACgkQmb+gadEcsb5PigCeOD09hZHQY2ph/HxBJ/wwbzLm RJQAnR0ydklBuDN90Ab23s+8sXRIaf2a =jVUr -----END PGP SIGNATURE-----
Den 28-11-2011 17:07, Dave.Munro at rwe.com skrev:
Hi Guys, Thanks for the responses, I have the server all up and running now and the top level page is there. However behind each status indicator the same error, as follows; I should have said in the last post what I was running, well here it is; su12sl001> uname -a SunOS su12sl001 5.10 Generic_147440-02 sun4v sparc SUNW,SPARC-Enterprise-T5220 su12sl001> As I said behind every test I have the following error.
Server error!
Same problem, now it is your Apache server that doesn't have LD_LIBRARY_PATH defined.
Most robust solution is to add /usr/local/lib to your system-wide run-time library search path, using the "crle" utility. This is a FAQ item, see http://www.xymon.com/xymon/help/known-issues.html#solarislinker
Regards, Henrik
participants (5)
-
Dave.Munro@rwe.com
-
henrik@hswn.dk
-
novosirj@umdnj.edu
-
Paul.Root@CenturyLink.com
-
pkc_mls@yahoo.fr