Nagios instalation problems on cpanel server

cosmin at weburl.ro cosmin at weburl.ro
Tue Jun 10 13:27:08 CEST 2008


Hello,


We have an server with cPanel installed and as it`s configurations are different it generates errors.
we have centos 5 on server
created an account from whm with user nagios

in the cpanel server the default web folder is in /home/nagios/public_html/ this is the default www path
/home/nagios/public_html/cgi-bin/ is the path for cgi
when writing the .configure like:
./configure --prefix=/home/nagios/public_html --with-cgiurl=/cgi-bin --with-htmurl=/ --with-nagios-user=nagios --with-nagios-group=nagios --with-command-group=nagios

cpanel automatically created the user nagios and the group nagios

even with these parameters nagios was installed in /share/
and the cgi in /sbin/
tryed to install Version 3.0.2
May 19, 2008

when opening an cgi it says
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster at nagios.... 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.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


the plugin ./configure --prefix=/home/nagios/public_html --with-nagios-user=nagios --with-nagios-group=nagios


what have I do wrong ?
the daemon is runing 
$
[1212740247] Caught SIGTERM, shutting down...
[1212740247] Successfully shutdown... (PID=3894)
[1212740252] Nagios 3.0.2 starting... (PID=4707)
[1212740252] Local time is Fri Jun 06 11:17:32 EEST 2008
[1212740252] LOG VERSION: 2.0
[1212740252] Finished daemonizing... (New PID=4708)

but the cgi`s are not runing....



regards,
Cosmin




__________ Information from ESET Smart Security, version of virus signature database 3172 (20080610) __________

The message was checked by ESET Smart Security.

http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080610/ec30ab55/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-------------- 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