already in use: make_sock: could not bind to address [::]:80

Discussion in 'Installation/Configuration' started by paxpacis, Dec 1, 2009.

  1. paxpacis

    paxpacis Member

    Yesterday, we copied the wrong ssl request in the ssl request box, this was because ispconfig3 defaults to the url given and ispconfig2 automatically changed it to www.domain.xxx.

    This caused the whole ispconfig server to stop working. The only thing after a apache restart was [fail] no loging in the logfiles etc.
    I disabled the faulty website with a2dissite and after 2 restarts ispconfig was up and running again.
    But now every time I do a restart the following is happening:

    root@www:/etc/apache2/ssl# /etc/init.d/apache2 restart
    * Restarting web server apache2 (98)Address already in use: make_sock: could not bind to address [::]:80
    (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
    no listening sockets available, shutting down
    Unable to open logs
    [fail]
    root@www:/etc/apache2/ssl# /etc/init.d/apache2 restart
    * Restarting web server apache2 httpd (no pid file) not running
    [ OK ]

    So first time restart does not work and second time we are back..

    Anybody a clue why this is happening?..
     
    Last edited: Dec 2, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be some hanging apache processes. Run:

    killall apache2
    /etc/init.d/apache2 restart
     
  3. paxpacis

    paxpacis Member

    Hi Till,

    thank you, it worked..
     

Share This Page