Re: [Bacula-users] bacula-dir dies on 3.0.3 version

2010-04-12 Thread Gustavo Nunes Freire Ribeiro
The problem is certainly in version 3.0.3. In version 3.0.2 this problem
does not happen.

John, I'm sure the problem is not in the database. The job that I
perform, the bacula-dir shows me running, but not running on the
bacula-sd and not in the bacula-fd too.

John Drescher escreveu:
> On Sat, Apr 10, 2010 at 11:55 AM, Gustavo Nunes Freire Ribeiro
>  wrote:
>   
>> Hello Mehma,
>>
>> I've done these 2 tests:
>>
>> I commented out messages section and still going the same problem. Guilt
>> bstmp's really not because I am not using it.
>>
>> I had restarted the bacula-dir after running the first job and it runs
>> the first job, when I run the second job it
>> simply stop. When I ask the status of the bacula-dir, it shows that the
>> job is running, but when I check in bacula-sd and bacula-fd does not
>> there is no job running. Sorry my english =)
>>
>> 
>
> How long have you waited? Was there activity on the database server? A
> job will end on the FD side but still be running on the director for
> sometimes several minutes. The reason is it may take a long time to
> despool the database entries.
>
> John
>
>   


-- 
Gustavo N. F. Ribeiro
Analista de Redes
LINCONET Soluções em Informática LTDA
+55 84 9996-3582


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bacula-dir dies on 3.0.3 version

2010-04-10 Thread Gustavo Nunes Freire Ribeiro
Hello Mehma,

I've done these 2 tests:

I commented out messages section and still going the same problem. Guilt
bstmp's really not because I am not using it.

I had restarted the bacula-dir after running the first job and it runs
the first job, when I run the second job it
simply stop. When I ask the status of the bacula-dir, it shows that the
job is running, but when I check in bacula-sd and bacula-fd does not
there is no job running. Sorry my english =)

mehma sarja escreveu:
>
>
> On Fri, Apr 9, 2010 at 2:59 PM, Gustavo Nunes Freire Ribeiro
> mailto:gust...@linconet.com.br>> wrote:
>
> Hello everybody,
>
> I'm facing a problem with bacula 3.0.3. It simply stops
> work when I run the second job after starting bacula-dir. I saw emails
> here on the list talking about this issue, and put the blame on
> bsmtp. I
> ran
>
>
> Gustavo,
>
> Do you have smtp running on the network? bsmtp does not do
> authentication. You can BARELY make do with ssmtp:
>
> http://tombuntu.com/index.php/2008/10/21/sending-email-from-your-system-with-ssmtp/
>
> You have a couple of testing choices: Comment out the messages
> sections and see if jobs start running. Additionally, you can restart
> the bacula daemons and run one job, restart again and run another job.
> If that works, it's the bsmtp that Bacula is waiting on after the
> first job.
>
> Mehma
> ===
>
>
> -- 
> Esta mensagem foi verificada pelo sistema de antivírus e
> acredita-se estar livre de perigo.
> 
>
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> 
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>   


-- 
Gustavo N. F. Ribeiro
Analista de Redes
LINCONET Soluções em Informática LTDA
+55 84 9996-3582


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bacula-dir dies on 3.0.3 version

2010-04-09 Thread Gustavo Nunes Freire Ribeiro
Hello everybody,

I'm facing a problem with bacula 3.0.3. It simply stops
work when I run the second job after starting bacula-dir. I saw emails
here on the list talking about this issue, and put the blame on bsmtp. I
ran
at bacula and the foreground with debug = 100. I noticed that when
starting a
job, in this debug level, presents the following messages:

efdeebf042024fd48d145f08f7ba4: job.c :173-46 Created job record JobId = 46
Name = f6c3aa8eb8bb4e90bb3f7318ac48a331_job.2010-04-09_18.29.06_03 Type = B
Level I =
efdeebf042024fd48d145f08f7ba4: Got sql_find.c :138-46 start time:
2010-04-09
18:25:28
efdeebf042024fd48d145f08f7ba4: Got sql_find.c :186-46 start time:
2010-04-09
17:17:14
efdeebf042024fd48d145f08f7ba4: fd_cmds.c :214-46 have_full do_full = 1 = 0
full_time = 1270848546 now = 1270844234
efdeebf042024fd48d145f08f7ba4: fd_cmds.c :271-46 Level = I last start
time = 2010 -
04-09 18:25:28
efdeebf042024fd48d145f08f7ba4: JobId ua_run.c :182-0 = 46 = 46 NewJobId
pool using
f6c3aa8eb8bb4e90bb3f7318ac48a331_pool priority = 10
efdeebf042024fd48d145f08f7ba4: backup.c :193-46 JobLevel JobId = 46 = I
efdeebf042024fd48d145f08f7ba4: msgchan.c :104-46 bnet_connect to Storage
daemon
192.168.50.50:9103


Has much more to debug further, I cut and put only the important part.
But when I try to start the second job, it just goes into this part:

efdeebf042024fd48d145f08f7ba4: job.c :173-47 Created job record JobId = 47
Name = f6c3aa8eb8bb4e90bb3f7318ac48a331_job.2010-04-09_18.29.53_04 Type = B
Level I =
efdeebf042024fd48d145f08f7ba4: Got sql_find.c :138-47 start time:
2010-04-09
18:25:28
efdeebf042024fd48d145f08f7ba4: Got sql_find.c :186-47 start time:
2010-04-09
17:17:14
efdeebf042024fd48d145f08f7ba4: fd_cmds.c :214-47 have_full do_full = 1 = 0
full_time = 1270848593 now = 1270844234
efdeebf042024fd48d145f08f7ba4: fd_cmds.c :271-47 Level = I last start
time = 2010 -
04-09 18:25:28
efdeebf042024fd48d145f08f7ba4: JobId ua_run.c :182-0 = 47 = 47 NewJobId
using pool
f6c3aa8eb8bb4e90bb3f7318ac48a331_pool priority = 10

Thats only ! No error, ie, it does not execute
backup.c doing same that it do on the first job. I made this test by
removing the
settings for sending mail, which will not make the proceedings come bsmtp
zombie, because Bacula does not perform the same.

Sorry for the names of the director, and client pool, but I generate the
configurations
automatically, and sorry for my english too =)

-- 
Gustavo N. F. Ribeiro
Analista de Redes
LINCONET Soluções em Informática LTDA
+55 84 9996-3582


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Auto label frustration....

2010-02-01 Thread Gustavo Nunes Freire Ribeiro
Russel,

Inc-Pool reached Maximum Volumes (7 volumes), thats it the cause of your 
problems

sorry my english =)

--
Gustavo N. F. Ribeiro
Analista de Redes
LINCONET Soluções em Informática LTDA
+55 84 9996-3582



Russell Sutherland escreveu:
> My autolabels just stopped working. For no apparent reason. Here's the  
> error message:
>
> *messages
> 01-Feb 12:49 tank-dir JobId 21689: Start Backup JobId 21689,  
> Job=madhaus-home.2010-02-01_12.49.16_07
> 01-Feb 12:49 tank-dir JobId 21689: Using Device "Tank-large-device"
> 01-Feb 12:49 tank-sd JobId 21689: Job madhaus-home. 
> 2010-02-01_12.49.16_07 waiting. Cannot find any appendable volumes.
> Please use the "label"  command to create a new Volume for:
>  Storage:  "Tank-large-device" (/opt/bacula)
>  Pool: Inc-Pool
>  Media type:   Tank-large-file
>
> I  believe my configuration is set to allow for auto labeling:
>
> Pool {
>  Name = Inc-Pool
>  Pool Type = Backup
>  Recycle = yes
>  AutoPrune = yes
>  Volume Retention = 20 days
>  Maximum Volume Jobs = 216 # 6 times number of  
> total Jobs, One week of Incs
>  Label Format = Inc-
>  Maximum Volumes = 7
> }
>
> Here's the appropriate section from the SD configuration file:
>
> Device {
>Name = Tank-large-device
>Media Type = Tank-large-file
>Archive Device =  /opt/bacula
>Random Access = yes
>Automatic Mount = yes
>Removable Media = no
>Always Open = no
>Label Media = yes
> }
>
>
> And here's the job definition:
>
>
> JobDefs {
>Name = "DefaultJob"
>Type = Backup
>Level = Incremental
>Client = tank-fd
>FileSet = "Full Set"
>Schedule = "WeeklyCycle"
>Messages = Standard
>Storage = Storage-tank-large
>Pool = Default
>Write Bootstrap = "/var/db/bacula/%c_%n.bsr"
>Priority = 10
>Full Backup Pool = Full-Pool
>Differential Backup Pool = Diff-Pool
>Incremental Backup Pool = Inc-Pool
> }
>
> Job {
>Name = madhaus-home
>Enabled = yes
>JobDefs = DefaultJob
>Client = madhaus-fd
>FileSet = "Home"
> }
>
>
> Here's the Pool Volume info:
>
> +-++---+-+ 
> +--+--+-+--+--- 
> +-+-+
> | MediaId | VolumeName | VolStatus | Enabled | VolBytes   |  
> VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType
> | LastWritten |
> +-++---+-+ 
> +--+--+-+--+--- 
> +-+-+
> |  26 | Inc-0026   | Full  |   1 | 40,815,227,791 | 
> 9 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2010-01-25 03:13:46 |
> |  54 | Inc-0054   | Full  |   1 | 39,945,080,087 | 
> 9 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2010-01-29 03:20:10 |
> |  55 | Inc-0055   | Full  |   1 |  4,443,222,157 | 
> 1 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2010-01-30 03:08:30 |
> |  78 | Inc-0078   | Full  |   1 |  2,171,538,568 | 
> 0 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2010-01-30 03:13:46 |
> | 245 | Inc-0245   | Error |   1 | 25,158,288,533 | 
> 5 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2009-01-22 13:54:26 |
> | 344 | Inc-0344   | Full  |   1 | 49,866,197,436 |
> 11 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2010-01-20 03:19:11 |
> | 399 | Inc-0399   | Full  |   1 | 49,112,140,617 |
> 11 |1,728,000 |   1 |0 | 0 | Tank-large-file |  
> 2010-01-13 03:09:55 |
> +-++---+-+ 
> +--+--+-+--+--- 
> +-+-+
>
>
> Any ideas?
>
>
> ---
> Russell P. Sutherland Email: russ @ madhaus.cns.utoronto.ca
> 4 Bancroft Ave., Rm. 102  Voice: +1.416.978.0470
> University of Toronto Fax:   +1.416.978.6620
> Toronto, ON  M5S 1C1
> CANADA
>
>
>
>
>
>
> --
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>   


-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.


--