• 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!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.

Internal error: Unable to execute serverconf: terminate called after throwing an

Herby L

New Pleskian
When trying to switch to the Website&Domain in plesk I receive the following error since some days.


Internal error: Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>' what(): Execution of hostname -f failed with return code 1. Stderr is hostname: Unknown host
Message Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>' what(): Execution of hostname -f failed with return code 1. Stderr is hostname: Unknown host
File Configuration.php
Line 23
Type PleskUtilException

Websites are up and running, but ftp is not possible anymore.

in /var/log/sw-cp-server/error_log I have the following:

Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>'
what(): Execution of hostname -f failed with return code 1.
Stderr is
hostname: Unknown host


PHP Warning: Releasing semaphore 1 in request cleanup; File: Unknown, Line: 0

Exception: PHP Warning: Releasing semaphore 1 in request cleanup; File: Unknown, Line: 0

file: /usr/local/psa/admin/smb/application/library/Smb/Exception/Syntax.php
line: 55
code: 0
trace: #0 [internal function]: Smb_Exception_Syntax::handleError(2, 'Releasing semap...', 'Unknown', 0, NULL)
#1 {main}

/usr/local/psa/admin/bin/mailmng: unrecognized option `--status-milter'
mailmng: Unknown option in command string, see log for details
2013-02-12 09:59:06: (mod_fastcgi.c.2588) FastCGI-stderr: PleskUtilException: /usr/local/psa/admin/bin/mailmng '--status-milter' failed with message: mailmng: Unknown option in command string, see log for details
file: /usr/local/psa/admin/plib/common_func.php3
line: 1065
code: 0
trace: #0 /usr/local/psa/admin/plib/class.ServiceControl.php(294): util_exec('mailmng', Array, Array, 'lst')
#1 /usr/local/psa/admin/plib/class.RestartServForm.php(135): ServiceControl->getServiceStatus('milter')
#2 /usr/local/psa/admin/htdocs/server/restart_services.php(33): RestartServForm->assign(Object(ServiceControl))
#3 /usr/local/psa/admin/htdocs/plesk.php(61): require('/usr/local/psa/...')
#4 {main}


2013-02-12T09:59:40+01:00 CRIT (2): PleskUtilException: Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>'
what(): Execution of hostname -f failed with return code 1.
Stderr is
hostname: Unknown host


file: /usr/local/psa/admin/plib/Service/Node/Configuration.php
line: 23
code: 0
2013-02-12 09:59:40: (mod_fastcgi.c.2588) FastCGI-stderr: PleskUtilException: '/usr/local/psa/admin/bin/serverconf' '--list' failed with code .

stdout:


stderr:
terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>'
what(): Execution of hostname -f failed with return code 1.
Stderr is
hostname: Unknown host


file: /usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 71
code: 0
trace: #0 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(58): Service_Agent_Transport_Local_Exec->process(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Log), Object(Service_Agent_Transport_LocalTransaction))
#1 /usr/local/psa/admin/plib/Service/Agent/Transport/Local.php(24): Service_Agent_Transport_Local->_command(0, Object(Service_Agent_Command_Exec), Object(Service_Agent_Transport_LocalTransaction), Object(Service_Agent_Log))
#2 /usr/local/psa/admin/plib/Service/Agent.php(133): Service_Agent_Transport_Local->process('15f31accd9195e5...', Array, Object(Service_Agent_Log))
#3 /usr/local/psa/admin/plib/Service/Node/Configuration.php(21): Service_Agent->commit()
#4 [internal function]: Service_Node_Configuration->_syncProperties()
#5 /usr/local/psa/admin/plib/Service/Node/Properties.php(142): call_user_func_array(Array, Array)
#6 /usr/local/psa/admin/plib/Service/Node/Properties.php(31): Service_Node_Properties->sync()
#7 /usr/local/psa/admin/plib/Db/Table/Row/ServiceNode.php(187): Service_Node_Properties->__construct(Object(Db_Table_Row_ServiceNode))
#8 /usr/local/psa/admin/plib/Service/Node/Os.php(96): Db_Table_Row_ServiceNode->configuration()
#9 /usr/local/psa/admin/plib/Service/Node/Os.php(173): Service_Node_Os->_syncShellsUnix()
#10 [internal function]: Service_Node_Os->_syncProperties()
#11 /usr/local/psa/admin/plib/Service/Node/Properties.php(142): call_user_func_array(Array, Array)
#12 /usr/local/psa/admin/plib/Service/Node/Properties.php(31): Service_Node_Properties->sync()
#13 /usr/local/psa/admin/plib/Db/Table/Row/ServiceNode.php(224): Service_Node_Properties->__construct(Object(Db_Table_Row_ServiceNode))
#14 /usr/local/psa/admin/smb/application/library/Smb/View/Web/Renderer.php(344): Db_Table_Row_ServiceNode->os()
#15 /usr/local/psa/admin/smb/application/library/Smb/View/Web/Renderer.php(200): Smb_View_Web_Renderer->_getSshLink()
#16 /usr/local/psa/admin/smb/application/controllers/WebController.php(55): Smb_View_Web_Renderer->getPanelSmallButtons()
#17 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): WebController->viewAction()
#18 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#19 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#20 /usr/local/psa/admin/smb/application/library/Smb/Application/Web.php(48): Zend_Controller_Front->dispatch(NULL)
#21 /usr/local/psa/admin/smb/application/public/index.php(15): Smb_Application_Web->run()
#22 {main}

PleskUtilException: Unable to execute serverconf: terminate called after throwing an instance of 'plesk::Exc<&(plesk::ExecCmd::Failed(bool))>'
what(): Execution of hostname -f failed with return code 1.
Stderr is
hostname: Unknown host


file: /usr/local/psa/admin/plib/Service/Node/Configuration.php
line: 23
code: 0
trace: #0 [internal function]: Service_Node_Configuration->_syncProperties()
#1 /usr/local/psa/admin/plib/Service/Node/Properties.php(142): call_user_func_array(Array, Array)
#2 /usr/local/psa/admin/plib/Service/Node/Properties.php(31): Service_Node_Properties->sync()
#3 /usr/local/psa/admin/plib/Db/Table/Row/ServiceNode.php(187): Service_Node_Properties->__construct(Object(Db_Table_Row_ServiceNode))
#4 /usr/local/psa/admin/plib/Service/Node/Os.php(96): Db_Table_Row_ServiceNode->configuration()
#5 /usr/local/psa/admin/plib/Service/Node/Os.php(173): Service_Node_Os->_syncShellsUnix()
#6 [internal function]: Service_Node_Os->_syncProperties()
#7 /usr/local/psa/admin/plib/Service/Node/Properties.php(142): call_user_func_array(Array, Array)
#8 /usr/local/psa/admin/plib/Service/Node/Properties.php(31): Service_Node_Properties->sync()
#9 /usr/local/psa/admin/plib/Db/Table/Row/ServiceNode.php(224): Service_Node_Properties->__construct(Object(Db_Table_Row_ServiceNode))
#10 /usr/local/psa/admin/smb/application/library/Smb/View/Web/Renderer.php(344): Db_Table_Row_ServiceNode->os()
#11 /usr/local/psa/admin/smb/application/library/Smb/View/Web/Renderer.php(200): Smb_View_Web_Renderer->_getSshLink()
#12 /usr/local/psa/admin/smb/application/controllers/WebController.php(55): Smb_View_Web_Renderer->getPanelSmallButtons()
#13 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): WebController->viewAction()
#14 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#15 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /usr/local/psa/admin/smb/application/library/Smb/Application/Web.php(48): Zend_Controller_Front->dispatch(NULL)
#17 /usr/local/psa/admin/smb/application/public/index.php(15): Smb_Application_Web->run()
#18 {main}

any advice?

br
Herby
 
Back
Top