trouble setting up web interface, Nagios 2.0b3

Arnar Thorarinsson art at caa.is
Tue Apr 12 16:56:47 CEST 2005


On Tue, 2005-04-12 at 08:48, Andreas Ericsson wrote:
> Arnar Thorarinsson wrote:
> > Trying to setup nagios 2.0b3, no problem compiling but having a hella
> > time configuring auth. for the web interface.
> > added entry to /etc/httpd/conf/httpd.conf, made .htaccess file in
> > /usr/local/nagios/sbin and /usr/local/nagios/share and made
> > htpasswd.users file in /usr/local/nagios/etc...restarted httpd but....
> > still can't logon to the nagios web ( and no I'm not typing it wrong )
> > 
> > what I get in /var/log/httpd/error_log:
> > [Tue Apr 12 08:23:57 2005] [error] [client xxx.xxx.xxx.xxx] MySQL ERROR:
> > Table 'test.user_info' doesn't exist: /nagios/
> > [Tue Apr 12 08:23:57 2005] [error] [client xxx.xxx.xxx.xxx] MySQL user
> > nagios not found: /nagios/
> > 
> > 
> > running Redhat Enterprise 4 ES
> > 
> > anybody see what I'm missing ???
> > 
> > 
> > Configured nagios with:
> > ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
> > --with-htmurl=/nagios --with-nagios-user=nagios --with-nagios-grp=nagios
> > --with-command-group=nagioscmd --with-mysql-xdata
> > --with-mysql-lib=/usr/lib --with-mysql-inc=/usr/include/mysql
> > --with-file-perfdata
> > 
> 
> Nagios 2.x doesn't have mysql support. The with-mysql-xdata suggests it 
> isn't actually nagios 2.x you're installing, or you're expecting it to 
> do something it just can't.

OK so I deleted everything and started fresh configuring with:
./configure --with-command-group=nagioscmd --with-file-perfdata
make and all that and I still get these errors as described above.
so I also tried with just plain ./configure and same thing !


has anybody installed nagios 2.0b3 from fresh ?
or is this an apache error ?? ( running apache 2.0, comes with RHEL 4 )


> 
> > drwxr--r--  2 nagios nagios 4096 Apr 12 08:10 /usr/local/nagios/etc
> > -rw-rw-r--  1 nagios nagios 21 Apr 12 08:10          etc/htpasswd.users
> > drwxr-xr-x 2 nagios nagios 4096 Apr 11 18:27 /usr/local/nagios/sbin
> > -rw-r--r-- 1 nagios nagios 110 Apr 11 18:27          sbin/.htaccess
> > drwxr-xr-x  9 nagios nagios 4096 Apr 12 08:09 /usr/local/nagios/share
> > -rw-rw-rw-  1 nagios nagios 109 Apr 12 08:09         share/.htaccess
> > 
> > 
> > /usr/local/nagios/share/.htaccess
> > AuthName "Nagios Access"
> > AuthType Basic
> > AuthUserFile /usr/local/nagios/etc/htpasswd.users
> > require valid-user
> > 
> > 
> > /etc/httpd/conf/httpd.conf :
> > #################################################
> > # Added for Nagios web                          #
> > #################################################
> > 
> > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
> > <Directory "/usr/local/nagios/sbin">
> > #   SSLRequireSSL
> >    AllowOverride AuthConfig
> >    Order allow,deny
> >    Allow from all
> >    Options ExecCGI
> > </Directory>
> > 
> > Alias /nagios/ "/usr/local/nagios/share/"
> > <Directory "/usr/local/nagios/share">
> > #   SSLRequireSSL
> >    AllowOverride AuthConfig
> >    Order allow,deny
> >    Allow from all
> > </Directory>
> > 
> > #################################################
> > # Nagios web end                                #
> > #################################################
-- 
Kveðja
Arnar Þórarinsson

Tölvunarfræðingur
Kerfisdeild
Sími : 569 4289
GSM  : 861 2871
----------------------
Flugmálastjórn Íslands
Reykjavíkurflugvöllur
121 Reykjavík
http://www.caa.is
----------------------



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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