Snort mailing list archives

Re: BarnYard2 Start issue.


From: "Gierczak, Stan" <SGierczak () presencehealth org>
Date: Tue, 8 Apr 2014 12:01:19 +0000

I ran make and make install as James and you suggested.  That worked.

Thanks for everyone's assistance.



-----Original Message-----
From: waldo kitty [mailto:wkitty42 () windstream net] 
Sent: Monday, April 07, 2014 7:44 PM
To: snort-users () lists sourceforge net
Subject: Re: [Snort-users] BarnYard2 Start issue.

On 4/7/2014 2:24 PM, Gierczak, Stan wrote:
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.

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 () 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
_______________________________________________
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: