FW: [Snort-users] /etc/init.d/snort file, Snort 1.9.1

John Sage jsage at ...2022...
Wed Apr 16 05:54:04 EDT 2003


Elvira:

On or about Wed, Apr 16, 2003 at 10:39:06AM +1000, Elvira_Byrnes at ...8560... 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




More information about the Snort-users mailing list