DISQUS

Tech-Recipes: Reboot a Solaris system | Solaris | Tech-Recipes

  • illumin8 · 6 years ago
    Sync is no longer necessary in any modern version of Unix (Solaris and Linux included). If you're a system administrator, you should learn proper use of the init command, which allows you to change runlevels. Here are a few different uses of init:

    # init 6 - reboots the system
    # init 5 - halts the system (turns power off)
    # init 0 - sends you to runlevel 0, which is the "ok" prompt (OpenBoot PROM)
    # init 1 - sends you to single user mode, useful for installing patches.
  • Anonymous · 5 years ago
    umm.. but I believe

    shutdown -h 5 -g 60 -y

    That will shut it down cleanly and power it off.

    "shutdown" includes sync and all that graceful fun stuff.

    Sincerely
    Craig Fourie
  • Troy · 5 years ago
    Hi anybody,
    can't reboot my E450, sure i'm root . But any of these init 6, reboot, or halt commands returns me (after some seconds) to the shell prompt.

    any idea? thx. Troy
  • flexinfo · 11 months ago
    Try this:

    /sbin/uadmin 2 0

    That will shutdown the node without the execution of the init kill scripts...

    btw what version of solaris / kernal patch level are your using?
  • Anonymous · 5 years ago
    Hopefully you've sorted this by now, but use shutdown -i6 -g0 -y to reboot if none of the others work, though I can't think why they shouldn't.