[Snort-users] BarnYard2 Start issue.

Gierczak, Stan SGierczak at ...16714...
Mon Apr 7 11:30:14 EDT 2014

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

sysadmin at ...16770...:/etc/init.d$

Same result

-----Original Message-----
From: waldo kitty [mailto:wkitty42 at ...14940...] 
Sent: Monday, April 07, 2014 9:21 AM
To: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] BarnYard2 Start issue.

On 4/7/2014 7:15 AM, Gierczak, Stan wrote:
> #!/bin/sh
> #
> # Init file for Barnyard2

well, the above "bang line" is pointing properly... you do have sh installed... 
the permissions on this script file (/etc/init.d/barnyard2) do allow owner/group/others to execute it...

i recall you using the "service" facility... it is possible that this script is not designed to be used with service... so let's try the original old-fashioned format of

   sudo /etc/init.d/barnyard2 start

using sudo to make sure that we're root when running the script...

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