Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: linuxhelp on June 28, 2010, 07:53:41 AM

Title: Delayed shutdown switch to Single Mode?
Post by: linuxhelp 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
Title: Re: Delayed shutdown switch to Single Mode?
Post by: CharlieBrady 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?
Title: Re: Delayed shutdown switch to Single Mode?
Post by: linuxhelp 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..
Title: Re: Delayed shutdown switch to Single Mode?
Post by: CharlieBrady 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).
Title: Re: Delayed shutdown switch to Single Mode?
Post by: linuxhelp 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.
Title: Re: Delayed shutdown switch to Single Mode?
Post by: CharlieBrady 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".