Sounds like the lock files might have screwed things up. I'd make sure there's no unison running, then remove all the lock files on both sides.

On 04/19/2011 10:17 AM, Scott Hughes wrote:
*From:*Jake Vickers [mailto:[email protected]]
*Sent:* Tuesday, April 19, 2011 10:02 AM
*To:* [email protected]
*Subject:* Re: [qmailtoaster] Replication

On 04/18/2011 04:57 PM, Scott Hughes wrote:

# */10 * * * * root /usr/local/sbin/sync-qmail >/dev/null 2>/dev/null

*/10 * * * * root /usr/local/sbin/sync-qmail



I just got an email from cron on my postmaster account that reads:

“/bin/sh: root: command not found”



And when you remove "root" from your crontab, does it run then? I do not
believe I showed entering the user in the video.
When you run the command manually does it run through?

Jake,

It started running overnight. I have no idea why. Now I get this in my
postmaster account:

Fatal error: Warning: the archives are locked.

If no other instance of unison is running, the locks should be removed.

The file /.unison/lk08f63893a0728fbfdd39fa79e294763c on host
mail.renshawauto.net

should be deleted

The file /root/.unison/lk08f63893a0728fbfdd39fa79e294763c on host

mail.renshawauto.net should be deleted

Please delete lock files as appropriate and try again.

And

Fatal error: Warning: inconsistent state.

The archive file is missing on some hosts.

For safety, the remaining copies should be deleted.

    Archive ar4c0a723e6e176a659efdb1e93a4dc3a1 on host mail.renshawauto.net is 
MISSING

    Archive ar4c0a723e6e176a659efdb1e93a4dc3a1 on host mail.renshawauto.net 
should be

DELETED

Please delete archive files as appropriate and try again.

If I run it at the command line (as root) it runs just fine.

Thanks,

Scott



--
-Eric 'shubes'


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
     If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
    Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
    For additional commands, e-mail: [email protected]


Reply via email to