Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Login impossibile
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Umbe
n00b
n00b


Joined: 21 Nov 2004
Posts: 5
Location: Genova, Italy

PostPosted: Sat May 19, 2007 7:03 pm    Post subject: [SOLVED] Login impossibile Reply with quote

Questa mattina, dopo aver esegito un aggiornamento del sistema, Portage XFCE ed altro, mi son
messo a "giocare" con bluetooth e il mio TomTom ONE per cercare di accerdere via console al navigatore
(agetty - mingetty - minicon).
Sta' di fatto, maledizione, che ad un certo momento, per cause a me ignote, il programma konsole di KDE
non ne voleva piu' sapere di partire: si chiudeva immediatamente.
Niente di grave, mi dico... e faccio un bel REBOOT!

Adesso il sistema quando arriva a lanciare INIT runlevel 3
si ferma subito e presenta un prompt:
Code:

(none).unknown_domain (gentoo.....) :


se tento di loggarmi, sia come root che come utente normale, mi risponde:

Code:

unable to determine your tty name


cosa *BEEP* ho combinato!

Qualche anima pia puo' aiutarmi? :cry:


Last edited by Umbe on Sun May 20, 2007 3:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Sun May 20, 2007 9:03 am    Post subject: Reply with quote

a fine compilazione, hai dato etc-update? hai letto eventuali messaggi a fine compilazione che ti venivano dati dai vari pacchetti che hai aggiornato?

fai una bella cosa: reboota usando un livece e segui l'handbook come se stessi installando (ovviamente col buonsenso, monta le partizioni, monta prox e dev e poi chrootati dentro) e controlla che vada tutto bene. Ad esempio hai impostato le variabili elog in make.conf ?
Code:
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="save"

per il futuro assicurati di averle settate ed emergi elogv o kelogviewer o elogviewer (leggi le descrizioni per capirne le differenze).

Era tanto che non aggiornavi il sistema ? Per caso c'era baselayout tra i pacchetti che hai aggiornato?
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
lucapost
Veteran
Veteran


Joined: 24 Nov 2005
Posts: 1419
Location: <ud|me|ts> - Italy

PostPosted: Sun May 20, 2007 9:21 am    Post subject: Reply with quote

secondo me è un problema di /etc/issue o /etc/inittab, fai il boot con il livecd e vedi di dare una controllata a questi due file. Di seguito posto i miei se ti interessa prenderne spunto:
Code:
lucapost@jarod ~ $ cat /etc/issue

This is \n.\O (\s \m \r) \t

Code:

lucapost@jarod ~ $ cat /etc/inittab
#
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, <miquels@cistron.nl>
# Modified by:  Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
# Modified by:  Daniel Robbins, <drobbins@gentoo.org>
# Modified by:  Martin Schlemmer, <azarah@gentoo.org>
#
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.5 2005/12/22 02:03:23 vapier Exp $

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot

l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux

# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the "default" runlevel.
x:a:once:/etc/X11/startDM.sh

_________________
LP
Back to top
View user's profile Send private message
Umbe
n00b
n00b


Joined: 21 Nov 2004
Posts: 5
Location: Genova, Italy

PostPosted: Sun May 20, 2007 9:29 am    Post subject: Reply with quote

.:deadhead:. wrote:
a fine compilazione, hai dato etc-update?
Si

.:deadhead:. wrote:
hai letto eventuali messaggi a fine compilazione che ti venivano dati dai vari pacchetti che hai aggiornato?
fai una bella cosa: reboota usando un livece e segui l'handbook come se stessi installando (ovviamente col buonsenso, monta le partizioni, monta prox e dev e poi chrootati dentro) e controlla che vada tutto bene. Ad esempio hai impostato le variabili elog in make.conf ?
Code:
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_SYSTEM="save"

per il futuro assicurati di averle settate ed emergi elogv o kelogviewer o elogviewer (leggi le descrizioni per capirne le differenze).

Li ho letti ora, avevo gia' installato elogv ed impostato le variabili elog, ma non vedo nessun messaggio strano.
Sto usando un livecd 2006.1 in questo momento (non fatto il chroot per ora) per controllare se in etc e tutto a posto tipo /env.d /conf.d /init.d.

Sulla sequenza di avvio mi servirebbero dei consigli su cosa verificare in dettaglio

.:deadhead:. wrote:
Era tanto che non aggiornavi il sistema ? Per caso c'era baselayout tra i pacchetti che hai aggiornato?

Aggiorno spesso, per non ritrovarmi con montagne di pacchetti da compilare, e l'unico pacchetto "delicato" era portage.

Grazie per l'aiuto
Back to top
View user's profile Send private message
Umbe
n00b
n00b


Joined: 21 Nov 2004
Posts: 5
Location: Genova, Italy

PostPosted: Sun May 20, 2007 9:40 am    Post subject: Reply with quote

lucapost wrote:
secondo me è un problema di /etc/issue o /etc/inittab, fai il boot con il livecd e vedi di dare una controllata a questi due file. Di seguito posto i miei se ti interessa prenderne spunto


Grazie del consiglio, ho controllato e "purtroppo" sono uguali.
Back to top
View user's profile Send private message
Umbe
n00b
n00b


Joined: 21 Nov 2004
Posts: 5
Location: Genova, Italy

PostPosted: Sun May 20, 2007 3:36 pm    Post subject: Risolto Reply with quote

RISOLTO!
Ormai disperato, avevo fatto il boot con un livecd gentoo, avevo montato tutte le partizioni in /mnt/gento e avevo montato proc e dev, l'intenzione era quella di provare e ri-emergere baselayout, quando, dato il comando di chroot, il sistema rispondeva con

Code:
/bin/bash access denied


Non so come, non so perche' bash non aveva i permessi di esecuzione!
un banale chmod e il sistema funziona come prima.

Ciao.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum