[Bug 1019133] Re: bacula-director-mysql fails to authenticate against mysql on upgrade
A strange series of events just happened which lead to the successful conversion of the bacula DB. This is what happened: Initially, I had been using Gnome shell. I logged out because I couldn't access my contacts in Evolution. I logged into Unity and I can access my Evolution contacts (which are GMail contacts). I added an external ppa to install some extra icons. Using Synaptic package manager, I selected the icon packages I wanted to and applied the changes. During the icon package install, a window opened up asking for the MySQL root password. There is not normally a connection between the icons and MySQL. I can't explain how this happened and why the MySQL password window started up, but the end result is that the Bacula DB has been correctly upgraded and the director is now running correctly. As far as I'm concerned, this is no longer a bug for me. Thank you for all your help. If you can offer some explanation, I'm willing to read it. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/1019133 Title: bacula-director-mysql fails to authenticate against mysql on upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1019133/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1019133] Re: bacula-director-mysql fails to authenticate against mysql on upgrade
I can't reproduce this bug because the Bacula update succeeded. Just the DB upgrade failed. This causes the Bacula director to fail to start. The problem started when I upgraded from Ubuntu 11.10 to 12.04. I haven't got the relevant Bacula bug reference for this, but I did get notifications that it had been corrected, hence the current Bacula version, which is successfully installed on my machine now. I've seen other MySQL upgrades which ask for the root MySQL password. This did not happen during the Bacula DB upgrade. Let me know if there is any other information I can provide. I guess, if nobody else is affected by this bug, then I must have some local misconfiguration. Either way, it should not have happened. Bacula was fully functional in 11.10, and problems only started when I upgraded to 12.04. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/1019133 Title: bacula-director-mysql fails to authenticate against mysql on upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1019133/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1019133] Re: package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/1019133 Title: package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1019133/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1019133] [NEW] package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Public bug reported: MySQL database root users requires a password. There is no prompt to enter this password. Therefore the upgrade cannot be completed using the normal Bacula upgrade process. Description:Ubuntu 12.04 LTS Release:12.04 Expected: Prompt to enter the MySQL root password to allow the database update to be performed. ProblemType: Package DistroRelease: Ubuntu 12.04 Package: bacula-director-mysql 5.2.5-0ubuntu6.1 ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18 Uname: Linux 3.2.0-25-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.0.1-0ubuntu8 Architecture: amd64 Date: Fri Jun 29 12:43:21 2012 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429) SourcePackage: bacula Title: package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: Upgraded to precise on 2012-05-14 (46 days ago) ** Affects: bacula (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package precise -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/1019133 Title: package bacula-director-mysql 5.2.5-0ubuntu6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1019133/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 774964] Re: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10
Yes, the problem did occur during removal and I was only able to enter the mysql password once. At the time, it was unclear whether dpkg was asking for the mysql bacula user password or the mysql admin password. I incorrectly assumed it was asking for the mysql bacula password, when instead it actually wanted the mysql admin password. There was no way I could see of going back and re-entering the password. I removed all of the bacula packages and re-installed just the bacula client package. Everything is working fine now. I guess the problem wasn't actually with bacula, but more so with dpkg not allowing me to re-enter the incorrect password and also not being specific enough about which mysql user it wanted a password for. Thanks for your quick response time with this issue. Should I open up a new bug for dpkg and transfer this description there? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/774964 Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 774964] Re: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/774964 Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 774964] [NEW] package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10
Public bug reported: Binary package hint: bacula I tried removing bacula director and bacula mysql and I assumed the operation was successful. After logging back in sometime later, I got a message saying there was a problem with bacula-director-mysql. ProblemType: Package DistroRelease: Ubuntu 11.04 Package: bacula-director-mysql (not installed) ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 Uname: Linux 2.6.38-8-generic x86_64 NonfreeKernelModules: nvidia AptOrdering: bacula-director-mysql: Remove bacula-common-mysql: Remove bacula-director-common: Remove Architecture: amd64 Date: Sat Apr 30 14:03:41 2011 ErrorMessage: subprocess installed pre-removal script returned error exit status 10 InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1) SourcePackage: bacula Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10 UpgradeStatus: Upgraded to natty on 2011-04-30 (1 days ago) ** Affects: bacula (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package natty -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to bacula in Ubuntu. https://bugs.launchpad.net/bugs/774964 Title: package bacula-director-mysql (not installed) failed to install/upgrade: subprocess installed pre-removal script returned error exit status 10 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs