• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Backup OK, Restore... "Failed to exec pmm-ras"

Status
Not open for further replies.

Stefano_Thiella

New Pleskian
Hi, I have a clean installation of Plesk 12.0.18 on CentOS 6.5 (Final).

The backup of a test customer is ok, it also sends to a personal ftp archive.

Also scheduled backups works fine.

Restoring from a local backup wathever element (file, db, configuration, ...) I get everytime the same following error:

Errore:Failed to exec pmm-ras: (array (
'code' => 127,
'stdout' => 'Transport error: File \'clients\' not found
',
'stderr' => '',
)).

I know that I can restore manually from the tar file... but... why it doesn't works???

Restore function is toooooooooooo important!!!

Can someone help me? :(((((
 
Try to debug it with following steps:

In file /usr/local/psa/admin/share/pmmcli/pmmcli-rc set 1 for option

# Add debug information to all utilities called by pmmcli
FORCE_DEBUG_LOG 0

after that repeat restore and try to find a reason in log files /var/log/plesk/PMM/restore-2014-11-xxxxx/pmmcli.log or import.log
 
Hi Igor! Nice to meet you here and thank you for your quick answer. :)

I did what you said and the logs are as follow... I don't see error messages.

log files are attached.

Where can I search further?
 

Attachments

  • import.txt
    4.5 KB · Views: 4
  • pmmcli.txt
    7.6 KB · Views: 4
Please check also file /var/log/plesk/panel.log for possible reasons of initial error. If there is nothing, add to file /usr/local/psa/admin/conf/panel.ini

[debug]
enabled = on

[log]
filter.priority = 7
show.util_exec = on
show.util_exec_io = on

and check all again.
 
We are going to find the solution.... (I hope)

in .discovered directory there isn't a 'clients' file or directory... below I also pasted cd /var/lib/psa/dumps directory content and .discovered content

But I don't see a solution.

what do you suggest to look for? :(

Error:Failed to exec pmm-ras: [2014-11-07 10:52:41.521|14622] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-info --dump-file-specification=clients --session-path=/var/log/plesk/PMM/logs --debug
[2014-11-07 10:52:41.521|14622] INFO: Repository '/var/lib/psa/dumps': Initializing...
[2014-11-07 10:52:41.521|14622] INFO: Transport: Get repository transport /var/lib/psa/dumps
[2014-11-07 10:52:41.521|14622] INFO: Transport: Init credentials for user ''
[2014-11-07 10:52:41.521|14622] INFO: Repository '/var/lib/psa/dumps': Initialized
[2014-11-07 10:52:41.521|14622] INFO: Repository '/var/lib/psa/dumps': Get backup info from clients
[2014-11-07 10:52:41.521|14622] INFO: Repository '/var/lib/psa/dumps': Get initial backup info from dir .discovered/clients
[2014-11-07 10:52:41.521|14622] INFO: : invalid size of dump, cannot be converted to numeric
[2014-11-07 10:52:41.521|14622] INFO: Read properties from xml clients
[2014-11-07 10:52:41.521|14622] INFO: Transport: get local file 'clients'
[2014-11-07 10:52:41.522|14622] INFO: pmm-ras finished. Exit code: 127
(array (
'code' => 127,
'stdout' => 'Transport error: File \'clients\' not found
',
'stderr' => '[2014-11-07 10:52:41.521|14622] INFO: pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-info --dump-file-specification=clients --session-path=/var/log/plesk/PMM/logs --debug
[2014-11-07 10:52:41.521|14622] INFO: Repository \'/var/lib/psa/dumps\': Initializing...
[2014-11-07 10:52:41.521|14622] INFO: Transport: Get repository transport /var/lib/psa/dumps
[2014-11-07 10:52:41.521|14622] INFO: Transport: Init credentials for user \'\'
[2014-11-07 10:52:41.521|14622] INFO: Repository \'/var/lib/psa/dumps\': Initialized
[2014-11-07 10:52:41.521|14622] INFO: Repository \'/var/lib/psa/dumps\': Get backup info from clients
[2014-11-07 10:52:41.521|14622] INFO: Repository \'/var/lib/psa/dumps\': Get initial backup info from dir .discovered/clients
[2014-11-07 10:52:41.521|14622] INFO: : invalid size of dump, cannot be converted to numeric
[2014-11-07 10:52:41.521|14622] INFO: Read properties from xml clients
[2014-11-07 10:52:41.521|14622] INFO: Transport: get local file \'clients\'
[2014-11-07 10:52:41.522|14622] INFO: pmm-ras finished. Exit code: 127
',
)).

my directory listing is as follow:

[root@admin37304434 restore-2014-11-07-10-52-33-714]# cd /var/lib/psa/dumps
[root@admin37304434 dumps]# ls -al
total 3488
drwxr-xr-x 5 root root 4096 Nov 7 03:35 .
drwxr-xr-x 3 root root 4096 Jan 2 2009 ..
drwxr-xr-x 7 root root 4096 Nov 6 00:21 clients
drwxr-xr-x 2 root root 4096 Nov 6 00:21 .discovered
drwxr-xr-x 6 root root 4096 Nov 6 21:20 domains
-rw------- 1 root root 356427 Nov 7 03:35 mysql.daily.dump.0.gz
-rw------- 1 root root 335343 Nov 6 03:08 mysql.daily.dump.1.gz
-rw------- 1 root root 322741 Nov 5 03:08 mysql.daily.dump.2.gz
-rw------- 1 root root 313028 Nov 4 03:44 mysql.daily.dump.3.gz
-rw------- 1 root root 306348 Nov 3 03:49 mysql.daily.dump.4.gz
-rw------- 1 root root 339276 Nov 2 03:40 mysql.daily.dump.5.gz
-rw------- 1 root root 329995 Nov 1 03:19 mysql.daily.dump.6.gz
-rw------- 1 root root 333034 Oct 31 03:49 mysql.daily.dump.7.gz
-rw------- 1 root root 322741 Oct 30 03:37 mysql.daily.dump.8.gz
-rw------- 1 root root 167948 Sep 26 2013 mysql.preupgrade.10.13.4-10.13.4.20130926-164710.dump.gz
-rw------- 1 root root 167948 Sep 26 2013 mysql.preupgrade.10.13.4-10.13.4.20130926-164712.dump.gz
-rw------- 1 root root 179833 Oct 17 18:41 mysql.preupgrade.10.13.4-12.0.18.20141017-184128.dump.gz
-rw------- 1 root root 2523 Oct 17 18:41 mysql.preupgrade.apsc.10.13.4-12.0.18.20141017-184129.dump.gz
[root@admin37304434 dumps]# cd .discovered
[root@admin37304434 .discovered]# ls -al
total 8
drwxr-xr-x 2 root root 4096 Nov 6 00:21 .
drwxr-xr-x 5 root root 4096 Nov 7 03:35 ..
-rw-r--r-- 1 root root 0 Nov 7 00:21 2550c0a6-8fe8-4a11-bd56-7dba3ec95ba0_fotolitographicolor.it
-rw-r--r-- 1 root root 0 Oct 28 18:55 4db6898a-2596-44c8-9369-e7582f8a9fca_dressagefonteabeti.it
-rw-r--r-- 1 root root 0 Oct 29 15:20 6d5e0415-e7f7-4a58-ab45-245e65ea8dfd_lacolecasaitaliana.it
-rw-r--r-- 1 root root 0 Oct 23 18:06 95b8007d-944a-4864-9a51-4cf8b4f0f830_lacolecasaitaliana.it
-rw-r--r-- 1 root root 0 Nov 7 00:21 ede3ba1c-55a4-43a8-bd77-bf517d62517d_tipografiagrifanidonati.it
 
Problem solved.

The issue appears if you try the restore with Safari Borwser. I have 5.1.7 (7534.57.2) version.

With a different browser (Chrome or firefox for example) the issue doesn't happen.

Thanks for your support. :)
 
Status
Not open for further replies.
Back
Top