Help
The Doctor
doctor at doctor.nl2k.ab.ca
Sat Dec 27 21:44:39 GMT 2014
Get my perl working , however, I get
ktrace check_mailscanner
Starting MailScanner...Can't locate object method "bootstrap" via package "DBI" at /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/DBI.pm line 277.
BEGIN failed--compilation aborted at /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/DBI.pm line 284.
Compilation failed in require at /opt/MailScanner/lib/MailScanner/ConfigSQL.pm line 36.
BEGIN failed--compilation aborted at /opt/MailScanner/lib/MailScanner/ConfigSQL.pm line 36.
Compilation failed in require at /opt/MailScanner/lib/Config.pm line 47.
Compilation failed in require at /usr/libdata/perl5/5.18.2/i386-bsdos/DynaLoader.pm line 22.
BEGIN failed--compilation aborted at /usr/libdata/perl5/5.18.2/i386-bsdos/DynaLoader.pm line 22.
Compilation failed in require at /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/Time/HiRes.pm line 7.
Compilation failed in require at /opt/MailScanner/bin/MailScanner line 90.
BEGIN failed--compilation aborted at /opt/MailScanner/bin/MailScanner line 90.
Failed.
You have new mail in /var/mail/doctor
doctor.nl2k.ab.ca/~$ kdump
8702 ktrace RET ktrace 0
8702 ktrace CALL execve(0x8047168,0x8047630,0x8047638)
8702 ktrace NAMI "./check_mailscanner"
8702 ktrace RET execve -1 errno 2 No such file or directory
8702 ktrace CALL execve(0x8047168,0x8047630,0x8047638)
8702 ktrace NAMI "./check_mailscanner"
8702 ktrace RET execve -1 errno 2 No such file or directory
8702 ktrace CALL execve(0x8047168,0x8047630,0x8047638)
8702 ktrace NAMI "/root/bin/check_mailscanner"
8702 ktrace RET execve -1 errno 2 No such file or directory
8702 ktrace CALL execve(0x8047168,0x8047630,0x8047638)
8702 ktrace NAMI "/root/bin/check_mailscanner"
8702 ktrace RET execve -1 errno 2 No such file or directory
8702 ktrace CALL execve(0x8047168,0x8047630,0x8047638)
8702 ktrace NAMI "/usr/bin/check_mailscanner"
8702 ktrace NAMI "/bin/sh"
8702 ktrace NAMI "/shlib/libc_s.4.3.0"
8702 check_mailscanne RET execve 0
8702 check_mailscanne CALL open(0x8067030,0,0)
8702 check_mailscanne NAMI "/shlib/libcompat_s.4.3.0"
8702 check_mailscanne RET open 3
8702 check_mailscanne CALL mmap(0xa00c0000,0x1000,0x5,0x12,0x3,0,0,0)
8702 check_mailscanne RET mmap -1609826304/0xa00c0000
8702 check_mailscanne CALL mmap(0xa00c1000,0x3000,0x5,0x12,0x3,0,0x1000,0)
8702 check_mailscanne RET mmap -1609822208/0xa00c1000
8702 check_mailscanne CALL mmap(0xa00cc000,0x1000,0x3,0x12,0x3,0,0x4000,0)
8702 check_mailscanne RET mmap -1609777152/0xa00cc000
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL open(0x8067049,0,0x1000)
8702 check_mailscanne NAMI "/shlib/libncurses_s.4.3.0"
8702 check_mailscanne RET open 3
8702 check_mailscanne CALL mmap(0xa0500000,0x1000,0x5,0x12,0x3,0,0,0)
8702 check_mailscanne RET mmap -1605369856/0xa0500000
8702 check_mailscanne CALL mmap(0xa0501000,0x29000,0x5,0x12,0x3,0,0x1000,0)
8702 check_mailscanne RET mmap -1605365760/0xa0501000
8702 check_mailscanne CALL mmap(0xa0540000,0x1000,0x3,0x12,0x3,0,0x2a000,0)
8702 check_mailscanne RET mmap -1605107712/0xa0540000
8702 check_mailscanne CALL mmap(0xa0541000,0x3000,0x3,0x1010,0xffffffff,0,0,0)
8702 check_mailscanne RET mmap -1605103616/0xa0541000
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL getpid
8702 check_mailscanne RET getpid 8702/0x21fe
8702 check_mailscanne CALL geteuid
8702 check_mailscanne RET geteuid 0
8702 check_mailscanne CALL mmap(0,0x1000,0x3,0x1002,0xffffffff,0,0,0)
8702 check_mailscanne RET mmap 1208385536/0x48068000
8702 check_mailscanne CALL break(0x806aea8)
8702 check_mailscanne RET break 134656000/0x806b000
8702 check_mailscanne CALL break(0x806aea8)
8702 check_mailscanne RET break 134656000/0x806b000
8702 check_mailscanne CALL break(0x806c000)
8702 check_mailscanne RET break 134660096/0x806c000
8702 check_mailscanne CALL break(0x806c000)
8702 check_mailscanne RET break 134660096/0x806c000
8702 check_mailscanne CALL break(0x806d000)
8702 check_mailscanne RET break 134664192/0x806d000
8702 check_mailscanne CALL stat(0x806aa38,0x8047480)
8702 check_mailscanne NAMI "/var/mail/doctor"
8702 check_mailscanne RET stat 0
8702 check_mailscanne CALL open(0x8047fb9,0,0x10)
8702 check_mailscanne NAMI "/usr/bin/check_mailscanner"
8702 check_mailscanne RET open 3
8702 check_mailscanne CALL fcntl(0x3,0,0xa)
8702 check_mailscanne RET fcntl 10/0xa
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL sigaction(SIGint,0,0x8047480)
8702 check_mailscanne RET sigaction 0
8702 check_mailscanne CALL sigaction(SIGint,0x8047480,0x8047474)
8702 check_mailscanne RET sigaction 0
8702 check_mailscanne CALL sigaction(SIGquit,0,0x8047470)
8702 check_mailscanne RET sigaction 0
8702 check_mailscanne CALL sigaction(SIGquit,0x8047470,0x8047464)
8702 check_mailscanne RET sigaction 0
8702 check_mailscanne CALL sigaction(SIGterm,0,0x8047480)
8702 check_mailscanne RET sigaction 0
8702 check_mailscanne CALL sigaction(SIGterm,0x8047480,0x8047474)
8702 check_mailscanne RET sigaction 0
8702 check_mailscanne CALL getuid
8702 check_mailscanne RET getuid 0
8702 check_mailscanne CALL geteuid
8702 check_mailscanne RET geteuid 0
8702 check_mailscanne CALL getgid
8702 check_mailscanne RET getgid 0
8702 check_mailscanne CALL getegid
8702 check_mailscanne RET getegid 0
8702 check_mailscanne CALL read(0xa,0x806a5a0,0x3ff)
8702 check_mailscanne GIO fd 10 read 1023 bytes
"#!/bin/sh
#
# check_mailscanner
#
# $Id: check_mailscanner 4164 2007-09-03 17:14:03Z sysjkf $
#
# Script to check whether mailscanner process is running, and
# start it up if not.
#
# Copyright (C) 2002 Julian Field, Nick Phillips
#
# This program is free software; you can redistribute it and/or modi\
fy
# it under the terms of the GNU General Public License as published \
by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-13\
07 USA
#
# The author, Julian Field, can be contacted by email at
#"
8702 check_mailscanne RET read 1023/0x3ff
8702 check_mailscanne CALL read(0xa,0x806a5a0,0x3ff)
8702 check_mailscanne GIO fd 10 read 1023 bytes
" Jules at JulianField.net
# or by paper mail at
# Julian Field
# Dept of Electronics & Computer Science
# University of Southampton
# Southampton
# SO17 1BJ
# United Kingdom
#
# Check that the virus scanner is still running.
# Re-start it if necessary.
# This can also be used from the init script to
# start it in the first place.
# This can be called with a "-q" command-line option so that it is qui\
et
# unless MailScanner actually had to be started.
process=MailScanner
msbindir=/opt/MailScanner/bin
config=/opt/MailScanner/etc/MailScanner.conf
# These seem to get put all over the shop...
PATH=/usr/bin:/bin
export PATH
PERL=perl
AWK=awk
GREP=grep
FGREP=fgrep
EGREP=egrep
PGREP=pgrep
PS=ps
UNAME='uname -a'
#TAINTWARN='-Tw'
TAINTWARN=
RETVALUE=" Done."
# If this does not work on your system, please don't
# just send us a version that does, please please please
# send example output that demonstrates *why* it doesn't
# work, what version of what system you are running etc.
# "
8702 check_mailscanne RET read 1023/0x3ff
8702 check_mailscanne CALL break(0x806d000)
8702 check_mailscanne RET break 134664192/0x806d000
8702 check_mailscanne CALL break(0x806e000)
8702 check_mailscanne RET break 134668288/0x806e000
8702 check_mailscanne CALL read(0xa,0x806a5a0,0x3ff)
8702 check_mailscanne GIO fd 10 read 1023 bytes
"If you do this then I *will* make this work right for
# everybody.
# -- Nick Phillips <nwp at lemon-computing.com>
if $UNAME | $FGREP "SunOS" >/dev/null ; then
# Version for Solaris/SysV systems:
pid=`$PGREP $process`
elif $UNAME | $FGREP "HP" >/dev/null ; then
# Version for HP-UX
pid=`ps -efx |
fgrep $msbindir/$process |
fgrep -v fgrep |
awk '{print $2}'`
elif $UNAME | $FGREP "SCO" >/dev/null ; then
pid=`ps -e -o pid -o args |
fgrep $msbindir/$process |
grep -v grep |
sed -e 's/^ *//' -e 's/ .*//'`
elif $UNAME | $FGREP "Linux" >/dev/null ; then
pid=`$PS axww |
$EGREP $process'[:]|\\['$process'\\]|[ ]'$msbindir/$process |
awk '{ print $1 }'`
elif $UNAME | $FGREP "BSD" >/dev/null ; then
pid=`$PS -axww |
$EGREP '[ ]('$msbindir/$process')|'$process'[:]' |
$AWK '{print $1}'`
elif $UNAME | $FGREP "OSF" >/dev/null ; then
pid=`ps -e -o pid -o args |
$GREP '[ ]'$process |
grep -v grep |
awk '{ pr"
8702 check_mailscanne RET read 1023/0x3ff
8702 check_mailscanne CALL break(0x806e000)
8702 check_mailscanne RET break 134668288/0x806e000
8702 check_mailscanne CALL break(0x806f000)
8702 check_mailscanne RET break 134672384/0x806f000
8702 check_mailscanne CALL break(0x806f000)
8702 check_mailscanne RET break 134672384/0x806f000
8702 check_mailscanne CALL break(0x8070000)
8702 check_mailscanne RET break 134676480/0x8070000
8702 check_mailscanne CALL read(0xa,0x806a5a0,0x3ff)
8702 check_mailscanne GIO fd 10 read 821 bytes
"int $1 }'`
elif $UNAME | $FGREP "Darwin" >/dev/null ; then # ie Mac OSX
pid=`$PS axww |
$EGREP '[ ]('$msbindir/$process')|'$process'[:]' |
$AWK '{print $1}'`
else
# not BSD; everything else seems to do POSIX
pid=`COLUMNS=500 $PS -ef |
$EGREP '([ ]'$msbindir/$process')|'$process'[:]' |
$AWK '{print $2}'`
fi
# Not needed after 4.61.6.
## Make it run SpamAssassin out of tmpfs
#if [ -d /dev/shm ]; then
# TMPDIR=/dev/shm
# export TMPDIR
#fi
if [ "x$pid" = "x" ]; then
# Quietly try to raise the open_files limit
ulimit -n 2000 >/dev/null 2>&1
# Restart it
PATH=${msbindir}:$PATH
echo -n 'Starting MailScanner...'
cd $msbindir
$process $config || RETVALUE=" Failed."
echo "$RETVALUE"
else
if [ "x$1" != "x-q" ]; then
echo MailScanner running with pid $pid
fi
fi
"
8702 check_mailscanne RET read 821/0x335
8702 check_mailscanne CALL pipe
8702 check_mailscanne RET pipe 3
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8705/0x2201
8702 check_mailscanne CALL close(0x4)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8706/0x2202
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL close(0xffffffff)
8702 check_mailscanne RET close -1 errno 9 Bad file descriptor
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x8047428,0x2,0)
8702 check_mailscanne RET wait4 8706/0x2202
8702 check_mailscanne CALL wait4(0xffffffff,0x8047428,0x2,0)
8702 check_mailscanne RET wait4 8705/0x2201
8702 check_mailscanne CALL pipe
8702 check_mailscanne RET pipe 3
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8707/0x2203
8702 check_mailscanne CALL close(0x4)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8708/0x2204
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL close(0xffffffff)
8702 check_mailscanne RET close -1 errno 9 Bad file descriptor
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x80473f8,0x2,0)
8702 check_mailscanne RET wait4 8708/0x2204
8702 check_mailscanne CALL wait4(0xffffffff,0x80473f8,0x2,0)
8702 check_mailscanne RET wait4 8707/0x2203
8702 check_mailscanne CALL pipe
8702 check_mailscanne RET pipe 3
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8709/0x2205
8702 check_mailscanne CALL close(0x4)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8710/0x2206
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL close(0xffffffff)
8702 check_mailscanne RET close -1 errno 9 Bad file descriptor
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x80473c8,0x2,0)
8702 check_mailscanne RET wait4 8710/0x2206
8702 check_mailscanne CALL wait4(0xffffffff,0x80473c8,0x2,0)
8702 check_mailscanne RET wait4 8709/0x2205
8702 check_mailscanne CALL pipe
8702 check_mailscanne RET pipe 3
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8711/0x2207
8702 check_mailscanne CALL close(0x4)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8712/0x2208
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL close(0xffffffff)
8702 check_mailscanne RET close -1 errno 9 Bad file descriptor
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x8047398,0x2,0)
8702 check_mailscanne RET wait4 8712/0x2208
8702 check_mailscanne CALL wait4(0xffffffff,0x8047398,0x2,0)
8702 check_mailscanne RET wait4 8711/0x2207
8702 check_mailscanne CALL pipe
8702 check_mailscanne RET pipe 3
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8713/0x2209
8702 check_mailscanne CALL close(0x4)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8714/0x220a
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL close(0xffffffff)
8702 check_mailscanne RET close -1 errno 9 Bad file descriptor
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x8047368,0x2,0)
8702 check_mailscanne RET wait4 8713/0x2209
8702 check_mailscanne CALL wait4(0xffffffff,0x8047368,0x2,0)
8702 check_mailscanne RET wait4 8714/0x220a
8702 check_mailscanne CALL pipe
8702 check_mailscanne RET pipe 3
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8715/0x220b
8702 check_mailscanne CALL close(0x4)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL read(0x3,0x804722c,0x80)
8702 check_mailscanne GIO fd 3 read 0 bytes
""
8702 check_mailscanne RET read 0
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x8047198,0x2,0)
8702 check_mailscanne RET wait4 8715/0x220b
8702 check_mailscanne CALL break(0x8070000)
8702 check_mailscanne RET break 134676480/0x8070000
8702 check_mailscanne CALL break(0x8071000)
8702 check_mailscanne RET break 134680576/0x8071000
8702 check_mailscanne CALL sigprocmask(0x1,0)
8702 check_mailscanne RET sigprocmask 0
8702 check_mailscanne CALL fcntl(0x1,0,0xa)
8702 check_mailscanne RET fcntl 11/0xb
8702 check_mailscanne CALL open(0x806e2b4,0x601,0x1b6)
8702 check_mailscanne NAMI "/dev/null"
8702 check_mailscanne RET open 3
8702 check_mailscanne CALL dup2(0x3,0x1)
8702 check_mailscanne RET dup2 1
8702 check_mailscanne CALL close(0x3)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL fcntl(0x2,0,0xa)
8702 check_mailscanne RET fcntl 12/0xc
8702 check_mailscanne CALL dup2(0x1,0x2)
8702 check_mailscanne RET dup2 2
8702 check_mailscanne CALL getrlimit(0x8,0x80472ec)
8702 check_mailscanne RET getrlimit 0
8702 check_mailscanne CALL setrlimit(0x8,0x80472ec)
8702 check_mailscanne RET setrlimit 0
8702 check_mailscanne CALL dup2(0xb,0x1)
8702 check_mailscanne RET dup2 1
8702 check_mailscanne CALL close(0xb)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL dup2(0xc,0x2)
8702 check_mailscanne RET dup2 2
8702 check_mailscanne CALL close(0xc)
8702 check_mailscanne RET close 0
8702 check_mailscanne CALL write(0x1,0x8070000,0x17)
8702 check_mailscanne GIO fd 1 wrote 23 bytes
"Starting MailScanner..."
8702 check_mailscanne RET write 23/0x17
8702 check_mailscanne CALL stat(0x806e2c0,0x80472fc)
8702 check_mailscanne NAMI "/opt/MailScanner/bin"
8702 check_mailscanne RET stat 0
8702 check_mailscanne CALL lstat(0x806e2d8,0x804725c)
8702 check_mailscanne NAMI "/opt"
8702 check_mailscanne RET lstat 0
8702 check_mailscanne CALL lstat(0x806e2d8,0x804725c)
8702 check_mailscanne NAMI "/opt/MailScanner"
8702 check_mailscanne RET lstat 0
8702 check_mailscanne CALL readlink(0x806e2d8,0x806e2ec,0xd)
8702 check_mailscanne NAMI "/opt/MailScanner"
8702 check_mailscanne RET readlink 13/0xd
8702 check_mailscanne CALL lstat(0x806e300,0x804725c)
8702 check_mailscanne NAMI "/usr"
8702 check_mailscanne RET lstat 0
8702 check_mailscanne CALL lstat(0x806e300,0x804725c)
8702 check_mailscanne NAMI "/usr/contrib"
8702 check_mailscanne RET lstat 0
8702 check_mailscanne CALL lstat(0x806e300,0x804725c)
8702 check_mailscanne NAMI "/usr/contrib/bin"
8702 check_mailscanne RET lstat 0
8702 check_mailscanne CALL chdir(0x806e300)
8702 check_mailscanne NAMI "/usr/contrib/bin"
8702 check_mailscanne RET chdir 0
8702 check_mailscanne CALL stat(0x806e2d8,0x80472fc)
8702 check_mailscanne NAMI "/opt/MailScanner/bin/MailScanner"
8702 check_mailscanne RET stat 0
8702 check_mailscanne CALL fork
8702 check_mailscanne RET fork 8732/0x221c
8702 check_mailscanne CALL getpgrp
8702 check_mailscanne RET getpgrp 8702/0x21fe
8702 check_mailscanne CALL wait4(0xffffffff,0x8047328,0x2,0)
8702 check_mailscanne RET wait4 8732/0x221c
8702 check_mailscanne CALL write(0x1,0x8070000,0x9)
8702 check_mailscanne GIO fd 1 wrote 9 bytes
" Failed.
"
8702 check_mailscanne RET write 9
8702 check_mailscanne CALL read(0xa,0x806a5a0,0x3ff)
8702 check_mailscanne GIO fd 10 read 0 bytes
""
8702 check_mailscanne RET read 0
8702 check_mailscanne CALL exit(0)
doctor.nl2k.ab.ca/~$ check_mailscanner
Starting MailScanner...Can't locate object method "bootstrap" via package "DBI" at /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/DBI.pm line 277.
BEGIN failed--compilation aborted at /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/DBI.pm line 284.
Compilation failed in require at /opt/MailScanner/lib/MailScanner/ConfigSQL.pm line 36.
BEGIN failed--compilation aborted at /opt/MailScanner/lib/MailScanner/ConfigSQL.pm line 36.
Compilation failed in require at /opt/MailScanner/lib/Config.pm line 47.
Compilation failed in require at /usr/libdata/perl5/5.18.2/i386-bsdos/DynaLoader.pm line 22.
BEGIN failed--compilation aborted at /usr/libdata/perl5/5.18.2/i386-bsdos/DynaLoader.pm line 22.
Compilation failed in require at /usr/contrib/lib/perl5/site_perl/5.18.2/i386-bsdos/Time/HiRes.pm line 7.
Compilation failed in require at /opt/MailScanner/bin/MailScanner line 90.
BEGIN failed--compilation aborted at /opt/MailScanner/bin/MailScanner line 90.
Failed.
You have mail in /var/mail/doctor
I did reinstall DBI and still no dice.
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Merry Christmas 2014 and Happy New Year 2015
More information about the MailScanner
mailing list