Snort mailing list archives

Re: BarnYard2 Start issue.


From: "Gierczak, Stan" <SGierczak () presencehealth org>
Date: Mon, 7 Apr 2014 18:24:25 +0000

That sort of worked.

root@rlicsnortids:/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 () windstream net] 
Sent: Monday, April 07, 2014 11:56 AM
To: snort-users () lists sourceforge net
Subject: Re: [Snort-users] BarnYard2 Start issue.

On 4/7/2014 11:30 AM, Gierczak, Stan wrote:

sysadmin@rlicsnortids:/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.
http://p.sf.net/sfu/13600_Cloudbees_APR
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

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

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

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


Current thread: