Hello,
Before Plesk 11.5 latest version for Linux, the application installation script for a vault application will use the localhost (loopback) to connect to the default MySQL server running on same machine. SInce the upgrade, I noticed that the installation scripts for example for Joomlav3 it tries to use the external IP f.i.:
Dabase Server: PrimaryexternalIP:3306
This task fails on most of my servers because I block incoming traffic on port 3306 and only allow internal traffic to it :
Installation of joomla
Error: Installation of joomla at http://XXXXXXXXX.com/joomla failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /usr/local/psa/var/apspackages/apscatalogXMkqyJ.zip6e2a1267-4f0d-18/cache/scripts/db-util.php on line 66 '. Error stream: 'PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /usr/local/psa/var/apspackages/apscatalogXMkqyJ.zip6e2a1267-4f0d-18/cache/scripts/db-util.php on line 66 '
How do I modify the application vault installers -- not only for Joomla -- so the install script uses the 127.0.0.1 (localhost) IP for installation?
Note:
Centos 6.4 64bit
Plesk version 11.5.29 Update #3, last updated at June 17, 2013 08:10 PM
Thanks
Before Plesk 11.5 latest version for Linux, the application installation script for a vault application will use the localhost (loopback) to connect to the default MySQL server running on same machine. SInce the upgrade, I noticed that the installation scripts for example for Joomlav3 it tries to use the external IP f.i.:
Dabase Server: PrimaryexternalIP:3306
This task fails on most of my servers because I block incoming traffic on port 3306 and only allow internal traffic to it :
Installation of joomla
Error: Installation of joomla at http://XXXXXXXXX.com/joomla failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /usr/local/psa/var/apspackages/apscatalogXMkqyJ.zip6e2a1267-4f0d-18/cache/scripts/db-util.php on line 66 '. Error stream: 'PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /usr/local/psa/var/apspackages/apscatalogXMkqyJ.zip6e2a1267-4f0d-18/cache/scripts/db-util.php on line 66 '
How do I modify the application vault installers -- not only for Joomla -- so the install script uses the 127.0.0.1 (localhost) IP for installation?
Note:
Centos 6.4 64bit
Plesk version 11.5.29 Update #3, last updated at June 17, 2013 08:10 PM
Thanks