[Oisf-users] Strange startup error under FreeBSD

Peter Manev petermanev at gmail.com
Mon Apr 3 07:19:33 UTC 2017


On Mon, Mar 20, 2017 at 2:27 PM, C. L. Martinez <carlopmart at gmail.com> wrote:
> Hi all,
>
>  I have installed Suricata 3.2.1 under a FreeBSD 11 vm. When I try to start suricata, the following appears:
>
> <Error> - [ERRCODE: SC_ERR_LUA_ERROR(212)] - luastate pool init failed, lua/luajit keywords won't work

Somehow i missed that question, sorry - something you could try and
see if ti fixes the issue -
https://redmine.openinfosecfoundation.org/projects/suricata/repository/revisions/master/entry/suricata.yaml.in#L1400

Try increasing the value - try something like 500-600?

>
>  I am using default config to do some tests.
>
>  Suricata compile options are:
>
> This is Suricata version 3.2.1 RELEASE
> Features: IPFW PCAP_SET_BUFF LIBPCAP_VERSION_MAJOR=1 NETMAP HAVE_PACKET_FANOUT LIBNET1.1 HAVE_HTP_URI_NORMALIZE_HOOK PCRE_JIT HAVE_NSS HAVE_LUA HAVE_LUAJIT HAVE_LIBJANSSON TLS MAGIC
> SIMD support: none
> Atomic intrisics: 1 2 4 8 byte(s)
> 64-bits, Little-endian architecture
> GCC version 4.2.1 Compatible FreeBSD Clang 3.9.1 (tags/RELEASE_391/final 289601), C version 199901
> compiled with _FORTIFY_SOURCE=0
> L1 cache line size (CLS)=64
> thread local storage method: __thread
> compiled with LibHTP v0.5.23, linked against LibHTP v0.5.23
>
> Suricata Configuration:
>   AF_PACKET support:                       no
>   PF_RING support:                         no
>   NFQueue support:                         no
>   NFLOG support:                           no
>   IPFW support:                            yes
>   Netmap support:                          yes
>   DAG enabled:                             no
>   Napatech enabled:                        no
>
>   Unix socket enabled:                     yes
>   Detection enabled:                       yes
>
>   Libmagic support:                        yes
>   libnss support:                          yes
>   libnspr support:                         yes
>   libjansson support:                      yes
>   hiredis support:                         no
>   Prelude support:                         no
>   PCRE jit:                                yes
>   LUA support:                             yes, through luajit
>   libluajit:                               yes
>   libgeoip:                                yes
>   Non-bundled htp:                         no
>   Old barnyard2 support:                   no
>   CUDA enabled:                            no
>   Hyperscan support:                       yes
>   Libnet support:                          yes
>
>   Suricatasc install:                      no
>
>   Profiling enabled:                       no
>   Profiling locks enabled:                 no
>
> Development settings:
>   Coccinelle / spatch:                     no
>   Unit tests enabled:                      no
>   Debug output enabled:                    no
>   Debug validation enabled:                no
>
> Generic build parameters:
>   Installation prefix:                     /opt/suricata
>   Configuration directory:                 /opt/suricata/etc/suricata/
>   Log directory:                           /opt/suricata/var/log/suricata/
>
>   --prefix                                 /opt/suricata
>   --sysconfdir                             /opt/suricata/etc
>   --localstatedir                          /opt/suricata/var
>
>   Host:                                    x86_64-unknown-freebsd11.0
>   Compiler:                                cc (exec name) / clang (real)
>   GCC Protect enabled:                     no
>   GCC march native enabled:                no
>   GCC Profile enabled:                     no
>   Position Independent Executable enabled: yes
>   CFLAGS                                   -g -O2 -DOS_FREEBSD
>   PCAP_CFLAGS
>   SECCFLAGS
>
> Thanks.
> --
> Greetings,
> C. L. Martinez
> _______________________________________________
> Suricata IDS Users mailing list: oisf-users at openinfosecfoundation.org
> Site: http://suricata-ids.org | Support: http://suricata-ids.org/support/
> List: https://lists.openinfosecfoundation.org/mailman/listinfo/oisf-users



-- 
Regards,
Peter Manev



More information about the Oisf-users mailing list