Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/08/2007, à 22:33

rhaamo

[apache2] (13)Permission denied: make_sock: could not bind to address

Bonjour a tous.

Je viens de reinstaller mon serveur a l'instant sous ubuntu server 6.06.
Et je rencontre un probleme avec apache que je n'ai jamais eu.

Si je tente un reload je me prend ceci:

rhaamo@jennifer:~$ /etc/init.d/apache2 reload
 * Reloading apache 2.0 configuration...                                                                                                                                                             httpd not running, trying to start
(13)Permission denied: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs
                                                                                                                                                                                              [fail]
rhaamo@jennifer:~$

mais si je le fait via sudo... nickel

rhaamo@jennifer:~$ sudo !!
sudo /etc/init.d/apache2 reload
Password:
 * Reloading apache 2.0 configuration...                                                                                                                                                      [ ok ] 
rhaamo@jennifer:~$

le log d'apache:

rhaamo@jennifer:~$ cat /var/log/apache2/error.log 
[Sun Aug 19 22:01:30 2007] [notice] Apache/2.0.55 (Ubuntu) configured -- resuming normal operations
[Sun Aug 19 22:08:24 2007] [notice] caught SIGTERM, shutting down
[Sun Aug 19 22:08:26 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 configured -- resuming normal operations
[Sun Aug 19 22:10:05 2007] [notice] caught SIGTERM, shutting down
[Sun Aug 19 22:10:07 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Sun Aug 19 22:10:08 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Sun Aug 19 22:16:12 2007] [notice] caught SIGTERM, shutting down
[Sun Aug 19 22:16:33 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Sun Aug 19 22:16:33 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Sun Aug 19 22:16:45 2007] [notice] Graceful restart requested, doing restart
[Sun Aug 19 22:16:47 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Sun Aug 19 22:16:50 2007] [notice] Graceful restart requested, doing restart
[Sun Aug 19 22:16:50 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Sun Aug 19 22:18:24 2007] [notice] caught SIGTERM, shutting down
[Sun Aug 19 22:19:35 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Sun Aug 19 22:19:37 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
[Sun Aug 19 22:25:25 2007] [notice] Graceful restart requested, doing restart
[Sun Aug 19 22:25:26 2007] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming normal operations
rhaamo@jennifer:~$

et un netstat:

rhaamo@jennifer:~$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:mysql         *:*                     LISTEN     
tcp6       0      0 *:www                   *:*                     LISTEN     
tcp6       0      0 *:ssh                   *:*                     LISTEN     
tcp6       0      0 *:https                 *:*                     LISTEN     
tcp6       0      0 ::ffff:192.168.0.23:ssh marc-laptop.lan:57302   ESTABLISHED
udp        0      0 *:bootpc                *:*                                
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  5      [ ]         DGRAM                    8473     /dev/log
unix  2      [ ]         DGRAM                    5244     @/org/kernel/udev/udevd
unix  2      [ ACC ]     STREAM     LISTENING     8623     /var/run/mysqld/mysqld.sock
unix  2      [ ]         DGRAM                    9068     
unix  3      [ ]         STREAM     CONNECTED     9065     
unix  3      [ ]         STREAM     CONNECTED     9064     
unix  2      [ ]         DGRAM                    8620     
unix  2      [ ]         DGRAM                    8522     
rhaamo@jennifer:~$ netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:mysql         *:*                     LISTEN     
tcp6       0      0 *:www                   *:*                     LISTEN     
tcp6       0      0 *:ssh                   *:*                     LISTEN     
tcp6       0      0 *:https                 *:*                     LISTEN     
udp        0      0 *:bootpc                *:*                                
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     8623     /var/run/mysqld/mysqld.sock
rhaamo@jennifer:~$

Si quelqun peut m'aider, par-ce que la je vais devenir dingue, une erreur que je n'ai jamais eu malgres une bonne dizaine de reinstalation de serveur divers sous ubuntu 6.06 hmm

Au debut je pensait que c'etais mon script qui met a jour mon dyndns chez ovh qui foutais le bordel car sa utilisait un https mais non... vu que sa me le fait quand meme si je reboot et que je ne le lance pas sad

comme vous pouvez le voir dans les netstat... apache est pas encore arreter hmm malgres le soit disant reload failled qui aurais du le stopper, je le laisse tourner pour le moment, je touche a rien, mais sa m'enerve quand meme sad

je viens de terminer les maj des packets apres l'install de apache, toujours pareil, je vais telecharger la feisty serveur et essayer avec. en esperant que sa soit juste un vilain bug d'apache qui se manifeste uniquement sur ce pc hmm

Dernière modification par rhaamo (Le 19/08/2007, à 22:41)

Hors ligne

#2 Le 19/08/2007, à 22:56

mika23

Re : [apache2] (13)Permission denied: make_sock: could not bind to address

salut

j'ai comme l'impression que quelque chose ecoutes dejà sur le port 443

tcp6       0      0 *:https                 *:*                     LISTEN

Hors ligne

#3 Le 19/08/2007, à 23:00

rhaamo

Re : [apache2] (13)Permission denied: make_sock: could not bind to address

Heu wink comme dit ci-haut sa ne coupe pas apache, donc le https qui ecoute selon moi sa serais apache hmm
je vais tenter un

killall apache2

[... quelques secondes plus tard]

rhaamo@jennifer:~$ pouet
-bash: pouet: command not found
rhaamo@jennifer:~$ killall apache2
apache2(3809): Operation not permitted
apache2(3899): Operation not permitted
apache2(3900): Operation not permitted
apache2(3901): Operation not permitted
apache2(3902): Operation not permitted
apache2(3903): Operation not permitted
apache2(3923): Operation not permitted
apache2: no process killed
rhaamo@jennifer:~$ sudo !!
sudo killall apache2
Password:
rhaamo@jennifer:~$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      0 localhost:mysql         *:*                     LISTEN     
tcp6       0      0 *:ssh                   *:*                     LISTEN     
tcp6       0      0 ::ffff:192.168.0.23:ssh marc-laptop.lan:57302   ESTABLISHED
udp        0      0 *:bootpc                *:*                                
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  4      [ ]         DGRAM                    19553    /dev/log
unix  2      [ ]         DGRAM                    5244     @/org/kernel/udev/udevd
unix  2      [ ACC ]     STREAM     LISTENING     8623     /var/run/mysqld/mysqld.sock
unix  2      [ ]         DGRAM                    19656    
unix  2      [ ]         DGRAM                    19624    
unix  2      [ ]         DGRAM                    9068     
unix  3      [ ]         STREAM     CONNECTED     9065     
unix  3      [ ]         STREAM     CONNECTED     9064     
unix  2      [ ]         DGRAM                    8620     
rhaamo@jennifer:~$

Bon, bha c'etais bien apache tongue

Edit: Feisty serveur finit de gravé a 01:01 big_smile je testerais ce matin si apache decone pas avec smile

Dernière modification par rhaamo (Le 20/08/2007, à 01:05)

Hors ligne