• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Apache dont start adfter upgrade to 10.1.1

R

RadiR

Guest
I just upgrade Plesk 10.0.1 to 10.1.1 and my Apache don't start

I have errors like this

(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
websrvmng: Service /etc/init.d/httpd failed to start

System error 98: Address already in use
websrvmng: Service /etc/init.d/httpd failed to start

System error 98: Address already in use

netstat -ltnup
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 4320/couriertcpd
tcp 0 0 0.0.0.0:25025 0.0.0.0:* LISTEN 4192/xinetd
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 4337/couriertcpd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 4271/mysqld
tcp 0 0 0.0.0.0:106 0.0.0.0:* LISTEN 4192/xinetd
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 4192/xinetd
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 4328/couriertcpd
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 4310/couriertcpd
tcp 0 0 0.0.0.0:8880 0.0.0.0:* LISTEN 14469/sw-cp-serverd
tcp 0 0 127.0.0.1:10001 0.0.0.0:* LISTEN 14469/sw-cp-serverd
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 4192/xinetd
tcp 0 0 0.0.0.0:11443 0.0.0.0:* LISTEN 14469/sw-cp-serverd
tcp 0 0 0.0.0.0:11444 0.0.0.0:* LISTEN 14469/sw-cp-serverd
tcp 0 0 91.121.31.182:53 0.0.0.0:* LISTEN 4505/named
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 4505/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 4192/xinetd
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 4166/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 4177/cupsd
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 4574/postmaster
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 4505/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4192/xinetd
tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTEN 14469/sw-cp-serverd
tcp 0 0 0.0.0.0:12443 0.0.0.0:* LISTEN 14469/sw-cp-serverd
udp 0 0 91.121.31.182:53 0.0.0.0:* 4505/named
udp 0 0 127.0.0.1:53 0.0.0.0:* 4505/named
udp 0 0 0.0.0.0:58294 0.0.0.0:* 5208/avahi-daemon:
udp 0 0 0.0.0.0:5353 0.0.0.0:* 5208/avahi-daemon:
udp 0 0 0.0.0.0:631 0.0.0.0:* 4177/cupsd


I try this solution:
- http://kb.odin.com/en/1507
- http://forum.parallels.com/printthread.php?t=108083&pp=20

I try to #port 80 in /etc/httpd/conf/httpd.conf but this don't help

How I can run Apache or check where is problem?
 
more information:

CentOS release 5.5 (Final)
Linux xxx.ovh.net 2.6.32.2-xxxx-std-ipv4-32 #1 SMP Tue Dec 29 14:40:32 UTC 2009 i686 i686 i386 GNU/Linux
# /etc/init.d/httpd start
Starting httpd: [ OK ]
# /etc/init.d/httpd stop
Stopping httpd: [FAILED]
# /etc/init.d/httpd stop
Stopping httpd: [FAILED]
# /etc/init.d/httpd start
Starting httpd: (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 [FAILED]
/etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: (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 [FAILED]

mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -e "replace into misc (param,val) values ('apache_pipelog', 'true');"
/usr/local/psa/admin/sbin/websrvmng -v -a

WARNING: You are using obsoleted option, use corresponding option of httpdmng.
websrvmng: /usr/local/psa/admin/bin/httpdmng execution failed:
2011-03-19T21:32:16+01:00 ERR (3): Apache config (13005667000.81424400) generation failed: Can not restart web server:
Can not restart web server:
websrvmng: /usr/local/psa/admin/bin/httpdmng execution failed:
2011-03-19T21:32:16+01:00 ERR (3): Apache config (13005667000.81424400) generation failed: Can not restart web server:
Can not restart web server:

service httpd status
httpd dead but subsys locked

/usr/local/psa/admin/bin/httpdmng --reconfigure-server
2011-03-19T17:56:15+01:00 ERR (3): Apache config (13005537130.61564000) generation failed: Can not restart web server:
Can not restart web server:

/usr/local/psa/admin/sbin/websrvmng --restart
(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
websrvmng: Service /etc/init.d/httpd failed to start

System error 98: Address already in use
websrvmng: Service /etc/init.d/httpd failed to start

System error 98: Address already in use

Any ideas how I can repair it?
 
Back
Top