Looks like you should add /opt/csw/lib to the library path with 'crle' :

    # crle -u -l /opt/csw/lib

-e
  ----- Original Message ----- 
  From: Jai Ram 
  To: Marc Powell 
  Cc: Nagios Users Mailinglist 
  Sent: Wednesday, May 13, 2009 7:14 AM
  Subject: Re: [Nagios-users] Files Missing While upgrading.


  Hello,

  I have passed the location of gd libraries and everything went fine. But when 
I try to access the web interface I am able to see only home page and  I am 
having  the below error message for all other options.


  Internal Server Error
  The server encountered an internal error or misconfiguration and was unable 
to complete your request.

  Please contact the server administrator, [email protected] 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.


------------------------------------------------------------------------------

  Apache/2.0.58 (Unix) DAV/2 Server at nycmon.corpads.com Port 80


  And from error log I find these below errors.

  [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] ld.so.1: tac.cgi: 
fatal: libglib-2.0.so.0: open failed: No such file or directory, referer: 
http://nycmon.corpads.com/nagios/side.html
  [Fri May 08 16:47:25 2009] [error] [client 10.187.152.223] Premature end of 
script headers: tac.cgi, referer: http://nycmon.corpads.com/nagios/side.html


  And I find the location of  libglib-2.0.so.0 in  /opt/csw/lib/libglib-2.0.so.0

  Path

  # echo $LD_LIBRARY_PATH
  
/usr/lib:/lib:/usr/ucb/lib:/usr/ccs/lib:/usr/openwin/lib:/usr/sfw/lib:/opt/sfw/lib:/usr/local/lib:/opt/csw/lib

  Thanks
  Jai.




  On Mon, Apr 13, 2009 at 9:56 PM, Marc Powell <[email protected]> wrote:


    On Apr 13, 2009, at 6:10 PM, Jai Ram wrote:

    > Hello,
    >
    > I have upgraded nagios from version 2.8 to 3.0.6 on Solaris-10. When
    > I was going through upgrade it has requested me for
    > statusmap.cgi,histogram.cgi and trends.cgi, was not found so I
    > copied it from version 2.8.
    >
    > ** Is this because the above three files belongs to Version 2.8, If
    > so how would i get those three files for Nagios-3.0.6. I looked in
    > to Nagios-3.0.6 and those three files are missing. So how do I
    > compile them for Nagios-3.0.6**


    It's because the GD libs (devel) are not installed or were not found
    in standard locations. There's a FAQ entry for it but it looks like
    the FAQ is broken right now. Examine the output of ./configure or
    config.log for information and links.

    if the GD devel libraries are installed, you may need to pass their
    location to ./configure with --

    --with-gd-lib=DIR sets location of the gd library
    --with-gd-inc=DIR sets location of the gd include files

    --
    Marc

    
------------------------------------------------------------------------------
    This SF.net email is sponsored by:
    High Quality Requirements in a Collaborative Environment.
    Download a free trial of Rational Requirements Composer Now!
    http://p.sf.net/sfu/www-ibm-com
    _______________________________________________
    Nagios-users mailing list
    [email protected]
    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





------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
  production scanning environment may not be a perfect world - but thanks to
  Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
  Series Scanner you'll get full speed at 300 dpi even with all image 
  processing features enabled. http://p.sf.net/sfu/kodak-com


------------------------------------------------------------------------------


  _______________________________________________
  Nagios-users mailing list
  [email protected]
  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
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to