Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: ElFroggio on June 14, 2017, 05:08:19 PM
-
Hi,
SME 9.2
To update, I do an ssh, then yum update and after the update, I use:
signal-event post-upgrade; signal-event reboot;exit
It supposed to close my session and restart the server. Until 9.2 it worked. The last couple of 9.2 updates, it didn't and today with the qsmtp update, I checked what I was doing.
- It doesn't work anymore.
- Doing a reconfigure through the web interface doesn't restart the server anymore
I had to get to the console, (swap the monitor cables to have the server screen), alt-ctrl-del to restart the server.
Something as changed. What should I do differently?
Thanks
Syv
-
Nothing changed
I had similar issues in the last but they were temporary
-
Hi,
Does this mean that I will need to reboot from the console for every update?
Thanks
Syv
-
This doesn't help us to help you. What's happening ?
- Doing a reconfigure through the web interface doesn't restart the server anymore
That's expected, the configuration console only reboot the server if needed, when you have changed some settings
-
I would suspect some customization to prevent the reboot to occurs.
personnaly I had no problem with the following on SME9
signal-event post-upgrade; signal-event reboot;exit
To note with SME10 you will not need to add the exit, sshd will kick you cleanly before rebooting.
-
This doesn't help us to help you. What's happening ?That's expected, the configuration console only reboot the server if needed, when you have changed some settings
I don't know what's happening. Which log should I check?
I would suspect some customization to prevent the reboot to occurs.
I don't remember any new customization, at least for the last 6 month. Where can I check?
Thanks
Syv
-
Well, tell us what happens when you run those commands. Maybe it doesn't do anything visible (in which case you should have a look at your logs). But all we know for now is that "it doesn't work"
-
/var/log/messages is the log to check
instead of it does not work.
- what did you do ? "signal-event post-upgrade; signal-event reboot;exit" after update via ssh (correct?)
- what did you expect ?
- what did you obtain or saw ?
- have you tried without the ";exit" ?
-
- have you tried without the ";exit" ?
That shouldn't make any difference.
OP can investigate further by just doing "signal-event reboot" and reporting what he/she sees.
-
Two sme9.2 servers, one a clean install and latest updates, other updated from sme9.1 and latest updates
Minimal contribs
signal-event post-upgrade; signal-event reboot;exit
Both react as expected.
-
Syv
OP can investigate further by just doing "signal-event reboot" and reporting what he/she sees.
OP can also include the path eg
/sbin/e-smith/signal-event reboot
& report back here the outcome