Find the answer to your Linux question:
Results 1 to 4 of 4
Hello All When trying to access the director status (either via webmin or using the command prompt) the system seems to hang. When doing this via the command prompt at ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    tqz
    tqz is offline
    Just Joined!
    Join Date
    Jan 2008
    Posts
    50

    Bacula Bug???


    Hello All

    When trying to access the director status (either via webmin or using the command prompt) the system seems to hang. When doing this via the command prompt at the server it gives the following info: When the Daemon started and heap information etc then the columns for the table for scheduled jobs appear but not the data in the tables, the server then just hangs.

    If i restart bacula, then go to the bacula director using webmin I see that the jobs that should have been backed up yesterday are still in the scheduled backup jobs table. There is no error in the completed backup jobs table.

    Is there a bug??? I havenít changed anything in bacula and everything was working okay the previous day....

    Any help would be greatly appreciated on how to rectify this problem.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,392
    The Director is waiting for the database.

    Connect to the bacula DB.

    If it is a mysqld, issue a
    mysql> show processlist;

    You will notice some heavy requests.
    Possible deleting of pruned jobs.
    Or adding a jobīs file attributes of a client with lots of files.

    I had to tune mysqld, reconfigure raid layout and finally move
    to a more powerfull machine.
    From time to time I still face this issue.
    In my case, there are 650million files in that catalog, so well..
    Perhaps I should consider postgres

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,392
    And about that:

    Quote Originally Posted by tqz View Post
    Hello All

    If i restart bacula, then go to the bacula director using webmin I see that the jobs that should have been backed up yesterday are still in the scheduled backup jobs table. There is no error in the completed backup jobs table.
    What happened is:
    The jobs were still running.

    At least not all steps were finished, as after the actual backup this happens:
    a) the Storage Daemon has to spool data to tape (if you use the spool feature (you should))
    b) and then the file attributes are copied from SD to Director and finally to DB

    If you just kill the director while jobs are running, these jobs are not reported.

    BTW: the bweb webinterface will falsely report them as "running", but with ridiculous running times.
    These JobIDs can be safely deleted, as the jobs are not complete anyway.

    What you see in the scheduled section is just that.
    The next schedules for these jobs.

    Hope that helps a little

  4. #4
    tqz
    tqz is offline
    Just Joined!
    Join Date
    Jan 2008
    Posts
    50
    Hi Irithori and thanks for your responses!

    I did check the process list and didnt see any heavy processes (for postgres or bacula or anything else for that matter) eating up memory, strangely everything pretty much sorted itself out as soon as I posted....everything seems to be okay since then???

    Thanks again for your help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •