Find the answer to your Linux question:
Results 1 to 4 of 4
is it possible to restart /start/stop all services at the same time without rebooting?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    27

    restart all services


    is it possible to restart /start/stop all services at the same time without rebooting?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,596
    The short answer is "yes". It can be scripted, or you can go to the Administration -> Server Settings -> Service Management (Services) tool and do it visually. The location of the tool in your start menu tree may differ, depending upon whether you are running RHEL/CentOS or Fedora and which GUI you are using (KDE or Gnome). The one I mention is for RHEL/CentOS running KDE3.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,885
    Thing is, the System V init stuff starts and stops services in a pre-defined sequential order, you'd do well to try and follow this sequence, which could make it messy (and dangerous if you're logged in remotely and stop the networking service...)

    You probably don't want to re-boot the machine - perhaps you could change to runlevel 1 and back? That'd do it pretty easily.
    Linux user #126863 - see http://linuxcounter.net/

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,392
    init 1 is fine, just make sure you either have
    a) local access to the box or
    b) a network-enabled kvm attached or
    c) some sort of out-of-band remote management
    You must always face the curtain with a bow.

Posting Permissions

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