Mins / TuxLite

A complete LAMP and LNMP setup script for Debian or Ubuntu
http://tuxlite.com
253 stars 112 forks source link

Could not open configuration file httpd.conf ? #10

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hello. I need help, i have followed this guide but my local server is not online and when i type /etc/init.d/apache2 start in terminal i get the following error

my os is ubuntu 13.04.

btw after commenting include httpd.conf on line 216 and retype /etc/init.d/apache2 start, i get the following error

Mins commented 11 years ago

The script does not support Ubuntu 13.04 or Debian 7 yet. I'm waiting for the official releases before updating the script.

For your first problem, line 216 refers to the "Include httpd.conf" line. httpd.conf has been removed in the future packages as part of Debian's efforts to clean up their implementation of Apache2. This is addressed here http://wiki.debian.org/Apache2Transition under the "Make upstream happier" section. Commenting it out would be the right thing to do.

For the second issue, it appears that something else might be running on port 80. Try running

netstat -pln | grep :80

and see what processes are running. It may be that another webserver is installed.

Mins commented 11 years ago

This has now been fixed. Thanks again for reporting the bug!