• 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.

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