Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Nagios on Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Wed Feb 08, 2012 1:53 pm    Post subject: Installing Nagios on Gentoo Reply with quote

I cannto get Nagios to work on Gentoo. I have installed this numerous times w/o incident but can no longer get this to work. I am getting perm issues when I try to connect. I am following the nagios getntoo guide and it is not working. Seems to be an issue with Apache not nagios.
_________________
Brent Weaver
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 758
Location: Close to Annecy (France)

PostPosted: Wed Feb 08, 2012 2:24 pm    Post subject: Reply with quote

Don't you think it will help if you're providing the error message you got ?
Back to top
View user's profile Send private message
brent_weaver
Guru
Guru


Joined: 01 Jul 2004
Posts: 510
Location: Burlington, VT

PostPosted: Wed Feb 08, 2012 2:50 pm    Post subject: Reply with quote

Good point!! lol

The left view pane shows the cgi path (i.e. /nagios/main.cgi etc) and is not actuallg running teh CGI for one.

Here it is:

Code:

nssmonitor apache2 # cat error_log
[Wed Feb 08 05:15:49 2012] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0g configured -- resuming normal operations
[Wed Feb 08 05:16:13 2012] [error] [client 3.7.156.16] File does not exist: /usr/share/nagios/htdocs/<, referer: http://nssmonitor.idx.com/nagios/

nssmonitor apache2 # ls /usr/share/nagios/htdocs/
config.inc.php  docs    includes   main.php  robots.txt  ssi
contexthelp     images  index.php  media     side.php    stylesheets

nssmonitor apache2 # cd /usr/share

nssmonitor share # ls -lad nagios
drwxr-xr-x 3 root root 72 Feb  3 08:13 nagios

_________________
Brent Weaver
Back to top
View user's profile Send private message
destroyedlolo
l33t
l33t


Joined: 17 Jun 2011
Posts: 758
Location: Close to Annecy (France)

PostPosted: Tue Feb 14, 2012 6:27 pm    Post subject: Reply with quote

brent_weaver wrote:
Good point!! lol

:P

brent_weaver wrote:

Code:
[Wed Feb 08 05:16:13 2012] [error] [client 3.7.156.16] File does not exist: /usr/share/nagios/htdocs/<, referer: http://nssmonitor.idx.com/nagios/


This line is VERY suspicious : for me, you introduced a crappy '<' inside your nagios3.conf file.
Especially where scriptalias are defined.

Worth a check :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum