Closed (fixed)
Project:
Barracuda
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2012 at 21:35 UTC
Updated:
2 Oct 2012 at 23:31 UTC
I have the required files here: https://gist.github.com/3687356 plus dpkg.log which lists the last entry as:
2012-09-09 12:30:59 status unpacked mysql-common 5.5.27-mariadb1~squeeze
Its been stuck for 2 hours
I'm getting better at linux sys admin, but still quite green, so I'm not sure the best way to deal with this. All sites are still up and running. Is the entry linked below the appropriate fix? Thank you for any tips
Comments
Comment #1
omega8cc commentedYou need to kill all those hanging barracuda processes to prevent removing MariaDB, as there is a critical bug in this recent version: #1778712: mariadb-client-5.5.27 upgrade leaves MariaDB unstartable
Then remove mytop with
apt-get remove mytop,apt-get purge mytop,rm -f /usr/bin/mytopand try to run barracuda up again - it will complain about two pid files - delete them and run barracuda up again to complete the upgrade.You may need to run
dpkg --configure -aif it will fail to delete mytop. Only when mytop is deleted, you will be able to complete MariaDB upgrade.Comment #2
leevh commentedThank you for the quick and thorough reply Omega8cc, very much appreciated!
Comment #3
omega8cc commentednp
Comment #4
matsav commentedThanks Omega for you help also.
followed omega8cc suggestions.
ran barracuda stable-update again.
aptitude full-update ran fine.
now froze up at "Restarting Redis and PHP-FPM, reloading Nginx."
Comment #5
matsav commentedSuccess
rm boa_wait.pid & boa_run.pid (again)
run dpkg --configure -a
run barracuda-upstable again (now completes full process)
my logs listed a missing pid for phpFPM
Comment #6
omega8cc commentedChanging the title to help others find the issue.
We have added a hot-fix also in BOA-2.0.3 stable, since 2.0.4 is not yet available and it is a critical issue.
Comment #7
matsav commentedTried another BOA 2.03 stable upgrade
Still had an issue with the upgrade script freezing up at "Restarting Redis and PHP-FPM, reloading Nginx."
same as before, after
rm boa_wait.pid & boa_run.pid (again)
run dpkg --configure -a
run barracuda-upstable again (now completes full process)
Comment #8
hyperglide commentedExperiencing the same issue on our server today.
Per the thread we have:
boa_wait.pidapt-get remove mytop,apt-get purge mytopandrm -f /usr/bin/mytopdpkg --configure -arun barracuda up againMariaDB server not running!/var/backups/barracuda-upgrade-120917-1714.logshows no errors -- posted file here http://pastebin.com/K4uE5CnXservice mysql force-reloadgives the following result:Advise of suggestions please.
Thank you
Hg
Comment #9
hyperglide commentedLooked at #1553166: How does one restart services like MariaDB on the BOA system? and see that there
/etc/mysql/my.cnfcontains :Tried to remove both lines and restart with same error message. as #8.
Running
tail -f /var/log/syslog | grep mysqlresults in:Running tail -f /var/log/syslog | grep mysql at the same time as
service mysql startresults in http://pastebin.com/wLarEnZcHelp please.
Comment #10
hyperglide commentedmysql -V == mysql Ver 15.1 Distrib 5.5.27-MariaDB, for debian-linux-gnu (i686) using readline 5.1
Comment #11
omega8cc commented@matsav That hanging php-fpm restart during upgrade is a separate issue - please open a new issue to avoid confusion here. Thanks.
Comment #12
omega8cc commented@HyperGlide We have introduced a working workaround to this MariaDB bug, so this issue is fixed. Please open separate support request and attach there all logs/files required, as listed in the submission guidelines. Thanks.
Comment #13
hyperglide commentedNew issues added at #1786572: MariaDB 5.5.27 -- Reloading MariaDB database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed.
Comment #14
matsav commentedNew issue added for missing pid for phpFPM / freeze at "Restarting Redis and PHP-FPM, reloading Nginx"
https://drupal.org/node/1788452
Thanks omega8.cc