im not able to connect to my nagios web interface,i have changed the httpd file as shown in the documents but still i get this when i try to go to the web site
the connection was refused when attemping to contact (name of computer)
here is my httpd file
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/
<Directory “/usr/local/nagios/sbin/”>
AllowOverride AuthConfig
Options ExecCGI
Order allows, deny
Allow from all
Alias /nagios/ usr/local/nagios/share/
<Directory “/usr/local/nagios/share”>
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
yeah they are located in my sbin!my cgi are in there!thanks for mailing.its pretty annoying,i was told it might be to do with selinux but i cant find how to remove it.u know?
sorted out the selinux but am now gettig 404 nit found error i no thts to do with the config check all permissions and stuff!whats the story with GD where/how do i install that?
want my opinion? scratch the whole install. get the sources and the docs (possibly printed out) and go throiugh the whole install again now that selinux is off the way…
GD libraries have to be available on the server when you run the ./configure command on the source. The configure output will tell you if it found everything or not.
You are getting a not found when you go to localhost/nagios or what? YOu aren’t spelling out your errors very well to us.
If that is the case, then you didn’t setup the website yet. nagios.sourceforge.net/docs/1_0/installweb.html
And your cgi entry is not per the docs either, it should be …
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
not what you have…
scriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/
Look in your apache error log and it most likley states localhost/nagios page not found, but since you didn’t explain what page I’m only guessing.
scriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ is what is used in nagios1.0. scriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/ is what is in the documentation for 2.0. However use the one that jakkedup said. It’s the same thing you said to me(jakkedup) so I know. Anyhow. like he said follow the link, do it exactly like it says and then state the problem. look under a previous thread named nagios done, where I stated the problem I had and the solution in the last reply. more than likely you’re having the same problem. :?
this is my error_log, can some1 explain what the las error means?as i can connect to the web interface im using apache/red hat
[Mon Jul 25 13:17:55 2005] [alert] [client 127.0.0.1]
/usr/local/nagios/share/.htaccess: AuthUserFile takes 1-2 arguments
any help would be great!
thanks
So what does your .htaccess look like? I don’t undestand why you would not have pasted that info, since it’s clear that the .htaccess file is giving you errors. So please paste it.