Hi, whenever one of my customers tries to install an application from the application installer, they get an error that looks like this.
Here is the output from the log. It looks like the user does not have permission to open a database but that's stupid that it would ask at this point because this happens on the page where you pick the directory the application is installed to and the database information. What's going on?
Here's also a picture of the page I'm talking about
http://i.imgur.com/QpEPuP2.jpg
Error: Installation of WordPress at http://*******.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '. Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.
Here is the output from the log. It looks like the user does not have permission to open a database but that's stupid that it would ask at this point because this happens on the page where you pick the directory the application is installed to and the database information. What's going on?
Here's also a picture of the page I'm talking about
http://i.imgur.com/QpEPuP2.jpg
[2014-10-13 09:54:16] ERR [util_exec] proc_close() failed
[13-Oct-2014 09:54:16 America/New_York] PleskUtilException: '/opt/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=install' '--script-language=php' '--user-name=ndariano' '--application-full-name=file:////opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache' failed with code 1.
stdout:
Unable to connect to DB: Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES)
stderr:
PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 57
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(172): Service_Agent_Transport_Local->process('62e18453b8839aa...', Array)
#3 /opt/psa/admin/plib/Service/Driver/Aps/Unix.php(50): Service_Agent->commit()
#4 /opt/psa/admin/plib/Service/Driver/Aps/Unix.php(90): Service_Driver_Aps_Unix->runActionScript('run-application...', Array, '', Array, Array)
#5 /opt/psa/admin/plib/Apspp/Backend/Adapter.php(151): Service_Driver_Aps_Unix->fusionRunActionScript('install', 'file:////opt/ps...', 'configure', 'ndariano', 'php', Array, Array)
#6 /opt/psa/admin/plib/Apspp/Hosting/Resource/Environment.php(180): Apspp_Backend_Adapter->executeCode(Object(Apspp_Hosting_Context_Site), Object(Webspace), 'c4cc93f5-ec31-4...', 'php', 'configure', Array, Array, false)
#7 [internal function]: Apspp_Hosting_Resource_Environment->executeCode(Resource id #2501)
#8 /usr/share/aps_php/aps_php.php(7254): aps_provision_applicationresource_provision(Resource id #108)
#9 /opt/psa/admin/plib/CommonPanel/Aps/ServiceCreationHelper.php(332): APS_Provision_ApplicationResource->provision()
#10 /opt/psa/admin/plib/Smb/Form/Final/Aps/Install.php(313): CommonPanel_Aps_ServiceCreationHelper->installService()
#11 /opt/psa/admin/application/smb/controllers/AppController.php(311): Smb_Form_Final_Aps_Install->processForm()
#12 /opt/psa/admin/application/smb/controllers/AppController.php(243): Smb_AppController->_processInstall(Object(Smb_Form_Final_Aps_Install), Object(APS_Meta_PackageInfo))
#13 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Smb_AppController->installAction()
#14 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('installAction')
#15 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#17 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#18 {main}
[2014-10-13 09:54:16] ERR [panel] Exception: PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
[2014-10-13 09:54:16] ERR [panel] Script execution failed: PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
[2014-10-13 09:54:16] ERR [panel] CommonPanel_Aps_ServiceCreationHelper::installService Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
'. Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
'.
[2014-10-13 09:54:16] ERR [util_exec] proc_close() failed
[13-Oct-2014 09:54:16 America/New_York] PleskUtilException: '/opt/psa/admin/bin/sappmng' '--run-application-script' '--script-file-name=configure' '--script-name=remove' '--script-language=php' '--user-name=ndariano' '--application-full-name=file:////opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache' failed with code 1.
stdout:
Unable to connect to DB: Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES)
stderr:
PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
file: /opt/psa/admin/plib/Service/Agent/Transport/Local/Exec.php
line: 57
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(172): Service_Agent_Transport_Local->process('01556977a4fd952...', Array)
#3 /opt/psa/admin/plib/Service/Driver/Aps/Unix.php(50): Service_Agent->commit()
#4 /opt/psa/admin/plib/Service/Driver/Aps/Unix.php(90): Service_Driver_Aps_Unix->runActionScript('run-application...', Array, '', Array, Array)
#5 /opt/psa/admin/plib/Apspp/Backend/Adapter.php(151): Service_Driver_Aps_Unix->fusionRunActionScript('remove', 'file:////opt/ps...', 'configure', 'ndariano', 'php', Array, Array)
#6 /opt/psa/admin/plib/Apspp/Hosting/Resource/Environment.php(180): Apspp_Backend_Adapter->executeCode(Object(Apspp_Hosting_Context_Site), Object(Webspace), 'c4cc93f5-ec31-4...', 'php', 'configure', Array, Array, false)
#7 [internal function]: Apspp_Hosting_Resource_Environment->executeCode(Resource id #2531)
#8 /usr/share/aps_php/aps_php.php(7221): aps_provision_applicationresource_unprovisionforcibly(Resource id #108)
#9 /opt/psa/admin/plib/CommonPanel/Aps/ServiceCreationHelper.php(335): APS_Provision_ApplicationResource->unprovisionForcibly()
#10 /opt/psa/admin/plib/Smb/Form/Final/Aps/Install.php(313): CommonPanel_Aps_ServiceCreationHelper->installService()
#11 /opt/psa/admin/application/smb/controllers/AppController.php(311): Smb_Form_Final_Aps_Install->processForm()
#12 /opt/psa/admin/application/smb/controllers/AppController.php(243): Smb_AppController->_processInstall(Object(Smb_Form_Final_Aps_Install), Object(APS_Meta_PackageInfo))
#13 /opt/psa/admin/externals/Zend/Controller/Action.php(516): Smb_AppController->installAction()
#14 /opt/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('installAction')
#15 /opt/psa/admin/externals/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#16 /opt/psa/admin/plib/Application/Web.php(38): Zend_Controller_Front->dispatch(NULL)
#17 /opt/psa/admin/htdocs/application.php(15): Plesk\Application_Web->run()
#18 {main}
[2014-10-13 09:54:16] ERR [panel] Exception: PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
[2014-10-13 09:54:17] ERR [panel] Installation of WordPress at http://nickdariano.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66
'. Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66