Bacula-users

Re: [Bacula-users] Director dies every morning!

2008-10-07 04:01:07
Subject: Re: [Bacula-users] Director dies every morning!
From: Bill Damage <bill.damage AT yahoo DOT com>
To: Frederico Argolo <fredargolo AT gmail DOT com>, bacula-users AT lists.sourceforge DOT net
Date: Tue, 7 Oct 2008 00:52:02 -0700 (PDT)
And now the Director lives every morning!
Thanks. I did 2 things different, one/both might have fixed it. First I did as you suggested and left it with no jobs in this wierd R state. Next I thought back to the last thing I changed and I was actually trying to get the emails sent to a different address, but the address I had in the dir conf file was assigned an IP address in the main linux hosts file 192.168.62.4. I changed this to 127.0.0.1 and this morning the email came in (first time!) and the director is fine.



----- Original Message ----
From: Frederico Argolo <fredargolo AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Sent: Monday, October 6, 2008 2:04:44 PM
Subject: Re: [Bacula-users] Director dies every morning!


I think that's a bacula problem....because there are no jobs running  but when you list the jobs you see JobStatus = R (running)

So...when I got this, I delete the job!

* delete jobid=<jobid number>

Fred

On Fri, Oct 3, 2008 at 4:37 AM, Bill Damage <bill.damage AT yahoo DOT com> wrote:
----- Original Message ----
From: Mike Eggleston <mikeegg1 AT mac DOT com>
To: Bill Damage <bill.damage AT yahoo DOT com>
Cc: bacula-users AT lists.sourceforge DOT net
Sent: Thursday, October 2, 2008 7:50:43 PM
Subject: Re: [Bacula-users] Director dies every morning!

On Thu, 02 Oct 2008, Bill Damage might have said:

> I have more info. Why can't I cancel these jobs - they appear as
> running! It seems a new job is made each day which just does nothing
> except lock up the console:
>
> *list jobs
> +-------+--------------------+---------------------+------+-------+----------+----------------+-----------+
> | JobId | Name              | StartTime          | Type | Level | JobFiles | JobBytes      | JobStatus |
> +-------+--------------------+---------------------+------+-------+----------+----------------+-----------+
> |    1 | Tiger USB Critical | 2008-09-20 10:43:04 | B    | F    |        0 |              0 | f        |
> |    2 | BackupCatalog      | 2008-09-20 23:10:02 | B    | F    |        0 |              0 | A        |
> |    3 | Tiger USB Critical | 2008-09-21 09:41:54 | B    | F    |        0 |              0 | f        |
> |    4 | Tiger USB Critical | 2008-09-22 06:30:03 | B    | F    |      85 | 17,016,560,760 | T        |
> |    5 | Tiger USB Critical | 2008-09-23 11:44:11 | B    | F    |      85 | 17,016,560,760 | T        |
> |    6 | Tiger USB Critical | 2008-09-25 10:36:37 | B    | I    |        3 |    570,292,154 | T        |
> |    7 | Tiger USB Critical | 2008-09-25 10:46:46 | B    | I    |        3 |    570,292,154 | T        |
> |    8 | Tiger USB Critical | 2008-09-26 06:30:02 | B    | I    |        0 |              0 | R        |
> |    9 | Tiger USB Critical | 2008-09-27 06:30:02 | B    | I    |        0 |              0 | R        |
> |    10 | Tiger USB Critical | 2008-09-28 06:30:03 | B    | I    |        0 |              0 | T        |
> |    11 | Tiger USB Critical | 2008-09-29 06:30:02 | B    | I    |        0 |              0 | R        |
> |    12 | Tiger USB Critical | 2008-09-30 06:30:02 | B    | I    |        0 |              0 | R        |
> |    13 | Tiger USB Critical | 2008-10-01 06:30:03 | B    | I    |        0 |              0 | R        |
> |    14 | Tiger USB Critical | 2008-10-02 06:30:02 | B    | I    |        0 |              0 | R        |
> +-------+--------------------+---------------------+------+-------+----------+----------------+-----------+
> *
> 02-Oct 06:30 tiger-dir JobId 14: Start Backup JobId 14, Job=Tiger_USB_Critical.2008-10-02_06.30.04
> *messages
> You have no messages.
> *cancel
> No Jobs running.
> *

> What does '*status dir' say?

> Mike

Here we go:


login as: root
root@tiger's password:
Last login: Thu Oct  2 12:54:58 2008 from 192.168.62..3
[root@tiger ~]# bconsole
Connecting to Director tiger:9101
1000 OK: tiger-dir Version: 2.4.2 (26 July 2008)
Enter a period to cancel a command.
*status dir
tiger-dir Version: 2.4.2 (26 July 2008) i686-pc-linux-gnu redhat
Daemon started 02-Oct-08 11:17, 0 Jobs run since started.
 Heap: heap=114,688 smbytes=29,891 max_bytes=31,316 bufs=195 max_bufs=201

Scheduled Jobs:
Level          Type     Pri  Scheduled          Name               Volume
===================================================================================
Incremental    Backup    10  03-Oct-08 06:30    Tiger USB Critical 004
====

Running Jobs:
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
====================================================================
     1  Full          0         0   Error    15-Sep-08 22:19 Tiger_News
    73  Full          0         0   Error    18-Sep-08 23:10 BackupCatalog
    74  Full         85    17.01 G  OK       19-Sep-08 13:42 Tiger_USB_Critical
    75  Full          0         0   Cancel   20-Sep-08 10:24 BackupCatalog
    76  Incr          0         0   Error    20-Sep-08 10:28 Tiger_USB_Critical
     1  Full          0         0   Error    20-Sep-08 10:43 Tiger_USB_Critical
     2  Full          0         0   Cancel   21-Sep-08 09:41 BackupCatalog
     3  Full          0         0   Error    21-Sep-08 09:53 Tiger_USB_Critical

====
*





----- Original Message ----
From: Mike Eggleston <mikeegg1 AT mac DOT com>
To: Bill Damage <bill.damage AT yahoo DOT com>
Cc: bacula-users AT lists.sourceforge DOT net
Sent: Thursday, October 2, 2008 7:50:43 PM
Subject: Re: [Bacula-users] Director dies every morning!

On Thu, 02 Oct 2008, Bill Damage might have said:

> I have more info. Why can't I cancel these jobs - they appear as
> running! It seems a new job is made each day which just does nothing
> except lock up the console:
>
> *list jobs
> +-------+--------------------+---------------------+------+-------+----------+----------------+-----------+
> | JobId | Name              | StartTime          | Type | Level | JobFiles | JobBytes      | JobStatus |
> +-------+--------------------+---------------------+------+-------+----------+----------------+-----------+
> |    1 | Tiger USB Critical | 2008-09-20 10:43:04 | B    | F    |        0 |              0 | f        |
> |    2 | BackupCatalog      | 2008-09-20 23:10:02 | B    | F    |        0 |              0 | A        |
> |    3 | Tiger USB Critical | 2008-09-21 09:41:54 | B    | F    |        0 |              0 | f        |
> |    4 | Tiger USB Critical | 2008-09-22 06:30:03 | B    | F    |      85 | 17,016,560,760 | T        |
> |    5 | Tiger USB Critical | 2008-09-23 11:44:11 | B    | F    |      85 | 17,016,560,760 | T        |
> |    6 | Tiger USB Critical | 2008-09-25 10:36:37 | B    | I    |        3 |    570,292,154 | T        |
> |    7 | Tiger USB Critical | 2008-09-25 10:46:46 | B    | I    |        3 |    570,292,154 | T        |
> |    8 | Tiger USB Critical | 2008-09-26 06:30:02 | B    | I    |        0 |              0 | R        |
> |    9 | Tiger USB Critical | 2008-09-27 06:30:02 | B    | I    |        0 |              0 | R        |
> |    10 | Tiger USB Critical | 2008-09-28 06:30:03 | B    | I    |        0 |              0 | T        |
> |    11 | Tiger USB Critical | 2008-09-29 06:30:02 | B    | I    |        0 |              0 | R        |
> |    12 | Tiger USB Critical | 2008-09-30 06:30:02 | B    | I    |        0 |              0 | R        |
> |    13 | Tiger USB Critical | 2008-10-01 06:30:03 | B    | I    |        0 |              0 | R        |
> |    14 | Tiger USB Critical | 2008-10-02 06:30:02 | B    | I    |        0 |              0 | R        |
> +-------+--------------------+---------------------+------+-------+----------+----------------+-----------+
> *
> 02-Oct 06:30 tiger-dir JobId 14: Start Backup JobId 14, Job=Tiger_USB_Critical.2008-10-02_06.30.04
> *messages
> You have no messages.
> *cancel
> No Jobs running.
> *

What does '*status dir' say?

Mike


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url="">
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users