firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
343 stars 189 forks source link

mysql database error while starting barnyard2 #208

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello, I'm have a problem by launching barnyard2 : when I launch the command nohup barnyard2 -c /etc/suricata/barnyard2.conf -d /var/log/suricata -f unified2.alert -w /var/log/suricata/suricata.waldo & The barnyard2 process stops and gives the error :

database mysql_error: Duplicate entry '316-1' for key 'PRIMARY'#012#011SQL=[INSERT INTO sig_reference (ref_id,sig_id,ref_seq) VALUES ('17991','316','1');]

I'm running barnyard2 with mysql / suricata on debian jessie. It was working a few days ago ....

Thank you for your help

Olivier