• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Migration tool failure

V

ventrue21

Guest
Execution of /usr/local/psa/bin/domain --create d.com -clogin d -notify false -www true failed with return code 1.
Stderr is
mailmng: Unable to remove domain from rcpthosts file
System error 2: No such file or directory
mailmng: Unable to remove domain from virtualdomains file
System error 2: No such file or directory
An error occured during domain creation: unable to update domain preferences: Unable to update domain data: Failed mail post-configuration: Can't create mail domain servie: mailManager->addDomain() failed: mailmng failed: mailmng: Unable to remove domain from rcpthosts file
System error 2: No such file or directory
mailmng: Unable to remove domain from virtualdomains file
System error 2: No such file or directory


Migration on CentOS using Plesk 8.0.1 went smooth until domain name creation time. The above error was produced for every domain name in the Q to be migrated.

Has anyone else came across this error? I will post a resolution and document steps for others to use.
 
Originally posted by ventrue21
Execution of /usr/local/psa/bin/domain --create d.com -clogin d -notify false -www true failed with return code 1.

Try to create domain by using CLI utilities exactly as in command above:

Code:
/usr/local/psa/bin/domain --create d.com -clogin d -notify false -www true

If this does not work, then something bad happened on your destination Plesk.
 
Back
Top