I'm experience a problem in Ubuntu. I guess since last update, I've lost the /dev/log symlink.

something like:

/dev/log -> /run/systemd/journal/dev-log=

How can i recreate it?

For example:

update-grub --> logger: socket /dev/log: No such file or directory logger: socket /dev/log: No such file or directory

How can I solve it?

Since the /dev file system is created and populated at boot, the easiest way to restore /dev/log is to reboot the system in question.

Alternatively, if it was indeed a symbolic link, you know its former target and the target still exists, you can recreate it with:

sudo ln -s /run/systemd/journal/dev-log /dev/log
  • ls /dev/log ls: cannot access '/dev/log': Too many levels of symbolic links , after this, i've created the symlink...it seems ok now! thanks David! – Silence Nov 18 '16 at 14:10

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.