[Xymon] libpcre issues with Apache / xymon

Deepak Chaudhary chaudharydeepak08 at gmail.com
Mon Mar 27 23:09:19 CEST 2017


Hello Everyone,

I was able to configure Xymon 4.3.8 on AIX 7.1. First time everything ran
fine and i was able to access /xymon and /xymon-cgi/ paths via apache
installed on same server.

However, now i am encountering following error on trying to access cgi-bin
path. Apache logs show following error -

AH01215: Could not load program /home/xymon/server/bin/svcstatus.cgi:,
referer: http://servername/xymon/
AH01215: \tDependent module /applications/apache/
2.4.4.0//lib/libpcre.a(libpcre.so.1) could not be loaded., referer:
http://servername/xymon/
AH01215: \tThe module has an invalid magic number., referer:
http://servername/xymon/
End of script output before headers: svcstatus.sh, referer:
http://servername/xymon/

Looks like cgi-bin scripts are trying to read libpcre.a instead of pcre
installed during xymon [ usr/local/bin ].

I modified  ~/server/etc/cgioptions.cfg and ~/server/etc/xymonserver.cfg to
include following -
LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH

Any help or pointer much appreciated.


Regards,
Deepak Chaudhary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20170327/44a3f039/attachment.html>


More information about the Xymon mailing list