SuSE Cron Won't start stats service All,
I am running Release 4.5.11_GA_1751.SuSE10_20080128132723 SuSE10 FOSS edition
I have created a script that you see below to rsync my zimbra install to a external usb drive. For some reason the stats service will not start up when running this with cron but all the other services startup. I have posted a copy of the script below along with the status that shows up after the backup. If I run zmcontrol stop and start from the CLI all services start and stop like they should.
Any Ideas?
#!/bin/bash
sudo -u zimbra /opt/zimbra/bin/zmcontrol stop
sleep 30
echo "Zimbra Stopped"
rsync -avHK --delete /opt/zimbra/ /media/usbdisk/
echo "Zimbra Syncd"
sudo -u zimbra /opt/zimbra/bin/zmcontrol start
echo "Zimbra Started1"
sudo -u zimbra /opt/zimbra/bin/zmcontrol status
echo "Finsihed Backing Up Mail"
antispam Running
antivirus Running
ldap Running
logger Running
mailbox Running
mta Running
snmp Running
spell Running
stats Stopped |