Debian 3.1 / Apache2 does not restart after update

Posted on

Debian 3.1 / Apache2 does not restart after update – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, apache-2.2, debian, , .

I just ran updates with apt-get on my debian 3.1 server updating apache2 and php.
After the updates I can’t get my apache server up again.

/etc/init.d/apache2 start gives no error but checking the processes the server is not running afterwards

When I try to start it by

/usr/sbin/apache2ctl -f /etc/apache2/httpd.conf

I get the error

no listening sockets available, shutting down
Unable to open logs

I already checked with netstat but no process is listening on port 80.

What else can I do or check?

Solution :

Are you sure you are root ? Usually the logs error comes if your are a normal user. You need to be root to have access to port 80.

Leave a Reply

Your email address will not be published.