[OISF/outreachy] Help needed in basic setup of suricata
Shivani Bhardwaj
sbhardwaj at openinfosecfoundation.org
Mon Mar 18 13:08:03 UTC 2019
On Mon, Mar 18, 2019 at 3:29 PM megha Varshney via Outreachy
<outreachy at lists.openinfosecfoundation.org> wrote:
>
> Greetings,
> Please help me with the below error.
> megha at megha-Inspiron-3542:~/suricata/oisf$ sudo suricata -c /etc/suricata/suricata.yaml -i wlan0 --init-errors-fatal
> Error opening file /usr/local/var/log/suricata/suricata.log
> [23826] 18/3/2019 -- 15:25:27 - (suricata.c:1058) <Notice> (LogVersion) -- This is Suricata version 5.0.0-dev (rev a69afd5cf)
> [23826] 18/3/2019 -- 15:25:27 - (suricata.c:2691) <Error> (PostConfLoadedSetup) -- [ERRCODE: SC_ERR_LOGDIR_CONFIG(116)] - The logging directory "/usr/local/var/log/suricata/" supplied by /etc/suricata/suricata.yaml (default-log-dir) doesn't exist. Shutting down the engine
>
Seems like the logging directory menioned in suricata.yaml's
"default-log-dir" section does not exist. This should usually not be a
problem and is configured automatically, do you mind explaining what
commands did you use to install it?
You could go ahead and create a "suricata" directory in your /usr/local/var/log
> Regards,
> Megha
> _______________________________________________
> Outreachy mailing list
> Outreachy at lists.openinfosecfoundation.org
> https://lists.openinfosecfoundation.org/listinfo/outreachy
--
Shivani
More information about the Outreachy
mailing list