[Snort-users] BarnYard2 Start issue.

waldo kitty wkitty42 at ...14940...
Fri Apr 4 15:05:07 EDT 2014


On 4/4/2014 11:35 AM, Gierczak, Stan wrote:
> 1. where'd you get that startup script for barnyard2?
> Part of the install from this webpage.
> http://wiki.aanval.com/wiki/Community:Snort_2.9.2.3_Installation_Guide_for_Ubuntu_12.04,_with_Barnyard2,_Pulledpork,_and_Aanval

i or someone else will need to take a look and see if it needs some modification 
for your system... probably not since it mentions your OS explicitly...

> 2. what OS are you running barnyard2 on?
> Ubuntu 12.04.4

ok...

> 3. if you are on a *nix OS, where is your sh command interpreter located?
> Not sure how to tell

which...

eg: which sh
     $: /bin/sh

> 4. if you are on a *nix OS, is the barnyard2 script located in your /etc/init.d?
> The executable yes.
> sysadmin at ...16770...:/etc/init.d$ ls -al barnyar*
> -rwxr-xr-x 1 root root 1840 Apr  4 10:17 barnyard2

i may have misread the output in your original post... it may be saying what it 
says because it cannot find the sh command interpreter... use the which command 
as noted above and let's see what it says... you may not have sh installed...

>
>
>
> -----Original Message-----
> From: waldo kitty [mailto:wkitty42 at ...14940...]
> Sent: Thursday, April 03, 2014 1:10 PM
> To: snort-users at lists.sourceforge.net
> Subject: Re: [Snort-users] BarnYard2 Start issue.
>
> On 4/3/2014 11:38 AM, Gierczak, Stan wrote:
>> Having an issue starting BarnYard2.
>>
>> First time install.  Getting this error message when starting BarnYard2:
>>
>> root at ...16770...:/# service barnyard2 start
>>
>> /etc/init.d/barnyard2: 2: /etc/init.d/barnyard2: .#!/bin/sh: not found
>>
>> $Starting Snort Output Processor (barnyard2): /etc/init.d/barnyard2: 30:
>> /etc/init.d/barnyard2: barnyard2: not found
>>
>> Any help Appreciated.
>
> 1. where'd you get that startup script for barnyard2?
>
> 2. what OS are you running barnyard2 on?
>
> 3. if you are on a *nix OS, where is your sh command interpreter located?
>
> 4. if you are on a *nix OS, is the barnyard2 script located in your /etc/init.d?
>
>


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