我在OVH运行的kimsufi服务器运行了一个proxmox 2.3和一个ipfailover当我启动服务器在网络上时;另一方面,如果我启动网络和/或apache2,我的容器CT OpenVZ debian 7会出错:
vzctl enter 100
/etc/init.d/networking restart
Restarting networking (via systemctl): networking.service Failed to get D-Bus connection: No such file or directory
/etc/init.d/apache2 restart
Restarting apache2 (via systemctl): apache2.serviceFailed to get D-Bus connection: No such file or directory
with ping google.com i have :
ping: unknown host google.com
你有个主意吗?谢谢你的帮助
Debian是一个系统控制的操作系统。在容器中,默认情况下PID-1上没有systemd守护程序。
旧的init-scripts“restart”被转发到“systemctl restart”,systemctl想要与systemd守护进程通信。这就是错误消息的来源。
解决方案是