Debian apache2 restart fault after some updates

Posted by Ripeed on Server Fault See other posts from Server Fault or by Ripeed
Published on 2012-05-31T07:45:09Z Indexed on 2012/06/04 10:43 UTC
Read the original article Hit count: 420

Filed under:
|
|
|
|

can anyone give me an advice with this please:

I run update on my debian server by Webmin. After updating some apache2 and etc. It shows update fail.

After that I cant start apache2. I must run

netstat -ltnp | grep ':80'

Then kill pid

kill -9 1047

and now i can start apache2

When I started it first time after update some websites on fastCGI wont work I must change them in ISPconfig3 to mod-PHP and now works

NOW - I cant restart apache without kill pid.

In log of ISP I see

Unable to open logs
(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

In log of some website I see

[emerg] (13)Permission denied: mod_fcgid: can´t lock process table in pid 19264

Do you thing it will be solution update everithing by:

apt-get update

and

apt-get upgrade

to complete all updates? I have little scare if I do that then next errors will occur.


If I look at apache log i see error:

Debian Python version mismatch, expected '2.6.5+', found '2.6.6'

But that was there before that problem before.

Thanks A LOT for help.

© Server Fault or respective owner

Related posts about apache2

Related posts about debian