Web-server – Apache2 – Can not open error log file

apache-2.2log-filesloggingweb-server

I'm installing Apache2 on Debian Wheezy.

After the file's mod /etc/apache2/sites-available/default-ssl, I wrote apache2 for running the service.
Sadly, the Linux shell backs this string:

(98)Address already in use: make_sock: could not bind to address [::]:443
(2)No such file or directory: apache2: could not open error log file /etc/apache2/${APACHE_LOG_DIR}/error.log.
Unable to open logs

How I resolve this problem?

Best Answer

How about checking if http is already running because it shows 'Address already in use message'

Check

ps -ef | grep http

Kill PIDs of http if listed

kill -9 <PID>

Now try to start http service.

Related Topic