Snort mailing list archives
Re: FW: /etc/init.d/snort file, Snort 1.9.1
From: John Sage <jsage () finchhaven com>
Date: Wed, 16 Apr 2003 05:53:14 -0700
Elvira: On or about Wed, Apr 16, 2003 at 10:39:06AM +1000, Elvira_Byrnes () mobileinnovations 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-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://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- /etc/init.d/snort file, Snort 1.9.1 Elvira_Byrnes (Apr 06)
- Re: /etc/init.d/snort file, Snort 1.9.1 Erek Adams (Apr 06)
- <Possible follow-ups>
- FW: /etc/init.d/snort file, Snort 1.9.1 Elvira_Byrnes (Apr 15)
- Re: FW: /etc/init.d/snort file, Snort 1.9.1 John Sage (Apr 16)
- RE: /etc/init.d/snort file, Snort 1.9.1 Elvira_Byrnes (Apr 16)
- RE: FW: /etc/init.d/snort file, Snort 1.9.1 Elvira_Byrnes (Apr 16)