Nagios cgi's bomb out with fatal: libglib-2.0.so.0

Andy Shellam andy-lists at networkmail.eu
Fri Oct 3 22:32:31 CEST 2008


Hi Ben,

I've never used Solaris before, so this is just a quick stab in the dark 
- what are the permissions like on /usr/local/lib/libglib-2.0.so.0?  
I.e. can the user Apache is running as actually get to that file, from a 
permissions point-of-view?

Also I know SELinux has caused numerous issues like this - does Solaris 
have something similar that may be interfering/preventing access?

Andy

Ben Douglas (bedougla) wrote:
> Hello,
>  
> I'm trying to install on Solaris 8 which has been hard enough ;)  But 
> I finally got everything installed, but all my cgis are biting the 
> dust with the following in the apache error_log:
>  
> ld.so.1: tac.cgi: fatal: libglib-2.0.so.0: open failed: No such file 
> or directory
> [Fri Oct  3 13:35:06 2008] [error] [client 10.98.14.21] Premature end 
> of script headers: /opt/local/nagios-3.0.3/sbin/tac.cgi
> The ldd looks okay for these files and it looks like it *has* the 
> libglib-2.0.so.0 linked up correctly, but am at an impass with no clue 
> where to do.  Any tips for anyone else who's encountered this / knows 
> how to fix it?
>  
> bash-2.05b# ldd /opt/local/nagios/sbin/tac.cgi
>         librt.so.1 =>    /lib/librt.so.1
>         libglib-2.0.so.0 =>      /usr/local/lib/libglib-2.0.so.0
>         libintl.so.2 =>  /usr/local/lib/libintl.so.2
>         libiconv.so.2 =>         /usr/local/lib/libiconv.so.2
>         libc.so.1 =>     /lib/libc.so.1
>         libaio.so.1 =>   /lib/libaio.so.1
>         libgcc_s.so.1 =>         
> /usr/cisco/packages/gcc/gcc-4.1.0/lib/libgcc_s.so.1
>         libdl.so.1 =>    /lib/libdl.so.1
>         /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
> bash-2.05b#
> Unfortunately the machine is behing a nice lab internal firewall, so 
> have had to compile most everything from scratch in order to get stuff 
> that Cisco didn't already have.
>  
> Thanks,
> Ben Douglas
>  
>
>  
>
>  
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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