I am having this problem both on Ubuntu server 8.04 with LAMP, and ubuntu destkop 8.04 with Apache2. I am not having the problem with Debian4 on the same PC.
I just installed a fresh copy of ubuntu server 8.04 on my pc, with LAMP and Samba enabled. Now it seems to work, but whenever i try to restart apache i get this error:.Code:jeroen@jeroen-desktop:/etc/apache2$ apache2 -k restart apache2: bad user name ${APACHE_RUN_USER}
The APACHE_RUN_USER var correctly refers to www-data in my /envvars file (i didnt touch that file or anything).
If you google this error, you get the advice to replace the 'User' and 'Group' variable in the config file by:
User www-data
Group www-data
However, when i do this, i get these errors:
There are probably also ways to fix that, but why doesnt it work out of the box, like it should? What did i do wrong? Is there an easy way to fix this?Code:jeroen@jeroen-desktop:/etc/apache2$ apache2 -k restart apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName httpd not running, trying to start (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs



Adv Reply




Bookmarks