• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Unable to delete domain

D

DavidCollom

Guest
While Deleting domains im faced with:
Unable to delete hosting: Unable to delete system user: SysUser->systemRemove() failed: usermng failed: usermng: Unable to set quota for user 'davidcollom' SysUser->systemRemove() failed: usermng failed: usermng: Unable to set quota for user 'davidcollom'

0: /usr/local/psa/admin/htdocs/domains/hosting/phosting_setup.php:176

While attempting to disable the domain im faced with:
Unable to create Domain object: domainmng failed: domainmng: Unable to define login for ftp user: 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
domainmng: Unable to define login for ftp user: 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

0: /usr/local/psa/admin/plib/common_func.php3:158
psaerror(string 'Unable to create Domain object: domainmng failed: domainmng: Unable to define login for ftp user: 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 domainmng: Unable to define login for ftp user: 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')
1: /usr/local/psa/admin/plib/class.PHosting.php:59
PHosting->PHosting(integer '4')
2: /usr/local/psa/admin/plib/common_func.php3:2828
objectMaker(string 'PHosting', integer '4')
3: /usr/local/psa/admin/plib/class.DomainControlForm.php:146
DomainControlForm->assign(object of type BsDomain)
4: /usr/local/psa/admin/htdocs/domains/dom_ctrl.php3:147


please help!

FC4 (now FC5) plesk 8.1 w/ MySQL5
 
hmmm looks like i was able to delete the domain while playing around, only problem now is that www.domain.co.uk dont work but domain.co.uk works and the domain alias www.domain.com works too!

Very confusing but not sure how/if it was/has fixed
 
its back! when ever i try to delete a domain again. im reciving:
Unable to create Domain object: domainmng failed: domainmng: Unable to define login for ftp user: 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
domainmng: Unable to define login for ftp user: 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

0: /usr/local/psa/admin/plib/common_func.php3:158
psaerror(string 'Unable to create Domain object: domainmng failed: domainmng: Unable to define login for ftp user: 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 domainmng: Unable to define login for ftp user: 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')
1: /usr/local/psa/admin/plib/class.PHosting.php:59
PHosting->PHosting(integer '3')
2: /usr/local/psa/admin/plib/common_func.php3:2828
objectMaker(string 'PHosting', integer '3')
3: /usr/local/psa/admin/plib/class.DomainControlForm.php:146
DomainControlForm->assign(object of type BsDomain)
4: /usr/local/psa/admin/htdocs/domains/dom_ctrl.php3:147

first i was only wanting to delete the hosting type to change to a forwarder but when i deleted the hosting setting button it warns me of it being removed but nothing changes in the domain. when i attempted to disable the account i got the above error!

is anyone else experiencing this problem?

when i go back into the setup, it all loads but no information is present for ftp etc
 
I am having the exact same problem on Fedora Core 4. What O/S are you running?
 
Did you change anything to make it work? SWSoft as usual wants me to buy support from them. I do not feel we should have to pay for support when their "UPDATER" breaks the systems. It's almost like they do this on purpose to bring in more support dollars.
 
I have the same problem and now it s good my server . Try to add ur user to ur system again

/usr/sbin/useradd -g psacln -s "/bin/false" -d /$HTTPD_VHOSTS_D/rrr.com/httpdocs/ qwerty

Then try to remove the domain again or setup the user again :) .Note: you have to replace 'qwerty' with the real FTP user name for this domain.
 
Back
Top