Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Help with Apache

    This is the first time I have used Linux and Apache. I am using Knoppix running from a hard drive instead of a CD. It appears to have come with Apache installed but I cannot figure out why it does not appear to be running. I need it to run at startup so and be accessible from computers running Windows Xp.

  2. #2
    appear schmappear, try these to see if there are running (as root):

    /etc/init.d/apache2 status
    ps aux| grep httpd
    To see whether apache is running.
    (i'm guessing it's running apache2)

    httpd2 -V
    check your apache version and config.

    apache2ctl start
    In a konsole (as root): manually starts the apache server; stop for stopping; restart for restarting.
    (i'm on suse so it could be slightly different on your end ...)
    Now what? You have Linux installed and running. The GUI is working fine, but you are getting tired of changing your desktop themes. You keep seeing this "terminal" thing. Don't worry, they'll show you what to do @
    <~ ~>

  3. #3

    Apache not running


    In order to check whether Apache is running or not you can grep the httpd process by executing the following command:
    ps -aux | grep httpd, this will show you the instances of apache running.

    Also, on Linux if the apache is being installed thru the rpm you can perform the following command:
    /etc/rc.d/init.d/httpd status, it will show you the status if it running or stopped. If stopped, replace the status with start to start the apache.

    You can also do a telnet on port 80 and specifying the machine IP Address to check whether it is running or not. It will only be successful if the apache instance is running on the system.


  4. $spacer_open

Posting Permissions

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