• 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 Migration and Transfer 2.9.2-0

winky

New Pleskian
Hi all and thank you for your time on reading me.

I am trying to migrate all domains from
source: CentOS6.9 (final) - Plesk Onix 17.5.3#10
to a new server
destination: CentOS7.3.1611(core) - Plesk Onix 17.5.3#10

I am using Plesk Migrator 2.9.2-0 - but i am having issues below quoted:

Failed to perform action: Check connections
Cause: Command execution failed on the source server 'source' (X.XXX.XXX.XXX) with non-zero exit code.
command: cat 'Shortcuts to your system
############################################################

.....my aliases comes here below (deleted for reading convenience)

..
..
..
..
..
.

PRODUCT_ROOT_D /usr/local/psa/version'
exit code: 1
stdout: ***hidden***
stderr: ***hidden***
That is a critical error, migration was stopped.


---------------------------------------------------------------------------------------------------------------------------------

I can see in the following 3D : Migration failed: Command execution failed on the source server 'source' with non-zero exit code command: cat /tmp/version
that it seems Ihave not the right privileges ( I am logging the panel as root so difficult not having privileges!!)


any help would highly appreciated.

I apologize for my not native english.

have fun

Andrea
 
Last edited:
Unfortunately, you interrupted the log after a general phrase in the most interesting place. All information valuable for research should be located below the phrase

Cause: Command execution failed on the source server 'source' (X.XXX.XXX.XXX) with non-zero exit code.

Could you please provide more information?
Thanks.
 
Hi Igor and ty for reply.
Well, I truncated those lines for reading convenience as i did not thought were interesting.
Those lines are just a print out of some (old and mostly deprecated) aliases I have made long time ago, echoed on my terminal at login (I have set /root/.bashrc and those line are just its echo to easily remember me the commands lol!)
Note: The print of those lines tells me that migration tool was able to connect to my terminal in root mode, but then it can not go further for an unknown (to me) reason ,

In red, I paste here below the exact and full uncensored (only part of IP censored) log:

Failed to perform action: Check connections
Cause: Command execution failed on the source server 'source' (5.2XX.1XX.2XX) with non-zero exit code.
command: cat 'Shortcuts to your system
############################################################

Per vedere la password di Plesk, digita: ppass

Per ricostruire la configurazione del tuo Sever Apache/Web, digita: webpsa

Per ricostruire la configurazione del tuo Qmail/Mail Server, digita: mchk

Per visualizzare la coda del tuo Qmail/Mail Server, digita: que

Per connetterti al tuo Server MySQL come admin, digita: myadmin

Per uscire dalla shell, digita: ciao

Per visualizzare il comando netstat, digita: ns

Per visualizzare il log degli error/access, digita: tailall

Per visualizzare il log di tutti gli errori, digita: tailallerror

Per visualizzare il log delle email, digita: maillog

Per visualizzare il log di tutti gli accessi, digita: tailallaccess

Per eliminare la presente tabella e alias, edita il file /root/.bashrc

PRODUCT_ROOT_D /usr/local/psa/version'
exit code: 1
stdout: ***hidden***
stderr: ***hidden***
That is a critical error, migration was stopped.

-----------------------------------------------------------------------------

Thank you very much for patience and help-.

Ciao

Andrea
 
Last edited:
PRODUCT_ROOT_D /usr/local/psa/version'
Strange line. Could you please show me output of the following command on both servers:

# /bin/grep -m1 -E '^\s*PRODUCT_ROOT_D' /etc/psa/psa.conf

Thanks.
 
Igor TY!
for sure yes...here it comes..they are identical (as the new server will substitute the old server, servername are identical)

Source server (old)
[root@Serintec ~]# /bin/grep -m1 -E '^\s*PRODUCT_ROOT_D' /etc/psa/psa.conf
PRODUCT_ROOT_D /usr/local/psa
[root@Serintec ~]#

Target server (new)
[root@Serintec ~]# /bin/grep -m1 -E '^\s*PRODUCT_ROOT_D' /etc/psa/psa.conf
PRODUCT_ROOT_D /usr/local/psa
[root@Serintec ~]#


again TY! really appreciate your kind help
spasibo - спасибо
Andrea
 
@Alina Dmi , @IgorG no other words than: --> ThankYou, spasibo - спасибо, grazie, gracias, dank. merci......!!!

It seems now, that with a default .bashrc it works . Il l go trought all the process and in case ill have any other issues i will disturb you again.

I really appreciated a lot your support!
 
Back
Top