Results 1 to 7 of 7
  1. #1
    Untangler geniehost's Avatar
    Join Date
    Jun 2008
    Posts
    72

    Exclamation how to reboot UT safely from ssh

    Hello All,

    Any script or commands to reboot UT safely from SSH terminal?
    I mean what services I have to stop before I issure reboot command!, I believe, it's not safe to issue "reboot" command before stoping some services in UT.

    Yesterday my UT crash because I issue reboot command from ssh

    any advice?
    Last edited by geniehost; 06-23-2009 at 04:26 AM.

  2. #2
    Untangler
    Join Date
    Sep 2008
    Posts
    82

    Default

    well, i use init 0 to shutdown and init 6 to reboot. no idea whether it is safe/not. but normally init 0 shuts down all the services and shutsdown the machine. same with init 6, stops all services, reboot machine and start all services.

  3. #3
    Untangler geniehost's Avatar
    Join Date
    Jun 2008
    Posts
    72

    Default

    Hi and thanks for replay,

    I believe this is not safe way to reboot too, because the init will kill the process will not allow the services to commit the data to the database/hd, and this may cause your UT to crash.

    I believe, we need to stop the UT services one by one, then issue reboot or init 6, in this case we need to know the UT services name so we can make a script to reboot UT safely.

  4. #4
    Newbie
    Join Date
    May 2009
    Posts
    11

    Default Shutdown or Reboot with 'shutdown'

    I believe it is the 'shutdown' command you want. Try 'man shutdown' for details.


    tg

  5. #5
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    'shutdown -r now' or just 'reboot' is fine and safe.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  6. #6
    Untangle Ninja
    Join Date
    Jan 2009
    Posts
    1,186

    Default

    I used nothing more than 'reboot' with ssh 5 or 6 times one day last week messing with an errant snmp deamon, no special magic, been running all this week without issue.

  7. #7
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,553

    Default

    Yeah I always use reboot...

    if you want esoteric you can always do:

    Code:
    init 6
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

Posting Permissions

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

SEO by vBSEO 3.6.0 PL2