几个月前,我访问了一台安装了 Debian 8 Jessie 的 VPS。 对我来说奇怪的是,在执行一些操作后(比如服务 [stop|start|restart],debian 没有通知我(例如:重新启动 nginx:nginx,就像旧的 debian 7 wheezy)。 昨天,我在我的虚拟机上安装了 Debian 8 Jessie,但“错误”仍然存在。 我应该安装一些额外的库,还是设置它们? 提前致谢。
最佳答案
Debian 现在使用 systemd
。
systemctl start example1
调查为什么 systemd
在启动或重启/关机时挂起。
通过 cmdline 增加详细程度:添加“systemd.log_target=kmsg systemd.log_level=debug”
[ /etc/default/grub ]
GRUB_CMDLINE_LINUX="systemd.log_target=kmsg systemd.log_level=debug" <--- Add here (by uncommenting you can easily switch to debug)
# update-grub
关于linux - debian8 在重启/停止/启动后没有响应,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33279747/