/dev/log is a socket not a symbolic link
0
votes
0
answers
62
views
I am trying to understand why one of my system has /dev/log as a socket and other has /dev/log as a symbolic link.
[ec2-user@ip-171-31-12-17 log]$ file /dev/log
/dev/log: symbolic link to /run/systemd/journal/dev-log
[ec2-user@ip-171-31-12-18 log]$ file /dev/log
/dev/log: socket
I have tried checking on other systems and found out most of the RHEL has /dev/log as link not a socket. That means I have to make the other systems /dev/log as a link not socket.
Does journalctl logs appear in /var/log/messages ? when i have /dev/log as socket instead of link.
How do I make things normal ? By the way OS version is RHEL 7.9 for
/dev/log : socket
Asked by Boogeyman
(1 rep)
May 25, 2025, 06:57 AM