[Snort-users] BarnYard2 Start issue.

waldo kitty wkitty42 at ...14940...
Mon Apr 7 20:44:17 EDT 2014

On 4/7/2014 2:24 PM, Gierczak, Stan wrote:
> That sort of worked.
> root at ...16770...:/etc/init.d# sudo service barnyard2 start
> $Starting Snort Output Processor (/usr/local/src/snort/barnyard2-1.9/rpm/barnyard2): /etc/init.d/barnyard2: 29: /etc/init.d/barnyard2: /usr/local/src/snort/barnyard2-1.9/rpm/barnyard2: Permission denied
> I know I need to change permission on something, but not sure what.

ahhh... that's the binary still in your source directory... after i wrote my 
message, i read the one about the instructions missing the install step... have 
you tried that? if that works, then the path that i told you to put in should 
not be needed... it is starting to sound like it isn't installed...

> Again thanks for the helping with this.

you are quite welcome :)

> -----Original Message-----
> From: waldo kitty [mailto:wkitty42 at ...14940...]
> Sent: Monday, April 07, 2014 11:56 AM
> To: snort-users at lists.sourceforge.net
> Subject: Re: [Snort-users] BarnYard2 Start issue.
> 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