trouble setting up web interface, Nagios 2.0b3

subscribe at aehome.net subscribe at aehome.net
Tue Apr 12 21:03:10 CEST 2005


what does your entry for nagios look like in your http config.


Quoting Marc Powell <marc at ena.com>:

>
>
> > -----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
> >=20
> > 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=3D/usr/local/nagios
> --with-cgiurl=3D/nagios/cgi-bin
> > > > --with-htmurl=3D/nagios --with-nagios-user=3Dnagios --with-nagios-
> > grp=3Dnagios
> > > > --with-command-group=3Dnagioscmd --with-mysql-xdata
> > > > --with-mysql-lib=3D/usr/lib --with-mysql-inc=3D/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.
> >=20
> > OK so I deleted everything and started fresh configuring with:
> > ./configure --with-command-group=3Dnagioscmd --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 !
> >=20
> >=20
> > 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_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
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-------------------------------------------------------
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