[Bug 1026680] Re: bacula director crashing whole system
** Changed in: bacula (Ubuntu Precise) Status: Confirmed = Fix Released ** Changed in: bacula (Ubuntu) Status: Confirmed = Fix Released -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
** Changed in: bacula (Ubuntu Precise) Milestone: ubuntu-12.04.2 = ubuntu-12.04.3 -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
** Changed in: bacula (Ubuntu Precise) Milestone: ubuntu-12.04.3 = None -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: bacula (Ubuntu Precise) Status: New = Confirmed -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: bacula (Ubuntu) Status: New = Confirmed -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Hi Thomas Thanks for the additional information; Please could you confirm how you would expect the database upgrade to take place in your environment? The packages provide upgrade scripts for dbconfig-common; but if you are not using this method I can see how you might hit issues. -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
I can see one thing that might be causing this even with dbconfig- common; this is present in the latest packages in quantal: ALTER DATABASE _DBC_DBNAME_ SET datestyle TO 'ISO, YMD'; But its not present in precise; neither is it applied during upgrades AFAICT. -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Hmm - but it actually appears to be OK anyway: ubuntu@server-16254:/var/log/dist-upgrade$ sudo -u postgres psql bacula Use of uninitialized value $lib_path in concatenation (.) or string at /usr/bin/psql line 116. psql (8.4.13) Type help for help. bacula=# show datestyle; DateStyle --- ISO, YMD (1 row) bacula=# From a 10.04 - 12.04 upgraded installation -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Note that some of the standard scripts for maintaining a bacula postgresql database can be found in /usr/share/bacula-director. However the create_* scripts are not installed with the packages. -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Thomas FYI I suspect the reason the scripts are installed to /usr/share/bacula- director is that /etc/bacula is reserved for configuration files; these files are not configuration files that users would be expected to edit so they are installed to /usr/share/bacula-director instead. -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
This is related to postgresql not using passwords if user postgres used to connect to databases. All database upgrade scripts are written to use passwords, but the upgrade script used by ubuntu switches to user postgres, then failing while providing passwords. Other parts of the script use the provided bacula-user then fail, because of missing privileges (these are only needed while upgrading, not for normal operation). After this messy routine ran, you'll have a database more or less working, but breaking bacula at various places, just because the database layout isn't what bacula is awaiting (some upgrades fail because a password is given, where no one is defined, some break because the necessary password isn't provided). While searching for this error I had to find: the scripts provided to create the bacula database are not part of the install. create-bacula- pgsql-db and create-bacula-mysql-db are just missing. I am awaiting these scripts as found in bacula docs. At /etc/bacula/scripts! No where else. At sure not messing around with additional packages to find them. It is bad behaviour not installing these with the bacula-director-mysql- or bacula-director-pgsql-packages. I've already mentioned this before now again finding these scripts not provided. Are there any arguments against providing them?? -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
** Also affects: bacula (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: bacula (Ubuntu Precise) Importance: Undecided = Critical ** Changed in: bacula (Ubuntu Precise) Milestone: None = ubuntu-12.04.2 -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Thanks for all the testing Thomas. It sounds like there may also be something specific in that database that breaks because of migrations. I wonder, can you also try 10.04 - 12.04 without all the intermediate steps? -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
I did a few additional tests now. Some results: 1. I've installed bacula on a newly set up system (Ubuntu 12.04 LTS), with an empty database: works as expected. 2. I've installed bacula on a newly set up system (Ubuntu 10.04 LTS), with an empty database: works as expected. 3. I've installed bacula on a newly set up system (Ubuntu 12.04 LTS), then imported an old bacula database: exausts message about wrong database. After migrating the database works as expected. 4. I've installed bacula on a newly set up system (Ubuntu 10.04 LTS), then imported an old bacula database: works as expected. Then migrated to Ubuntu 10.10, 11.04, 11.10: works as expected. Then migrated to Ubuntu 12.04: crashes after accessing the database to start a backup. 5. I've installed bacula on a newly set up system (Ubuntu 10.04 LTS), then imported an old bacula database: works as expected. Then migrated to Ubuntu 10.10, 11.04, 11.10: works as expected. Then migrated to Ubuntu 12.04. Wiped the database, then imported an old one, then migrated the database as described on the bacula pages: works as expected. 6. I've installed bacula on a newly set up Ubuntu 10.04, then imported an old database: works as expected. Next thing done was migrating to 10.10, 11.04, 11.10. Testing after every migration. Each time it worked as expected. After migrating to 12.04 bacula crashed (what I awaited). Now I tried to migrate the database as described on the bacula web site. This time without success: various error messages, then one stating the database allready where migrated and nothing changed. For me it looks a lot like migrating to Ubuntu 12.04, changing bacula from 5.0.x to 5.2.x breaks the database, forcing bacula to crash. I did not look at what exactly causes bacula to crash only trying to replicate the path I had taken leading to this crash. -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
I'll post the configuration files. But since they hold confidential stuff I'd like to keep them from public ... ** Attachment added: bacula-cfg.tgz https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+attachment/3233401/+files/bacula-cfg.tgz -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
The problem arises as soon as the database is accessed. Short after bacula director exhausting all available memory. This kills various running tasks, including sshd, cutting the server from access. -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
Thomas this sounds pretty serious. We'll have to setup a test to try and recreate your scenario, which may take a while. Any information you can provide to help us duplicate the issues, such as config files (redacted of course) and numbers (numbers of files, disks, etc) will be helpful. Thanks! ** Changed in: bacula (Ubuntu) Importance: Undecided = Critical -- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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 1026680] Re: bacula director crashing whole system
-- 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/1026680 Title: bacula director crashing whole system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bacula/+bug/1026680/+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