0
I'm using a centos 7 OS,
I have removed /var/run/dbus/system_bus_socket
after i accidently removed the /var/run
folder.
Now when i'm trying to use systemctl
command i'm getting the error mentioned above.
Note that i'm connecting to this machine using SSH.
So i have two questions:
- Is there a way to recover the deleted files and particularly the
system_bus_socket
? - Does rebooting the machine recover the files. (because i'm afraid that after rebooting, the systemctl won't be able to start the services or i won't be able to connect with SSH)?