• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Error Removing Customer [10.4.4]

Powie

Regular Pleskian
I have an problem removing a customer. If i try to remove the customer, i got the following error message:



If i try to remove the related domain at console this happens:


PleskUtilException: '/opt/psa/admin/bin/tomcatmng' '--remove-service' '--vhost-name=hoepfel-daemmtechnik.de' failed with code 1.

stdout:
Tomcat is not installed: Unable to find tomcat server config /usr/share/tomcat5.5//conf/server.xml


stderr:

file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 98
code: 0
trace: #0 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agen t_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_E xec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /opt/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('b607347f46bacec...', Array, Object(Service_Agent _Log))
#3 /opt/psa/admin/plib/Service/AbstractMng.php(32): Service_Agent->commit()
#4 /opt/psa/admin/plib/Service/AbstractMng.php(26): Service_AbstractMng->commit()
#5 /opt/psa/admin/plib/Service/TomcatMng.php(166): Service_AbstractMng->_exec('tomcatmng', Array, NULL, NULL)
#6 /opt/psa/admin/plib/Service/TomcatMng.php(62): Service_TomcatMng->_exec('remove-service', Array)
#7 /opt/psa/admin/plib/class.DSTomcat.php(207): Service_TomcatMng->remove_service('hoepfel-daemmte...')
#8 /opt/psa/admin/plib/PhDomainBase.php(135): DSTomcat->delete()
#9 /opt/psa/admin/plib/PhDomain.php(160): PhDomainBase->removeTomcatService()
#10 /opt/psa/admin/plib/BsDomain.php(602): PhDomain->reset(true, false)
#11 /opt/psa/admin/plib/BsDomain.php(558): BsDomain->reset()
#12 /opt/psa/admin/plib/Webspace.php(835): BsDomain->delete()
#13 /opt/psa/admin/plib/api-common/AbstractCuDomain.php(1179): Webspace->delete()
#14 /opt/psa/admin/plib/api-common/cuDomain.php(179): AbstractCuDomain->cmdRemove('hoepfel-daemmte...')
#15 /opt/psa/admin/plib/api-common/cuDomain.php(105): cuDomain->_processDomainNameCmd('remove', 'hoepfel-daemmte...')
#16 /opt/psa/admin/plib/api-common/AbstractCuExecutor.php(21): cuDomain->__construct()
#17 /opt/psa/admin/plib/api-common/CuExecutor.php(29): AbstractCuExecutor->_execUtil('cuDomain', NULL)
#18 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(18): CuExecutor->run()
#19 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(43): CliUtilityRunner->run()
#20 /opt/psa/admin/plib/api-cli/domain.php(4): require_once('/opt/psa/admin/...')
#21 {main}

PleskUtilException:
file: /opt/psa/admin/plib/Service/AbstractMng.php
line: 34
code: 0
trace: #0 /opt/psa/admin/plib/Service/AbstractMng.php(26): Service_AbstractMng->commit()
#1 /opt/psa/admin/plib/Service/TomcatMng.php(166): Service_AbstractMng->_exec('tomcatmng', Array, NULL, NULL)
#2 /opt/psa/admin/plib/Service/TomcatMng.php(62): Service_TomcatMng->_exec('remove-service', Array)
#3 /opt/psa/admin/plib/class.DSTomcat.php(207): Service_TomcatMng->remove_service('hoepfel-daemmte...')
#4 /opt/psa/admin/plib/PhDomainBase.php(135): DSTomcat->delete()
#5 /opt/psa/admin/plib/PhDomain.php(160): PhDomainBase->removeTomcatService()
#6 /opt/psa/admin/plib/BsDomain.php(602): PhDomain->reset(true, false)
#7 /opt/psa/admin/plib/BsDomain.php(558): BsDomain->reset()
#8 /opt/psa/admin/plib/Webspace.php(835): BsDomain->delete()
#9 /opt/psa/admin/plib/api-common/AbstractCuDomain.php(1179): Webspace->delete()
#10 /opt/psa/admin/plib/api-common/cuDomain.php(179): AbstractCuDomain->cmdRemove('hoepfel-daemmte...')
#11 /opt/psa/admin/plib/api-common/cuDomain.php(105): cuDomain->_processDomainNameCmd('remove', 'hoepfel-daemmte...')
#12 /opt/psa/admin/plib/api-common/AbstractCuExecutor.php(21): cuDomain->__construct()
#13 /opt/psa/admin/plib/api-common/CuExecutor.php(29): AbstractCuExecutor->_execUtil('cuDomain', NULL)
#14 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(18): CuExecutor->run()
#15 /opt/psa/admin/plib/api-cli/CliUtilityRunner.php(43): CliUtilityRunner->run()
#16 /opt/psa/admin/plib/api-cli/domain.php(4): require_once('/opt/psa/admin/...')
#17 {main}


how to solve?
 
Looks like Tomcat is misconfigured there. Try to create /usr/share/tomcat5.5/conf/server.xml at least or rebuild Tomcat configuration.
 
Hmm.. it seems that only tomcat 5 was installed but plesk tryed to find tomcat 5.5.

apt-get install tomcat5.5 -> installed

Now the customer could be removed...

thx
 
Back
Top