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

Discussion in 'Installation/Configuration' started by WebTiago, Mar 2, 2014.

  1. WebTiago

    WebTiago New Member

    [email protected]:~# killall apache2
    apache2: no process found
    [email protected]:~# /etc/init.d/apache2 start
    * Starting web server apache2 [Sun Mar 02 10:38:37 2014] [warn] NameVirtualHost *:80 has no VirtualHosts
    (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
    Action 'start' failed.
    The Apache error log may have more information.
    [fail]

    :confused::confused: I'm using Ubuntu 12.04 LTS. What can it be? There apache processes, and also can not give start it.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    netstat -tap
     
  3. WebTiago

    WebTiago New Member

    [email protected]:~# netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost.localdom:9010 *:* LISTEN 27154/php-fpm.conf)
    tcp 0 0 localhost.localdom:9011 *:* LISTEN 27154/php-fpm.conf)
    tcp 0 0 localhost.localdom:9012 *:* LISTEN 27154/php-fpm.conf)
    tcp 0 0 *:ftp *:* LISTEN 4544/pure-ftpd (SER
    tcp 0 0 myip:domain *:* LISTEN 568/named
    tcp 0 0 myip:domain *:* LISTEN 568/named
    tcp 0 0 server3.mydomain:domain *:* LISTEN 568/named
    tcp 0 0 127.0.0.2:domain *:* LISTEN 568/named
    tcp 0 0 localhost.locald:domain *:* LISTEN 568/named
    tcp 0 0 *:ssh *:* LISTEN 402/sshd
    tcp 0 0 *:smtp *:* LISTEN 1577/master
    tcp 0 0 localhost.localdoma:953 *:* LISTEN 568/named
    tcp 0 0 *:imaps *:* LISTEN 467/dovecot
    tcp 0 0 *:pop3s *:* LISTEN 467/dovecot
    tcp 0 0 localhost.localdom:9028 *:* LISTEN 27154/php-fpm.conf)
    tcp 0 0 localhost.localdom:9029 *:* LISTEN 27154/php-fpm.conf)
    tcp 0 0 localhost.localdom:9030 *:* LISTEN 27154/php-fpm.conf)
    tcp 0 0 localhost.localdom:9000 *:* LISTEN 9313/php-fpm: pool
    tcp 0 0 localhost.localdo:10024 *:* LISTEN 601/amavisd (master
    tcp 0 0 localhost.localdo:10025 *:* LISTEN 1577/master
    tcp 0 0 *:mysql *:* LISTEN 10407/mysqld
    tcp 0 0 *:submission *:* LISTEN 1577/master
    tcp 0 0 *:pop3 *:* LISTEN 467/dovecot
    tcp 0 0 *:imap2 *:* LISTEN 467/dovecot
    tcp 0 0 *:http *:* LISTEN 27215/nginx
    tcp 0 0 *:http-alt *:* LISTEN 27215/nginx
    tcp 0 0 *:tproxy *:* LISTEN 27215/nginx
    tcp 0 0 *:ssmtp *:* LISTEN 1577/master
    tcp 0 0 localhost.localdo:34301 localhost.localdo:mysql ESTABLISHED 7772/amavisd (ch10-
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46321 TIME_WAIT -
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46331 TIME_WAIT -
    tcp 0 0 localhost.localdo:mysql localhost.localdo:55805 ESTABLISHED 10407/mysqld
    tcp 0 0 localhost.localdo:mysql localhost.localdo:34301 ESTABLISHED 10407/mysqld
    tcp 0 0 localhost.localdom:9000 localhost.localdo:47251 TIME_WAIT -
    tcp 0 0 localhost.localdo:55805 localhost.localdo:mysql ESTABLISHED 8152/amavisd (ch10-
    tcp 0 0 server3.mydomain:imap2 instant1.my.com:46180 ESTABLISHED 11358/imap
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46266 TIME_WAIT -
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46313 TIME_WAIT -
    tcp 0 1 199.193.252.250:http 14.147.92.237:54767 FIN_WAIT1 -
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46409 TIME_WAIT -
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46294 TIME_WAIT -
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46337 TIME_WAIT -
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46658 TIME_WAIT -
    tcp 0 18980 server3.mydomain:http b3dae47a.virtua.co:2038 ESTABLISHED 27217/nginx: worker
    tcp 0 0 server3.mydomain:http crawl-66-249-75-4:58165 ESTABLISHED -
    tcp 0 0 server3.mydomain:http 201-78-108-9.user:52504 TIME_WAIT -
    tcp 0 0 server3.mydomain:http 201-78-108-9.user:52505 TIME_WAIT -
    tcp 0 240 server3.mydomain:ssh 201-78-108-9.user:47947 ESTABLISHED 15210/0
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46242 TIME_WAIT -
    tcp 0 0 localhost.localdom:http localhost.localdo:54208 TIME_WAIT -
    tcp 0 0 server3.mydomain:ssh 201-78-108-9.user:47947 ESTABLISHED 15210/0
    tcp 0 0 localhost.localdom:9000 localhost.localdo:46242 TIME_WAIT -
    tcp 0 0 localhost.localdom:http localhost.localdo:54208 TIME_WAIT -
    tcp6 0 0 [::]:ftp [::]:* LISTEN 4544/pure-ftpd (SER
    tcp6 0 0 [::]:domain [::]:* LISTEN 568/named
    tcp6 0 0 [::]:ssh [::]:* LISTEN 402/sshd
    tcp6 0 0 [::]:smtp [::]:* LISTEN 1577/master
    tcp6 0 0 localhost:953 [::]:* LISTEN 568/named
    tcp6 0 0 [::]:imaps [::]:* LISTEN 467/dovecot
    tcp6 0 0 [::]:pop3s [::]:* LISTEN 467/dovecot
    tcp6 0 0 [::]:submission [::]:* LISTEN 1577/master
    tcp6 0 0 [::]:pop3 [::]:* LISTEN 467/dovecot
    tcp6 0 0 [::]:imap2 [::]:* LISTEN 467/dovecot
    tcp6 0 0 [::]:ssmtp [::]:* LISTEN 1577/master
    tcp6 0 0 localhost:48978 localhost:ftp TIME_WAIT -
    tcp6 0 0 localhost:34528 localhost:imap2 TIME_WAIT -

    I changed my domains and ips.
     

Share This Page