Hi,
Sorry for posting this bugreport here but I could not register in
bugtracker — haven't received an activation email nor could resend it.
When you run several "reload" commands in bconsole in parallel it causes
bacula-director crash:
for x in $(seq 1 10); do (echo reload | bconsole &) ; done
Notice the "&" which means that reloads are sent to bconsole in parallel at
the same time.
Here is the output of the command run:
admin:~$ for x in $(seq 1 10); do (echo reload | bconsole &) ; done
Connecting to Director localhost:9101
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
Enter a period to cancel a command.
Connecting to Director localhost:9101
reload
Connecting to Director localhost:9101
Connecting to Director localhost:9101
Connecting to Director localhost:9101
admin@monitoring:~$ Connecting to Director localhost:9101
Connecting to Director localhost:9101
Connecting to Director localhost:9101
Connecting to Director localhost:9101
You have messages.
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
Enter a period to cancel a command.
reload
Enter a period to cancel a command.
reload
1000 OK: XXXXXXX-dir Version: 5.2.6 (21 February 2012)
Enter a period to cancel a command.
reload
Enter a period to cancel a command.
reload
Enter a period to cancel a command.
reload
Enter a period to cancel a command.
reload
Bad response to Hello command: ERR=Connection reset by peer
Director authorization problem.
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error
during the TLS handshake.
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000for
help.
Connecting to Director localhost:9101
Director authorization problem.
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error
during the TLS handshake.
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION003760000000000000000for
help.
The Director is crashed after that.
Here is the log output for bacula-dir for reference:
root:~# /usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g
bacula -f -d 99 -v
bacula-dir: dird.c:185-0 Debug level = 99
bacula-dir: inc_conf.c:556-0 set wildbase e79508 size=1 *.log
bacula-dir: inc_conf.c:556-0 set wildbase e79508 size=2 *.log.1
bacula-dir: inc_conf.c:556-0 set wildbase e79508 size=3 *.log.*.gz
bacula-dir: inc_conf.c:556-0 set wildbase e79508 size=4 *.log.gz
bacula-dir: inc_conf.c:556-0 set wildbase e79508 size=5 sess_*
bacula-dir: inc_conf.c:556-0 set wilddir e79508 size=1 tmp
bacula-dir: inc_conf.c:556-0 set wilddir e79508 size=2 log
bacula-dir: inc_conf.c:556-0 set wilddir e79508 size=3 logs
bacula-dir: inc_conf.c:556-0 set wildbase e7a278 size=1 sess_*
bacula-dir: inc_conf.c:556-0 set wildbase e7a898 size=1 *.mdf
bacula-dir: inc_conf.c:556-0 set wildbase e7a898 size=2 *.ldf
bacula-dir: inc_conf.c:556-0 set wildbase e7aee8 size=1 *.mdf
bacula-dir: inc_conf.c:556-0 set wildbase e7aee8 size=2 *.ldf
bacula-dir: dir_plugins.c:160-0 Load dir plugins
bacula-dir: dir_plugins.c:162-0 No dir plugin dir!
bacula-dir: postgresql.c:241-0 pg_real_connect done
bacula-dir: postgresql.c:243-0 db_user=bacula db_name=bacula
db_password=XXXXXXXXXXX
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<96400891.1390816995@XXXXXXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
0/+f7zccAi1BXj/M8G/IvB
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb5578 size=1 *.log
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb5578 size=2 *.log.1
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb5578 size=3 *.log.*.gz
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb5578 size=4 *.log.gz
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb5578 size=5 sess_*
XXXXXXX-dir: inc_conf.c:556-0 set wilddir eb5578 size=1 tmp
XXXXXXX-dir: inc_conf.c:556-0 set wilddir eb5578 size=2 log
XXXXXXX-dir: inc_conf.c:556-0 set wilddir eb5578 size=3 logs
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb62e8 size=1 sess_*
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb6908 size=1 *.mdf
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb6908 size=2 *.ldf
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb6f58 size=1 *.mdf
XXXXXXX-dir: inc_conf.c:556-0 set wildbase eb6f58 size=2 *.ldf
XXXXXXX-dir: postgresql.c:241-0 pg_real_connect done
XXXXXXX-dir: postgresql.c:243-0 db_user=bacula db_name=bacula
db_password=XXXXXXXXX
XXXXXXX-dir: dird.c:571-0 Director's configuration file reread.
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<1243700888.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<1379123657.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<1115740634.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<351814718.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<1726635836.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<959811306.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:72-0 send: auth cram-md5
<156732554.1390816996@XXXXXXX-dir> ssl=0
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
23E6F+wEXS/u2++T29lB9D
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
Vk/0W8/CDk+lhXwsqx/k8C
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
x+8Gdz/tQV1gKndfLF/DkB
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
W7/iv+QIc9tfC4gzyz5MpA
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
7z+8nD9Vg3kmSE/Uq0/G7A
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
U8Ndh/dYe3/An6/Dy+/55C
XXXXXXX-dir: cram-md5.c:150-0 sending resp to challenge:
+ig2W8+2P9Edp4/q4A+fDD
I'm running Ubuntu 12.04 on x64 AWS instance with bacula-director version
5.2.6+dfsg-9 installed from Ubuntu repositories.
Could please anybody file the ticket into Bacula BugTracker or let me in?
Thanks,
Timur
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users