These how to guides on the interent are outdated also the software it is relying on is not up to date with PHP5.5. I have done some hacks with ACID and ADODB to make part sof the gui to work. I have followed this guid to set up barnyard2 http://sathisharthars.wordpress.com/2014/05/03/configuring-snort-with-barnyard-snortreport-acid-in-ubuntu-14-04/ I have tried to follow other guids but have not able to successfulyl start snort and barnayrd and make the ACID gui work with any results. https://www.google.co.uk/search?q=start+snort+with+barnyard2&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb&gfe_rd=cr&ei=yPXMU7OvCKfY8gfn2IGADQ
Problems i face with snort
/usr/local/bin/snort -D -u snort -g snort -c /etc/snort/snort.conf -i eth0 /usr/local/bin/barnyard2 -c /etc/snort/etc/barnyard2.conf -d /var/log/snort -f snort.u2 -w /var/log/snort/barnyard2.waldo -D
above line fails with the option w
FATAL ERROR: Invalid option: w.
If i take w out i get next error
FATAL ERROR: /etc/snort/etc/barnyard2.conf(27) Unknown config directive: reference_file.
I am not able to start snort.
I start barnyard2 and i see the follwoing erro in log files
barnyard2 -c /etc/snort/etc/barnyard2.conf -f merged.log
WARNING: Ignoring corrupt/truncated waldofile '/var/log/snort/barnyard2.waldo'
Jul 21 12:04:18 website-dev barnyard2: ERROR: Unable to open directory '' (No such file or directory)
Jul 21 12:04:18 website-dev barnyard2: ERROR: Unable to find the next spool file!
I have managed to make ACID load on apache after quite a bit of hacking to make it compatible with php5.5