Can't start nagios with apache on solaris 8

John Downs john.downs at labs.gte.com
Thu Dec 4 14:56:17 CET 2003


Found the problem. It was a stupied user error. I cut and pasted the
ScriptAlias /nagios/cgi-bin/
stuff and edit in the share stuff but left it as a scriptalias instead of
alias.

It now works thanks!

-john
----- Original Message ----- 
From: "Marc Powell" <marc at ena.com>
To: "John Downs" <john.downs at labs.gte.com>;
<Nagios-users at lists.sourceforge.net>
Sent: Wednesday, December 03, 2003 3:04 PM
Subject: RE: [Nagios-users] Can't start nagios with apache on solaris 8


> I'm going to say it's an apache configuration issue _or_ a permissions
issue. Your apache error log should provide more useful information.
>
> Some common gotcha's:
>
> - after adding the nagios specific sections to httpd.conf, you must
restart apache.
> - when using the useradd command to create the nagios user, the home
directory is typically created with 700 permission. It needs to be 755
unless you're getting creative with groups in which case you probably know
enough that this isn't likely.
> - make sure that your .configure --with-htmurl and --with-cgiurl
parameters correlate to what you've put in httpd.conf.
>
> If you're still having problems you'll have to provide more detailed
information including the nagios sections of httpd.conf, file and directory
permissions, error log information (apache and nagios.log). This all
presumes of course that you have the appropriate files in ~nagios/share and
~nagios/libexec.
>
> --
> Marc
>
> ________________________________________
> From: John Downs [mailto:john.downs at labs.gte.com]
> Sent: Wednesday, December 03, 2003 1:45 PM
> To: Nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Can't start nagios with apache on solaris 8
>
>
> A simple question for you nagios gurus.
>
> I just installed/configured apache 1.3.28 and nagios 1.1. I followed the
nagios installation
> instructions (and triple checked them). When I try to access nagios as
described in the
> "setting up the web interface" using http://photon/nagios. I get the 404
Not found page.
>
> The server is running because I can access the docs directory for apache
or where ever
> I point it to. I followed all the default installation except the
nagios-user; I put my login.
>
> Is this an apache problem or a nagios problem?
>
> Thank you
> -john
>
>



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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