• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Plesk 12.5.30 - restore Backup fail

Boris Uhlig

New Pleskian
Hi there,

having PLESK 12.5.30 Update #27, zuletzt aktualisiert: 30. März 2016 00:20:33 on ‪Ubuntu 14.04.4 LTS‬ and a serious problem.

Set Server to "Factory Defaults" (Strato) and wanted to restore my Backups (7 Wordpress Websites) !!!
Unfortunatelly to no avail ...
So I cant get the server running ...
Any help is urgently and much appreciated
Cheers,
Boris
 
No, only at the end a statement that there had been some warnings (orange background) ... I really dont know why is this ... tested disaster recovery 2 week before when I started this server and it worked fine ... even when I try to restore this "test" backup from 2 weeks ago, the result is: nothing is working!
 
Last edited:
Here's the error log:


WARNING: () The database user name "wordpress_d" is already used by another subscription. The name of the restored database user will be changed to "wordpress_d_b".


WARNING: () The database name "wordpress_9" is already used by another subscription. The name of the restored database will be changed to "wordpress_9_8".


WARNING: (Restore server object '') Execution of /opt/psa/admin/plib/api-cli/init_conf.php --update -country '' -company '' -address '' -zip '' -city '' -fax '' -phone '' -name Administrator -state '' -email [email protected] -ignore-nonexistent-options failed with return code 1.
Stderr is
Cannot update administrator's contact information: You should also specify country when specifying -state or -pcode



WARNING: (Restore domain object 'vita-terra.com') Execution of /opt/psa/admin/plib/api-cli/tomcat.php --update-service vita-terra.com -status domadm -ignore-nonexistent-options failed with return code 1.
Stderr is
Not supported by the license key



WARNING: (Restore domain object 'hanseatic-foundation.com') Internal server error: <cli><failure>Unable to load object of type SysUser with id=20: SysUser: unable to select: no such row in the table</failure></cli>


WARNING: (Restore domain object 'eco-tubolar.com') Execution of /opt/psa/admin/plib/api-cli/domain.php --update eco-tubolar.com -guid 4ced65f5-0bc6-4c95-a52c-1e5d3123ffd0 -creation-date 2016-03-15 -description '' -hosting true -hst_type phys -do-not-apply-skeleton -ip 85.214.137.143 -www-root httpdocs -login buhliget -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: The user buhliget already exists.



WARNING: (Restore domain object 'wp-smart.net') Execution of /opt/psa/admin/plib/api-cli/domain.php --update wp-smart.net -guid c4593b0d-90ab-46c6-bbec-38baa97afac4 -creation-date 2016-02-24 -description '' -hosting true -hst_type phys -do-not-apply-skeleton -ip 85.214.137.143 -www-root httpdocs -login wpsmart -passwd '' -passwd_type sym -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: The user wpsmart already exists.



WARNING: (Restore hosting object 'german-lighting-group.de') Execution of /opt/psa/admin/plib/api-cli/domain.php --update german-lighting-group.de -php_safe_mode false -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
Service plesk-php56-fpm is down after attempt to start it




WARNING: (Restore hosting object 'german-lighting-group.de') Internal server error: <cli><failure>phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action &quot;status&quot; failed.
invoke-rc.d: initscript plesk-php56-fpm, action &quot;status&quot; failed.
Service plesk-php56-fpm is down after attempt to start it
</failure></cli>


WARNING: (Restore hosting object 'german-lighting-group.com') Execution of /opt/psa/admin/plib/api-cli/domain.php --update german-lighting-group.com -php_safe_mode false -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
Service plesk-php56-fpm is down after attempt to start it




WARNING: (Restore hosting object 'german-lighting-group.com') Internal server error: <cli><failure>phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action &quot;status&quot; failed.
invoke-rc.d: initscript plesk-php56-fpm, action &quot;status&quot; failed.
Service plesk-php56-fpm is down after attempt to start it
</failure></cli>


WARNING: (Restore hosting object 'german-lightning.com') Execution of /opt/psa/admin/plib/api-cli/domain.php --update german-lightning.com -hosting true -hst_type phys -do-not-apply-skeleton -www-root german-lightning -cgi true -cgi-mode www-root -ssl true -same_ssl true -err_docs true -maintenance-mode false -certificate-ref f6eea27ec424329d95baac3a4a52b644 -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: Command options error: "-ip" option is required for "-hosting" option



WARNING: (Restore hosting object 'german-lightning.com') Execution of /opt/psa/admin/plib/api-cli/domain.php --update german-lightning.com -php_handler_id plesk-php56-fpm -nginx-serve-php false -ignore-options-dependencies -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
Service plesk-php56-fpm is down after attempt to start it




WARNING: (Restore hosting object 'german-lightning.com') Execution of /opt/psa/admin/plib/api-cli/domain.php --update german-lightning.com -php_safe_mode false -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
Service plesk-php56-fpm is down after attempt to start it




WARNING: (Restore hosting object 'german-lightning.com') Internal server error: <cli><failure>phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action &quot;status&quot; failed.
invoke-rc.d: initscript plesk-php56-fpm, action &quot;status&quot; failed.
Service plesk-php56-fpm is down after attempt to start it
</failure></cli>


WARNING: (Restore hosting object 'german-lightning.com') Failed deployment of domain cloud.german-lightning.com

WARNING: () Internal server error: <cli><failure>Webspace &quot;glg-led.com&quot; does not contains domain &quot;german-lightning.com&quot;</failure></cli>



WARNING: (Restore domain object 'cloud.german-lightning.com') Execution of /opt/psa/admin/plib/api-cli/dns.php --commit-zone cloud.german-lightning.com -ignore-nonexistent-options failed with return code 4.
Stderr is
Requested name is neither domain nor domain alias



WARNING: (Restore hosting object 'rent-a-lamp.com') Execution of /opt/psa/admin/plib/api-cli/domain.php --update rent-a-lamp.com -php_safe_mode false -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain update: An error occurred during changing of hosting settings: phpinimng failed: invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
invoke-rc.d: initscript plesk-php56-fpm, action "status" failed.
Service plesk-php56-fpm is down after attempt to start it



...
 
Hi Boris Uhlig,

please be informed, that Plesk stores dumps at "/var/lib/psa/dumps/" as the standard configuration. I'm pretty sure, that there might be some more dumps/backups, so that you may start over again to restore your databases. Please use


to inform yourself about the procedure.

In addition, a repair or bootstrapper repair procedure is recommended afterwards. :)

 
Hi Boris,
I ran into the same problem on a strato vserver with ubuntu 14.04. Did the restore of the plesk database helped / solved the problem or what has helped?
Best,
c--
 
Hm, despite not being able to restore from backups also I can't migrate from other plesk supported servers since Thursday. Before 3 weeks it was no problem. I thought it was the domain limitation which was 30 included to the key. But still, after upgrading the key also no restore nor a migration.

root@XXX:# /usr/sbin/repquota /
repquota: Cannot stat() mounted device /dev/vzfs: No such file or directory
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.

Execution of /opt/psa/admin/plib/api-cli/domain.php --update xxx.de -guid 6841xxxx47f -creation-date xxx-02-05 -hosting true -hst_type phys -do-not-apply-skeleton -ip x.x.x -www-root geexte-seite -login xxxx -passwd '' -passwd_type sym -hard_quota 2621440000B -ignore-nonexistent-options failed with return code 1. Stderr is An error occurred during domain update: An error occurred during changing of hosting settings: The user xxx already exists.

I tried to remove the user with plesk repair but it failed with

The system user 'xxx' is orphaned in Plesk ...................... [WARNING]
Remove the system user 'xxx'? [Y/n] Y
Removing the system user 'xxx' ................................ [2016-06-24 19:11:22] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/usermng' '--set-user-quota' '--user=xxx' '--quota=0'] with exit code [255]
[FAILED]
- Failed to remove the system user 'xxx': Unable to execute
usermng: usermng: /usr/sbin/setquota execution failed:
setquota: Cannot stat() mounted device /dev/vzfs: No such file
or directory
setquota: Cannot stat() given mountpoint /dev/vzfs: No such
file or directory
Skipping...
setquota: No correct mountpoint specified.
setquota: Cannot initialize mountpoint scan.
usermng: Unable to set quota for user ''

any ideas?
 
Puh, these are bad news but thanks for your answer :( I have created a ticket @stratosupport on this issue. Maybe they could help on this. Setting up the server from scratch would be the worst option
 
Hi CharisM,

root@XXX:# /usr/sbin/repquota /
repquota: Cannot stat() mounted device /dev/vzfs: No such file or directory
repquota: Mountpoint (or device) / not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.
- Failed to remove the system user 'xxx': Unable to execute
usermng: usermng: /usr/sbin/setquota execution failed:
setquota: Cannot stat() mounted device /dev/vzfs: No such file
or directory
setquota: Cannot stat() given mountpoint /dev/vzfs: No such
file or directory
Skipping...
setquota: No correct mountpoint specified.
setquota: Cannot initialize mountpoint scan.
usermng: Unable to set quota for user ''

You should check your mount - points, as you can see by your errors. Consider as well to post the output of "cat /proc/user_beancounters" "df" "df -i" and "repquota -avug" and consider as well to post your file "/etc/fstab" for investigations.
 
Hi,

the output is
1. cat /proc/user_beancounters
Code:
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
  2319749:  kmemsize                150367338            539697152  9223372036854775807  9223372036854775807                    0
            lockedpages                     0                   16              8388608              8388608                    0
            privvmpages               6611584              6965807  9223372036854775807  9223372036854775807                    0
            shmpages                   109622               272184  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numproc                       263                  456  9223372036854775807  9223372036854775807                    0
            physpages                 1014654              2994085              8388608              8388608                    0
            vmguarpages                     0                    0              8388608              8388608                    0
            oomguarpages              1578636              1711800              8388608              8388608                    0
            numtcpsock                     44                  108  9223372036854775807  9223372036854775807                    0
            numflock                     2010                 2027  9223372036854775807  9223372036854775807                    0
            numpty                          3                   16  9223372036854775807  9223372036854775807                    0
            numsiginfo                      0                   84  9223372036854775807  9223372036854775807                    0
            tcpsndbuf                 1425880              6426560  9223372036854775807  9223372036854775807                    0
            tcprcvbuf                  733712             12561472  9223372036854775807  9223372036854775807                    0
            othersockbuf               350896              2724056  9223372036854775807  9223372036854775807                    0
            dgramrcvbuf                     0               274584  9223372036854775807  9223372036854775807                    0
            numothersock                  221                  400  9223372036854775807  9223372036854775807                    0
            dcachesize              103520063            491026291  9223372036854775807  9223372036854775807                    0
            numfile                     10661                13960  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            dummy                           0                    0  9223372036854775807  9223372036854775807                    0
            numiptent                     142                  147  9223372036854775807  9223372036854775807                    0




2. df
Code:
Filesystem      1K-blocks     Used  Available Use% Mounted on
/dev/vzfs      1048576000 42134672 1006441328   5% /
none             16777216        4   16777212   1% /dev
none                    4        0          4   0% /sys/fs/cgroup
none              3355444      636    3354808   1% /run
none                 5120        0       5120   0% /run/lock
none             16777216        0   16777216   0% /run/shm
none               102400        0     102400   0% /run/user


3. df -i
Code:
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
/dev/vzfs      2000000 683295 1316705   35% /
none           4194304     61 4194243    1% /dev
none           4194304      1 4194303    1% /sys/fs/cgroup
none           4194304     93 4194211    1% /run
none           4194304     55 4194249    1% /run/lock
none           4194304      1 4194303    1% /run/shm
none           4194304      1 4194303    1% /run/user


4. repquota -avug
repquota: Cannot stat() mounted device /dev/vzfs: No such file or directory
repquota: Cannot stat() mounted device /dev/vzfs: No such file or directory

5. /etc/fstab
Code:
proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw,gid=5,mode=620    0    0
none  /run/shm    tmpfs   defaults    0    0

Do you see any limitation in usage or problems why i can't remove users on plesk nor restoring backups? Help is really appreciated. Thank you
 
PS: it should be said that it is possible to create new abonnements, new databases, accounts, hostings, map new domains to existing acounts, change serive paket parameters etc manually...
 
Code:
mount
/dev/vzfs on / type reiserfs (rw,usrquota,grpquota)

Code:
df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vzfs      1000G   41G  960G   5% /
none             16G  4,0K   16G   1% /dev
none            4,0K     0  4,0K   0% /sys/fs/cgroup
none            3,3G  636K  3,2G   1% /run
none            5,0M     0  5,0M   0% /run/lock
none             16G     0   16G   0% /run/shm
none            100M     0  100M   0% /run/user
 
Hi UFHH01, how to get the quotaugidlimit parameter? Aren't these settings the provider has to adjust? Could it be that on the provider side is a problem with wrong / limiting settings?
 
Hi CharisM,

even that the "Strato" - Support is not known as a fast and good support, pls. consider to ask them for further support, because it is THEIR buisiness. ;)
 
Hope and so.... I have created a ticket with all the information and links available. Let's see how they react. I will keep you updated. I read some other posts as well where they all point to the provider to fix a 2nd level quota...
 
So, for all interested ones: after a month of comunication with the strato support they moved the vserver into another hardware node which solved this issue. Could not tell how much i am lucky about this!!!^^ A first migration of a small webpackage from another server went through successfully.

Best,
c--
 
Back
Top