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
 gust...@linconet.com.br 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#174; 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-12 Thread John Drescher
On Mon, Apr 12, 2010 at 5:36 PM, Gustavo Nunes Freire Ribeiro
gust...@linconet.com.br wrote:
 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.


What I mean is it is normal for the client and sd to say the job is
finished before the director says its finished. The reason is if you
have attribute spooling on this happens after all data is backed up
and after the client is done. This may also happen if you are running
an accurate backup.

John

--
Download Intel#174; 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-12 Thread mehma sarja
Gustavo,

You are probably over-thinking this. If the first job runs every time the
services are re-started and you are not getting any messages via email -
that's the problem.

Mehma
---
--
Download Intel#174; 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
 gust...@linconet.com.br 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#174; 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#174; 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 John Drescher
On Sat, Apr 10, 2010 at 11:55 AM, Gustavo Nunes Freire Ribeiro
gust...@linconet.com.br 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

--
Download Intel#174; 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#174; 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-09 Thread mehma sarja
On Fri, Apr 9, 2010 at 2:59 PM, Gustavo Nunes Freire Ribeiro 
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
===
--
Download Intel#174; 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