Estou tentando reiniciar o httpd, mas recebo o erro abaixo
$ systemctl restart httpd
Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)
Após investigação, descobri que é um problema de dbus, tentando rest dbus, mas obtendo o mesmo erro acima. Ao verificar /var/log/messages, estou recebendo os erros abaixo:
<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
e /
está na mesma partição, também não consigo reiniciar o NetworkManager
Responder1
Eu tive o mesmo problema ao excluir /var/run
por engano.
Resolvido recriando o link:
ln -s /run/dbus /var/run/dbus