[Bro] error: can't open base/init-bare.bro

C. L. Martinez carlopmart at gmail.com
Wed Apr 17 06:21:38 PDT 2013


On Wed, Apr 17, 2013 at 1:16 PM, C. L. Martinez <carlopmart at gmail.com>wrote:

>
>
>
> On Wed, Apr 17, 2013 at 1:14 PM, C. L. Martinez <carlopmart at gmail.com>wrote:
>
>> Hi all,
>>
>>  After install bro-ids in a FreeBSD and configure cfg files and scripts
>> that I need to load, when I try to execute 'broctl check', this error
>> appears:
>>
>> error: can't open base/init-bare.bro
>>
>>  Where is init-bare.bro?? There is not exists in my installation ... but
>> exists in other bro ids linux based sensor ...
>>
>
> Yep, sorry, exists:
>
> root at bsd01nm:/data/config/etc/bro/scripts/base# ls -la
> /data/config/etc/bro/scripts/base/init-bare.bro
> -rw-r--r--  1 root  wheel  98954 Aug 29  2012
> /data/config/etc/bro/scripts/base/init-bare.bro
>
> Maybe is a problem with my configure options: "./configure
> --prefix=/opt/bro --enable-perftools --disable-ruby
> --conf-files-dir=/data/config/etc/bro/conf
> --scriptdir=/data/config/etc/bro/scripts"??
>
>
Ok, problem is solved doing the correct softlinks:

root at bsd01nm:/opt/bro/share/bro# ls -al
total 12
drwxr-xr-x  3 root  wheel  512 Apr 17 13:19 .
drwxr-xr-x  4 root  wheel  512 Apr 17 10:31 ..
lrwxr-xr-x  1 root  wheel   44 Apr 17 13:19 base ->
../../../../data/config/etc/bro/scripts/base
drwxr-xr-x  2 root  wheel  512 Apr 17 10:31 broctl
lrwxr-xr-x  1 root  wheel   46 Apr 17 13:19 policy ->
../../../../data/config/etc/bro/scripts/policy
lrwxr-xr-x  1 root  wheel   44 Apr 17 13:19 site ->
../../../../data/config/etc/bro/scripts/site
root at plzfnsm01:/opt/bro/share/bro#

but is this the correct solution??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20130417/38090332/attachment.html 


More information about the Bro mailing list