• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable to delete domains

A

AliUnidees

Guest
hi all,
The company that i work with use plesk v 9.3.0 under Linux, they have a problem to delete domains from plesk admin panel
an error message appear :

0: class.MailManager.php:242
MailManager::execWithException(string 'smart_exec', string 'mailmng', array, array, string 'lst')
1: class.MailManager.php:274
MailManager->callMailManager(string 'remove-mailname', array)
2: class.MailManager.php:354
MailManager->removeMailname(string 'freeroad-uae.com', string 'contactus')
3: cmd_mail.php3:1357
mn_del(string '92')
4: class.DSMail.php:211
DSMail->delete(boolean false)
5: class.PhDomain.php:358
PhDomain->reset(integer '0', boolean true, boolean false)
6: class.BsDomain.php:330
BsDomain->reset(integer '0')
7: class.BsDomain.php:302
BsDomain->delete(integer '0')
8: class.BsDomain.php:536
mdeleteDomains(array)
9: removeDomains.php3:42
require(string '/usr/local/psa/admin/htdocs/domains/removeDomains.php3')
10: plesk.php:51

need help pliz!!
 
thanx for your answer IgorG,
this is what gives

Could not open Repository at "/etc/sw/keys": Cannot open file
PHP Warning: file(/etc/psa/psa.conf): failed to open stream: Permission denied in /usr/local/psa/admin/plib/class.Conf.php3 on line 28
Unable to read Control Panel configuration file
 
Are sure that you have tried it with root privileges?
 
hi and thanx again,

in fact, the last time it wasn't the right user,

i have trayed with the root privileges but it still does'nt work

ERROR: PleskUtilException
mailmng failed: Some errors occured. See log for details

0: class.MailManager.php:242
MailManager::execWithException(string 'smart_exec', string 'mailmng', array, array, string 'lst')
1: class.MailManager.php:274
MailManager->callMailManager(string 'remove-mailname', array)
2: class.MailManager.php:354
MailManager->removeMailname(string 'domain.com', string 'commercial')
3: cmd_mail.php3:1357
mn_del(string '83')
4: class.DSMail.php:211
DSMail->delete(boolean false)
5: class.PhDomain.php:358
PhDomain->reset(integer '0', boolean true, boolean false)
6: class.BsDomain.php:330
BsDomain->reset(integer '0')
7: class.BsDomain.php:302
BsDomain->delete()
8: cuDomain.php:1751
cuDomain->cmdRemove(string 'domain.com')
9: cuDomain.php:718
cuDomain->cuDomain()
10: domain.php:17
PHP Warning: Releasing semaphore 20 in request cleanup in Unknown on line 0
 
hi and thanx again,
in fact, the last time i user a wrong user,but i used the root privileges. but i got the the same error

ERROR: PleskUtilException
mailmng failed: Some errors occured. See log for details

0: class.MailManager.php:242
MailManager::execWithException(string 'smart_exec', string 'mailmng', array, array, string 'lst')
1: class.MailManager.php:274
MailManager->callMailManager(string 'remove-mailname', array)
2: class.MailManager.php:354
MailManager->removeMailname(string 'domain.com', string 'commercial')
3: cmd_mail.php3:1357
mn_del(string '83')
4: class.DSMail.php:211
DSMail->delete(boolean false)
5: class.PhDomain.php:358
PhDomain->reset(integer '0', boolean true, boolean false)
6: class.BsDomain.php:330
BsDomain->reset(integer '0')
7: class.BsDomain.php:302
BsDomain->delete()
8: cuDomain.php:1751
cuDomain->cmdRemove(string 'domain.com')
9: cuDomain.php:718
cuDomain->cuDomain()
10: domain.php:17
PHP Warning: Releasing semaphore 20 in request cleanup in Unknown on line 0
 
It looks like psa database inconsistency and mailname cannot be removed correctly. It should be investigated and fixed directly on your server. Therefore I suggest you contact Support Team.
 
Back
Top