• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk restore failures

A

axxs

Guest
I have had a client use the backup utility through the web to backup their account, which includes one domain.

Trying to restore the account, we get this error and an empty domain (thru the web, #### for privacy) :

Details
Client ###### has been restored.
Error log


Failed deployment of domain ########.com



Execution of /usr/local/psa/admin/plib/backup/backup-object-manager.php --reset-domain ########.com failed with return code 1.
Stderr is

mailmng failed: mailmng: Unable to check directory entry 1132529187.M560459P18045V0000000000000303I0054850B_2.#######.com.au,S=1674:2,: Input/output error

System error 5: Input/output error


and from the command line there appears no error, as if the restore worked fine, but still the domain of the client is empty, and not setup. 17meg where the backup file is 95meg .. and no entry in the users home directory
 
trying to delete domain gives PleskFatalException

ERROR: PleskFatalException
Add To FavoritesAdd To Favorites
Up LevelUp Level
mailmng failed: mailmng: Unable to check directory entry 1132529187.M560459P18045V0000000000000303I0054850B_2.XXXXXX.com.au,S=1674:2,: Input/output error

System error 5: Input/output error

0: /usr/local/psa/admin/plib/common_func.php3:153
psaerror(string 'mailmng failed: mailmng: Unable to check directory entry 1132529187.M560459P18045V0000000000000303I0054850B_2.XXXXXX.com.au,S=1674:2,: Input/output error System error 5: Input/output error')
1: /usr/local/psa/admin/plib/class.DSMail.php:231
DSMail->delete(boolean false)
2: /usr/local/psa/admin/plib/class.PhDomain.php:360
PhDomain->reset(integer '0', boolean true, boolean false)
3: /usr/local/psa/admin/plib/class.BsDomain.php:297
BsDomain->reset(integer '0')
4: /usr/local/psa/admin/plib/class.BsDomain.php:291
BsDomain->delete(integer '0')
5: /usr/local/psa/admin/plib/class.BsDomain.php:530
mdeleteDomains(array)
6: /usr/local/psa/admin/plib/class.Manager.php:353
Manager->removeDomains(array)
7: /usr/local/psa/admin/htdocs/domains/domains.php3:209
 
Input/output error is not good... you might have a crashed partition. Try a reboot (shutdown -r now)
 
The actual file (an email) I removed from the filesystem and this get's past the error.

now I have something different, it says :

Details
Client XXXXXXXXXX has been restored.
Error log
domain XXXXXXX.com

mailname admin@XXXXXXXX.com



Execution of /usr/local/psa/admin/plib/api-cli/spamassassin.php --update admin@XXXXXXX.com -status false -hits 7 -reject-spam false -modify-subj-text \*\*\*\*\*SPAM\*\*\*\*\* failed with return code 1.
Stderr is
Spamfilter is not installed

mailname fiona@XXXXXXXXXX.com

Execution of /usr/local/psa/admin/plib/api-cli/spamassassin.php --update fiona@XXXXXXXX.com -status false -hits 7 -reject-spam false -modify-subj-text \*\*\*\*\*SPAM\*\*\*\*\* failed with return code 1.
Stderr is
Spamfilter is not installed


I have the (latest) 4psa product installed Spam Guardian, so spamassassin is off ...

the restore brings back the domain, but it's totally empty :|
 
interesting .. a full backup of the server minus the problem client account ie :

/usr/local/psa/bin/pleskbackup -v clients --exclude PROBLEMCLIENT full_client_backup_no_PROBLEMCLIENT

has an error at stage 2 :

Phase 2/2: packing data
/bin/tar: : Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors
/bin/tar: : Cannot stat: No such file or directory
/bin/tar: Error exit delayed from previous errors


root@######.com.au:~ # ls /bin/tar
/bin/tar

it exists, so not sure whats the issue

hmmm :\
 
Sorry, I'm just trying out the new Plesk 8.1 backup utility myself. Hopefully when it comes time to restore I don't have that problem. Did you use the docs here? Have you thought about contacting SWsoft support directly? I think they will usually answer such issues free.

Regards
 
thanks so much dw604 for your help and attention on this, I will do as you say, and really appreciate the time you have spent.

After removing the problem email, the sites back up, what concerns me is as you say, a possible hardware issue.

Thanks again dw604, I owe you a beer for your help (or whatever is your poison of choice ;)

I am trying a backup before rebooting (nothing like a server that doesn't come back up, and no recent (even if 'corrupted') backup, and contacting SWsoft. I'll report back with my findings.

thanks again!
 
Back
Top