Categories
Linux Plesk

Plesk Prelink Cron error

I found that we had been getting this error every morning since updating the Plesk server to 9.3 :

Cron <root@plesk3> run-parts /etc/cron.daily
/etc/cron.daily/prelink:
/etc/cron.daily/prelink: line 45: /var/log/prelink/prelink.log: No such file or directory
/etc/cron.daily/prelink: line 46: /var/log/prelink/prelink.log: No such file or directory
/etc/cron.daily/prelink: line 47: /var/log/prelink/prelink.log: No such file or directory

The odd thing is that the /var/log/prelink/ folder does not seem to have been created during the upgrade process, and the cron cannot create the folder automatically. Simple fix – SSH into your server and create the folder manually

mkdir /var/log/prelink

Let me know in the comments if this has helped you out…

By Mik Canavan

I'm a tech obsessed and self-confessed geek. As the Technical Director at Fivenines UK, I'm lucky that I get to faf with gadgets, design websites and fix servers...

4 replies on “Plesk Prelink Cron error”

Dear Mik,

Thanks for posting this fix. I was getting the same message after moving Plesk up through the versions 9 and 10 (with 1and1.com as my host) and was not excited about spending time solving it. Your nicely laid out and explanatory note was much appreciated. Thank you!

Charles

Leave a Reply

Your email address will not be published. Required fields are marked *