[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: snort error starting



Phillip Hofmeister, 2002-Jul-19 15:12 -0400:
> This looks like a hack job...
> 
>         if ls /var/run/snort_*pid >/dev/null 2>&1 ; then
>           sleep 3
>           ps cax \
>                 | grep '/usr/sbin/snort' \
>                 | awk '{ print $1 }' \
>                 | xargs --no-run-if-empty kill -9 >/dev/null
>           rm -f /var/run/snort_*.pid
>         fi
>         echo "."
>         ;;
> 
> they should have used a -e file test...let me write a patch and send it to you...this should help diagnose the problem...
> 
> Apply it with 'cat snort.patch | patch -p1'.  Run your init and let me know after which 'test' the error occurs...

I applied your patch:

# cat snort.patch | patch -p1
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- snort.orig Fri Jul 19 15:05:33 2002
|+++ snort      Fri Jul 19 15:06:39 2002
--------------------------
File to patch: ./snort
patching file ./snort

# ./snort start
./snort: var: command not found


Did I do something wrong applying the patch?  

Thanks for your help!
jc


--
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: