Using Debian 6.0. reboot/halt/shutdown does nothing except announcing the shutdown and halt the ssh session that issued the command.

But beyond that it really did nothing. Among the things it did not do are:

- no process are killed or terminated. None of mysql, apache, cron daemons
  are shut down, and the website it serves keeps online just fine.
- although the ssh session whence the command issued is halted, I can still
  login with a new ssh session.
- last(1) and uptime(1) doesn't remember having any shutdown.

The only thing I can find that prooves I issued shutdown is a one-line messages like this in /var/log/messages:
Feb 17 07:55:30 localhost shutdown[11212]: shutting down for system halt

Or this:
Feb 17 07:54:24 localhost shutdown[11084]: shutting down for system reboot

The problem is reproducible: if I unplug the power, and start again, it predictablly fail to shutdown / reboot.

It is extremely difficult to google for a solution, since "debian cannot reboot" gives all sorts of different problems that are not like this one. Adding search keywords like '/var/log/messages', 'init daemon' etc didn't help.

The manual of shutdown, halt, reboot and init give little information on troubleshooting or how it works internally (for me to start tracing the problem), only explained how it is supposed to be commanded.

I've been an sysop for debian hosts for 6 years, and sysop of other distributions for 10 years, it surprised myself that after so many years I still found clueless occassions.

I also thought of replacing init daemon with something else, and realized systemd wasn't in Debian 6.0.

Thanks a lot for hints and help!


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/alpine.DEB.2.10.1402171629080.2666@lyonesse

Reply via email to