Visualizzazione risultati 1 fino 19 di 19

Discussione: [SUSE] No more processes left in this runlevel

  1. #1
    Guest

    Predefinito [SUSE] No more processes left in this runlevel

    Ciao a tutti.
    Oggi, mentre cercavo di installare xmltv, è andato in crash il pc, e ho dovuto spegnerlo staccando la corrente.
    Quando ho provato a riaccenderlo mi diceva
    Codice:
    init: Id "X" respawning too fast: disabled for 5 minutes
    INIT: No more processes left in this runlevel
    X è un numero, e ce n'erano diversi.

    Cosa posso fare?

  2. #2
    Guest

    Predefinito

    Innanzitutto devi capire che runlevel stai usando:
    Codice:
    cat /etc/inittab
    e cerca la riga
    Codice:
    # The default runlevel.
    id:Y:initdefault:
    Dove Y è il rulnevel di default.

    Successivamente devi aprire la cartella dei processi di quel runlevel Y
    Codice:
    cd /etc/rcY.d
    e guardare cosa c'è dentro per capire perchè ti dice
    INIT: No more processes left in this runlevel

  3. #3
    Guest

    Predefinito

    Dentro alla directory c'è questo:
    Codice:
    K01cupsrenice      K10sshd          S01fbset         S12microcode
    K02powersaved      K12nfs           S01random        S12mysql
    K03haldaemon       K12nfsboot       S02earlykbd      S12running-kernel
    K04cron            K14portmap       S03dbus          S12splash
    K04smbfs           K14splash_early  S03lirc          S12sshd
    K05apache2         K16syslog        S03resmgr        S14mdnsd
    K06nscd            K17network       S04boot.udev     S15cups
    K06postfix         K18boot.udev     S04earlykdm      S15smpppd
    K06xdm             K18earlykdm      S05network       S16nscd
    K07cups            K19dbus          S06syslog        S16postfix
    K07smpppd          K19lirc          S08portmap       S16xdm
    K08mdnsd           K19resmgr        S08splash_early  S17apache2
    K10acpid           K20earlykbd      S10nfs           S18cron
    K10alsasound       K21earlysyslog   S10nfsboot       S18smbfs
    K10microcode       K21fbset         S12acpid         S19haldaemon
    K10running-kernel  K21random        S12alsasound     S20powersaved
    K10splash          S01earlysyslog   S12kbd           S21cupsrenice
    Preciso che ho usato MEPIS live per controllare

  4. #4
    Guest

    Predefinito

    Per sapere a cosa corrisponde la X di
    Init: Id X respawning too fast: disabled for 5 minutes
    dovresti postare qui il tuo /etc/inittab.
    Siccome tutti i processi X vengono disabilitati per 5 minuti, non rimane nulla da avviare perciò ti da quell'errore.
    Sembrerebbe che l'installazione di xmltv abbia modificato l'inittab.

  5. #5
    Guest

    Predefinito

    Ecco il mio /etc/inittab:
    Codice:
    #
    # /etc/inittab
    #
    # Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany.  All rights reserved.
    #
    # Author: Florian La Roche, 1996
    # Please send feedback to http://www.suse.de/feedback
    #
    # This is the main configuration file of /sbin/init, which
    # is executed by the kernel on startup. It describes what
    # scripts are used for the different run-levels.
    #
    # All scripts for runlevel changes are in /etc/init.d/.
    #
    # This file may be modified by SuSEconfig unless CHECK_INITTAB
    # in /etc/sysconfig/suseconfig is set to "no"
    #
    
    # The default runlevel is defined here
    id:5:initdefault:
    
    # First script to be executed, if not booting in emergency (-b) mode
    si::bootwait:/etc/init.d/boot
    
    # /etc/init.d/rc takes care of runlevel handling
    #
    # runlevel 0  is  System halt   (Do not use this for initdefault!)
    # runlevel 1  is  Single user mode
    # runlevel 2  is  Local multiuser without remote network (e.g. NFS)
    # runlevel 3  is  Full multiuser with network
    # runlevel 4  is  Not used
    # runlevel 5  is  Full multiuser with network and xdm
    # runlevel 6  is  System reboot (Do not use this for initdefault!)
    #
    l0:0:wait:/etc/init.d/rc 0
    l1:1:wait:/etc/init.d/rc 1
    l2:2:wait:/etc/init.d/rc 2
    l3:3:wait:/etc/init.d/rc 3
    #l4:4:wait:/etc/init.d/rc 4
    l5:5:wait:/etc/init.d/rc 5
    l6:6:wait:/etc/init.d/rc 6
    
    # what to do in single-user mode
    ls:S:wait:/etc/init.d/rc S
    ~~:S:respawn:/sbin/sulogin
    
    # what to do when CTRL-ALT-DEL is pressed
    ca::ctrlaltdel:/sbin/shutdown -r -t 4 now
    
    # special keyboard request (Alt-UpArrow)
    # look into the kbd-0.90 docs for this
    kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work."
    
    # what to do when power fails/returns
    pf::powerwait:/etc/init.d/powerfail start
    pn::powerfailnow:/etc/init.d/powerfail now
    #pn::powerfail:/etc/init.d/powerfail now
    po::powerokwait:/etc/init.d/powerfail stop
    
    # for ARGO UPS
    sh:12345:powerfail:/sbin/shutdown -h now THE POWER IS FAILING
    
    # getty-programs for the normal runlevels
    # <id>:<runlevels>:<action>:<process>
    # The "id" field  MUST be the same as the last
    # characters of the device (after "tty").
    1:2345:respawn:/sbin/mingetty --noclear tty1
    2:2345:respawn:/sbin/mingetty tty2
    3:2345:respawn:/sbin/mingetty tty3
    4:2345:respawn:/sbin/mingetty tty4
    5:2345:respawn:/sbin/mingetty tty5
    6:2345:respawn:/sbin/mingetty tty6
    #
    #S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102
    
    #
    #  Note: Do not use tty7 in runlevel 3, this virtual line
    #  is occupied by the programm xdm.
    #
    
    #  This is for the package xdmsc, after installing and
    #  and configuration you should remove the comment character
    #  from the following line:
    #7:3:respawn:+/etc/init.d/rx tty7
    
    
    # modem getty.
    # mo:235:respawn:/usr/sbin/mgetty -s 38400 modem
    
    # fax getty (hylafax)
    # mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem
    
    # vbox (voice box) getty
    # I6:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI6
    # I7:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI7
    
    # end of /etc/inittab

  6. #6
    Guest

    Predefinito

    Ora devi dirmi quali sono i processi X che respawnano too fast.

  7. #7
    Guest

    Predefinito

    Eccoli, nell'ordine in cui vengono visualizzati:
    1, 2, 4, 6, 3, 5

  8. #8
    Guest

    Predefinito

    Questo post e successivi possono esserti di aiuto??
    Prova la soluzione che propone il tizio.

  9. #9
    Guest

    Predefinito

    Non ho capito esattamente cosa devo fare da quei post...
    Potresti spiegarmelo passo-passo perfavore?

  10. #10
    Guest

    Predefinito

    Passo passo dovresti fare questo:
    - Any descriptive error messages in the log files?
    - Can the /sbin/getty executable be run properly (permissions + x bit)
    - Can the /sbin/getty executable find and load any shared libraries it uses. Might wanna run 'ldd /sbin/getty' to find out.
    - I use agetty and the parameters on that are the other way around, first tty1 then 9600. Might need to check the manpage on that.
    - Is the /dev/tty1 present and has the proper permissions
    - Is the /bin/login executable present and able to run
    Ma la modifica pià significativa a mio parere è questa:
    Codice:
    1:2345:respawn:/bin/bash </dev/tty1 >/dev/tty1
    questo fa si che tu sia costretto a usare la shell per fare partire i programmi.
    Per avviare la GUI devi dare:
    Codice:
    startx

  11. #11
    Guest

    Unhappy

    Niente da fare neanche così
    Altre idee?

  12. #12
    Guest

    Predefinito

    Che errore ti da??

  13. #13
    Guest

    Predefinito

    Sempre lo stesso, prima dice che i vari id respawnano too fast, e dopo arriva al solito no more processes left in this runlevel.
    Sono seriamente tentato di formattare tutto, tanto mi sono copiato in un bel tar i contenuti della home...

  14. #14
    Guest

    Predefinito

    Come estrema unzione può funzionare. Solo che non sarebbe sbagliato capire perchè è successo tutto ciò.

  15. #15
    Guest

    Predefinito

    Citazione Originalmente inviato da JoErNanO
    Solo che non sarebbe sbagliato capire perchè è successo tutto ciò.
    Su questo non c'è dubbio, però non saprei proprio come fare... Tu avresti qualche idea?

  16. #16
    Guest

    Predefinito

    Codice:
    cat /var/log/syslog | grep init:
    Ti trova l'errore in questione.
    Forse
    Codice:
    cat /var/log/messages | grep init:
    Ti dice il perchè.

  17. #17
    Guest

    Predefinito

    Niente, il syslog non esiste, mentre l'uotput su messages è relativo a diversi giorni prima del problema, e dice solo switching to runlevel 0, che se non sbaglio è lo shutdown.

  18. #18
    Guest

    Predefinito

    Infatti.
    Credo che rimarrai col dubbio.

    A sto punto pialla tutto.
    Oppure prima leggiti i log di installazione di xmltv.

  19. #19
    Guest

    Predefinito

    Niente, ho spianato tutto.

    La fregatura è che ho scoperto adesso che il file gz dove mi ero fatto il backup di /home è corrotto.
    Ho anche provato a recuperarlo con gzrecover ma niente.
    Sigh, sigh, almeno adesso ho imparato a mettere /home in una partizione separata...

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •