FC4, Yum, repos

Karandras

[H]ard|Gawd
Joined
Feb 16, 2001
Messages
1,873
Alright, I'll start at the beginning of this fun:

Our company assists in administering a Canopy network, have a Linux FC4 server in the field that has CNut on it (Java app) to update the Subscriber units and Access Points. Easy enough, however about 2 weeks ago CNut just stopped starting, couldn't get it to run to update the Subscribers. Here is the error I get when manually running it:

Code:
[root@www log]# java -Xms64m -Xmx512m -DLOG_SEVERITY_LEVEL="INFO" -DHelpCommand="$HELPCMD /usr/local/Canopy/networkupdater/help/index.htm" -DCANOPY_NETWORK_UPDATER_HOME=/usr/local/Canopy/networkupdater com.mot.canopy.CanopySWUpdater.GUI.JWndMain
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/Canopy/networkupdater/_jvm/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at sun.security.action.LoadLibraryAction.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
        at sun.awt.DebugHelper.<clinit>(Unknown Source)
        at java.awt.Component.<clinit>(Unknown Source)
[root@www log]#

So that prompted me to try to find libXp.so.6 on yum:

Code:
[root@www yum.repos.d]# yum list libXp*
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
[root@www yum.repos.d]#

No matter what command I run with yum I get that "Cannot find a valid baseurl for repo: updates-released". So I tried to dig a bit deeper

fedora.repo
Code:
[root@www yum.repos.d]# cat fedora.repo
[base]
name=Fedora Core $releasever - $basearch - Base
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
mirrorlist=http://rhold.fedoraproject.org/Download/mirrors/fedora-core-4
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

fedora-extras.repo
Code:
[root@www yum.repos.d]# cat fedora-extras.repo
[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
mirrorlist=http://rhold.fedoraproject.org/Download/mirrors/fedora-extras-4
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1

fedora-updates.repo
Code:
[root@www yum.repos.d]# cat fedora-updates.repo
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc4
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[root@www yum.repos.d]#

I've tried putting in different mirrors and I tried to uncomment the baseurl but that gives me:

Code:
[root@www yum.repos.d]# vi fedora.repo
[root@www yum.repos.d]# cat fedora.repo
[base]
name=Fedora Core $releasever - $basearch - Base
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
mirrorlist=http://rhold.fedoraproject.org/Download/mirrors/fedora-core-4
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[root@www yum.repos.d]# yum list
Setting up repositories
Cannot find a valid baseurl for repo: updates-released
[root@www yum.repos.d]#

So I checked into http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ and it seems that http://download.fedora.redhat.com/pub/fedora/linux/core/4/* doesn't exists, it's gone. What can I use as a baseurl for FC4? Upgrading the machine is not an option as we would have to have it shipped back to us. Any ideas?

Thanks.
 
This looks similar to your problem.

See if you can find an rpm for libXp-1.0.0-2.2.i386

As far as yum...good luck; FC4 is no longer maintained and you guys should really be running CentOS on production machines as that is much closer to Redhat and is usually supported for 4-5yrs. FC is bleeding edge Redhat.
 
yer you /really/ shouldn't be running fedora in this way. it is meant to be kept upto date with major releases - I almost ran into this situation when a machine of mine was Fedora7 and it is due to be dropped
 
This looks similar to your problem.

See if you can find an rpm for libXp-1.0.0-2.2.i386

As far as yum...good luck; FC4 is no longer maintained and you guys should really be running CentOS on production machines as that is much closer to Redhat and is usually supported for 4-5yrs. FC is bleeding edge Redhat.

Yeah I would like to upgrade to CentOS5 but it's a field production machine and getting it to the office would be more of a pain then just letting it run without yum updates. Grr, what a pain :-/ I'll take a look for that rpm and see if I can fix this problem.

Thanks for your help.
 
Yeah I would like to upgrade to CentOS5 but it's a field production machine and getting it to the office would be more of a pain then just letting it run without yum updates. Grr, what a pain :-/ I'll take a look for that rpm and see if I can fix this problem.

Thanks for your help.

It doesnt look like anythinf from FC4 is easily found anymore, but one of these should work.

http://fr2.rpmfind.net/linux/rpm2html/search.php?query=xorg-X11-deprecated-libs&submit=Search+...


2.png
 
Back
Top