[Snort-users] BarnYard2 Start issue.

waldo kitty wkitty42 at ...14940...
Mon Apr 7 12:55:55 EDT 2014


On 4/7/2014 11:30 AM, Gierczak, Stan wrote:
>
> sysadmin at ...16770...:/etc/init.d$ sudo /etc/init.d/barnyard2 start
> [sudo] password for sysadmin:
> $Starting Snort Output Processor (barnyard2): /etc/init.d/barnyard2: 29: /etc/init.d/barnyard2: barnyard2: not found

OH!!! <sfx>smackself! smackself!</sfx> that 29: indicates the line where the 
error is occurring... it is using the variable $prog which is set as

[line 20] prog="barnyard2"

with no path and i suspect that barnyard2 is also not in your path... so adjust 
the above prog= line to include the path to where your barnyard2 binary is installed

eg: prog="/opt/bin/barnyard2/barnyard2"

(the above made up out of thin air!)

and then try it again...

-- 
NOTE: No off-list assistance is given without prior approval.
       Please keep mailing list traffic on the list unless
       private contact is specifically requested and granted.




More information about the Snort-users mailing list