Estoy intentando reiniciar httpd pero aparece el siguiente error
$ systemctl restart httpd
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Tras la investigación, supe que se trataba de un problema de dbus, intenté descansar dbus pero obtuve el mismo error que el anterior. Al verificar /var/log/messages, obtengo los siguientes errores:
<info> [1559812709.0738] bus-manager: could not connect to the system bus (Could not connect: No such file or directory); only the private D-Bus socket will be available
Jun 6 14:48:32 db1 NetworkManager[329115]: <info> [1559812712.0731] bus-manager: could not connect to the system bus (Could not connect: No such file or directory); only the private D-Bus socket will be available
$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
Notas: /var
y /
está en la misma partición, tampoco puedo reiniciar NetworkManager
Respuesta1
Tuve el mismo problema al borrar /var/run
por error.
Resuelto recreando el enlace:
ln -s /run/dbus /var/run/dbus