[Snort-users] BarnYard2 Start issue.

Gierczak, Stan SGierczak at ...16714...
Mon Apr 7 14:24:25 EDT 2014

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.

Again thanks for the helping with this.

-----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.

Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud.
Snort-users mailing list
Snort-users at lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
Snort-users list archive:

Please visit http://blog.snort.org to stay current on all the latest Snort news!

More information about the Snort-users mailing list