clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.6k stars 980 forks source link

Suricata fails with config error #143

Closed clong closed 6 years ago

clong commented 6 years ago
ERROR: Invalid configuration file.

The configuration file must begin with the following two lines:

%YAML 1.1
---

I'll fix this shortly

jbeley commented 6 years ago

I've created https://github.com/clong/DetectionLab/pull/145 to fix this.

clong commented 6 years ago

Fixed in #145

jajazx commented 1 year ago

Hi i want to ask how you fix the error using kali? I use nano

jajazx commented 1 year ago

I get ricata/suricata.yaml info> - Running suricata under test mode irrOr> - [ERRCODE: SC_ERR_CONF_YAML_ERROR(242)] - ERROR: Invalid configuration file. irror> - [ERRCODE: SC_ERR_CONF_YAML_ERROR(242)] - The configuration file must begin with the