Find the answer to your Linux question:
Results 1 to 4 of 4
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2

    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
    Location
    Cymru
    Posts
    4,157
    try to run apache in suse with:
    Code:
    httpd2 -k start
    works for me every time;

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

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

  4. #4
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2
    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
  •