Results 1 to 7 of 7

Thread: Daft question - how to restart linux apache...

  1. #1
    stevenjohn is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    53

    Default Daft question - how to restart linux apache...

    Hi there,

    Sorry, I realise this is a pretty dumb question, but how do you restart the apache process on a linux stack installed version.

    I've tried:

    /etc/init.d/apache2 restart

    apache2 -k restart

    and a few others but cant find how to do it... Any ideas?

    Thanks, Steve.

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Daft question - how to restart linux apache...

    use 'sudo <command>'
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    stevenjohn is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    53

    Default Re: Daft question - how to restart linux apache...

    Hi there,

    This is on a standard debian install, sudo doesnt seem to work:

    sudo apache2 -k restart
    sudo: apache2: command not found

    sudo /etc/init.d/apache2 restart
    No apache MPM package installed

    sudo apache2ctl start
    /usr/sbin/apache2ctl: line 80: /usr/sbin/apache2: No such file or directory

    I've placed the stack installer files into /home instead of /opt, cant see how this would make a difference.

    Any other thoughts?

    Kind regards, Steve.

  4. #4
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Daft question - how to restart linux apache...

    Okay, I'm gonna make a very risky observation here: don't use the stack installer in linux!!!

    It's way too easy to just do it manually. Save yourself the trouble.

    Code:
    sudo apt-get install php5 mysql5-server apache2 php-curl php-imap
    There may be some difference in the exact package name. Please use synaptic or aptitude to find the exact packages. Then, just use the Sugar5 zip from SugarForge.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  5. #5
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: Daft question - how to restart linux apache...

    Try using webmin

    Makes managing apache & mysql easy http://www.webmin.com/

  6. #6
    stevenjohn is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    53

    Default Re: Daft question - how to restart linux apache...

    Thanks very much for the replies, went down the route of installing standard php/mysql packages which has worked well

    Cheers, Steve.

  7. #7
    ptemplin7 is offline Sugar Community Member
    Join Date
    Jun 2007
    Location
    Puget Sound Washington
    Posts
    380

    Default Re: Daft question - how to restart linux apache...

    You can also use:

    apachectl graceful to restart apache without kicking anyone off.

    Paris

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 2009-12-02, 04:04 PM
  2. Replies: 2
    Last Post: 2009-06-10, 08:01 PM
  3. specifics on installing CRM 5.0.0 on Linux
    By allyforce in forum Installation and Upgrade Help
    Replies: 7
    Last Post: 2008-02-18, 12:48 PM
  4. Bitrock for Linux Question
    By grason in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2006-12-14, 09:39 PM
  5. Problem during web-based setup
    By JerkyChew in forum Help
    Replies: 15
    Last Post: 2005-06-09, 02:42 PM

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
  •