Shutdown MailScanner (Sendmail)

Paul van Brouwershaven - Networking4all p.vanbrouwershaven at NETWORKING4ALL.COM
Thu Jun 26 16:03:44 IST 2003


Thanks,

Problem solved.


-----Oorspronkelijk bericht-----
Van: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] Namens
Mariano Absatz
Verzonden: donderdag 26 juni 2003 16:53
Aan: MAILSCANNER at JISCMAIL.AC.UK
Onderwerp: Re: Shutdown MailScanner (Sendmail)


It seems someone's been fooling up with your installation.

For one thing, someone did a "chown / chgrp / touch" of the files
listed, 
plus "cut" was deleted and "head" was replaced...

Find out if someone/something uses that "head" and rename it to
something 
else: "urlhead" or whatever and change any scripts that use it (if any).

Maybe "head -v" gives you an official name besides the version, and
maybe a 
hint as of where it comes from.

Now let's fix your textutils:

rpm -q textutils

will tell you the exact version of the package textutils (e.g 
"textutils-2.0.21-1") 

Now look for that package in your redhat CD or on the net 
(http://rpmfind.net).

When you get the original rpm file (e.g. textutils-2.0.21-1.i386.rpm) do
the 
following:
rpm -ivh --replacepkgs textutils-2.0.21-1.i386.rpm

that would restore the whole textutils, including the original
/usr/bin/head 
that MailScanner wants.


El 26 Jun 2003 a las 8:13, Paul van Brouwershaven - Networking4all
escribió:

> Here is the output from the commands:
> 
>
========================================================================
> rpm -V textutils
> .....UGT   /usr/bin/cksum
> .....UGT   /usr/bin/comm
> .....UGT   /usr/bin/csplit
> missing    /usr/bin/cut
> .....UGT   /usr/bin/expand
> .....UGT   /usr/bin/fmt
> .....UGT   /usr/bin/fold
> S.5....T   /usr/bin/head
> .....UGT   /usr/bin/join
> .....UGT   /usr/bin/md5sum
> .....UGT   /usr/bin/nl
> .....UGT   /usr/bin/od
> .....UGT   /usr/bin/paste
> .....UGT   /usr/bin/pr
> .....UGT   /usr/bin/ptx
> .....UGT   /usr/bin/sha1sum
> .....UGT   /usr/bin/split
> .....UGT   /usr/bin/sum
> .....UGT   /usr/bin/tac
> .....UGT   /usr/bin/tail
> .....UGT   /usr/bin/tr
> .....UGT   /usr/bin/tsort
> .....UGT   /usr/bin/unexpand
> .....UGT   /usr/bin/uniq
> .....UGT   /usr/bin/wc
> 
> 
>
========================================================================
> /usr/bin/head -1 /etc/hosts
> Unknown option: 1
> Usage: head [-options] <url>...
>     -m <method>   use method for the request (default is 'HEAD')
>     -f            make request even if head believes method is illegal
>     -b <base>     Use the specified URL as base
>     -t <timeout>  Set timeout value
>     -i <time>     Set the If-Modified-Since header on the request
>     -c <conttype> use this content-type for POST, PUT, CHECKIN
>     -a            Use text mode for content I/O
>     -p <proxyurl> use this as a proxy
>     -P            don't load proxy settings from environment
>     -H <header>   send this HTTP header (you can specify several)
> 
>     -u            Display method and URL before any response
>     -U            Display request headers (implies -u)
>     -s            Display response status code
>     -S            Display response status chain
>     -e            Display response headers
>     -d            Do not display content
>     -o <format>   Process HTML content in various ways
> 
>     -v            Show program version
>     -h            Print this message
> 
>     -x            Extra debugging output
> 
> 
> -----Oorspronkelijk bericht-----
> Van: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]
Namens
> Mariano Absatz
> Verzonden: woensdag 25 juni 2003 23:30
> Aan: MAILSCANNER at JISCMAIL.AC.UK
> Onderwerp: Re: Shutdown MailScanner (Sendmail)
> 
> 
> Also,
> 
> what's the output of the following command:
> rpm -V textutils
> 
> 
> El 25 Jun 2003 a las 18:27, Mariano Absatz escribió:
> 
> > strange thing... 
> > 
> > log in the same way (same user) as you do when you try to shutdown 
> > MailScanner and get those messages below...
> > 
> > Now try the following 2 commands and tell me what output do they
yeld:
> > 
> > head -1 /etc/hosts
> > 
> > /usr/bin/head -1 /etc/hosts
> > 
> > (note "-1" it's a number one and not the letter ell)
> > 

--
Mariano Absatz
El Baby
----------------------------------------------------------
This time it will surely run.I just found the last bug.




More information about the MailScanner mailing list