PDA

View Full Version : Apache Command Line



809AreaCode
20 May 2011, 10:26 PM
Hi all, I'm new to the world of web design.

Right now I have Apache running on a system with Ubuntu 10.04, installed with the lamp-server^ package.

Anyway, I made edits to the httpd.conf file, and I need to reset the server, but whenever I try to run any commands from the command line...



root@localhost:/etc/apache2# apache2 -k graceful
apache2: bad user name ${APACHE_RUN_USER}
root@localhost:/etc/apache2#

What does this error mean?

nafirici
22 May 2011, 10:52 AM
Try running this: sudo /etc/init.d/apache2 restart if not root and /etc/init.d/apache2 restart if root.