@sysconfdir@/cgi.cfg - Installation setup problem

Elizar M. Palad elizar.palad at gmail.com
Thu Sep 1 04:49:50 CEST 2005


sorry, should have checked the cfg file first.. :)
set the 
use_authentication
to 0..
 the page displays.. but 
warning No Output is displayed in Status Infromation..?
  

 On 9/1/05, Elizar M. Palad <elizar.palad at gmail.com> wrote: 
> 
>  Hi! Ok, i rerun configure script after installed perl, seems ok. no error 
> and all
> the .h files are created and there's no more error in make install-config 
> (i had one before)
>  i am using the minimal.cfg to test nagios. 
> I started nagios without any options. 
>  /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg
>  and it says:
> sh: @libexecdir@/check_ping: not found
> sh: @libexecdir@/check_users: not found
> sh: @libexecdir@/check_procs: not found
>  Is this ok?
>  The IE page now has an error...
>   It appears as though you do not have permission to view information for 
> any of the hosts you requested...
> 
>  If you believe this is an error, check the HTTP server authentication 
> requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.
> 
>   I didn't set up any authentication for nagios. Maybe it caused the error 
> above?
> if it does, how to use nagios without authentication?
>  thanks!
>   
> 
>  On 8/31/05, Subhendu Ghosh <sghosh at sghosh.org> wrote: 
> > 
> > 
> > Yes - autoconf which creates configure uses perl :)
> > 
> > You can either compile your own or sunfreeware.com<http://sunfreeware.com/>has some nice pkgadd
> > versions.
> > 
> > -sg
> > 
> > 
> > On Wed, 31 Aug 2005, Elizar M. Palad wrote:
> > 
> > > Hi, thanks!
> > > from ./configure's output:
> > >
> > > creating html/index.html
> > > creating html/side.html
> > > creating include/config.h
> > > creating include/snprintf.h
> > > creating include/nagios.h
> > > creating include/cgiutils.h
> > > ./configure: perl: not found
> > > ./configure: perl: not found 
> > >
> > > Creating sample config files in sample-config/ ...
> > > ./configure: perl: not found
> > > ./configure: perl: not found
> > > ./configure: perl: not found
> > > ./configure: perl: not found
> > > ./configure: perl: not found 
> > > ./configure: perl: not found
> > > ./configure: perl: not found
> > > ./configure: perl: not found
> > >
> > >
> > > *** Configuration summary for nagios 2.0b4 08-02-2005 ***:
> > >
> > > General Options: 
> > > -------------------------
> > > Nagios executable: nagios
> > > Nagios user/group: nagios,nagios
> > > Command user/group: nagios,nagios
> > > Embedded Perl: no
> > > Event Broker: yes
> > > Install ${prefix}: /usr/local/nagios 
> > > Lock file: ${prefix}/var/nagios.lock
> > > Init directory: /etc/init.d
> > > Host OS: solaris2.6
> > > ....
> > > Im going to install now perl and see if it will create the location.hfile.
> > > Thanks! 
> > > eli
> > >
> > > On 8/31/05, Subhendu Ghosh <sghosh at sghosh.org> wrote:
> > >>
> > >> On Wed, 31 Aug 2005, Elizar M. Palad wrote:
> > >>
> > >>> I rerun ./configure --prefix=/usr/local/nagios 
> > >> --with-cgiurl=/nagios/cgi-bin
> > >>> --with-htmlurl=/nagios --with-nagios-user=nagios
> > >> --with-nagios-groupp=nagios
> > >>> --with-gd-lib=/usr/local/lib
> > >>> and summary is below: 
> > >>> *** Configuration summary for nagios 2.0b4 08-02-2005 ***:
> > >>>
> > >>> General Options:
> > >>> -------------------------
> > >>> Nagios executable: nagios
> > >>> Nagios user/group: nagios,nagios 
> > >>> Command user/group: nagios,nagios
> > >>> Embedded Perl: no
> > >>> Event Broker: yes
> > >>> Install ${prefix}: /usr/local/nagios
> > >>> Lock file: ${prefix}/var/nagios.lock 
> > >>> Init directory: /etc/init.d
> > >>> Host OS: solaris2.6
> > >>>
> > >>> Web Interface Options:
> > >>> ------------------------
> > >>> HTML URL: http://localhost/nagios/
> > >>> CGI URL: http://localhost/nagios/cgi-bin/
> > >>> Traceroute (used by WAP):
> > >>>
> > >>>
> > >>> Review the options above for accuracy. If they look okay, 
> > >>> type 'make all' to compile the main program and CGIs.
> > >>> ------------------
> > >>> Looks ok isn't it?
> > >>> then when i do 'make all', i have this error:
> > >>> # make all 
> > >>> cd ./base && make
> > >>> make: Fatal error: Don't know how to make target
> > >> `../include/locations.h'
> > >>> Current working directory /packages/nagios-2.0b4/base
> > >>> *** Error code 1 
> > >>> make: Fatal error: Command failed for target `all'
> > >>> This is also my second time with this error. What I did was i copy
> > >>> locations.h.in <http://locations.h.in/> < http://locations.h.in> <
> > http://locations.h.in> as
> > >> locations.h :-)
> > >>> and the compilation continues.. (was that not right? :) 
> > >>> thanks!
> > >>
> > >>
> > >> NOOOOO - configure must have produced an error before the summary was
> > >> printed.
> > >>
> > >> configure should create a locations.h from locations.h.in<http://locations.h.in/>
> > <http://locations.h.in>after
> > >> appropriate substitutions.
> > >>
> > >> If the file is not being created properly - you may have a file 
> > permission 
> > >> issue.
> > >>
> > >> run "chown -R user:group nagios_src_dir/"
> > >>
> > >> replace the user and group with the user and group info fort he 
> > person
> > >> running configure
> > >>
> > >> replace nagios_src_dir with the dir that contains the nagios src.
> > >>
> > >> Never copy a *.*.in file into a *.* file.
> > >>
> > >>
> > >>
> > >> --
> > >>
> > >> -sg 
> > >>
> > >
> > >
> > >
> > >
> > 
> > --
> > 
> > 
> 
> 
> -- 
> ----
> Don't Tell Me How Hard You Work..
> Show Me How Much You'd Accomplished.. 
> 



-- 
----
Don't Tell Me How Hard You Work..
Show Me How Much You'd Accomplished..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050901/bd3a2400/attachment.html>


More information about the Users mailing list