• 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

rename domain problem

K

KLT_KKT

Guest
When i try to rename domain i get the following error:

Unable to rename the domain: Execute mailmng --turn-on-domain "--domain-name=olddomain.ltd" failed: MEAOSM.Domain.GetDomain failed
The system cannot find the file specified. (Error code 2) at GetNamedSecurityInfo(C:\Program Files\SWsoft\Plesk\Mail Servers\Mail Enable\Postoffices\olddomain.ltd)

event log:

Can't query SELECT s.id, s.dom_id, s.sys_user_type, s.name, s.displayName, s.server_id, u.login, a.password, s.coldfusion, s.ssi, s.ssi_html, s.php, s.php_handler_type, s.php_version, s.cgi, s.perl, s.python, s.asp, s.asp_dot_net, s.managed_runtime_version, s.miva, s.fp, s.fp_enable, s.fp_no_index, s.htype, s.www_root, s.webstat FROM ( subdomains s INNER JOIN sys_users u ON u.id = s.sys_user_id ) LEFT OUTER JOIN accounts a ON a.id = u.account_id WHERE (s.dom_id = ): MySQLDatabaseProvider error 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
at (MySQLDatabaseProvider::query line 284)
at enumDomainSubdomains(olddomain.ltd)(VHostManager::renameSubdomainDomain line 214)
at execute console command --rename-subdomain-domain(vconsoleapp::start line 129)
at execute "C:\Program Files\SWsoft\Plesk\admin\bin\vhostmng" --rename-subdomain-domain "--old-domain-name=newdomain.ltd" "--new-domain-name=olddomain.ltd"(vconsoleapp::run line 140)
Execute file name: C:\Program Files\SWsoft\Plesk\admin\bin\vhostmng.exe

Execute vhostmng --rename-subdomain-domain --old-domain-name=newdomain.ltd --new-domain-name=olddomain.ltd failed: Can't query SELECT s.id, s.dom_id, s.sys_user_type, s.name, s.displayName, s.server_id, u.login, a.password, s.coldfusion, s.ssi, s.ssi_html, s.php, s.php_handler_type, s.php_version, s.cgi, s.perl, s.python, s.asp, s.asp_dot_net, s.managed_runtime_version, s.miva, s.fp, s.fp_enable, s.fp_no_index, s.htype, s.www_root, s.webstat FROM ( subdomains s INNER JOIN sys_users u ON u.id = s.sys_user_id ) LEFT OUTER JOIN accounts a ON a.id = u.account_id WHERE (s.dom_id = ): MySQLDatabaseProvider error 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1
at (execUtil line 133)
at Execute C:\Program Files\SWsoft\Plesk\admin\bin\vhostmng --rename-subdomain-domain --old-domain-name=newdomain.ltd --new-domain-name=olddomain.ltd(execUtil line 153)
at execute console command --rename-domain(vconsoleapp::start line 129)
at execute "C:\Program Files\SWsoft\Plesk\admin\bin\subdomainmng" --rename-domain "--old-domain-name=newdomain.ltd" "--new-domain-name=olddomain.ltd"(vconsoleapp::run line 140)
Execute file name: C:\Program Files\SWsoft\Plesk\admin\bin

MEAOSM.Domain.GetDomain failed
at (MailEnable::eek:penDomain line 86)
at execute console command --turn-on-domain(vconsoleapp::start line 129)
at execute "C:\Program Files\SWsoft\Plesk\admin\bin\mailmng" --turn-on-domain "--domain-name=olddomain.ltd"(vconsoleapp::run line 140)
Execute file name: C:\Program Files\SWsoft\Plesk\admin\bin\mailmng.exe

Execute mailmng --turn-on-domain "--domain-name=olddomain.ltd" failed: MEAOSM.Domain.GetDomain failed
at (domainmng::mail_on_off line 267)
at Turn on domain olddomain.ltd (state=3)(domainmng::turnDomain line 141)
Execute file name: C:\Program Files\SWsoft\Plesk\admin\bin\domainmng.exe


my system:
window server 2003
plesk 8.6.0.1
Mail dir change to D:\postoffices\
web dir change to D:\vhosts\
 
Run this command from plesk admin bin , This is will reconfigure the domain in IIS.

websrvmng.exe --remove-vhost --vhost-name=domain.com
websrvmng.exe --reconfigure-vhost --vhost-name=domain.com
 
rename domain

Could you tell me in admin panel where do i have to type this command

websrvmng.exe --remove-vhost --vhost-name=domain.com
websrvmng.exe --reconfigure-vhost --vhost-name=domain.com
 
Back
Top