You are not logged in.

#1 2011-02-06 12:48:39

brot
Member
Registered: 2009-07-28
Posts: 14

upgrade to 2.6.37 can't login anymore

Dear friends,
after upgrade to newest kernel I can no longer login to my machine! Not even from the console. I can see the login promt, but after entering (any) username, it drops back to the same promt without asking for password. I booted off a rescue cd to read the logs, and the only strange thing I read in /var/log/auth file is: agety:[pid] can't exec /bin/login Exec format error.
If anyone? please
Girts

Offline

#2 2011-02-06 15:20:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: upgrade to 2.6.37 can't login anymore

http://en.gentoo-wiki.com/wiki/Chroot_f … rmat_error

Not looking too well I must admit. You haven't mixed architectures or anything? Can you chroot into the system?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-02-06 15:32:58

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

Good point! I will boot off a cd and see if I can chroot.
I'll post here
Girts

Offline

#4 2011-02-06 16:38:41

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

Well, it complains about zsh shell. I am missing something? Iam using sysrescuecd, maybe I should get a arch install disk for that chroot to work?
Here is what I did:
root@sysresccd /root % mount -t proc proc /mnt/custom/proc
root@sysresccd /root % mount -t sysfs sys /mnt/custom/sys
root@sysresccd /root % mount -o bind /dev /mnt/custom/dev
chroot /mnt/custom
chroot: failed to run command `/bin/zsh': No such file or directory

Offline

#5 2011-02-06 16:41:21

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

Yes, I forgot to add whats going on exactly in /var/log/auth.log when I try to login.
tail -f /mnt/custom/var/log/auth.log
Feb  1 17:55:57 dell agetty[3327]: tty1: can't exec /bin/login: Exec format error
Feb  1 17:56:25 dell agetty[4279]: tty1: can't exec /bin/login: Exec format error
Feb  1 17:56:47 dell agetty[3332]: tty6: can't exec /bin/login: Exec format error
Feb  1 17:56:54 dell agetty[4284]: tty1: can't exec /bin/login: Exec format error
Feb  1 17:59:05 dell agetty[3272]: tty1: can't exec /bin/login: Exec format error
Feb  1 18:01:40 dell agetty[3297]: tty1: can't exec /bin/login: Exec format error
Feb  1 19:12:54 dell agetty[3314]: tty1: can't exec /bin/login: Exec format error
Feb  5 17:56:13 dell agetty[3298]: tty1: can't exec /bin/login: Exec format error
Feb  5 17:58:15 dell agetty[4247]: tty1: can't exec /bin/login: ExecFeb  6 14:18:56 dell agetty[3306]: tty1: can't exec /bin/login: Exec format error
Feb  6 14:19:54 dell agetty[3308]: tty3: can't exec /bin/login: Exec format error

Offline

#6 2011-02-06 16:58:02

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: upgrade to 2.6.37 can't login anymore

brot wrote:

Well, it complains about zsh shell. I am missing something? Iam using sysrescuecd, maybe I should get a arch install disk for that chroot to work?
Here is what I did:
root@sysresccd /root % mount -t proc proc /mnt/custom/proc
root@sysresccd /root % mount -t sysfs sys /mnt/custom/sys
root@sysresccd /root % mount -o bind /dev /mnt/custom/dev
chroot /mnt/custom
chroot: failed to run command `/bin/zsh': No such file or directory

You should be able to set the shell when you're chrooting like this:

# env -i TERM=$TERM SHELL=/bin/bash HOME=$HOME chroot /mnt/custom /bin/bash

ᶘ ᵒᴥᵒᶅ

Offline

#7 2011-02-06 17:06:19

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

Thank for that!
It got me chrooted. So that goes for an answer.
I will try to rebuild mkinit and see how that goes

Offline

#8 2011-02-06 17:13:39

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

mkinit not really working- in fact, I dont't think it would help.

Offline

#9 2011-02-07 10:08:45

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

well, can anyone please point me to the core of this problem? I feel I should just reinstall arch, but I hate to give up.

Offline

#10 2011-02-07 11:00:53

brot
Member
Registered: 2009-07-28
Posts: 14

Re: upgrade to 2.6.37 can't login anymore

Hi, there is more info on this matter:
with entering any login at tty I get following error:
/bin/login: error while loading shared libraries: /lib/libshadow.so.0: file too short

now thats something!

Offline

Board footer

Powered by FluxBB