[Bro] broctl cron locks all bro processes

C. L. Martinez carlopmart at gmail.com
Wed Apr 24 23:45:55 PDT 2013


Hi all,

 Recently, I have installed bro 2.1 in a FreeBSD 9.1 amd64 host (compiled
from source). All work as expected except for "broctl cron" job ... I have
configured this job to run every 5 min (like Bro's documentation says), but
every time locks all bro processes:

41561 ??  I        0:00.01 bash /opt/bro/share/broctl/scripts/run-bro -i
em4 -U .status -p broctl -p broctl-live -p standalone -p local -p bro
local.bro broctl broctl/standalone broctl/auto
41572 ??  R      215:33.48 /opt/bro/bin/bro -i em4 -U .status -p broctl -p
broctl-live -p standalone -p local -p bro local.bro broctl
broctl/standalone broctl/auto
41590 ??  SN       0:48.43 /opt/bro/bin/bro -i em4 -U .status -p broctl -p
broctl-live -p standalone -p local -p bro local.bro broctl
broctl/standalone broctl/auto
41695 ??  I        0:00.00 cron: running job (cron)
41699 ??  Is       0:00.22 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
41731 ??  Is       0:00.01 sh
41745 ??  I        0:00.00 cron: running job (cron)
41748 ??  Is       0:00.17 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
41774 ??  Is       0:00.01 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
41775 ??  Is       0:00.01 sh
41777 ??  I        0:00.00 cron: running job (cron)
41780 ??  Is       0:00.20 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
41813 ??  Is       0:00.01 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
41814 ??  Is       0:00.01 sh
41828 ??  I        0:00.00 cron: running job (cron)
41831 ??  Is       0:00.19 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
41857 ??  Is       0:00.01 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
41858 ??  Is       0:00.01 sh
41862 ??  I        0:00.00 cron: running job (cron)
41866 ??  Is       0:00.19 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
41898 ??  Is       0:00.01 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
41899 ??  Is       0:00.01 sh
41901 ??  I        0:00.00 cron: running job (cron)
41905 ??  Is       0:00.19 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
41942 ??  Is       0:00.01 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
41943 ??  Is       0:00.01 sh
42935 ??  I        0:00.00 cron: running job (cron)
42939 ??  Is       0:00.15 /usr/local/bin/python /usr/local/bin/broctl cron
(python2.7)
43003 ??  Is       0:00.01 /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t
43004 ??  Is       0:00.01 sh

 If I try to run any broctl command:

Welcome to BroControl 1.1

Type "help" for help.

[BroControl] > status
waiting for lock ..................................cannot get lock

 How can I debug this?? Is it safe to run "kill -9" over these processes??
And how can I unlock using broctl command??

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20130425/bdf6b21a/attachment.html 


More information about the Bro mailing list