PDA

View Full Version : erreur


maxime21121
20th April 2007, 11:45
voici une erreur dont je ne vois pas la manere de la reparer.

Nagios 1.3
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 10-24-2004
License: GPL

Reading configuration data...

Error: Cannot open main configuration file '/usr/local/nagios/bin/nagios.cfg' for reading!

***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.
merci de m aider

DonKiShoot
20th April 2007, 20:37
En configurant correctement tes paths :-D

maxime21121
23rd April 2007, 09:36
ok merci et ou se trouvent ses paths et comment sait-on lequel a une erreur?
merci

maxime21121
23rd April 2007, 10:39
je crois avoir decouvert l erreur mais je ne sais pas comment y remedier.
Lorsque on me dit l 'erreur suivante:Cannot open main configuration file '/usr/local/nagios/bin/nagios.cfg' for reading!
et quand je regarde dans le chemin indiquer, il n'y a pas de nagios.cfg dans /usr/local/nagios/bin/.
Alors je pense qu'il faut changer un chemin dans un des fichiers mais je ne vois pas lequel?
merci de m'aider.

DonKiShoot
23rd April 2007, 12:23
Cannot open main configuration file '/usr/local/nagios/bin/nagios.cfg' for reading!

Il n'y aurait pas un problème de droit ?
En même temps le dossier est tout pourri, ca sent le truc configuré avec les pieds :-D

maxime21121
23rd April 2007, 12:35
c'est peu etre un probleme de droit mais maintenant comment changer les droit.
merci

furtif
23rd April 2007, 12:39
Peut etre sa pourrait t'aider :
http://www.ac-creteil.fr/reseaux/systemes/linux/droits-fichiers.html