It is very strange. Before i try anything i copy the .err file as .vhost file and i remove the working one
Trying the above command with the .err file:
Code:
# . /etc/apache2/envvars && apache2 -t
[Wed Jul 04 19:41:07 2012] [warn] NameVirtualHost 2a00:7b80:3019:12::d7f3:23b9:80 has no VirtualHosts
[Wed Jul 04 19:41:07 2012] [warn] NameVirtualHost 2a00:7b80:3019:12::d7f3:23b9:443 has no VirtualHosts
Syntax OK
but when i try to start apache
Code:
/etc/init.d/apache2 restart
Restarting web server: apache2[Wed Jul 04 19:40:46 2012] [warn] NameVirtualHost 2a00:7b80:3019:12::d7f3:23b9:80 has no VirtualHosts
[Wed Jul 04 19:40:46 2012] [warn] NameVirtualHost 2a00:7b80:3019:12::d7f3:23b9:443 has no VirtualHosts
... waiting [Wed Jul 04 19:40:47 2012] [warn] NameVirtualHost 2a00:7b80:3019:12::d7f3:23b9:80 has no VirtualHosts
[Wed Jul 04 19:40:47 2012] [warn] NameVirtualHost 2a00:7b80:3019:12::d7f3:23b9:443 has no VirtualHosts
Action 'start' failed.
The Apache error log may have more information.
failed!
Replacing the ".err" file with the "working" copy make apache to start successfully. Error log doesn't contain anything useful
I'm on dead end...