I am attempting to move from an older qmailtoaster installation on one machine to a new machine running the iso-current installation.

I believe that I am using the latest qtp-backup script on the old installation and the latest qtp-restore script on the new machine.

Here is the result:

home/vpopmail/domains/.quotawarn.msg

Restoring spamassassin files
.spamassassin/
.spamassassin/bayes_toks
.spamassassin/auto-whitelist
.spamassassin/bayes_seen
.spamassassin/bayes_journal
.spamassassin/bayes_toks.expire5240
Performing permission/sanity check on spamassassin files

chmod: cannot access `/home/vpopmail/.spamassassin/user_prefs': No such file or directory

./qtp-restore: line 109: syntax error near unexpected token `fi'
./qtp-restore: line 109: `fi'

Then the restore script dies.

Suggestions?

Regards, Steve Slowik




Jake Vickers wrote:
Kisakye Alex wrote:

Am restoring my toaster after a power failure, however am getting the following error and I can see the spamassassin tar archive in /root

----

Restoring spamassassin files

tar: *-spamassassin-files.tar.bz2: Cannot open: No such file or directory

tar: Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error exit delayed from previous errors

mv: cannot stat `.spamassassin': No such file or directory

Performing permission/sanity check on spamassassin files

chown: cannot access `/home/vpopmail/.spamassassin': No such file or directory

chmod: cannot access `/home/vpopmail/.spamassassin/*': No such file or directory

chmod: cannot access `/home/vpopmail/.spamassassin/user_prefs': No such file or directory

/usr/sbin/qtp-restore: line 108: syntax error near unexpected token `fi'

/usr/sbin/qtp-restore: line 108: `fi'

The script on the website is fixed now. Typo. It's CD'ing to /home/vpopmail to do some stuff, but never CD'ed back to /root to untar your spamassassin file. You can add the "cd /root" command just before the echo "Restoring spamassassin files" line or download the fixed version off my website (v2gnu.com)
Thanks.


---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to