Koozali.org: home of the SME Server

yum error /sbin/e-smith/yum: line 9: 2508 Terminated

Offline sandoz

  • ***
  • 47
  • +0/-0
yum error /sbin/e-smith/yum: line 9: 2508 Terminated
« on: June 11, 2007, 09:34:37 AM »
i am trying to update with yum, but i get aan error:
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  35 kB    00:00
Warning: cache file is version 6, we need 10, will regenerate
updates   : ################################################## 128/128
primary.xml.gz            100% |=========================| 580 kB    00:00
Warning: cache file is version 6, we need 10, will regenerate
base      : ################################################## 1518/1518
/sbin/e-smith/yum: line 9:  2508 Terminated              /usr/bin/yum "$@"
================================================================
No new rpms were installed. No additional commands are required.
================================================================
[root@server httpd]#

it also takes ages to complete this, 1/2 hour or so
whats wrong?

Offline mmccarn

  • *
  • 2,656
  • +10/-0
yum error /sbin/e-smith/yum: line 9: 2508 Terminated
« Reply #1 on: June 11, 2007, 02:05:26 PM »
The usual advice for yum errors is to run yum clean all to clean out your local cache of yum repo info and start over.

This post tells you which repositories you should have enabled (in case you've customized your yum configuration): http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled

If you've been customizing your yum at all you could use the recommend defaults by running
Code: [Select]
yum --enablerepo=base \
--enablerepo=updates \
--enablerepo=smeaddons \
--enablerepo=smeos \
--enablerepo=smeupdates update

Offline sandoz

  • ***
  • 47
  • +0/-0
yum error /sbin/e-smith/yum: line 9: 2508 Terminated
« Reply #2 on: June 12, 2007, 11:04:35 AM »
seemed to work ok, but after 10 min or so, system load goes to 15, and the server is almost locked...commands are almost impossible to enter.
And that keeps running for ages, HD's are reading and writing like crazy

i have no idea what yum is doing..

Code: [Select]


top - 11:04:09 up 22 min,  2 users,  load average: 16.16, 13.89, 7.38
Tasks: 163 total,   1 running, 160 sleeping,   2 stopped,   0 zombie
Cpu(s):  0.6% us, 85.9% sy,  0.0% ni,  0.0% id, 13.2% wa,  0.3% hi,  0.0% si
Mem:    483428k total,   482320k used,     1108k free,       76k buffers
Swap:   983032k total,   983032k used,        0k free,     6036k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                          
 4339 root      15   0 1371m 432m 1300 D  9.7 91.6   9:08.20 yum                                                                              
 2707 nobody    16   0  9012  440   36 D  8.9  0.1   0:31.09 smtp-auth-proxy                                                                  
 3833 qpsmtpd   15   0 12196  284   16 D  8.6  0.1   0:31.84 qpsmtpd-forkser                                                                  
 3913 root      15   0 19204 3032 1440 D  7.3  0.6   0:24.32 httpd                                                                            
   41 root      15   0     0    0    0 D  6.6  0.0   0:39.29 kswapd0                                                                          
 4043 root      16   0  6544  896  764 S  5.5  0.2   0:21.68 nmbd              

Offline sandoz

  • ***
  • 47
  • +0/-0
yum error /sbin/e-smith/yum: line 9: 2508 Terminated
« Reply #3 on: June 12, 2007, 12:55:00 PM »
and stull running for 3 hours now... on times at around 1.5 load, and then goiing up to 15 again :(

Offline mmccarn

  • *
  • 2,656
  • +10/-0
yum error /sbin/e-smith/yum: line 9: 2508 Terminated
« Reply #4 on: June 12, 2007, 02:49:11 PM »
I probably should have asked before: What version SME are you running now?
Quote from: "The FAQ"
Warning:
If upgrading from a system prior to 7.1.1 (7.1 update 1) you need to ensure you have the latest

smeserver-support and smeserver-yum prior to applying the rest of the updates.

The current situation is that you will pull in updates from centos that may be ahead of the distribution.

Also, in the topic announcing SME 7.1 there was a post with specific instructions to upgrade several yum-related packages before trying to do a full update from 7.0: http://forums.contribs.org/index.php?topic=35019.0

Offline sandoz

  • ***
  • 47
  • +0/-0
yum error /sbin/e-smith/yum: line 9: 2508 Terminated
« Reply #5 on: June 12, 2007, 10:04:26 PM »
i am afraid restorig it was too much work, and i think i made the above error..so i reinstalled the server