自从升级到引入 systemd 的 Debian 8 (Jessie) 后,我的系统日志错误中出现了这篇文章的标题。
远程 ssh 登录开始
10:33:51 pap1 systemd[1]: Starting user-0.slice.
10:33:51 pap1 systemd[1]: Created slice user-0.slice.
10:33:51 pap1 systemd[1]: Starting User Manager for UID 0...
10:33:51 pap1 systemd[1]: Starting Session 23 of user root.
10:33:51 pap1 systemd[1]: Started Session 23 of user root.
10:33:51 pap1 systemd[12228]: Failed to make us a subreaper: Invalid argument
10:33:51 pap1 systemd[12228]: Perhaps the kernel version is too old (< 3.4?)
10:33:51 pap1 systemd[12228]: Starting Paths.
10:33:51 pap1 systemd[12228]: Reached target Paths.
10:33:51 pap1 systemd[12228]: Starting Timers.
10:33:51 pap1 systemd[12228]: Reached target Timers.
10:33:51 pap1 systemd[12228]: Starting Sockets.
10:33:51 pap1 systemd[12228]: Reached target Sockets.
10:33:51 pap1 systemd[12228]: Starting Basic System.
10:33:51 pap1 systemd[12228]: Reached target Basic System.
10:33:51 pap1 systemd[12228]: Starting Default.
10:33:51 pap1 systemd[12228]: Reached target Default.
10:33:51 pap1 systemd[12228]: Startup finished in 19ms.
10:33:51 pap1 systemd[1]: Started User Manager for UID 0.
客户端正常连接,客户端没有错误。
现在退出远程 ssh 客户端后...
10:33:55 pap1 systemd[1]: Stopping User Manager for UID 0...
10:33:55 pap1 systemd[12228]: Stopping Default.
10:33:55 pap1 systemd[12228]: Stopped target Default.
10:33:55 pap1 systemd[12228]: Stopping Basic System.
10:33:55 pap1 systemd[12228]: Stopped target Basic System.
10:33:55 pap1 systemd[12228]: Stopping Paths.
10:33:55 pap1 systemd[12228]: Stopped target Paths.
10:33:55 pap1 systemd[12228]: Stopping Timers.
10:33:55 pap1 systemd[12228]: Stopped target Timers.
10:33:55 pap1 systemd[12228]: Stopping Sockets.
10:33:55 pap1 systemd[12228]: Stopped target Sockets.
10:33:55 pap1 systemd[12228]: Starting Shutdown.
10:33:55 pap1 systemd[12228]: Reached target Shutdown.
10:33:55 pap1 systemd[12228]: Starting Exit the Session...
10:33:55 pap1 systemd[12228]: Received SIGRTMIN+24 from PID 12248 (kill).
10:33:55 pap1 systemd[1]: Stopped User Manager for UID 0.
10:33:55 pap1 systemd[1]: Stopping user-0.slice.
10:33:55 pap1 systemd[1]: Removed slice user-0.slice.
系统详情
我正在运行的内核是当前的 Debian 内核,3.16.0-4-686-pae(即 >3.4)。
任何想法这个问题是什么,是否严重,我能阻止它吗?
答案在日志输出的下一行:
10:33:51 pap1 systemd[12228]: Failed to make us a subreaper: Invalid argument 10:33:51 pap1 systemd[12228]: Perhaps the kernel version is too old (< 3.4?)
你的内核太旧了。