[WBEL-users] Re: [WBEL-users] yum not working ?
timspam@meanor.net
timspam@meanor.net
Mon, 20 Sep 2004 00:14:01 +0200
One thing you can do to see if yum is actually doing anything is install
strace (if it isn't already) and execute "strace -p PID" where PID is
the pid of yum. This will allow you to see the various system calls
that yum is performing (if any). It may also give you a hint as to
what the problem is.
HTH
Tim
Jeff Lasman <blists@nobaloney.net> wrote on 09/19/2004, 03:31:59 AM:
> 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:
>
>
> [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]$
>
>
> Additionally, we've got a file at /etc/cron.daily/yum.cron with this
> contents:
>
>
> 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
>
>
> 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:
>
>
> [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/
>
>
> 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"
>
> _______________________________________________
> Whitebox-users mailing list
> Whitebox-users@beau.org
> http://beau.org/mailman/listinfo/whitebox-users