Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: guestHH on June 26, 2002, 12:02:51 PM
-
Hi,
I've got a strange thing goin on here. I can't access the console anymore.
Don't know why but if I try to access as root it simply returns: access denied.
During a reboot a came accross this one:
su: PAM unable to dlopen(/lib/security/pam_xauth.so)
Jun 26 08:25:01 star-support su: PAM [dlerror: /lib/security/pam_xauth.so: cannot open shared object file: Input/output error]
Jun 26 08:25:01 star-support su: PAM adding faulty module: /lib/security/pam_xauth.so
The messages log file tells me (using putty to gain access):
sshd[2257]: PAM unable to dlopen(/lib/security/pam_unix.so)
Jun 26 08:28:08 star-support sshd[2257]: PAM [dlerror: /lib/security/pam_unix.so: cannot open shared object file: Input/output error]
Jun 26 08:28:08 star-support sshd[2257]: PAM adding faulty module: /lib/security/pam_unix.so
Jun 26 08:28:08 star-support sshd[2257]: Failed password for ROOT from 192.168.1.77 port 3119
Anybody any idea?
Regards,
guestHH
-
/lib/security/pam_unix.so
Do you have that file? If so, I wonder if you have a bad sector on the drive that is preventing access to that file...
You may want to fsck.ext2 that disk.
-
Thanks Nathan.
It is indeed a HD issue. I've run fsck.ext2, even twice to make sure.
But still can't access the console. Same issue.
I thinks I have to copy new pam* files to my server. But how if can not access it...
Is networking active (smb share) in esmith single mode?
Regards,
guestHH
-
Run (from a boot disk or something):
fsck.ext2 -p -y -c -f
-
did that too (didn't know it would take up to a couple of hours ;-)
Same result:
Jun 27 08:48:37 star-support sshd[2274]: PAM unable to dlopen(/lib/security/pam_unix.so)
Jun 27 08:48:37 star-support sshd[2274]: PAM [dlerror: /lib/security/pam_unix.so: cannot open shared object file: No such file or directory]
Jun 27 08:48:37 star-support sshd[2274]: PAM adding faulty module: /lib/security/pam_unix.so
Jun 27 08:48:37 star-support sshd[2274]: Failed password for ROOT from 192.168.1.77 port 3261
Jun 27 08:48:38 star-support sshd[2274]: fatal: Read from socket failed: Connection reset by peer
Jun 27 08:50:00 star-support su: PAM unable to dlopen(/lib/security/pam_xauth.so)
Jun 27 08:50:00 star-support su: PAM [dlerror: /lib/security/pam_xauth.so: cannot open shared object file: No such file or directory]
Jun 27 08:50:00 star-support su: PAM adding faulty module: /lib/security/pam_xauth.so
Bummer. I think the only thing left is to copy new pam_x files to overwrite the existing ones.
Everythng else works fine, just logging in to the console...
Regards,
guestHH
-
Have you tried to access the console via its IP address?
If that works, then add a new network from the console and remove it again. Now does your console access work correctly?
JJ