Results 1 to 2 of 2

Thread: Apache Command Line

  1. #1
    Join Date
    May 2011
    Posts
    7

    Exclamation Apache Command Line

    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...

    Code:
    root@localhost:/etc/apache2# apache2 -k graceful
    apache2: bad user name ${APACHE_RUN_USER}
    root@localhost:/etc/apache2#
    What does this error mean?

  2. #2
    Join Date
    Mar 2011
    Posts
    53
    Try running this: sudo /etc/init.d/apache2 restart if not root and /etc/init.d/apache2 restart if root.

Similar Threads

  1. New Ubuntu package: command-line W3C HTML validator
    By mrclean in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 12 Dec 2009, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •