Как восстановить запуск служб systemd-sysctl.service и systemd-vconsole-setup в Centos 7?
centos-7-amd64 стоит на VDS (OpenVZ). Ввожу systemctl list-units, вижу такую ерунду:
* systemd-sysctl.service loaded failed failed Apply Kernel Variables
* systemd-vconsole-setup.service loaded failed failed Setup Virtual Console
Пытаюсь запустить их вручную:
[root@audiophilesoft ~]# service systemd-vconsole-setup start
Redirecting to /bin/systemctl start systemd-vconsole-setup.service
Job for systemd-vconsole-setup.service failed because the control process exited with error code. See «systemctl status systemd-vconsole-setup.service» and «journalctl -xe» for details.
[root@audiophilesoft ~]# service systemd-vconsole-setup status
Redirecting to /bin/systemctl status systemd-vconsole-setup.service
* systemd-vconsole-setup.service — Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-02-02 07:45:16 GMT; 7s ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Process: 32522 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE)
Main PID: 32522 (code=exited, status=1/FAILURE)
Feb 02 07:45:16 audiophilesoft systemd[1]: Starting Setup Virtual Console…
Feb 02 07:45:16 audiophilesoft systemd-vconsole-setup[32522]: Device /dev/tty0 is not a virtual console.
Feb 02 07:45:16 audiophilesoft systemd[1]: systemd-vconsole-setup.service: main process exited, code=exited, status=1/FAILURE
Feb 02 07:45:16 audiophilesoft systemd[1]: Failed to start Setup Virtual Console.
Feb 02 07:45:16 audiophilesoft systemd[1]: Unit systemd-vconsole-setup.service entered failed state.
Feb 02 07:45:16 audiophilesoft systemd[1]: systemd-vconsole-setup.service failed.
[root@audiophilesoft ~]#
[root@audiophilesoft ~]# service systemd-sysctl start
Redirecting to /bin/systemctl start systemd-sysctl.service
Job for systemd-sysctl.service failed because the control process exited with error code. See «systemctl status systemd-sysctl.service» and «journalctl -xe» for details.
[root@audiophilesoft ~]# service systemd-sysctl status
Redirecting to /bin/systemctl status systemd-sysctl.service
* systemd-sysctl.service — Apply Kernel Variables
Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-02-02 07:46:07 GMT; 3s ago
Docs: man:systemd-sysctl.service(8)
man:sysctl.d(5)
Process: 32567 ExecStart=/usr/lib/systemd/systemd-sysctl (code=exited, status=1/FAILURE)
Main PID: 32567 (code=exited, status=1/FAILURE)
Feb 02 07:46:07 audiophilesoft systemd[1]: Starting Apply Kernel Variables…
Feb 02 07:46:07 audiophilesoft systemd-sysctl[32567]: Failed to write '16' to '/proc/sys/kernel/sysrq': Permission denied
Feb 02 07:46:07 audiophilesoft systemd-sysctl[32567]: Failed to write '1' to '/proc/sys/kernel/core_uses_pid': Permission denied
Feb 02 07:46:07 audiophilesoft systemd[1]: systemd-sysctl.service: main process exited, code=exited, status=1/FAILURE
Feb 02 07:46:07 audiophilesoft systemd[1]: Failed to start Apply Kernel Variables.
Feb 02 07:46:07 audiophilesoft systemd[1]: Unit systemd-sysctl.service entered failed state.
Feb 02 07:46:07 audiophilesoft systemd[1]: systemd-sysctl.service failed.
Что это за баги и как их исправить?
* systemd-sysctl.service loaded failed failed Apply Kernel Variables
* systemd-vconsole-setup.service loaded failed failed Setup Virtual Console
Пытаюсь запустить их вручную:
[root@audiophilesoft ~]# service systemd-vconsole-setup start
Redirecting to /bin/systemctl start systemd-vconsole-setup.service
Job for systemd-vconsole-setup.service failed because the control process exited with error code. See «systemctl status systemd-vconsole-setup.service» and «journalctl -xe» for details.
[root@audiophilesoft ~]# service systemd-vconsole-setup status
Redirecting to /bin/systemctl status systemd-vconsole-setup.service
* systemd-vconsole-setup.service — Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-02-02 07:45:16 GMT; 7s ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Process: 32522 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=1/FAILURE)
Main PID: 32522 (code=exited, status=1/FAILURE)
Feb 02 07:45:16 audiophilesoft systemd[1]: Starting Setup Virtual Console…
Feb 02 07:45:16 audiophilesoft systemd-vconsole-setup[32522]: Device /dev/tty0 is not a virtual console.
Feb 02 07:45:16 audiophilesoft systemd[1]: systemd-vconsole-setup.service: main process exited, code=exited, status=1/FAILURE
Feb 02 07:45:16 audiophilesoft systemd[1]: Failed to start Setup Virtual Console.
Feb 02 07:45:16 audiophilesoft systemd[1]: Unit systemd-vconsole-setup.service entered failed state.
Feb 02 07:45:16 audiophilesoft systemd[1]: systemd-vconsole-setup.service failed.
[root@audiophilesoft ~]#
[root@audiophilesoft ~]# service systemd-sysctl start
Redirecting to /bin/systemctl start systemd-sysctl.service
Job for systemd-sysctl.service failed because the control process exited with error code. See «systemctl status systemd-sysctl.service» and «journalctl -xe» for details.
[root@audiophilesoft ~]# service systemd-sysctl status
Redirecting to /bin/systemctl status systemd-sysctl.service
* systemd-sysctl.service — Apply Kernel Variables
Loaded: loaded (/usr/lib/systemd/system/systemd-sysctl.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2016-02-02 07:46:07 GMT; 3s ago
Docs: man:systemd-sysctl.service(8)
man:sysctl.d(5)
Process: 32567 ExecStart=/usr/lib/systemd/systemd-sysctl (code=exited, status=1/FAILURE)
Main PID: 32567 (code=exited, status=1/FAILURE)
Feb 02 07:46:07 audiophilesoft systemd[1]: Starting Apply Kernel Variables…
Feb 02 07:46:07 audiophilesoft systemd-sysctl[32567]: Failed to write '16' to '/proc/sys/kernel/sysrq': Permission denied
Feb 02 07:46:07 audiophilesoft systemd-sysctl[32567]: Failed to write '1' to '/proc/sys/kernel/core_uses_pid': Permission denied
Feb 02 07:46:07 audiophilesoft systemd[1]: systemd-sysctl.service: main process exited, code=exited, status=1/FAILURE
Feb 02 07:46:07 audiophilesoft systemd[1]: Failed to start Apply Kernel Variables.
Feb 02 07:46:07 audiophilesoft systemd[1]: Unit systemd-sysctl.service entered failed state.
Feb 02 07:46:07 audiophilesoft systemd[1]: systemd-sysctl.service failed.
Что это за баги и как их исправить?
Похожие публикации
Cron на выделенном сервере
Помогите решить задачу по серверу.
CentOS 5.x 6.x выбор репозиториев Remi/Atomic/CentosALT?
CentOS 6.5: нужно писать логи internal-sftp и sshd в разные файлы
В чем может быть проблема с koji в CentOS 7?
Нет комментариев