I have a website hosted in DreamHost which seems to be encountering a problem with a Cron job associated with it. The site is run with the Plone CMS and the server often needs to be restarted to help with stability.
Every 24 hours the Cron is supposed to execute and send an email to some technical managers to verify the zope server restart. The cron job commands are:
"/home/USER/Plone-3.2.2/zeocluster/bin/shutdowncluster.sh ; /home/USER/Plone-3.2.2/zeocluster/bin/startcluster.sh ; /home/USER/Plone-3.2.2/zeocluster/bin/client2 stop"
This restarts the zope cluster and stops the second client, leaving the first client with the website running.
Unfortunately, the site sends the email with the following error:
“setlock: fatal: unable to lock /tmp/cronlock.2248061.49608: temporary failure”
The proper response should be “zeoserver: . daemon process stopped
client1: . daemon process stopped
client2: daemon manager not running
zeoserver: . daemon process started, pid=14812
client1: . daemon process started, pid=14828
client2: . daemon process started, pid=14837
. daemon process stopped”
Ok, thats all the info I can think of and I hope its easy to solve