# error when generating documentation

**URL:** <https://community.zeek.org/t/error-when-generating-documentation/2833>\
**Category:** Zeek\
**Created:** [September 25, 2013, 9:22pm UTC](https://community.zeek.org/t/error-when-generating-documentation/2833 "2013-09-25T21:22:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michal\_Purzynski](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@Michal\_Purzynski](https://community.zeek.org/u/Michal_Purzynski)\
**Post date:** [September 25, 2013, 9:22pm UTC](https://community.zeek.org/t/error-when-generating-documentation/2833/1 "2013-09-25T21:22:45Z")

</div>

Hello, that's on the 2.2-beta on OS X

make doc results in the following error

Failed to document '@load base/protocols/ssl' in file: policy^protocols^ssl^expiring-certs.rst  
error in /Users/mpurzynski/Downloads/bro-2.2-beta/scripts/policy/protocols/ssl/expiring-certs.bro, line 5: can't open /Users/mpurzynski/Downloads/bro-2.2-beta/scripts/base/protocols/ssl/\_\_load\_\_.bro  
make[4]: \*\*\* [doc/rest\_output/test-all-policy.rst] Error 1  
make[3]: \*\*\* [doc/scripts/CMakeFiles/restdoc.dir/all] Error 2  
make[2]: \*\*\* [doc/CMakeFiles/doc.dir/rule] Error 2  
make[1]: \*\*\* [doc] Error 2  
make: \*\*\* [doc] Error 2

---

<div class="post-metadata">

**Author:** ![Siwek\_Jon](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@Siwek\_Jon](https://community.zeek.org/u/Siwek_Jon)\
**Post date:** [September 25, 2013, 10:02pm UTC](https://community.zeek.org/t/error-when-generating-documentation/2833/2 "2013-09-25T22:02:06Z")

</div>

Try raising `ulimit -n`, the shell limit for max number of open files (and I've already got a pending change to improve the error message for this case).

- Jon

---

<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:41pm UTC](https://community.zeek.org/t/error-when-generating-documentation/2833/3 "2022-05-06T15:41:15Z")

</div>


