<div dir="ltr"><div><div>Hello Everyone,<br><br></div>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.<br><br></div>However, now i am encountering following error on trying to access cgi-bin path. Apache logs show following error - <br clear="all"><div><div><div><br>AH01215: Could not load program /home/xymon/server/bin/svcstatus.cgi:, referer: <a href="http://servername/xymon/">http://servername/xymon/</a><br>AH01215: \tDependent module /applications/apache/<a href="http://2.4.4.0//lib/libpcre.a(libpcre.so.1)">2.4.4.0//lib/libpcre.a(libpcre.so.1)</a> could not be loaded., referer: <a href="http://servername/xymon/">http://servername/xymon/</a><br>AH01215: \tThe module has an invalid magic number., referer: <a href="http://servername/xymon/">http://servername/xymon/</a><br>End of script output before headers: svcstatus.sh, referer: <a href="http://servername/xymon/">http://servername/xymon/</a><br><br></div><div>Looks like cgi-bin scripts are trying to read libpcre.a instead of pcre installed during xymon [ usr/local/bin ].<br><br></div><div>I modified  ~/server/etc/cgioptions.cfg and ~/server/etc/xymonserver.cfg to include following -<br>LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"<br></div><div>export LD_LIBRARY_PATH<br><br></div><div>Any help or pointer much appreciated.<br></div><div><br><br></div><div>Regards,<br></div><div><div class="gmail_signature">Deepak Chaudhary</div>
</div></div></div></div>