Re: [Nagios-users] No Luck with Apache and Nagios

2005-12-07 Thread Hugo van der Kooij
On Wed, 7 Dec 2005, Eric X. Holzapfel wrote:

> The problem is with apache.  I am completely unable to use apache.  If I
> try to put these lines in my httpd.conf file, apache errors with a
> warning, that the alias won't work because there is an earlier alias and
> script alias, etc.

If you use the RPM files you allready have a nagios.conf file in you
conf.d directory and you should NOT add them again to your config.

Remove all the new lines and restart the server. Then try again. Check you
apache config tree for extra files.

Hugo.

-- 
I hate duplicates. Just reply to the relevant mailinglist.
[EMAIL PROTECTED]   http://hvdkooij.xs4all.nl/
Don't meddle in the affairs of magicians,
for they are subtle and quick to anger.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
Nagios-users mailing list
Nagios-users@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


RE: [Nagios-users] No Luck with Apache and Nagios

2005-12-07 Thread Adam Emery
Title: No Luck with Apache and Nagios









You
might want to look for an “include” statement in your
httpd.conf.  you probably have a nagios.conf that is already being loaded.

 

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric X. Holzapfel
Sent: Wednesday, December 07, 2005
7:05 PM
To:
Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] No Luck
with Apache and Nagios

 

 

_

 

Hello List,

I am trying to run Nagios 2.0b5 on RH Fedora 4 with
apache 2.0.54

I can start nagios ok, and both the –v, -s, and
status report ok.  The nagios.log file reports startup and monitoring info
ok.

The problem is with apache.  I am completely
unable to use apache.  If I try to put these lines in my httpd.conf file,
apache errors with a warning, that the alias won’t work because there is
an earlier alias and script alias, etc.

ScriptAlias
/nagios/cgi-bin/ /usr/local/nagios/sbin/



   
AllowOverride AuthConfig

   
Options ExecCGI

   
Order allow,deny

   
Allow from all



And


Alias
/nagios/ /usr/local/nagios/share/



   
Options None

   
AllowOverride AuthConfig

   
Order allow,deny

   
Allow from all



Any
ideas?

When
I try to go to http://localhost/nagios I get page not found, etc

Thanks,

eric













Re: [Nagios-users] No Luck with Apache and Nagios

2005-12-07 Thread Chris Burgess

On 8/12/05 12:04 PM, "Eric X. Holzapfel" <[EMAIL PROTECTED]> wrote:

> Hello List,
> 
> I am trying to run Nagios 2.0b5 on RH Fedora 4 with apache 2.0.54
> 
> I can start nagios ok, and both the ­v, -s, and status report ok.  The
> nagios.log file reports startup and monitoring info ok.
> 
> The problem is with apache.  I am completely unable to use apache.  If I try
> to put these lines in my httpd.conf file, apache errors with a warning, that
> the alias won¹t work because there is an earlier alias and script alias, etc.


Hi Eric,

How did you install Nagios, source or package? You may already have the
directives somewhere else installed by your package. If there aren't any
duplicates in httpd.conf, have a look in the Apache conf directory
(/etc/httpd/conf.d or similar). I don't have access to a Fedora box at the
moment to check.

If not, what is the exact error message, it should also give you a line
number, check what's on that line (and before/after).

Cheers,
Chris 






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] No Luck with Apache and Nagios

2005-12-07 Thread Todd Barbera
Title: No Luck with Apache and Nagios



Did you try compiling Apache from source? If not, 
give that a shot. You might be tripping up on an older config. Also, you could 
try the default config files if they are still there. httpd-std.conf would be 
the file name. Start Apache with just the default config file just to make sure 
it starts and then add your changes. 
 
Todd

  - Original Message - 
  From: 
  Eric X. 
  Holzapfel 
  To: Nagios-users@lists.sourceforge.net 
  
  Sent: Wednesday, December 07, 2005 8:04 
  PM
  Subject: [Nagios-users] No Luck with 
  Apache and Nagios
  
  _
  Hello 
  List,
  I am trying to run 
  Nagios 2.0b5 on RH Fedora 4 with apache 2.0.54
  I can start nagios ok, 
  and both the –v, -s, and status report ok.  The nagios.log file reports 
  startup and monitoring info ok.
  The problem is with 
  apache.  I am completely unable to use apache.  If I try to put 
  these lines in my httpd.conf file, apache errors with a warning, that the 
  alias won’t work because there is an earlier alias and script alias, 
  etc.
  ScriptAlias /nagios/cgi-bin/ 
  /usr/local/nagios/sbin/
  
      AllowOverride AuthConfig
      Options ExecCGI
      Order allow,deny
      Allow from all
  
  And 
  Alias /nagios/ /usr/local/nagios/share/
  
      Options None
      AllowOverride AuthConfig
      Order allow,deny
      Allow from all
  
  Any ideas?
  When I try to go to http://localhost/nagios I get page not found, 
  etc
  Thanks,
  eric