Phenomenon:
Barnyard2 after running for a period of time, it stops itself, and no related logs are found in/var/log/barnyard2 or/var/log/suricata.
Investigation:
The following records exist in/var/log/message
KERNEL:BARNYARD2[3747]: Segfault at the IP 0000003e5ea226e0 SP 00007fffdf3d65a8 error 4 in Libmysqlclient.so.16.0.0[3e5ea 00000+136000]
Judging by this may be the problem of libmysqlclient.so.16.0.0.
Solve:
Attempt to replace the new libmysqlclient.so.16.0.0 is not valid, causing Barnyard2 to not run
Uninstall the old version of MySQL and upgrade to 5.6. (originally installed with Yum, use Yum to uninstall, then use Yum localinstall to install mysql-server rpm)
Results:
Run a few days, barnyard2 not appear to stop the operation of the situation, the log does not have related records
Open Source IDs Series--Solve Barnyard2 stop running libmysqlclient.so.16.0.0