Je pensé que j'avais pas besoin d'expliquer vu que je mettais le code mais bon je me lance :
Pour l'erreur /nagios/ :
Dans le fichier nagios.conf qui est dans /etc/httpd/conf.d j'avais mis ScriptAlias /nagios/ /usr/local/nagios/sbin/ au lieu de mettre ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
Pour cette erreur :
Things look okay - No serious problems were detected during the pre-flight check
[root@019-Linux etc]# service nagios start
Starting network monitor: nagios
su: AVERTISSEMENT: ne peut changer de répertoire vers /home/nagios: Permission non accordée
-bash: /home/nagios/.bash_profile: Permission non accordée
Le repertoire Home de l'utilisateur nagios ne lui appartenait pas lorsque j'ai fais :
# ls -al
j'ai donc fais un :
#chown nagios:nagios /home/nagios
Pour cette erreur :
/usr/local/nagios/etc/nagios.cfg -v nagios
[root@019-Linux etc]# /usr/local/nagios/etc/nagios.cfg -v nagios
/usr/local/nagios/etc/nagios.cfg: line 904: unexpected EOF while looking for matching `"'
/usr/local/nagios/etc/nagios.cfg: line 950: syntax error: unexpected end of file
C'est une erreur de définition du chemin du fichier nagios.log.
En fait je vais vous expliqué, j'ai compiler nagios ce matin mais j'ai quand meme gardé tout mes fichiers de config de hosts services etc...
Donc pour l'adapté c'est galere.
Mais maintenant c'ets bon j'arrive à lancé Nagios sans Erreur à part sur l'interface WEB qui me met :
Whoops!
Error: Could not read host and service status information!
The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.
Some other things you should check in order to resolve this error include:
1. Check the Nagios log file for messages relating to startup or status data errors.
2. Always verify configuration options using the -v command-line option before starting or restarting Nagios!
3. Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org.
Auriez vous une idée?
Encore désolé pour tous ces pote ce n'est pas pour boosté mon compteur (au contraire moins j'ai de message mieux ça car celà voudrais dire que je me débrouille tout seul et que ça marche), mais en fait je cherche l'erreur d'ou elle vient je post et 10Min aprés je trouve l'erreur tellement que c'est bete Encore dsl.
J'en ai supprimé pour "aéré".