[Bro-Dev] [JIRA] (BIT-1397) broctl --help is mysterious

Daniel Thayer (JIRA) jira at bro-tracker.atlassian.net
Mon May 18 00:40:02 PDT 2015


    [ https://bro-tracker.atlassian.net/browse/BIT-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20711#comment-20711 ] 

Daniel Thayer commented on BIT-1397:
------------------------------------

I think the problem is that you need to be superuser to install in /usr/local,
but when you do that then all of the installed files/directories are owned by root.
The user who runs broctl needs write access to the <prefix>/logs and <prefix>/spool
directories.  I always run as an ordinary user and I just install to that user's home directory.


> broctl --help is mysterious
> ---------------------------
>
>                 Key: BIT-1397
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1397
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: BroControl
>    Affects Versions: 2.4
>         Environment: MacOS Mavericks
>            Reporter: Vern Paxson
>
> For a newly installed Bro 2.4 beta, issuing "{{broctl --help}}" yields the cryptic output:
> {{Error: unable to open database file: /usr/local/bro/spool/state.db}}



--
This message was sent by Atlassian JIRA
(v6.5-OD-03-002#65000)


More information about the bro-dev mailing list