# configuration issues

**URL:** <https://community.zeek.org/t/configuration-issues/45>\
**Category:** Zeek\
**Created:** [January 11, 1999, 2:23am UTC](https://community.zeek.org/t/configuration-issues/45 "1999-01-11T02:23:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![leres](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/leres/32/607_2.png) [@leres](https://community.zeek.org/u/leres)\
**Post date:** [January 11, 1999, 2:23am UTC](https://community.zeek.org/t/configuration-issues/45/1 "1999-01-11T02:23:57Z")

</div>

> Our current installation of Bro on Solaris 2.6 only logs to the bro.log  
> file. Other log files such as ftp.log are created but not written to  
> even when events should have been logged. While troubleshooting this, we  
> reviewed the attached config.log file and discovered a couple of errors  
> that could be the cause of our problem:
> 
> - Line 43, there are declaration conflicts for openlog, syslog and  
> closelog  
> - Line 65-70, contains several type conflicts  
> - Line 87, contains a declaration conflict for gettimeofday  
> - Line 101, there is an undefined symbol gethostbyname  
> - Line 135, there is an undefined symbol socket  
> - Line 169, the str library is not found -- where can we download this  
> library?

(config.log is the autoconf log; the "errors" in it are a normal part  
the process that allows the configure script to determine which  
features are available on your particular OS type and version.)

&nbsp;&nbsp;&nbsp;&nbsp;Craig

---

<div class="post-metadata">

**Author:** ![Kelly\_G\_Le](https://avatars.discourse-cdn.com/v4/letter/k/b38774/32.png) [@Kelly\_G\_Le](https://community.zeek.org/u/Kelly_G_Le)\
**Post date:** [January 11, 1999, 5:57pm UTC](https://community.zeek.org/t/configuration-issues/45/2 "1999-01-11T17:57:11Z")

</div>

Thanks Craig. What about the problem that bro only logs to bro.log and no  
other log file? Has anyone else encountered that? We have only modified  
hot.bro to reflect our network information. None of the other policy  
scripts have been changed. Thanks.

Kelly

---

<div class="post-metadata">

**Author:** ![Kelly\_G\_Le](https://avatars.discourse-cdn.com/v4/letter/k/b38774/32.png) [@Kelly\_G\_Le](https://community.zeek.org/u/Kelly_G_Le)\
**Post date:** [January 11, 1999, 6:58pm UTC](https://community.zeek.org/t/configuration-issues/45/3 "1999-01-11T18:58:42Z")

</div>

On a suggestion from a subscriber on the list, I generated a ton of ftp  
traffic and bro did write to the ftp.log. Apparently, the output is  
heavily buffered.

Kelly

---

<div class="post-metadata">

**Author:** ![Jeffrey\_S\_Pokallus](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@Jeffrey\_S\_Pokallus](https://community.zeek.org/u/Jeffrey_S_Pokallus)\
**Post date:** [January 11, 1999, 7:22pm UTC](https://community.zeek.org/t/configuration-issues/45/4 "1999-01-11T19:22:48Z")

</div>

Kelly G Le wrote:

> Apparently, the output is  
> heavily buffered.
> 
> Kelly

I unbuffered output (Bro 0.3) by changing line 147 in Stmt.cc  
from:

&nbsp;&nbsp;&nbsp;d.SetFlush(0);

to:

&nbsp;&nbsp;d.SetFlush(1);

jeff

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:36pm UTC](https://community.zeek.org/t/configuration-issues/45/5 "2022-05-06T15:36:06Z")

</div>


