• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

error: stat of /var/log/maillog failed: No such file or directory

M

Mike Aushana

Guest
Hi, I'm running Plesk 10.2 and every few days I get the following error message emailed to me:

error: stat of /var/log/maillog failed: No such file or directory

Can someone shed some light on this error as I've looked everywhere for an answer but nothing seems to work. Any help to get this newbie around this error is appreciated.

Thank you,

Mike
 
You can just create this missing file with

# touch /var/log/maillog
# chmod 600 /var/log/maillog
# chown root:root /var/log/maillog
 
Hi IgorG,

Thank you for the reply. I will try this change and let you know if I get the email again. Is there a way to check if everything is working ok after running these commends? I should have mentioned that I'm running Plesk on CentOS 5.

Thank you,

Mike
 
It is just commands for creation missing file with correct permissions. You shouldn't receive mentioned emails with errors when this file will be created.
 
Hi IgorG,

I ran the commands yesterday and no email today. So it looks like it's working. But I will keep an eye on it in case I do get that email again.

Thank you,

Mike
 
Back
Top