man syslog-ng wrote:
Typically messages are sent to syslog-ng via a Unix domain socket (/dev/log) ... To receieve messages from the kernel, /dev/klog is opened for reading.
After removing syslog-ng from the default runlevel and removing /dev/log before rebooting, it looks like (at least in gentoo), the socket is created by syslog-ng at startup:
Code:
# ls -l /dev/log
ls: cannot access /dev/log: No such file or directory
# /etc/init.d/syslog-ng start
* Starting syslog-ng ... [ ok ]
# ls -l /dev/log
srw-rw-rw- 1 root root 0 Mar 23 19:40 /dev/log
#
So for the OP, I would say that a missing /dev/log might just be a symptom, and syslog-ng isn't starting up for some other reason. Is there anything related to syslog-ng showing in the boot messages shown on the LISH console?
EDIT:
OK, I see that /dev/log is defined in the syslog-ng.conf file. Do you still have something like this in your syslog-ng.conf?
Code:
source src {
unix-stream("/dev/log" max-connections(256));
internal();
file("/proc/kmsg");
};