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
/dev/logis a symbolic link to/run/systemd/journal/dev-log(b)/run/systemd/journal/dev-logis a socket. According to en.wikipedia.org/wiki/Systemd#Adoption RHEL 7 will also be using systemd. What problem is caused by having/dev/loga socket as opposed to a symbolic link to a a socket?