• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Error creating domains

D

dvparejaII

Guest
Error creating domains (SOLVED)

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk version: 10.4.4
CentOS 6 64bits
Apache version: Apache/2.2.15 (Unix)
PHP version: 5.3.10 (cli) (built: Feb 3 2012 08:17:28)
MySQL: 5.5.21-cll MySQL Community Server (GPL)

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE
When a client logs into their plesk and tries to create a domain (or subdomain or change the name of a domain) they
get the following error

ACTUAL RESULT
Error: Unable to determine preferred php handler

EXPECTED RESULT
Create Domain

ANY ADDITIONAL INFORMATION
The error is client wide.
The apache log file shows:
[Wed Mar 07 18:37:19 2012] [notice] caught SIGTERM, shutting down
[Wed Mar 07 18:37:20 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Mar 07 18:37:20 2012] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Wed Mar 07 18:37:20 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Mar 07 18:37:20 2012] [notice] Digest: done
[Wed Mar 07 18:37:20 2012] [warn] No JkShmFile defined in httpd.conf. Using default /etc/httpd/logs/jk-runtime-status
[Wed Mar 07 18:37:20 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 mod_jk/1.2.31 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming normal operations

/var/log/sw-cp-server/error_log

2012-03-07 20:33:40: (mod_fastcgi.c.2588) FastCGI-stderr: PleskFatalException: Unable to determine preferred php ha
ndler
file: /usr/local/psa/admin/plib/Hosting/Options/Availability.php
line: 121
code: 0
trace: #0 /usr/local/psa/admin/smb/application/library/Smb/Plesk/Bridge/Hosting.php(753): Hosting_Options_Availabil
ity->getPreferredPhpHandler()
#1 /usr/local/psa/admin/smb/application/library/Smb/Plesk/Bridge/Hosting.php(714): Smb_Plesk_Bridge_Hosting::getAva
ilableHostingOptions(Object(Db_Table_Row_ServiceNode))
#2 /usr/local/psa/admin/smb/application/library/Smb/Plesk/Bridge/Hosting.php(692): Smb_Plesk_Bridge_Hosting->_creat
eHostingForAdditionalDomain(Object(Webspace), 'pcimysite.net')
#3 /usr/local/psa/admin/smb/application/library/Smb/Plesk/Bridge/Domain.php(737): Smb_Plesk_Bridge_Hosting->setupAd
ditionalDomain(Object(Webspace), 'pcimysite.net')
#4 /usr/local/psa/admin/smb/application/library/Smb/Form/Final/Web/AddDomain.php(95): Smb_Plesk_Bridge_Domain::crea
teAdditionalDomain(Object(Webspace), 'pcimysite.net', 'master', Array, 0)
#5 /usr/local/psa/admin/smb/application/controllers/WebController.php(127): Smb_Form_Final_Web_AddDomain->processFo
rm()
#6 /usr/local/psa/admin/plib/Zend/Controller/Action.php(513): WebController->addDomainAction()
#7 /usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('addDom
ainAction')
#8 /usr/local/psa/admin/plib/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Z
end_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /usr/local/psa/admin/smb/application/library/Smb/Application/Web.php(48): Zend_Controller_Front->dispatch(NULL)
#10 /usr/local/psa/admin/smb/application/public/index.php(15): Smb_Application_Web->run()
#11 {main}


2012-03-07T20:33:52+01:00 ERR (3): Unable to determine preferred php handler

However when I login as admin every works correctly.

Thanks for your help

SOLUTION

Thanks to Parallels for their invaluable help (irony)

1. Switch off VPS-Optimized
2. Clean at tables dns_recs and domains for erroneous alias entries as per found in psa database. (not necessary but recommended if you know what you're doing).

Good Luck !
 
Last edited by a moderator:
I also have this exact same error - although everything works fine via the administrator account
 
Back
Top