Virtualmin Updates failing

11 posts / 0 new
Last post
#1 Wed, 08/12/2009 - 03:32
ChrisEyre

Virtualmin Updates failing

I'm getting consistent update failures within VM. I've tried searching for the answer but as yet not conclusive. Can anyone help? Thanks

Installing package(s) with command yum -y install ust-virtual-server-theme .. Existing lock /var/run/yum.pid: another copy is running. Aborting. Loading "installonlyn" plugin .. install failed!

Wed, 08/12/2009 - 09:12
andreychek

Hmm, it sounds like yum is already running somewhere else, according to the above.

You can take a peek at what all is running with "ps auxw".

If you aren't quite sure what the problem is, you can run that command, and include the output as an attachment to a post on here, we can help figure out what is going on :-)

-Eric

Wed, 08/12/2009 - 11:45 (Reply to #2)
ChrisEyre

Thanks for replying so soon Eric. Yum does appear to be running but I'm not experienced enough to work out what the processes do or if killing them would compromise the server. Here's the processes...

[root@dlx30112 ~]# ps auxw | grep -i yum
root     13561  0.0  0.0   2320   256 ?        S    Jan06   0:00 sh -c yum list 2>/dev/null
root     13562  0.0  0.0  19376   320 ?        S    Jan06   0:00 /usr/bin/python /usr/bin/yum list
root     17284  0.0  0.1   4988   536 pts/0    R+   16:07   0:00 grep -i yum

Any further help most appreciated.

Chris

Wed, 08/12/2009 - 12:47 (Reply to #3)
andreychek

Yeah, that's an odd one, it looks like yum got stuck way back in January.

I'd probably go ahead and kill that first process with a "kill 13561", and see if both go away at that point.

Give it a few moments, but if not, try using kill -9 rather than just kill -- and then verify that both processes go away.

-Eric

Wed, 08/12/2009 - 14:43 (Reply to #4)
ChrisEyre

OK, both processes killed fine, but now a different install error...

Now updating ust-virtual-server-theme .. Installing package(s) with command yum -y install ust-virtual-server-theme .. Cannot find a valid baseurl for repo: core Error: Cannot find a valid baseurl for repo: core Loading "installonlyn" plugin Setting up Install Process Setting up repositories .. install failed!

I found an old post from Joe about Fedora Core servers being off line and changing the baseURL - the change to the mirror suggested did not work.....any other thoughts?

Thanks, Chris

Wed, 08/12/2009 - 22:22 (Reply to #5)
andreychek

Hi Chris,

Which Fedora version are you using?

And what Virtualmin version do you have -- and is it Pro or GPL?

Lastly, can you post the contents of your fedora repo file (found in /etc/yum.repos.d)?

Thanks!

-Eric

Thu, 08/13/2009 - 03:53 (Reply to #6)
ChrisEyre

Hi Eric,

Operating system Redhat Linux Fedora 5 Webmin version 1.441 Virtualmin version 3.63 (Pro)

[root@dlx30112 ~]# ls /etc/yum.repos.d/
fedora-core.repo         fedora-extras-development.repo  fedora-legacy.repo   fedora-updates-testing.repo
fedora-development.repo  fedora-extras.repo              fedora-updates.repo  virtualmin.repo
[root@dlx30112 ~]# 

Here's the contents of fedora-core.repo. I have uncommented the baseurl line at the top as some threads suggested this, but still does not work.

name=Fedora Core $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

Once again Eric, thank you for your time. Appreciated!

Chris

Thu, 08/13/2009 - 09:11 (Reply to #7)
andreychek

Aha, okay, I think that's our problem :-)

Fedora 5 reached it's end of life in March of 2007 -- meaning at that point, Fedora was no longer providing updates for it.

Sometime more recently, Virtualmin stopped providing updates for that too (since it's probably a bad idea to be running a box with Fedora 5 software ATM ;-)

So you might want to look into what it would take to upgrade your Fedora server to a more recent version.

As another option, CentOS is fairly similar in how things work, but provides longer-term support, so you wouldn't need to upgrade as often.

-Eric

Thu, 08/13/2009 - 11:49 (Reply to #8)
ChrisEyre

Funny about that, because I'm looking to change my server at the moment. Guess this confirms it's time. Thanks for all of the help and tips.

Regards,

Chris

Thu, 08/13/2009 - 18:11 (Reply to #9)
andreychek

No problem!

I would offer though, that if you're open to changing distros, that CentOS makes a great choice for Virtualmin on a server.

Have a good one!

-Eric

Fri, 08/14/2009 - 05:43
sgrayban

debian lenny rocks too !!

Topic locked