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…
4 replies on “Plesk Prelink Cron error”
thanks,
makes sense, if there is no folder it cant create the file in it.
Rainer
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
Glad it helped! Thanks for the comment.
Thanks for the info! I had same issue with plesk 10.3 again on 1&1 – I re-imaged the server but it didn’t automatically create the dir.
Cheers
Col