error: script must be run on manager node

I just installed Bro on Linux, CentOS 5.3 x86_64, and am getting this
error message when Bro tries to restart from cron. I can start Bro fine
from the command line. Any ideas?

Content-Type: text/plain; charset=UTF-8
Auto-Submitted: auto-generated
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

error: script must be run on manager node

Previously, I was getting this error when trying to start the cluster
via the command line, but I fixed it by renaming the host from the FQDN
to just the hostname without the domain extension.

On a sidenote, I switched from using the BPF filer within Bro to using
Click! to distribute the traffic, and the eight workers are now showing
a 6-12% drop rate down from 40-50% drop rate.

Tyler

Never mind,

I got it working by adding /sbin and /usr/sbin to the path.

PATH=/usr/bin:/bin:/sbin:/usr/sbin
0-59/5 * * * * /usr/local/bro/bin/broctl cron

Tyler

I just installed Bro on Linux, CentOS 5.3 x86_64, and am getting this
error message when Bro tries to restart from cron. I can start Bro fine
from the command line. Any ideas?

Hmmm ... Don't know. If you want to dig through the code, the logic
for that is in the function isLocal() in BroControl/execute.py. It
runs the script bin/local-interfaces to find the local IPs
addresses.

On a sidenote, I switched from using the BPF filer within Bro to using
Click! to distribute the traffic, and the eight workers are now showing
a 6-12% drop rate down from 40-50% drop rate.

Cool!

Robin

I fixed the same problem a while back.. The issue is that local-interfaces
tries to run ifconfig which is not in the current PATH.