Results 1 to 2 of 2

Thread: Starting Apache 2

  1. #1
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default Starting Apache 2

    I've installed apache2 on Ubuntu 9.04, using apt-get install apache2

    It used to work, but when I go to http://localhost, it says "Failed To Connect". Usually that means it's not started, so I went to start it using sudo apache2 -k start. But It won't work... Am I doing something wrong? Here's what I get:
    apache2: bad user name ${APACHE_RUN_USER}
    I installed it under the same user as I'm trying to start it as. I'm not sure what's wrong...

    Any ideas?

    Thanks,
    X96 WD
    Last edited by X96 Web Design; 04-26-2009 at 06:07 PM. Reason: Can't Spell AND Resolved!
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    Never Mind - I was using the wrong format...

    I had to use:
    Code:
    /etc/init.d/apache2 start
    Solved!

    // X96 \\
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

Tags for this Thread

Bookmarks

Posting Permissions

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