SV: SV: SV: Fix in uvscan/autoupdate... fixed

Anders Andersson, IT andersan at LTKALMAR.SE
Tue Sep 24 18:02:22 IST 2002


Hi
No one else but me seemed to have a prob so I put up
my own ftp and realized it was the iptables that was blocking.
Could connect but not do ls
My bad and my apologeze for being a fool  =)

But I wonder one thing, would it be possible to get 
more info from the update accept "Running mcaffe"
ex:
updating succeded or failed?
lockfile added/removed?
maybe what/if dat-version was installed?

Thanks for the help

/Anders

Hmmmm, I think I have to go home and start learning some perl  =)

> -----Ursprungligt meddelande-----
> Från: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> Skickat: den 24 september 2002 18:13
> Till: MAILSCANNER at JISCMAIL.AC.UK
> Ämne: Re: SV: SV: Fix in uvscan/autoupdate
> 
> 
> At 16:22 24/09/2002, you wrote:
> >I did the patch but I still get the msg from line 57
> >-
> >Mcafee update failed: cannot find the the update file, at 
> ./autoupdate line
> >93
> 
> That error sounds like the ftp site timing out. The US site 
> is horribly 
> slow, the Europe site is much faster. Right near the top of 
> the script 
> there are 2 lines like this:
> 
> #my($ftpsite) = 'ftpeur.nai.com'; # Use faster European 
> mirror instead of
> my($ftpsite) = 'ftp.nai.com'; # busy US site
> 
> Move the # from the start of 1 line to the start of the other 
> line and 
> you'll be using the European mirror site at ftpeur.nai.com. Then try 
> re-running it and you will probably find it works now. This 
> seems to have 
> been a problem for a few days now.
> 
> >-
> >I cant really read perl enough to understand whats wrong but 
> if anyone
> >got an update file that work pls send it to me so I can try
> > From my point of view I can only find 2 reasons for failure
> >- missing some perl part like Net::FTP but then I think the script
> >  would bail out earlier?
> >- something is wrong with paths in the script, my 
> installation of mcafee
> >is in /usr/local/uvscan?
> >
> >I tried with f-prot and it works fine. So I thought maybe my comp
> >was stupid so I did a try on another comp. There it starts without
> >a bailout but it doesnt finish and no lookfile is writen to /tmp
> >Any good or bad advice for me to try because Im lost.
> >
> >/Anders
> >
> > > -----Ursprungligt meddelande-----
> > > Från: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > Skickat: den 23 september 2002 23:58
> > > Till: MAILSCANNER at JISCMAIL.AC.UK
> > > Ämne: Re: SV: Fix in uvscan/autoupdate
> > >
> > >
> > > At 17:59 23/09/2002, you wrote:
> > > >As the bad perl knowledge I got I need to ask where these
> > > >lines are supposed to be in the script?
> > >
> > > Around line 66 as it says at the start of the patch.
> > >
> > >
> > > >/Anders
> > > >
> > > > > -----Ursprungligt meddelande-----
> > > > > Från: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > > > > Skickat: den 23 september 2002 18:11
> > > > > Till: MAILSCANNER at JISCMAIL.AC.UK
> > > > > Ämne: Fix in uvscan/autoupdate
> > > > >
> > > > >
> > > > > There appears to have been a change in the syntax of the
> > > McAfee uvscan
> > > > > program, which means that the "autoupdate" script for it will
> > > > > bail out with
> > > > > a "no target specified for scanning" error.
> > > > >
> > > > > To fix this, just apply this tiny change to 
> uvscan/autoupdate (or
> > > > > lib/mcafee-autoupdate in V4).
> > > > >
> > > > > --- autoupdate.old      Mon Sep 23 11:01:01 2002
> > > > > +++ autoupdate  Mon Sep 23 11:11:31 2002
> > > > > @@ -66,7 +66,7 @@
> > > > >   # to see if the new dat's are o.k attempt to run mcafee
> > > > > with them and
> > > > >   # check for errors
> > > > >   print STDERR "About to run mcafee\n";
> > > > > -open(MCAFEETEST, "$mcafee -d $mcafeeroot | ");
> > > > > +open(MCAFEETEST, "$mcafee -d $mcafeeroot . | ");
> > > > >   print STDERR "Running mcafee\n";
> > > > >   while(<MCAFEETEST>){
> > > > >          chomp;
> > > > > --
> > > > > Julian Field                Teaching Systems Manager
> > > > > jkf at ecs.soton.ac.uk         Dept. of Electronics &
> > > Computer Science
> > > > > Tel. 023 8059 2817          University of Southampton
> > > > >                              Southampton SO17 1BJ
> > > > >
> > >
> > > --
> > > Julian Field                Teaching Systems Manager
> > > jkf at ecs.soton.ac.uk         Dept. of Electronics & 
> Computer Science
> > > Tel. 023 8059 2817          University of Southampton
> > >                              Southampton SO17 1BJ
> > >
> 
> -- 
> Julian Field                Teaching Systems Manager
> jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> Tel. 023 8059 2817          University of Southampton
>                              Southampton SO17 1BJ
> 




More information about the MailScanner mailing list