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

    apachectl not found

    I'm somewhat of a newbie and recently set up Suse 9.2 and installed Apache 2.0 using YaST2.

    The problem I'm having is I can't find the apachectl command in order to start Apache using the command line.

    I've already done a
    find / -name apachectl -print
    and nothing is found. (Yes I was logged in as root)

    I've also uninstalled and reinstalled apache twice.

    Is this something new with the newer versions of Suse or Apache?

    I can start and stop Apache using the YaST2 http server module and Apache appears to work fine. However, I'd like to use the command line for quicker restart when the need arises.

    Thanks in advance for any help you may be able to provide.

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    try to run apache in suse with:
    httpd2 -k start
    works for me every time;

    Registered Linux User #371543!
    Get force-get May The Source Be With You

  3. #3
    Linux Guru
    Join Date
    Apr 2003
    London, UK
    use "apache2ctrl" for version 2 of apache.

  4. $spacer_open
  5. #4
    Thank you both. I wasn't aware of the "2" in the commands for the new version. They are both there work.

    Again, thank you.

Posting Permissions

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