Koozali.org: home of the SME Server

Update Error

Offline Smitro

  • *
  • 350
  • +0/-0
Update Error
« on: November 25, 2006, 10:17:56 AM »
Hi all,

I thought I might update me server.

I do a - yum clean all

Then,

I type: yum update
Quote

Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  157 B    00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz            100% |=========================| 254 kB    00:05
smeos     : ################################################## 481/481
Added 481 new packages, deleted 0 old in 5.60 seconds
primary.xml.gz            100% |=========================|  51 kB    00:01
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from smeupdates: [Errno 256] No more mirrors to try.


Been getting this error for a little while now, I thought there might have been problems on the other end so I left it for a while, now I'm wondering if I should worry, as the problem hasn't fix it's self.

I have no idea what's causing this, any help appreciated.

I'm also having this problem: http://forums.contribs.org/index.php?topic=34679.0
(thought you better know incase they were related).
.........

Offline Smitro

  • *
  • 350
  • +0/-0
Update Error
« Reply #1 on: November 26, 2006, 01:45:55 PM »
The other problem mentioned above (at the base of my last post) is now fixed. But it seems this was not related, so I'm still getting the error mentioned above.
.........

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Update Error
« Reply #2 on: November 26, 2006, 02:37:10 PM »
Maybe a server problem?

There was a post about a updated yum in smeserver-testing.

Code: [Select]
yum --enablerepo=smeupdates-testing update smeserver-yum

Quote from: "[contribs-devinfo
"]Hi everyone,

I've pushed a new version of smeserver-yum to smeupdates-testing. Please give it a run and raise bugs for any issues you find.

This includes Federico Simoncelli's yum plugin from bug 59 which runs yum in the background and updates the status in the panel. Many thanks Federico.

If you'd like to give it a good run, try a test from a fresh 7.0 box:

- Install 7.0
- Enable the smeupdates-testing repository
- Update the smeserver-yum update (only)
- Install all of the updates

Here's the changelog for the recent changes:

* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15
- Add dependency on yum-plugin-fastestmirror [SME: 1163]
- Alpha sort dependencies

* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14
- Add MirrorList options to each of the SME repos [SME: 1163]

* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13
- Put back missed patch for post-upgrade [SME: 2071]

* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12
- Re-add post-upgrade handling [SME: 2071]
- Display yum output
- Lower refresh to 3 seconds from 10

* Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-11
- Add Federico Simoncelli's smeserver plugin for yum [SME: 59]
- TODO: Add post-upgrade page handling

* Tue Nov 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-10
- Add distroverpkg to set release version for CentOS packages [SME: 1163]

* Thu Nov  9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-09
- Allow MirrorList property to be optional [SME: 1163]

* Thu Nov  9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-08
- Add mirrorlist option to CentOS repos via MirrorList db property [SME: 1163]
- TODO: Create mirrorlist for SME repos.

* Thu Nov  9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07
- Explicitly unset reposdir so we ignore the CentOS repo files [SME: 1905]

Thanks,

Gordon
Regards,
William

IF I give advise.. It's only if it was me....

Offline Smitro

  • *
  • 350
  • +0/-0
Update Error
« Reply #3 on: November 28, 2006, 09:26:39 AM »
Is it wise for me to enable the SME-Testing updates on a production server?
.........

mbachmann

Update Error
« Reply #4 on: November 28, 2006, 09:30:34 AM »
Maybe it's wise to enable sme updates testing rep to just see what is in the pipeline but on a production server i would only bear with the stable branch.

Mark F

Update Error
« Reply #5 on: December 01, 2006, 09:58:41 AM »
did yum clean all
then yum update
downloaded everything fine but when installing kernel and kernel-smp got the errors:

Quote
mdadm: only specify super-minor once - super-minor = 2 ignored
mdadm: only specify super-minor once - super-minor = 1 ignored


same message for both kernel and kernel-smp

now unable to ssh to server or access server-manager

please advise[/quote]

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Update Error
« Reply #6 on: December 01, 2006, 10:16:17 AM »
Quote from: "Mark F"


now unable to ssh to server or access server-manager



Server-manager via server-console? Is that working?

Is remote access enabled in server manager?
Regards,
William

IF I give advise.. It's only if it was me....

Mark F

Update Error
« Reply #7 on: December 01, 2006, 11:51:18 AM »
Hi William - (is that what people call you, or is it Bill or similar?)

SSH from LAN was enabled pre-update. Server-manager from server-console?? Sorry - total noob. Is that where you log on at actual PC as admin? At work at present so cant try that for another 6 hours.

Appreciate your help lots

Mark

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Update Error
« Reply #8 on: December 01, 2006, 12:07:59 PM »
I don't respond to Bill.

Quote
Is that where you log on at actual PC as admin?


Yes. There will then be an option to access server manager.

Oh, did you do the SME two-step tango after the yum update?

Code: [Select]
signal-event post-upgrade
signal-event reboot
Regards,
William

IF I give advise.. It's only if it was me....

Mark F

Update Error
« Reply #9 on: December 01, 2006, 04:41:39 PM »
Yes, did post-install and reboot. I'll check out server-manager from server box when I get home.

Mark F

Update Error
« Reply #10 on: December 01, 2006, 06:23:28 PM »
Ah. Everything working now. Maybe the server just needed a lie-down after the update??!  What was the mdadm: only specify super-minor etc. all about?

Sorry to trouble you William & thanks for the help

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Update Error
« Reply #11 on: December 01, 2006, 11:20:46 PM »
Quote from: "Mark F"
 What was the mdadm: only specify super-minor etc. all about?


I don't know. I see it here too and I ignore it. Ignorance is bliss.

I should do some reading about it.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Smitro

  • *
  • 350
  • +0/-0
Update Error
« Reply #12 on: December 04, 2006, 11:15:46 AM »
Sorry, I never got back to you on this one... I've been extremely snowed under..

I did a "yum clean all" (just to be safe an clean up first)

then I did what you said and this is what I got.

Code: [Select]
[root@box1 ~]# yum --enablerepo=smeupdates-testing update smeserver-yum
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  157 B    00:00
Added 0 new packages, deleted 0 old in 0.01 seconds
primary.xml.gz            100% |=========================| 254 kB    00:05
smeos     : ################################################## 481/481
Added 481 new packages, deleted 0 old in 5.56 seconds
primary.xml.gz            100% |=========================|  51 kB    00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from smeupdates: [Errno 256] No more mirrors to try.
================================================================
No new rpms were installed. No additional commands are required.
================================================================
.........

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Update Error
« Reply #13 on: December 04, 2006, 12:10:25 PM »
Hmm..

Searching google for 'yum metadata' returns some possible fixes.

Appears to be the smeupdates repo giving you trouble.... try...
Code: [Select]

yum --disablerepo=* --enablerepo=smeupdates-testing update smeserver-yum
Regards,
William

IF I give advise.. It's only if it was me....

Offline Smitro

  • *
  • 350
  • +0/-0
Update Error
« Reply #14 on: December 04, 2006, 02:08:52 PM »
Willian_syd,

Once again... I think you've done it!

I ran the command, it updated, then I did the reboot as it told me, and then I ran the update and there was around about 50 updates waiting! so I ran them and it seems like it all worked.


I came across the error mentioned above by Mark F, but it didn't seem to cause any problems that I can see.

I also had lines and lines of this:
Code: [Select]
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 9.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 12.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 15.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 16.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.  
Dec  4 22:49:37 box1 esmith::event[2412]: Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.  


(the above is just a sample) Not sure if it's a problem, it doesn't seem to be causing any.

Thanks for your help!
.........