unable to update server

Hi, I have tried to update my server but it hangs while starting to update see below. any ideas how I can get the update to work ?

my home server works fine when I do the updates,

can you email me back on brian@fife.co.uk as I have submitted a ticket before but never saw it ro was able to follow it up.

IT SAYS 4 PACAKGES TO UPDATE SO WHEN i TRY TO SEE BELWO:

4 updates to Virtualmin packages are available. Use the Virtualmin Package Updates module to install them selectively.

Package Description Version
clamav End-user tools for the Clam Antivirus scanner 0.96-1.vm.el5 php The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor) 5.1.6-27.el5 php-cli Command-line interface for PHP 5.1.6-27.el5 sendmail A widely used Mail Transport Agent (MTA).

THIS IS WHERE IT IS SUPPOSED TO UPDATE BUT JUST

Now updating clamav ..

  Installing package(s) with command yum -y install clamav ..

  Loaded plugins: fastestmirror

Operating system CentOS Linux 5.4 Perl version 5.008008 Path to Perl /usr/bin/perl
Postfix version 2.3.3 Mail injection command /usr/lib/sendmail -t
BIND version 9.3.6 Apache version 2.2.3
PHP version 5.1.6 Webalizer version 2.01-10
Logrotate version 3.7.4 MySQL version 5.0.77
ProFTPd version 1.30 SpamAssasssin version 3.2.5
ClamAV version 0.95.2

Status: 
Closed (fixed)

Comments

If you SSH into the system and run :

killall -9 yum
yum -y install clamav

what does it output?

sorry for the delay in replying.

I did as you suggested and the command shows "Loaded plugins: fastestmirror"

and then nothing

not sure if thi shelps, seems to be duplate processes running for some reason. maybe a suggestion is for me to restart the server ?

cheers Brian

ps -ax | grep yum Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ 731 ? S 0:00 sh -c yum info 2>/dev/null 734 ? S 0:00 sh -c yum info 2>/dev/null 735 ? S 0:00 /usr/bin/python /usr/bin/yum info 736 ? S 0:00 /usr/bin/python /usr/bin/yum info 742 ? S 0:00 sh -c yum info 2>/dev/null 743 ? S 0:00 /usr/bin/python /usr/bin/yum info 744 ? S 0:00 sh -c yum info 2>/dev/null 745 ? S 0:00 /usr/bin/python /usr/bin/yum info 2869 ? SN 2:25 /usr/bin/python -tt /usr/sbin/yum-updatesd 28647 ? SN 0:00 /usr/bin/python -tt /usr/libexec/yum-updatesd-helper --check --dbus

Perhaps there is a stuck yum process? I would suggest killing them all, including yum-updatesd and yum-updatesd-helper , then re-trying the install.

thanks Jamie,

however, tried that. I also tried rebooting the server but nothing again.

oops, sorry, a bit impatient I was. seems to be installing now.

thanks

Ok, great! Sometimes yum can get stuck due to one process holding a global lock..

Automatically closed -- issue fixed for 2 weeks with no activity.