Sample Header Ad - 728x90

chkrootkit throws Signal 13 when searching through /var/tmp

0 votes
3 answers
856 views
On my debian squeeze server in the chkrootkit log I get loads of these errors: /usr/bin/find: Prozeß "head" wurde durch das Signal 13 abgebrochen. /usr/bin/find: Prozeß "head" wurde durch das Signal 13 abgebrochen. which means head terminated by signal 13 A google search gives a lot of same problems, but no solution. It comes from these lines in /usr/sbin/chkrootkit: if [ echo abc | head -n 1 = "abc" ]; then fileshead="${find} ${ROOTDIR}tmp ${ROOTDIR}var/tmp ${findargs} -type f -exec head -n 1 {} \; | $egrep '#!.*php' 2> /dev/null" else fileshead="${find} ${ROOTDIR}tmp ${ROOTDIR}var/tmp ${findargs} -type f -exec head -1 {} \; | grep '#!.*php' 2> /dev/null" fi when I enter directly as root: /usr/bin/find /var/tmp -type f -exec head -1 {} \; | grep php 2> /dev/null;date I get the same errors. egrep instead makes no difference.
Asked by rubo77 (30435 rep)
Aug 15, 2013, 01:47 PM
Last activity: Nov 4, 2016, 06:39 AM