torsdagen den 15 november 2001 17.13 Florin wrote: > [EMAIL PROTECTED] (Oden Eriksson) writes: > > Hmm, it seems this is not working..., or is it the "rpm -Uvh snort-*" > > thing? > > > > rpm -Uvh snort-* > > Preparing... ########################################### > > [100%] 1:snort > > ########################################### [ 11%] ln: `/usr/sbin/snort': > > File exists > > Stopping snort: [FAILED] > > 2:snort-bloat ########################################### [ > > 22%] 3:snort-mysql+flexresp ########################################### > > [ 33%] 4:snort-mysql > > ########################################### [ 44%] 5:snort-plain+flexresp > > ########################################### [ 55%] > > 6:snort-postgresql+flexre########################################### [ > > 66%] 7:snort-postgresql ########################################### > > [ 77%] 8:snort-snmp+flexresp > > ########################################### [ 88%] 9:snort-snmp > > ########################################### [100%] > > > > /etc/rc.d/init.d/snortd start > > Starting snort: execvp: No such file or directory > > [FAILED] > > oups, > > I forgot to do a ln -sf in post (I forgot the f to be more precise) ... > > the new snort creates links to some binaries: make sur you have > /usr/sbin/snort, if not create a link like ln -sf /usr/sbin/snort-bloat > /usr/sbin/snort or to the one you want.
I like this modular approach very much (credits to you), but wouldn't it be much better and simpler to introduce a new "/etc/sysconfig/snort" file, stating what to fire up, when running "/etc/rc.d/init.d/snortd start"? I think this makes much more sense, or? ie, a new "/etc/rc.d/init.d/snortd" and "/etc/sysconfig/snort" file. Do I make sense here? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden. | Mandrake Linux release 8.2 (Cooker) for i586 | Current uptime with kernel 2.4.13-7mdksmp: 20 hours 49 minutes | cpu0 @ 814.28 bm, fan 4090 rpm, temp +31.0°C | cpu1 @ 815.92 bm, fan 4166 rpm, temp +30°C