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.