No systemctl after update centos 7 [message #52282] |
Wed, 16 December 2015 20:32 |
ku990
Messages: 3 Registered: December 2015 Location: aici
|
Junior Member |
|
|
i have cron with " yum update -y " every day at 00:00 .
this is ok for few monts but today a have a big problem .
PROBLEM:
[root@host /]# systemctl status
Failed to get D-Bus connection: No such file or directory
============
|
|
|
|
Re: No systemctl after update centos 7 [message #52285 is a reply to message #52282] |
Fri, 25 December 2015 19:20 |
zvv2
Messages: 4 Registered: January 2010
|
Junior Member |
|
|
Try to update kernel.
Problem fixed in 042stab094.7
h ttps://wiki.openvz.org/Download/kernel/rhel6/042stab094.7
ms/hrtimer: Backport CLOCK_BOOTTIME feature, needed for latest systemd (#2937)
My tests:
[root@111 /]# uname -srv
Linux 2.6.32-042stab111.12 #1 SMP Thu Sep 17 11:38:20 MSK 2015
[root@111 /]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@111 /]# yum -y update
[root@111 /]# cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
and after restart ve:
[root@111 /]# ps axufww
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 41120 3580 ? Ss 14:10 0:00 init -z
root 2 0.0 0.0 0 0 ? S 14:10 0:00 [kthreadd/111]
root 3 0.0 0.0 0 0 ? S 14:10 0:00 \_ [khelper/111]
root 66 0.0 0.0 34776 1672 ? Ss 14:10 0:00 /usr/lib/systemd/systemd-udevd
root 70 0.0 0.0 36764 3044 ? Ss 14:10 0:00 /usr/lib/systemd/systemd-journald
root 105 0.0 0.0 24224 1536 ? Ss 14:10 0:00 /usr/lib/systemd/systemd-logind
root 108 0.0 0.1 226084 5060 ? Ss 14:10 0:00 /usr/sbin/httpd -DFOREGROUND
apache 144 0.0 0.0 226084 2656 ? S 14:10 0:00 \_ /usr/sbin/httpd -DFOREGROUND
root 112 0.0 0.0 82500 3596 ? Ss 14:10 0:00 /usr/sbin/sshd -D
dbus 115 0.0 0.0 26412 1612 ? Ss 14:10 0:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 117 0.0 0.0 27272 704 ? Ss 14:10 0:00 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid
root 119 0.0 0.0 71276 984 ? Ss 14:10 0:00 /usr/sbin/saslauthd -m /run/saslauthd -a pam -n 2
root 127 0.0 0.0 71276 716 ? S 14:10 0:00 \_ /usr/sbin/saslauthd -m /run/saslauthd -a pam -n 2
root 120 0.0 0.0 234040 2948 ? Ssl 14:10 0:00 /usr/sbin/rsyslogd -n
root 145 0.0 0.0 6404 816 tty1 Ss+ 14:10 0:00 /sbin/agetty --noclear --keep-baud console 115200 38400 9600 vt220
root 146 0.0 0.0 22748 1524 ? Ss 14:10 0:00 /usr/sbin/crond -n
root 147 0.0 0.0 6404 812 tty2 Ss+ 14:10 0:00 /sbin/agetty --noclear tty2 linux
root 172 0.0 0.0 90276 2288 ? Ss 14:10 0:00 sendmail: accepting connections
smmsp 218 0.0 0.0 85712 1996 ? Ss 14:10 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 381 0.0 0.0 27560 756 ? Ss 14:10 0:00 vzctl: pts/0
root 382 0.0 0.0 11724 1868 pts/0 Ss 14:10 0:00 \_ -bash
root 427 0.0 0.0 35836 1452 pts/0 R+ 14:15 0:00 \_ ps axufww
[Updated on: Fri, 25 December 2015 19:23] Report message to a moderator
|
|
|
Re: No systemctl after update centos 7 [message #52286 is a reply to message #52285] |
Fri, 25 December 2015 21:06 |
ku990
Messages: 3 Registered: December 2015 Location: aici
|
Junior Member |
|
|
[root@ct reparare]# systemctl
Failed to get D-Bus connection: No such file or directory
[root@ct reparare]# rpm -i vzkernel-2.6.32-042stab103.5.src.rpm
warning: vzkernel-2.6.32-042stab103.5.src.rpm: Header V4 DSA/SHA1 Signature, key ID a7a1d4b6: NOKEY
[root@ct reparare]# reboot -f
got signal 9
exited from CT 100
root@Dedicat:/hdd/private/100/reparare# vzctl enter 100
entered into CT 100
[root@ct /]# uname -r
2.6.32-32-pve
[root@ct /]# systemctl start network
Failed to get D-Bus connection: No such file or directory
[root@ct /]#
042stab094.7 - can`t download ( 404 not found )
please help me ..
[Updated on: Fri, 25 December 2015 21:07] Report message to a moderator
|
|
|
|
|
Re: No systemctl after update centos 7 [message #52334 is a reply to message #52282] |
Fri, 26 February 2016 20:43 |
puravida
Messages: 6 Registered: September 2015 Location: USA
|
Junior Member |
|
|
For posterity and others having the same issue, I am updating with research.
I found a thread (in French) in the softpedia forum on this issue. I cannot post the link because I have too few posts in this forum.
It suggests that my OpenNode kernel is too far out-of-date to support the systemd(219) running CentOS 7.2. Hopefully an update will correct that. Will report back.
[Updated on: Fri, 26 February 2016 20:43] Report message to a moderator
|
|
|
|
|
|
|