statusmap issue

Marc Powell marc at ena.com
Mon Jun 13 16:24:12 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Fabiano Martins
> Sent: Monday, June 13, 2005 9:17 AM
> To: Nagios Users List
> Subject: [Nagios-users] statusmap issue
> 
> Hi,
> 
> I have a problem clicking in statusmap on the nagios menu. I receive
the
> following message:
> 
> "The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> 
> Please contact the server administrator, admin at mydomain.net and inform
> them of the time the error occurred, and anything you might have done
that
> may have caused the error.
> 
> More information about this error may be available in the server error
> log."
> 
> And when I've checked the error_log file, I saw the following:
> 
> 
> 
> [Mon Jun 13 09:49:02 2005] [error] [client xxx.xxx.xxx.xxx]
> /usr/local/nagios/sbin/statusmap.cgi: error while loading shared
> libraries: libgd.so.1.8: cannot open shared object file: No such file
or
> directory, referer: http://www.mydomain.net/nagios/side.html
> 
> So I've already installed the libgd2, that has the required library
and
> I'm still receiving the same message...
> 
> Is there some setting that I'm missing or some specific library to
> install...?

Was nagios compiled on this box? It would appear that statusmap.cgi is
expecting libgd.so.1.8 to be in a different location than it is (which
is set at compile time). Run 'ldd statusmap.cgi' in the nagios sbin
directory and verify that libgd.so.1.8 is in the path that statusmap.cgi
is expecting it. If it isn't you should probably re-compile so that the
correct location is determined.

--
Marc


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r 
_______________________________________________
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