Re: [Bacula-users] Admin Job with console command crashing director

2013-04-19 Thread Marcin Haba
2013/4/19 Radosław Korzeniewski : > Hello, > > 2013/4/19 ganiuszka >> >> >> Hi Radoslaw, >> >> Could you past your Job configuration with Runscript? >> > > Here you are: > > Job { > Name = "JobUpdateESXJobs" > JobDefs = "JobDefsAdmin" > Client = "esx-fd" > RunScript { > RunsWhen = Befo

Re: [Bacula-users] Admin Job with console command crashing director

2013-04-19 Thread Radosław Korzeniewski
Hello, 2013/4/19 ganiuszka > > Hi Radoslaw, > > Could you past your Job configuration with Runscript? > > Here you are: Job { Name = "JobUpdateESXJobs" JobDefs = "JobDefsAdmin" Client = "esx-fd" RunScript { RunsWhen = Before RunsOnClient = yes Command = "/opt/bacula/scripts/

Re: [Bacula-users] Admin Job with console command crashing director

2013-04-19 Thread ganiuszka
W dniu 19.04.2013 11:17, Radosław Korzeniewski pisze: > Hello, > > 2013/4/19 Marcin Haba mailto:ganius...@gmail.com>> > > > For your solution I think that better will be to put your bconsole > requests in a shell script. > > > I have a question about it. I can't run an Admin Job which call

Re: [Bacula-users] Admin Job with console command crashing director

2013-04-19 Thread Radosław Korzeniewski
Hello, 2013/4/19 Ana Emília Machado de Arruda > Hi Radoslaw, > > No, It works fine when you work with scripts (and bconsole commands inside > the script). I´m sure if you open another thread (because it would appear > more clear to the list if you put your subject question...) and post your > sc

Re: [Bacula-users] Admin Job with console command crashing director

2013-04-19 Thread Radosław Korzeniewski
Hello, 2013/4/19 Marcin Haba > > For your solution I think that better will be to put your bconsole > requests in a shell script. > > I have a question about it. I can't run an Admin Job which call an OS script instead of console commands. It is expected behavior? best regards -- Radosław Korz

Re: [Bacula-users] Admin Job with console command crashing director

2013-04-18 Thread Marcin Haba
2013/4/19 Marcin Haba : > 2013/4/17 Ana Emília Machado de Arruda : >> Hello, >> >> I´m trying to run a console command from an admin job and this is crashing >> my director. A simple Console = "list jobs", inside a RunScript directive, >> crashes the director (bacula-dir dead but subsys locked) and

Re: [Bacula-users] Admin Job with console command crashing director

2013-04-18 Thread Marcin Haba
2013/4/17 Ana Emília Machado de Arruda : > Hello, > > I´m trying to run a console command from an admin job and this is crashing > my director. A simple Console = "list jobs", inside a RunScript directive, > crashes the director (bacula-dir dead but subsys locked) and it generates a > "Bacula GDB t

[Bacula-users] Admin Job with console command crashing director

2013-04-17 Thread Ana Emília Machado de Arruda
Hello, I´m trying to run a console command from an admin job and this is crashing my director. A simple Console = "list jobs", inside a RunScript directive, crashes the director (bacula-dir dead but subsys locked) and it generates a "Bacula GDB traceback of bacula-dir on myDirector" mail. Below i