[WBEL-users] yum not working ?

Jeff Lasman blists@nobaloney.net
Sat, 18 Sep 2004 18:31:59 -0700


I hope I haven't missed a simple answer somewhere, but I've just spent 
about two hours reading prior posts to the list, and I can't find the 
one that answers my problem, if there is one.

We're running the latest WBEL 3.  Server only, no desktop stuff 
installed.

We run at runlevel 3.

We note there is a symbolic link at /etc/rc.d/rc3.d/S97rhnsd

But /usr/sbin/rhnsd doesn't seem to be running:

<snip>
[jeff@admin rc3.d]$ ps waux | grep rhn
jeff  23323  0.0  0.0  3676  672 pts/0    S    18:24   0:00 grep rhn
[jeff@admin rc3.d]$
</snip>

Additionally, we've got a file at /etc/cron.daily/yum.cron with this 
contents:

<snip>
if [ -f /var/lock/subsys/yum ]; then
        /usr/bin/yum -R 10 -e 0 -d 0 -y update yum
        /usr/bin/yum -R 120 -e 0 -d 0 -y update
fi
</snip>

and yes, there is a file at /var/lock/subsys/yum.

But when i run yum this way:

/etc/cron.daily/yum.cron

It seems to run forever (hours) until I stop it, and the log file at 
/var/log/yum.log is always of 0 length.

I haven't changed anything except some excludes in the config file at 
/etc/yum.conf; it still has these URLs:

<snip>
[base]
name=White Box Enterprise Linux $releasever - $basearch - Base
baseurl=ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/os/$basearch/
        
ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/os/$basearch/
        
ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/os/$basearch/
        
ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/os/$basearch/
        
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/os/$basearch/
        
ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/os/$basearch/
        http://whitebox.phantomhosting.com/$releasever/en/os/$basearch/

[updates-released]
name=White Box Enterprise Linux $releasever - $basearch - Released 
Updates
baseurl=http://whitebox.phantomhosting.com/$releasever/en/updates/
        
ftp://ftp.opensourcemirrors.org/linux/whitebox/$releasever/en/updates/
        
ftp://gd.tuwien.ac.at/opsys/linux/whiteboxlinux/$releasever/en/updates/
        
ftp://ftp.jach.hawaii.edu/pub/linux/whitebox/$releasever/en/updates/
        
ftp://ftp.kspei.com/mirrors/whiteboxlinux.org/whitebox/$releasever/en/updates/
        
ftp://ftp.esat.net/mirrors/whiteboxlinux.org/$releasever/en/updates/
        
ftp://mirror.physics.ncsu.edu/pub/whitebox/$releasever/en/updates/
</snip>

Any ideas as to what I should be looking for?

Thanks.

Jeff
-- 
Jeff Lasman, nobaloney.net, P. O. Box 52672, Riverside, CA  92517 US
Professional Internet Services & Support / Consulting / Colocation
Our blists address used on lists is for list email only
Phone +1 951 324-9706, or see: "http://www.nobaloney.net/contactus.html"