OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: FW: [Snort-users] /etc/init.d/snort file, Snort 1.9.1

From: John Sage (jsagefinchhaven.com)
Date: Wed Apr 16 2003 - 07:53:14 CDT


Elvira:

On or about Wed, Apr 16, 2003 at 10:39:06AM +1000, Elvira_Byrnesmobileinnovations.com.au posited:
> Hi Everybody
>
> I am trying to configure three instances of Snort. I have three files
> snort_border, snort_lan, snort_dmz in /etc/init.d/. I get an error ":bad
> interpreter: No such file or directory" if I try to start, stop or restart.
> The instances woudn't start during the startup of the machine. The error in
> /var/log/messages is the same for every instance.

For giggles, try editing /etc/rc.d/init.d/snort_[whatever] to read:

#!/bin/sh <------
# $Id: S99snort,v 1.1 2001/12/18 22:14:37 cazz Exp $
# /etc/init.d/snort : start or stop the SNORT Intrusion Database System
<snip.

rather than:

#!/bin/bash <------
# $Id: S99snort,v 1.1 2001/12/18 22:14:37 cazz Exp $
# /etc/init.d/snort : start or stop the SNORT Intrusion Database System
<snip>

> The permissions on the thre files in /etc/init.d/ are -rwxr -xr -x owned by
> root.
>
> Could you please look into the file and help me.

- John
--
"What's the frequency, Kenneth?"

    PGP key: http://www.finchhaven.com/pages/gpg_pubkey.html
Fingerprint: C493 9F26 05A9 6497 9800 4EF6 5FC8 F23D 35A4 F705

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-userslists.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://www.geocrawler.com/redir-sf.php3?list=snort-users