Précédent   Forum des professionnels en informatique > Systèmes > Linux > Applications
Applications Questions sur l'utilisation d'applications, du shell, et des interfaces graphiques (KDE, Gnome, XFCE... )
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 15/09/2011, 16h15   #1
Inactif
 
hassan herbich
Inscription : octobre 2009
Messages : 21
Détails du profil
Informations personnelles :
Nom : hassan herbich

Informations forums :
Inscription : octobre 2009
Messages : 21
Points : 28
Points : 28
Par défaut installation NAGIOS sur REDHAT 5

Bonjour,

j'essaye d'installer nagios(nagios-3.0.6]) sur redhat 5;mais mon installation n'arrive pas aubout.

elle bloque lorsque je tape la commande :

Code :
1
2
3
[root@localhost nagios-3.0.6]# ./configure --prefix=/usr/local/nagios --with-httpd.conf=/usr/local/apache2/conf --with-command-group-nagiosmt
 
configure: error: invalid package name: httpd.conf


Pour info voici toutes les etapes :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[root@localhost ~]# useradd -s /bin/false -d /usr/local/nagios nagios
[root@localhost ~]# groupadd nagiosmt
You have mail in /var/spool/mail/root
[root@localhost ~]# groupadd nagiosmt
groupadd: group nagiosmt exists
[root@localhost ~]# usermod -G nagiosmt nagios
[root@localhost ~]# usermod -G nagiosmt nobody
[root@localhost ~]# mkdir /root/download
[root@localhost ~]# cd /root/download
[root@localhost download]# wget http
[root@localhost download]# wget <a href="http://www.mtwer.com/files/servers/nagios-3.0.6.tar.gz" target="_blank">http://www.mtwer.com/files/servers/nagios-3.0.6.tar.gz</a>
--2011-09-15 06:22:31--  <a href="http://www.mtwer.com/files/servers/nagios-3.0.6.tar.gz" target="_blank">http://www.mtwer.com/files/servers/nagios-3.0.6.tar.gz</a>
Resolving <a href="http://www.mtwer.com" target="_blank">www.mtwer.com</a>... 66.118.187.68
Connecting to <a href="http://www.mtwer.com|66.118.187.68|:80" target="_blank">www.mtwer.com|66.118.187.68|:80</a>... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2776341 (2.6M) [application/x-gzip]
Saving to: `nagios-3.0.6.tar.gz'
 
100%[===================================================================================================================>] 2,776,341    264K/s   in 12s     
 
2011-09-15 06:23:03 (227 KB/s) - `nagios-3.0.6.tar.gz' saved [2776341/2776341]
 
[root@localhost download]# tar -zxt  nagios-3.0.6.tar.gz
tar: You may not specify more than one `-Acdtrux' option
Try `tar --help' or `tar --usage' for more information.
[root@localhost download]# tar -zxf  nagios-3.0.6.tar.gz
[root@localhost download]# ls
nagios-3.0.6  nagios-3.0.6.tar.gz
[root@localhost download]# cd nagios-3.0.6

Merci de votre retour rapide
herbich- est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 16h21   #2
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Salut,

peux-tu t'assurer que l'option

existe bien?

Code :
1
2
 
./configure --help | grep -i httpd
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 16h24   #3
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
C'est bien ce qu'il me semblait

Code :
1
2
3
user@vm-ubuntu8:~/nagios-3.0.6$ ./configure --help | grep -i httpd
--with-httpd-conf=<path_to_conf> sets path to Apache conf.d directory
il faut mettre un tiret, pas un point.
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 20
Vieux 15/09/2011, 17h33   #4
Inactif
 
hassan herbich
Inscription : octobre 2009
Messages : 21
Détails du profil
Informations personnelles :
Nom : hassan herbich

Informations forums :
Inscription : octobre 2009
Messages : 21
Points : 28
Points : 28
Effectivement,il faudrait bien que je met tiret à la place de.

Maintenant,lorsque je tape la commande je reçoit ce cette reponse :

Code :
1
2
3
4
5
6
7
8
9
[root@localhost nagios-3.0.6]# ./configure --prefix=/usr/local/nagios --with-httpd-conf=/usr/local/apache2/conf --with-command-group-nagiosmt
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH

je pense que le compilatateur n'est pas installé!
herbich- est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 17h42   #5
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Oui ça m'a l'air.

Il faut donc l'installer en tant que root.
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 17h58   #6
Inactif
 
hassan herbich
Inscription : octobre 2009
Messages : 21
Détails du profil
Informations personnelles :
Nom : hassan herbich

Informations forums :
Inscription : octobre 2009
Messages : 21
Points : 28
Points : 28
voilà ce que j'obtiens :

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
[root@localhost nagios-3.0.6]# yum install gcc
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
No package gcc available.
Nothing to do
[root@localhost nagios-3.0.6]# yum provides */bin/gcc
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
No Matches found
[root@localhost nagios-3.0.6]# yum provides */bin/gcc
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
No Matches found
[root@localhost nagios-3.0.6]#
herbich- est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 18h00   #7
Inactif
 
hassan herbich
Inscription : octobre 2009
Messages : 21
Détails du profil
Informations personnelles :
Nom : hassan herbich

Informations forums :
Inscription : octobre 2009
Messages : 21
Points : 28
Points : 28
je pense que lors de mon installation , j'avais tout laissé par défaut et donc je n'ai pas les utilitaires.

tu connais le chemin des packets de gcc sur un dvd REDHAT 5 to 7.
==>je souhaite les recuperer manuellement puisque là je n'arrive pas à l'installe depuis l'internet
herbich- est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 18h05   #8
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Que donne

__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 15/09/2011, 19h06   #9
Inactif
 
hassan herbich
Inscription : octobre 2009
Messages : 21
Détails du profil
Informations personnelles :
Nom : hassan herbich

Informations forums :
Inscription : octobre 2009
Messages : 21
Points : 28
Points : 28
voilà le résultat Monsieur

Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[root@localhost ~]# yum search gcc
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
================================= Matched: gcc =================================
cpp.i386 : The C Preprocessor.
libgcc.i386 : GCC version 4.1 shared support library
libgomp.i386 : GCC OpenMP 2.5 shared support library
libstdc++.i386 : GNU Standard C++ Library
libtermcap.i386 : A basic system library for accessing the termcap database.
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# ^C
[root@localhost ~]# yum search gcc
Loaded plugins: product-id, security, subscription-manager
Updating Red Hat repositories.
================================= Matched: gcc =================================
cpp.i386 : The C Preprocessor.
libgcc.i386 : GCC version 4.1 shared support library
libgomp.i386 : GCC OpenMP 2.5 shared support library
libstdc++.i386 : GNU Standard C++ Library
libtermcap.i386 : A basic system library for accessing the termcap database.
[root@localhost ~]# 86 : GNU Standard C++ Library
enfin je pense que l'update ne peut se faire tant que je n'ai pas enregistrer le produit!
tu confirmes?
herbich- est déconnecté   Envoyer un message privé Réponse avec citation 10
Vieux 16/09/2011, 11h55   #10
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 551
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 551
Points : 4 271
Points : 4 271
Hello,

Ce lien devrait pouvoir t'aider.

http://www.cyberciti.biz/faq/howto-i...piler-on-rhel/
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 00h38.


 
 
 
 
Partenaires

Hébergement Web