Created attachment 853573 [details] cmd Description of problem: Command "rhc cartridge restart -a (appname) -c mysql-5.1" Similar message to bug 1053113. (attached file) Can't restart from console too. Reference ID: f3fd8a4ee7869904ec91bd3e46c89483 From browser: PDOException: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in lock_may_be_available() (line 167 of /var/lib/openshift/522e184ae0b8cddbe90000c5/app-root/data/downloads/drupal-7.23/includes/lock.inc). quota seems ok Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. run command "rhc app start -d (appname)" 2. 3. Actual results: Expected results: Expect app to restart Additional info:
Hi Martin, thank you for reporting this issue. I wasn't able to reproduce this bug. Could you please provide more info, maybe what kind of primary cartridge are you using, or what kind of quickstart. Thank you -Jakub
Sorry, found out from your comment that you are using Drupal. Nevertheless I wasn't able to reproduce the issue. I tried scaled and non-scaled Drupal apps to perform both: rhc cartridge restart -a (appname) -c mysql-5.1 rhc app start -d (appname) and both finished with successfully started cartridges and running application. Could you please provide more info, so we could reproduce the issue. Thank you -Jakub
My cartridges: PHP 5.3 MySQL 5.1 phpMyAdmin 4.0 I tried to restart separately and it's only the MySQL cartridge that can't restart.
Hi Martin, thanks for response. Was trying reproduce also on openshift online, but without luck. Could you maybe check you database configuration, if everything is set correctly, because the reason of the error above is database configuration only. If you by accident didn't changed something. Thank you -Jakub
root@openshift-ubuntu1310:~/openshifttestdir# rhc cartridge restart mysql-5 -a drupal Using mysql-5.1 (MySQL 5.1) for 'mysql-5' Restarting mysql-5.1 ... done root@openshift-ubuntu1310:~/openshifttestdir# rhc app restart drupal RESULT: drupal restarted both the app and mysql cartridge can be start.