- Plesk for Linux
Operating system on the server is RHEL7 or CentOS7.
Mail log file
is empty and does not get updated when mail is sent/received on the server.
does not get updated when a user connects to the server.
POP/IMAP statistics are shown empty or incorrect on any domain in Plesk Panel.
File descriptors for maillog are not present in
# ps aux | grep syslog
root 2524 0.0 0.0 105372 1320 ? Sl 00:46 0:00 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5
root 2878 1.0 0.0 103248 840 pts/3 S+ 00:47 0:00 grep syslog
# ls -l /proc/2524/fd
lr-x------ 1 root root 64 Oct 12 00:48 0 -> /proc/kmsg
l-wx------ 1 root root 64 Oct 12 00:48 1 -> /var/log/messages
lrwx------ 1 root root 64 Oct 12 00:48 2 -> socket:
RHEL/CentOS bug 1088021 .
As a workaround do the following:
- Connect to the server over SSH.
Check configuration file
/etc/rsyslog.conf. The following line should not be commented. If the line is commented, uncomment it (remove # at the beginning of the line):
$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)
Make sure that mail log is configured as follows:
Remove the file
Comment the line
"$OmitLocalLogging on" in the file
# cat /etc/rsyslog.conf | grep OmitLocalLogging
# systemctl restart rsyslog.service