|
|
|
|
Bonjour,
Je viens d'installer Apache (httpd.2.2.4) !
L'installation basique s'est bien déroulée : lorsque je tape http://localhost/ dans mon navigateur : j'obtiens une page avec "It works" (je suppose que cela fonctionne !)
Mon problème :
j'ai modifié dans le fichier httpd.conf de telle manière :
User nobody
Group nobody
et là losque je tape la commande :
./bin/apachectl -k [stop start restart ou graceful] j'ai la réponse :
httpd: bad group name nobody
Autre question : il semble que les processus ne se terminent pas :
[root@localhost apache2]# ./bin/apachectl -k restart
httpd: bad group name nobody
[root@localhost apache2]# ps aux | grep apache
root 7353 0.0 0.1 3480 1572 ? Ss 12:02 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7363 0.0 0.1 3768 1664 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7364 0.0 0.1 3768 1708 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7365 0.0 0.1 3768 1708 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7366 0.0 0.1 3768 1676 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7367 0.0 0.1 3768 1308 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7453 0.0 0.1 3768 1308 ? S 12:13 0:00 /usr/local/apache2/bin/httpd -k graceful
root 7577 0.0 0.0 2964 752 pts/0 R+ 12:34 0:00 grep --color apache
[root@localhost apache2]# ./bin/apachectl -k stop
httpd: bad group name nobody
[root@localhost apache2]# ps aux | grep apache
root 7353 0.0 0.1 3480 1572 ? Ss 12:02 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7363 0.0 0.1 3768 1664 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7364 0.0 0.1 3768 1708 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7365 0.0 0.1 3768 1708 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7366 0.0 0.1 3768 1676 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7367 0.0 0.1 3768 1308 ? S 12:03 0:00 /usr/local/apache2/bin/httpd -k graceful
toto 7453 0.0 0.1 3768 1308 ? S 12:13 0:00 /usr/local/apache2/bin/httpd -k graceful
root 7582 0.0 0.0 2960 764 pts/0 S+ 12:35 0:00 grep --color apache
D'avance merci !
bob
Configuration: Linux Mandriva Firefox 1.5.0.7
Répondre à lami20j
|
Voilà ce que j'ai dans mon httpd.conf
User webuser Group webgroup et dans /etc/passwd et /etc/group debian:/home/lami20j# grep web /etc/{passwd,group}
/etc/passwd:webuser:x:50005:50005::/home/webuser:/bin/false
/etc/group:webgroup:x:50005:
et le daemon httpdlami20j@debian:~$ ps aux | grep httpd root 3150 0.0 0.2 14248 564 ? Ss 09:49 0:00 /usr/local/httpd/bin/httpd -k start webuser 3157 0.0 0.3 19152 800 ? S 09:49 0:00 /usr/local/httpd/bin/httpd -k start webuser 3158 0.0 0.3 19152 800 ? S 09:49 0:01 /usr/local/httpd/bin/httpd -k start webuser 3159 0.0 0.3 19036 796 ? S 09:49 0:00 /usr/local/httpd/bin/httpd -k start webuser 3160 0.0 0.3 19020 796 ? S 09:49 0:00 /usr/local/httpd/bin/httpd -k start webuser 3161 0.0 0.3 18728 820 ? S 09:49 0:01 /usr/local/httpd/bin/httpd -k start webuser 9547 0.0 0.3 18420 796 ? S 10:28 0:00 /usr/local/httpd/bin/httpd -k start webuser 9551 0.0 0.3 19104 800 ? S 10:28 0:00 /usr/local/httpd/bin/httpd -k startlami20j |
Répondre à lami20j
|
Re-,
|
Répondre à lami20j
|