View Full Version : [ubuntu] Faile to start apache : line 236
waloshin
August 23rd, 2010, 02:21 AM
Failed to start apache :
* Starting web server apache2
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
...fail!
modmadmike
August 23rd, 2010, 08:17 AM
Failed to start apache :
* Starting web server apache2
apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory
...fail!
It's as it says, ether create && configure the file manually or usee webmin to configure it. (I use lighttpd which has an easily editible config in /etc/lighttpd/lighttpd.conf).
Ryan Dwyer
August 23rd, 2010, 10:25 AM
Try running this: sudo a2ensite default
Then start Apache.
waloshin
August 25th, 2010, 08:19 AM
Thanks everyone.
sanlinhtet
October 15th, 2010, 05:02 PM
Try running this: sudo a2ensite default
Then start Apache.
I tried as you guide for that error. but cann't..I got this error
ERROR: /etc/apache2/sites-enabled/000-default is a dangling symlink!
ERROR: Site default does not exist!
please help me....what should I do?
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.