Koozali.org: home of the SME Server

Delayed shutdown switch to Single Mode?

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Delayed shutdown switch to Single Mode?
« on: June 28, 2010, 07:53:41 AM »
Hello@ALL

why do sme runs command #shutdown -t -h 5
into Single Mode? any reasons?

thanks
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Delayed shutdown switch to Single Mode?
« Reply #1 on: June 28, 2010, 04:02:26 PM »
why do sme runs command #shutdown -t -h 5
into Single Mode? any reasons?

You don't give us much information as to why you are asking this question.

AFAIK, SME server does not run the command "shutdown -t -h 5". Why do you think that it does?

What problem are you trying to solve?

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Delayed shutdown switch to Single Mode?
« Reply #2 on: June 28, 2010, 06:38:52 PM »
Hello Charlie,

thanks for reply, if i login into my soccerteam servers for some service via ssh
i tried to shutdown a server after 60 minutes i send /sbin/shutdown -t -h 60 to switch off
the server after i logged out. On other linux systems the init-service wait 60 min before the
server swith off, but sme sends after 60min a "init 1" signal instead of "init 0" don't know why..
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Delayed shutdown switch to Single Mode?
« Reply #3 on: June 28, 2010, 07:55:01 PM »
thanks for reply, if i login into my soccerteam servers for some service via ssh
i tried to shutdown a server after 60 minutes i send /sbin/shutdown -t -h 60 to switch off
the server after i logged out. On other linux systems the init-service wait 60 min before the
server swith off, but sme sends after 60min a "init 1" signal instead of "init 0" don't know why..

If you think SME server is doing something which it shouldn't be doing, then please open a bug report.

If you do so, please explain or show exactly what you are seeing. For instance, I don't know what you mean by 'sme sends ...a "init 1" signal' - what did you actually see (on the console, or in logs, for instance).

Offline linuxhelp

  • *
  • 173
  • +0/-0
    • Linux PC & Server Support
Re: Delayed shutdown switch to Single Mode?
« Reply #4 on: June 28, 2010, 09:42:18 PM »
..reported as bug, cause the SME Server does not switch off clean, seems to make a init 1 and hangs at Single-User-Login.
Linux PC & Server Support
http://www.linuxonlinehelp.de
.. i Love SME..

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Delayed shutdown switch to Single Mode?
« Reply #5 on: June 29, 2010, 02:50:04 PM »
..reported as bug, cause the SME Server does not switch off clean, seems to make a init 1 and hangs at Single-User-Login.

Your problem is that you are using invalid command syntax. Use "shutdown -h 60".