trouble setting up web interface, Nagios 2.0b3

Marc Powell marc at ena.com
Tue Apr 12 20:39:09 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Arnar Thorarinsson
> Sent: Tuesday, April 12, 2005 9:57 AM
> To: Andreas Ericsson
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] trouble setting up web interface, Nagios
2.0b3
> 
> 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
)


Judging from the errors above you have something wacky with your apache
configuration, unrelated to Nagios. Are you running mod_auth_mysql? Do
you have it configured to override all .htaccess settings? Does
'test.user_info' show up anywhere in your apache configuration or does
it ring a bell with you from something you might have been playing with
in the past?

--
Marc


-------------------------------------------------------
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_ide95&alloc_id396&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