My new ERROR PLEASE HELP

Jorg.Schulz at systeam.se Jorg.Schulz at systeam.se
Fri Aug 11 07:30:49 CEST 2006


Hi 
No it´s not a plugin problem 
It´s a permisson problem 

what is your apache user ?? 
how did you compile Nagios `?? 

run 
./configure –prefix=/usr/local/nagios --with-nagios-user=nagios 
--with-nagios-grp=nagios --with-perlcache --enable-embedded-perl 
--with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib

and then 
Make all 
make install 
make install-base 
make install-cgis
make install-html
make install-config 
make install-init 
make install-commandmode

and then create a
htpasswd2 –c /usr/local/nagios/etc/htpasswd.users nagiosadmin

if you run in trouble try with a chmod -R 770 to /usr/local/nagios/sbin
did you restart your server / apache ??


hope it helps a little bit more /Jo
 
Mvh
Jörg Schulz 
Senior Konsult
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post jorg.schulz at systeam.se
http:// www.systeam.se




Arief Iqbal <arief_clan at yahoo.com> 
Sent by: nagios-users-bounces at lists.sourceforge.net
2006-08-11 04:02

To
nagios milis <nagios-users at lists.sourceforge.net>
cc

Subject
Re: [Nagios-users] My new ERROR PLEASE HELP






Nope, i install from tar.gz, i exactly use the same httpd config as you 
are, but it still doesn't work, is the plugin where problem is?

Jorg.Schulz at systeam.se wrote:

 Hi 
Are you installing Nagios from RPM ??? 

(13)Permission denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' 
= Looks permission problem between apache's running user and the owner of
the plugins. 



Check you Permissions 

Verify your CGI-directory for rights and owner 
and 

try this one 
in you apache config file 



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

<Directory "/usr/local/nagios/sbin"> 
    Options ExecCGI 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
    AuthName "Nagios Access" 
    AuthType Basic 
    AuthUserFile /usr/local/nagios/etc/htpasswd.users           !! this is 
what i have , change it for your needs 
    Require valid-user 
</Directory> 

Alias /nagios /usr/local/nagios/share 

<Directory "/usr/local/nagios/share"> 
    Options None 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
    AuthName "Nagios Access" 
    AuthType Basic 
    AuthUserFile /usr/local/nagios/etc/htpasswd.users 
    Require valid-user 
</Directory>
 /Joe 
 
Mvh 
Jörg Schulz 
Senior Konsult 
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post jorg.schulz at systeam.se
http:// www.systeam.se




Arief Iqbal <arief_clan at yahoo.com> 
Sent by: nagios-users-bounces at lists.sourceforge.net 
2006-08-10 11:53 

To
nagios milis <nagios-users at lists.sourceforge.net> 
cc

Subject
Re: [Nagios-users] Antw:  My new ERROR PLEASE HELP








yes i have, when i write ScriptAlias /nagios/cgi-bin /usr/local/nagios, 
and try to access statusmap then appear:

Internal Server Error 
The server encountered an internal error or misconfiguration and was 
unable to complete your request. 
Please contact the server administrator, root at localhost and inform them of 
the time the error occurred, and anything you might have done that may 
have caused the error. 
More information about this error may be available in the server error 
log. 

Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 


but if i write ScriptAlias /nagios/cgiurl/ /usr/local/nagios or
                 ScriptAlias /nagios/cgi-bin/ /usr/local/nagios     , and 
try to access statusmap then appear:

Not Found 
The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this 
server. 

Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 
   

Daniel Tuecks <dtuecks at neuwied.de> wrote: 
Do you have 

ScriptAlias /nagios/cgiurl/ /usr/local/nagios/sbin/

in your httpd.conf?

Daniel


>>> Arief Iqbal schrieb am Donnerstag, 10. August 2006 um
10:04 in Nachricht 04599.CNM350A5869:
> when i try to display statusmap, there's an internal server error, i 
don't 
> know why, cause i've configure all configuration, this is the error:
> 
> Internal Server Error The server encountered an internal error or 
> misconfiguration and was unable to complete your request.
> Please contact the server administrator, root at localhost and inform them 
> of the time the error occurred, and anything you might have done that 
may 
> have caused the error.
> More information about this error may be available in the server error 
> log.
> 
> ---------------------------------
> Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 
> and this is in the error_log message:
> 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] 
(13)Permission 
> denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: 
> http://192.168.87.100/nagios/side.html 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end 
of 
> script headers: statusmap.cgi, referer: 
> http://192.168.87.100/nagios/side.html 
> [Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not 

> exist:/var/www/html/favicon.ico
> 
> please help me, thanks
> 
> 
> ---------------------------------
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call 
rates.
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


-- 

---
Stadtverwaltung Neuwied
Daniel Tücks
- EDV -

Tel.: 02631 / 802 410
Fax: 02631 / 802 850
email: dtuecks at neuwied.de


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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 
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta. 
 
Stay in the know. Pulse on the new Yahoo.com. Check it out. 
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________

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 

 
 
Mvh 
Jörg Schulz 
Senior Konsult 
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post jorg.schulz at systeam.se
http:// www.systeam.se




Arief Iqbal <arief_clan at yahoo.com> 
Sent by: nagios-users-bounces at lists.sourceforge.net 
2006-08-10 10:04 

To
nagios milis <nagios-users at lists.sourceforge.net> 
cc

Subject
[Nagios-users] My new ERROR PLEASE HELP








when i try to display statusmap, there's an internal server error, i don't 
know why, cause i've configure all configuration, this is the error:

Internal Server Error 
The server encountered an internal error or misconfiguration and was 
unable to complete your request. 
Please contact the server administrator, root at localhost and inform them of 
the time the error occurred, and anything you might have done that may 
have caused the error. 
More information about this error may be available in the server error 
log. 

Apache/2.0.52 (Fedora) Server at 192.168.87.100 Port 80 

and this is in the error_log message:

[Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] (13)Permission 
denied: exec of '/usr/local/nagios/sbin/statusmap.cgi' failed, referer: 
http://192.168.87.100/nagios/side.html
[Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] Premature end 
of script headers: statusmap.cgi, referer: 
http://192.168.87.100/nagios/side.html
[Thu Aug 10 15:04:31 2006] [error] [client 192.168.87.100] File does not 
exist:/var/www/html/favicon.ico

please help me, thanks 
How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call 
rates. 
 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________

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 

Stay in the know. Pulse on the new Yahoo.com. Check it out. 
 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060811/87d9f1ce/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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