#992: broctl cron locks all bro processes ------------------------+--------------------- Reporter: carlopmart | Type: Problem Status: new | Priority: Low Milestone: | Component: Bro Version: 2.1 | Keywords: ------------------------+--------------------- 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 Compile options: ./configure --prefix=/opt/bro --enable-perftools --disable-ruby --conf- files-dir=/data/config/etc/bro/conf --scriptdir=/data/config/etc/bro/scripts -- Ticket URL: <http://tracker.bro.org/bro/ticket/992> Bro Tracker <http://tracker.bro.org/bro> Bro Issue Tracker _______________________________________________ bro-dev mailing list [email protected] http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
