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…