You are not logged in.
Pages: 1
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
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
Good point! I will boot off a cd and see if I can chroot.
I'll post here
Girts
Offline
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
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
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
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
mkinit not really working- in fact, I dont't think it would help.
Offline
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
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
Pages: 1