• 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

Changing subscription type returns error

Tozz

Regular Pleskian
I'm trying to change a physical hosting account to forwarding. When this is done in Plesk GUI it returns a red notification box saying "Error: " (yes, thats right, no error is displayed).

The CLI returns:

# bin/subscription -u example.net -hst_type std -target_url http://www.parallels.com/ -ip 10.0.0.1
2013-11-20T17:08:20+01:00 ERR (3) [util_exec]: proc_close() failed

I am unable to debug this further, as debuggers are not allowed to run. Any ideas what might cause this?
 
Yes, it seems it is looking for Tomcat, which was uninstalled months/years ago since the last customer using Tomcat moved elsewhere

Code:
file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 38
code: 0
trace: #0 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(60): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#1 /opt/psa/admin/plib/Service/Agent/Transport/Local.php(26): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction))
#2 /opt/psa/admin/plib/Service/Agent.php(140): Service_Agent_Transport_Local->process('526e3bd21780d7d...', Array)
#3 /opt/psa/admin/plib/Service/TomcatMng.php(302): Service_Agent->commit()
#4 /opt/psa/admin/plib/Service/TomcatMng.php(22): Service_TomcatMng->_execAndGetOutput(Array)
#5 /opt/psa/admin/plib/class.DSTomcat.php(187): Service_TomcatMng->isTomcatRunning()
#6 /opt/psa/admin/plib/PHostingManager/Abstract.php(231): DSTomcat->delete()
#7 /opt/psa/admin/plib/PHostingManager/Apache.php(652): PHostingManager_Abstract->_removeTomcatService()
#8 /opt/psa/admin/plib/PHostingManager/Apache.php(662): PHostingManager_Apache->deleteHostingContent()
#9 /opt/psa/admin/plib/DSWeb.php(248): PHostingManager_Apache->delete()
#10 /opt/psa/admin/plib/Smb/Plesk/Bridge/Hosting.php(521): DSWeb->delete()
#11 /opt/psa/admin/plib/Smb/Form/Final/Web/ChangeHosting.php(260): Smb_Plesk_Bridge_Hosting->delete()
#12 /opt/psa/admin/plib/Smb/Form/Final/Web/ChangeHosting.php(99): Smb_Form_Final_Web_ChangeHosting->_selectedForwarding(Object(Smb_Plesk_Bridge_Domain), 'std_fwd', 'www.parallels.com', '301')
#13 /opt/psa/admin/smb/application/controllers/WebController.php(707): Smb_Form_Final_Web_ChangeHosting->processForm()
#14 /opt/psa/admin/externals/Zend/Controller/Action.php(516): WebController->changeHostingAction()
#15 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('changeHostingAc...')
#16 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#17 /opt/psa/admin/plib/Smb/Application/Web.php(39): Zend_Controller_Front->dispatch(NULL)
#18 /opt/psa/admin/smb/application/public/index.php(14): Smb_Application_Web->run()
#19 {main}

2013-11-20T17:05:55+01:00 ERR (3)  [panel]: 
2013-11-20T17:06:19+01:00 ERR (3)  [util_exec]: proc_close() failed
[20-Nov-2013 17:06:19 Europe/Berlin] PleskUtilException: '/opt/psa/admin/bin/tomcatmng' '--status' failed with code 1.

stdout:
Tomcat is not installed: Unable to find tomcat server config /var/lib/tomcat6//conf/server.xml
 
I rather not. Tomcat is a bulky mess. However, I do feel this is a bug. I have uninstalled Tomcat using the autoinstaller, so it seems some Tomcat leftovers remain?
 
Check that tomcat service is still active for this domain with

mysql> select * from DomainServices where dom_id=XXX and type='tomcat';

Then try to remove this record. Do not forget create fresh dump of psa database before removing record.
 
Back
Top