-   Linux - Server (
-   -   apache2.conf webmin error (

twisteguy22 06-13-2010 04:06 PM

apache2.conf webmin error
hello all. first post here, so bear with me.

I am setting up a web, dns, and ftp server using ubuntu server 10.04lts. i am using webmin to administrate it. when i try to start apache using webmin, i get this error:

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!

what am i doing wrong or what can i fix here?

when i log into my server and go the the directory where it says it can't find that file and I list the files i can see it there. it is listed in red text.

whats does this all mean?

thanks for the help in advance.

bathory 06-13-2010 05:17 PM

Hi and welcome to LQ

I guess you have to enable the default vhost:

sudo a2ensite default

twisteguy22 06-13-2010 05:22 PM

thanks for that. i got a few errors about site defaults not existing, but also got one about a dangling symlink. i deleted it and apache started right up. must have just been a bug in web min that didn't catch that.

bathory 06-13-2010 05:33 PM

This is what a2ensite is supposed to do. It creates the symlinks to sites-enabled.
Could be a permissions issue with webmin.
Anyway, you can use the Thread Tools and mark this thread as solved


All times are GMT -5. The time now is 08:28 PM.