[Snort-users] BarnYard2 Start issue.

Gierczak, Stan SGierczak at ...16714...
Fri Apr 4 15:21:59 EDT 2014


root at ...16770...:/home/sysadmin# which sh
/bin/sh

Thanks for the help on this.



-----Original Message-----
From: waldo kitty [mailto:wkitty42 at ...14940...] 
Sent: Friday, April 04, 2014 2:05 PM
To: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] BarnYard2 Start issue.

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.

------------------------------------------------------------------------------
_______________________________________________
Snort-users mailing list
Snort-users at 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!




More information about the Snort-users mailing list