fatal library errors on all cgi files
biggus at optonline.net
biggus at optonline.net
Thu Mar 19 15:04:27 CET 2009
Greetings,I'm not able to get to any page other than the home&documentation pages in my nagios install.Every .cgi page i try gives me the "Internal server error", and the log always has the following in it for each .cgi page.Please excuse the long winded email to follow, I just wanted to include as much info as possible.[Thu Mar 19 09:47:03 2009] [error] [client x.x.x.x] ld.so.1: status.cgi: fatal: libglib-2.0.so.0: open failed: No such file or directory, referer: http://x.x.x.x/nagios/side.htmlldd tells me that i have all the library files i need.# ldd status.cgi librt.so.1 => /usr/lib/librt.so.1 libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 libc.so.1 => /usr/lib/libc.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libmd.so.1 => /usr/lib/libmd.so.1 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libm.so.2 => /usr/lib/libm.so.2 /platform/SUNW,Sun-Fire-V245/lib/libc_psr.so.1 /platform/SUNW,Sun-Fire-V245/lib/libmd_psr.so.1And i can run the .cgi files at the command line with no errors.# ./tac.cgi Cache-Control: no-storePragma: no-cacheRefresh: 90Last-Modified: Thu, 19 Mar 2009 13:54:56 GMTExpires: Thu, 01 Jan 1970 00:00:00 GMTContent-type: text/html<HTML><HEAD><link rel="shortcut icon" href="/nagios/images/favicon.ico" type="image/ico"><TITLE>Nagios Tactical Monitoring Overview</TITLE><LINK REL='stylesheet' TYPE='text/css' HREF='/nagios/stylesheets/common.css'><LINK REL='stylesheet' TYPE='text/css' HREF='/nagios/stylesheets/tac.css'></HEAD><BODY CLASS='tac' marginwidth=2 marginheight=2 topmargin=0 leftmargin=0 rightmargin=0><!-- Produced by Nagios (http://www.nagios.org). Copyright (c) 1999-2007 Ethan Galstad. --><p align=left><table border=0 align=left width=100% cellspacing=4 cellpadding=0><tr><td align=left valign=top width=50%><TABLE CLASS='infoBox' BORDER=1 CELLSPACING=0 CELLPADDING=0><TR><TD CLASS='infoBox'><DIV CLASS='infoBoxTitle'>Tactical Monitoring Overview</DIV>Last Updated: Thu Mar 19 09:54:56 EDT 2009<BR>Updated every 90 seconds<br>Nagios® 3.0.6 - <A HREF='http://www.nagios.org' TARGET='_new' CLASS='homepageURL'>www.nagios.org</A><BR>Logged in as <i>?</i><BR></TD></TR></TABLE></td><td align=right valign=bottom width=50%><table border=0 cellspacing=0 cellspadding=0><tr><td valign=bottom align=right></td><td><table border=0 cellspacing=4 cellspadding=0><tr><td class='perfTitle'> <a href='extinfo.cgi?type=4' class='perfTitle'>Monitoring Performance</a></td></tr><tr><td><table border=0 cellspacing=0 cellspadding=0><tr><td class='perfBox'><table border=0 cellspacing=4 cellspadding=0><tr><td align=left valign=center class='perfItem'><a href='extinfo.cgi?type=4' class='perfItem'>Service Check Execution Time:</a></td><td valign=top class='perfValue' nowrap><a href='extinfo.cgi?type=4' class='perfValue'>-1.00 / -1.00 / 0.000 sec</a></td></tr><tr><td align=left valign=center class='perfItem'><a href='extinfo.cgi?type=4' class='perfItem'>Service Check Latency:</a></td><td valign=top class='perfValue' nowrap><a href='extinfo.cgi?type=4' class='perfValue'>-1.00 / -1.00 / 0.000 sec</a></td></tr><tr><td align=left valign=center class='perfItem'><a href='extinfo.cgi?type=4' class='perfItem'>Host Check Execution Time:</a></td><td valign=top class='perfValue' nowrap><a href='extinfo.cgi?type=4' class='perfValue'>-1.00 / -1.00 / 0.000 sec</a></td></tr><tr><td align=left valign=center class='perfItem'><a href='extinfo.cgi?type=4' class='perfItem'>Host Check Latency:</a></td><td valign=top class='perfValue' nowrap><a href='extinfo.cgi?type=4' class='perfValue'>-1.00 / -1.00 / 0.000 sec</a></td></tr><tr><td align=left valign=center class='perfItem'><a href='status.cgi?host=all&serviceprops=131072' class='perfItem'># Active Host / Service Checks:</a></td><td valign=top class='perfValue' nowrap><a href='status.cgi?hostgroup=all&hostprops=131072&style=hostdetail' class='perfValue'>0</a> / <a href='status.cgi?host=all&serviceprops=131072' class='perfValue'>0</a></td></tr><tr><td align=left valign=center class='perfItem'><a href='status.cgi?host=all&serviceprops=65536' class='perfItem'># Passive Host / Service Checks:</a></td><td valign=top class='perfValue' nowrap><a href='status.cgi?hostgroup=all&hostprops=65536&style=hostdetail' class='perfValue'>0</a> / <a href='status.cgi?host=all&serviceprops=65536' class='perfValue'>0</a></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></p><br clear=all><br><table border=0 cellspacing=0 cellpadding=0 width=100%><tr><td valign=top align=left width=50%><p><table class='tac' width=125 cellspacing=4 cellpadding=0 border=0><tr><td colspan=1 height=20 class='outageTitle'> Network Outages</td></tr><tr><td class='outageHeader' width=125><a href='outages.cgi' class='outageHeader'>N/A</a></td></tr><tr><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td></tr></table></p></td><td valign=top align=right width=50%><table border=0 cellspacing=0 cellspadding=0><tr><td><table border=0 cellspacing=4 cellspadding=0><tr><td class='healthTitle'> Network Health</td></tr><tr><td><table border=0 cellspacing=0 cellspadding=0><tr><td class='healthBox'><table border=0 cellspacing=4 cellspadding=0><tr><td align=left valign=center class='healthItem'>Host Health:</td><td valign=top width=100 class='healthBar'><img src='/nagios/images/thermcrit.png' border=0 width=5 height=20 alt='0.0% Health' title='0.0% Health'></td></tr><tr><td align=left valign=center class='healthItem'>Service Health:</td><td valign=top width=100 class='healthBar'><img src='/nagios/images/thermcrit.png' border=0 width=5 height=20 alt='0.0% Health' title='0.0% Health'></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table><p><table class='tac' width=516 cellspacing=4 cellpadding=0 border=0><tr><td colspan=4 height=20 class='hostTitle'> Hosts</td></tr><tr><td class='hostHeader' width=125><a href='status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=4' class='hostHeader'>0 Down</a></td><td class='hostHeader' width=125><a href='status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=8' class='hostHeader'>0 Unreachable</a></td><td class='hostHeader' width=125><a href='status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=2' class='hostHeader'>0 Up</a></td><td class='hostHeader' width=125><a href='status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=1' class='hostHeader'>0 Pending</a></td></tr><tr><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td></tr></table></p><p><table class='tac' width=641 cellspacing=4 cellpadding=0 border=0><tr><td colspan=5 height=20 class='serviceTitle'> Services</td></tr><tr><td class='serviceHeader' width=125><a href='status.cgi?host=all&stye=detail&servicestatustypes=16' class='serviceHeader'>0 Critical</a></td><td class='serviceHeader' width=125><a href='status.cgi?host=all&stye=detail&servicestatustypes=4' class='serviceHeader'>0 Warning</a></td><td class='serviceHeader' width=125><a href='status.cgi?host=all&stye=detail&servicestatustypes=8' class='serviceHeader'>0 Unknown</a></td><td class='serviceHeader' width=125><a href='status.cgi?host=all&stye=detail&servicestatustypes=2' class='serviceHeader'>0 Ok</a></td><td class='serviceHeader' width=125><a href='status.cgi?host=all&stye=detail&servicestatustypes=1' class='serviceHeader'>0 Pending</a></td></tr><tr><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><Td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td><td valign=top><table border=0 width=125 cellspacing=0 cellpadding=0><tr><td valign=bottom width=25> </td><Td width=10> </td><td valign=top width=100%><table border=0 width=100%></table></td></tr></table></td></tr></table></p><p><table class='tac' cellspacing=4 cellpadding=0 border=0><tr><td colspan=5 height=20 class='featureTitle'> Monitoring Features</td></tr><tr><td class='featureHeader' width=135>Flap Detection</td><td class='featureHeader' width=135>Notifications</td><td class='featureHeader' width=135>Event Handlers</td><td class='featureHeader' width=135>Active Checks</td><td class='featureHeader' width=135>Passive Checks</td></tr><tr><td valign=top><table border=0 width=135 cellspacing=0 cellpadding=0><tr><td valign=top><a href='cmd.cgi?cmd_typ=62'><img src='/nagios/images/tacenabled.png' border=0 alt='Flap Detection Enabled' title='Flap Detection Enabled'></a></td><Td width=10> </td><Td valign=top width=100% class='featureEnabledFlapDetection'><table border=0 width=100%><tr><td width=100% class='featureItemEnabledServiceFlapDetection'>All Services Enabled</td></tr><tr><td width=100% class='featureItemServicesNotFlapping'>No Services Flapping</td></tr><tr><td width=100% class='featureItemEnabledHostFlapDetection'>All Hosts Enabled</td></tr><tr><td width=100% class='featureItemHostsNotFlapping'>No Hosts Flapping</td></tr></table></td></tr></table></td><td valign=top><table border=0 width=135 cellspacing=0 cellpadding=0><tr><td valign=top><a href='cmd.cgi?cmd_typ=11'><img src='/nagios/images/tacenabled.png' border=0 alt='Notifications Enabled' title='Notifications Enabled'></a></td><Td width=10> </td><Td valign=top width=100% class='featureEnabledNotifications'><table border=0 width=100%><tr><td width=100% class='featureItemEnabledServiceNotifications'>All Services Enabled</td></tr><tr><td width=100% class='featureItemEnabledHostNotifications'>All Hosts Enabled</td></tr></table></td></tr></table></td><td valign=top><table border=0 width=135 cellspacing=0 cellpadding=0><tr><td valign=top><a href='cmd.cgi?cmd_typ=42'><img src='/nagios/images/tacenabled.png' border=0 alt='Event Handlers Enabled' title='Event Handlers Enabled'></a></td><Td width=10> </td><Td valign=top width=100% class='featureEnabledHandlers'><table border=0 width=100%><tr><td width=100% class='featureItemEnabledServiceHandlers'>All Services Enabled</td></tr><tr><td width=100% class='featureItemEnabledHostHandlers'>All Hosts Enabled</td></tr></table></td></tr></table></td><td valign=top><table border=0 width=135 cellspacing=0 cellpadding=0><tr><td valign=top><a href='extinfo.cgi?type=0'><img src='/nagios/images/tacenabled.png' border='0' alt='Active Checks Enabled' title='Active Checks Enabled'></a></td><Td width=10> </td><Td valign=top width=100% class='featureEnabledActiveChecks'><table border=0 width=100%><tr><td width=100% class='featureItemEnabledActiveServiceChecks'>All Services Enabled</td></tr><tr><td width=100% class='featureItemEnabledActiveHostChecks'>All Hosts Enabled</td></tr></table></td></tr></table></td><td valign=top><table border=0 width=135 cellspacing=0 cellpadding=0><tr><td valign=top><a href='extinfo.cgi?type=0'><img src='/nagios/images/tacenabled.png' border='0' alt='Passive Checks Enabled' title='Passive Checks Enabled'></a></td><Td width=10> </td><Td valign=top width=100% class='featureEnabledPassiveChecks'><table border=0 width=100%><tr><td width=100% class='featureItemEnabledPassiveServiceChecks'>All Services Enabled</td></tr><tr><td width=100% class='featureItemEnabledPassiveHostChecks'>All Hosts Enabled</td></tr></table></td></tr></table></td></tr></table></p><!-- Produced by Nagios (http://www.nagios.org). Copyright (c) 1999-2007 Ethan Galstad. --></BODY></HTML>My configure was done as such../configure --prefix=/opt/nagios-3.0.6 --with-nagios-user=nagios --with-nagios-group=nagios --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include --with-command-user=nagcmd --with-command-group=nagcmd --with-httpd-conf=/usr/local/apache2/confSystems info is as follows:Sun v245 SPARCSolaris10Kernel Generic_127111-11Any thoughts on where i should be looking?Regards,Brian F.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090319/2cff2e62/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list