IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

RedHat / CentOS / Fedora Discussion :

[FEDORA] Blocage de Yum


Sujet :

RedHat / CentOS / Fedora

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2005
    Messages
    123
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2005
    Messages : 123
    Points : 85
    Points
    85
    Par défaut [FEDORA] Blocage de Yum
    Bonjour,

    Yum reste bloqué sur la ligne
    "Reading Reposity metadata in from local files"

    J'ai tenté de réinstaller yum 2.4.3 depuis les sources, cela ne change rien

    mon noyau est 2.6.16-1.2111_fc4

    merci d'avance

    PS : au risque de dire une bêtise, je me demande si cela n'est pas lié à l'installation d'une mise à jour de bzip2 ... Mais comment corriger ?

  2. #2
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Mai 2006
    Messages
    31
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2006
    Messages : 31
    Points : 32
    Points
    32
    Par défaut
    Yum reste bloqué sur la ligne "Reading Reposity metadata in from local files"
    Tu as regardé ton "yum.conf" ?
    vi /etc/yum.conf

    Compare avec le contenu du mien, FC5 fraîchement installée :
    main
    cachedir=/var/cache/yum
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    metadata_expire=1800

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d
    Pour moi, il recherche les dépôts en local plutôt qu'en ligne, y'a forcément un os. Comme indiqué, les dépôts sont de préférence placés dans le répertoire "/etc/yum.repos.d" depuis la FC5, un fichier séparé par dépôt. Des conflits peuvent se produire si certains dépôts sont utilisés ensemble (c'est le cas par exemple de Livna et Freshmeat).

    De base, tu dois avoir les dépôts suivants :
    - fedora-core.repo
    - fedora-development.repo
    - fedora-extras-development.repo
    - fedora-extras.repo
    - fedora-legacy.repo
    - fedora-updates.repo
    - fedora-updates-testing.repo

    Tu n'arrives même pas à faire un "yum update yum" ?
    La connexion ne se fait pas sur les dépôts de base ?

  3. #3
    Membre régulier
    Profil pro
    Inscrit en
    Juillet 2005
    Messages
    123
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2005
    Messages : 123
    Points : 85
    Points
    85
    Par défaut Complément d'informations sur le problème
    Bonjour,

    Toujours mon problème avec yum ... Aujourd'hui j'ai décidé de laisser tourner yum sans l'interrompre (il a téléchargé quelques catalogues, et a déclaré des erreurs de parse)... Après un blocage de près de 10 minutes sans rien faire (de visible en tout cas) c'est le crash


    Voici les logs correspondants :

    Jun 22 12:27:33 -- root[1541]: ROOT LOGIN ON tty1
    Jun 22 12:36:49 kernel: oom-killer: gfp_mask=0x201d2, order=0
    Jun 22 12:36:49 kernel: [<c013fe2c>] out_of_memory+0x130/0x154 [<c0141b58>] __alloc_pages+0x268/0x2db
    Jun 22 12:36:49 kernel: [<c0142d24>] __do_page_cache_readahead+0x1c3/0x25b [<c0311bbe>] __wait_on_bit_lock+0x54/0x5e
    Jun 22 12:36:49 kernel: [<c013c5eb>] sync_page+0x0/0x37 [<d0844674>] dm_table_any_congested+0xb/0x4f [dm_mod]
    Jun 22 12:36:49 kernel: [<d0842240>] dm_any_congested+0x3a/0x40 [dm_mod] [<c013e3a6>] filemap_nopage+0x109/0x39b
    Jun 22 12:36:49 kernel: [<c0148f6b>] __handle_mm_fault+0x137/0x902 [<c0130cce>] hrtimer_try_to_cancel+0x32/0x61
    Jun 22 12:36:49 kernel: [<c013aed5>] audit_syscall_exit+0x3f/0x39c [<c0130de1>] hrtimer_nanosleep+0x50/0xf9
    Jun 22 12:36:49 kernel: [<c0313469>] do_page_fault+0x259/0x630 [<c0313210>] do_page_fault+0x0/0x630
    Jun 22 12:36:49 kernel: [<c01037ef>] error_code+0x4f/0x54 <6>Mem-info:
    Jun 22 12:36:49 kernel: DMA per-cpu:
    Jun 22 12:36:49 kernel: cpu 0 hot: high 0, batch 1 used:0
    Jun 22 12:36:49 kernel: cpu 0 cold: high 0, batch 1 used:0
    Jun 22 12:36:50 kernel: DMA32 per-cpu: empty
    Jun 22 12:36:52 kernel: Normal per-cpu:
    Jun 22 12:36:52 kernel: cpu 0 hot: high 90, batch 15 used:81
    Jun 22 12:36:52 kernel: cpu 0 cold: high 30, batch 7 used:6
    Jun 22 12:36:52 kernel: HighMem per-cpu: empty
    Jun 22 12:36:52 kernel: Free pages: 2996kB (0kB HighMem)
    Jun 22 12:36:52 kernel: Active:30176 inactive:30100 dirty:0 writeback:0 unstable:0 free:749 slab:1677 mapped:59138 pagetables:536
    Jun 22 12:36:52 kernel: DMA free:1080kB min:124kB low:152kB high:184kB active:6328kB inactive:5260kB present:16384kB pages_scanned:12772 all_unreclaimable? yes
    Jun 22 12:36:52 kernel: lowmem_reserve[]: 0 0 239 239
    Jun 22 12:36:52 kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    Jun 22 12:36:52 kernel: lowmem_reserve[]: 0 0 239 239
    Jun 22 12:36:52 kernel: Normal free:1916kB min:1916kB low:2392kB high:2872kB active:114376kB inactive:115140kB present:245696kB pages_scanned:84618 all_unreclaimable? no
    Jun 22 12:36:52 kernel: lowmem_reserve[]: 0 0 0 0
    Jun 22 12:36:52 kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    Jun 22 12:36:52 kernel: lowmem_reserve[]: 0 0 0 0
    Jun 22 12:36:52 kernel: DMA: 0*4kB 1*8kB 1*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1080kB
    Jun 22 12:36:52 kernel: DMA32: empty
    Jun 22 12:36:52 kernel: Normal: 1*4kB 1*8kB 3*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1916kB
    Jun 22 12:36:52 kernel: HighMem: empty
    Jun 22 12:36:53 kernel: Swap cache: add 131241, delete 131241, find 389/408, race 0+0
    Jun 22 12:36:53 kernel: Free swap = 0kB
    Jun 22 12:36:53 kernel: Total swap = 524280kB
    Jun 22 12:36:53 kernel: Free swap: 0kB
    Jun 22 12:36:53 kernel: 65520 pages of RAM
    Jun 22 12:36:53 kernel: 0 pages of HIGHMEM
    Jun 22 12:36:54 kernel: 1553 reserved pages
    Jun 22 12:36:54 kernel: 190 pages shared
    Jun 22 12:36:54 kernel: 0 pages swap cached
    Jun 22 12:36:54 kernel: 0 pages dirty
    Jun 22 12:36:54 kernel: 0 pages writeback
    Jun 22 12:36:54 kernel: 59138 pages mapped
    Jun 22 12:36:54 kernel: 1677 pages slab
    Jun 22 12:36:54 kernel: 536 pages pagetables
    Jun 22 12:36:54 kernel: Out of Memory: Kill process 1423 (mysqld) score 31173 and children.
    Jun 22 12:36:54 kernel: Out of memory: Killed process 1423 (mysqld).
    Jun 22 12:37:07 kernel: oom-killer: gfp_mask=0x201d2, order=0
    Jun 22 12:37:07 kernel: [<c013fe2c>] out_of_memory+0x130/0x154
    Jun 22 12:37:07 kernel: [<c0141b58>] __alloc_pages+0x268/0x2db [<c0124d3b>] del_timer+0x43/0x4b
    Jun 22 12:37:07 kernel: [<c0142d24>] __do_page_cache_readahead+0x1c3/0x25b [<c0311bbe>] __wait_on_bit_lock+0x54/0x5e
    Jun 22 12:37:07 kernel: [<c013c5eb>] sync_page+0x0/0x37 [<d0844674>] dm_table_any_congested+0xb/0x4f [dm_mod]
    Jun 22 12:37:07 kernel: [<d0842240>] dm_any_congested+0x3a/0x40 [dm_mod] [<c013e3a6>] filemap_nopage+0x109/0x39b
    Jun 22 12:37:07 kernel: [<c0148f6b>] __handle_mm_fault+0x137/0x902 [<c013aed5>] audit_syscall_exit+0x3f/0x39c
    Jun 22 12:37:07 kernel: [<c0313469>] do_page_fault+0x259/0x630 [<c0313210>] do_page_fault+0x0/0x630
    Jun 22 12:37:07 kernel: [<c01037ef>] error_code+0x4f/0x54 <6>Mem-info:
    Jun 22 12:37:07 kernel: DMA per-cpu:
    Jun 22 12:37:07 kernel: cpu 0 hot: high 0, batch 1 used:0
    Jun 22 12:37:07 kernel: cpu 0 cold: high 0, batch 1 used:0
    Jun 22 12:37:07 kernel: DMA32 per-cpu: empty
    Jun 22 12:37:09 kernel: Normal per-cpu:
    Jun 22 12:37:09 kernel: cpu 0 hot: high 90, batch 15 used:0
    Jun 22 12:37:09 kernel: cpu 0 cold: high 30, batch 7 used:6
    Jun 22 12:37:09 kernel: HighMem per-cpu: empty
    Jun 22 12:37:09 kernel: Free pages: 2976kB (0kB HighMem)
    Jun 22 12:37:09 kernel: Active:30467 inactive:29964 dirty:0 writeback:0 unstable:0 free:744 slab:1576 mapped:59366 pagetables:536
    Jun 22 12:37:09 kernel: DMA free:1080kB min:124kB low:152kB high:184kB active:6252kB inactive:5336kB present:16384kB pages_scanned:11875 all_unreclaimable? yes
    Jun 22 12:37:09 kernel: lowmem_reserve[]: 0 0 239 239
    Jun 22 12:37:09 kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    Jun 22 12:37:10 kernel: lowmem_reserve[]: 0 0 239 239
    Jun 22 12:37:10 kernel: Normal free:1896kB min:1916kB low:2392kB high:2872kB active:115616kB inactive:114520kB present:245696kB pages_scanned:34353 all_unreclaimable? no
    Jun 22 12:37:10 kernel: lowmem_reserve[]: 0 0 0 0
    Jun 22 12:37:10 kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
    Jun 22 12:37:10 kernel: lowmem_reserve[]: 0 0 0 0
    Jun 22 12:37:10 kernel: DMA: 0*4kB 1*8kB 1*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1080kB
    Jun 22 12:37:10 kernel: DMA32: empty
    Jun 22 12:37:10 kernel: Normal: 0*4kB 5*8kB 0*16kB 0*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1896kB
    Jun 22 12:37:10 kernel: HighMem: empty
    Jun 22 12:37:10 kernel: Swap cache: add 134658, delete 134650, find 457/532, race 0+1
    Jun 22 12:37:10 kernel: Free swap = 0kB
    Jun 22 12:37:10 kernel: Total swap = 524280kB
    Jun 22 12:37:10 kernel: Free swap: 0kB
    Jun 22 12:37:10 kernel: 65520 pages of RAM
    Jun 22 12:37:10 kernel: 0 pages of HIGHMEM
    Jun 22 12:37:10 kernel: 1553 reserved pages
    Jun 22 12:37:10 kernel: 208 pages shared
    Jun 22 12:37:10 kernel: 8 pages swap cached
    Jun 22 12:37:10 kernel: 0 pages dirty
    Jun 22 12:37:10 kernel: 0 pages writeback
    Jun 22 12:37:10 kernel: 59366 pages mapped
    Jun 22 12:37:10 kernel: 1576 pages slab
    Jun 22 12:37:10 kernel: 536 pages pagetables
    Jun 22 12:37:10 kernel: Out of Memory: Kill process 21048 (bash) score 5928 and children.
    Jun 22 12:37:10 kernel: Out of memory: Killed process 21077 (yum).
    Jun 22 21:26:57 sshd(pam_unix)[23296]: session opened for user root by (uid=0)


    Une idée mis à part la réinstallation totale ?

  4. #4
    Membre averti Avatar de temar
    Profil pro
    Étudiant
    Inscrit en
    Août 2004
    Messages
    316
    Détails du profil
    Informations personnelles :
    Âge : 39
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Août 2004
    Messages : 316
    Points : 300
    Points
    300
    Par défaut
    Utiliser apt ?

Discussions similaires

  1. [FEDORA] problème avec yum
    Par java_fun dans le forum RedHat / CentOS / Fedora
    Réponses: 6
    Dernier message: 24/05/2007, 11h30
  2. [FEDORA] configuration de YUM
    Par JavaAcro dans le forum RedHat / CentOS / Fedora
    Réponses: 1
    Dernier message: 30/04/2007, 13h56
  3. [FEDORA] yum ne fonctionne pas
    Par Le fut dans le forum RedHat / CentOS / Fedora
    Réponses: 2
    Dernier message: 06/02/2007, 11h35
  4. Fedora 5 - yum
    Par Tex-Twil dans le forum Administration système
    Réponses: 1
    Dernier message: 09/10/2006, 14h23
  5. [FEDORA] Mise à jour FC3 -> FC4 yum update problem
    Par scifire dans le forum RedHat / CentOS / Fedora
    Réponses: 2
    Dernier message: 02/09/2005, 10h11

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo