unable to login thu console even using root

  • delta32
  • Newbie
  • Newbie
  • delta32
  • Posts: 11

Post 3+ Months Ago

One fine day
Users were unable to FTP to the server.

When tried su to root through telnet, the m/c threw segmentation fault.


After rebooting!

Nobody is able to log in to the server from the console through any run level other than 1.

It is coming to the login prompt and is not accepting any user id and password even for the root.

We could get in through single user mode and tried changing the password of root, though its showing

password changed successfully and tokens updated it also throws below error

modprobe: modprobe: Cant locate module char-major-10-224

Even when tried su to root from run level 1 (single user mode),

the machine threw segmentation fault along with the above error without taking the root.


also checked the /ect/pam.d/login entries, and all looked fine..

Kernel Version: 2.4.21-15.ELsmp

does somebody 've any idea abt this ?

thanks in advance,

JJ
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Add the following to the /etc/modules.conf ; or wherever modules are defined (could be /etc/conf.modules or etc/modutils/aliases file.

Code: [ Select ]
alias char-major-10-224 off


That should get you booted up, though you have to figure out what changed. If something was removed (not entirely) that could still be calling that module, or if something else occurred.
Cheers.
  • delta32
  • Newbie
  • Newbie
  • delta32
  • Posts: 11

Post 3+ Months Ago

but setting this would only stop that msg!

am able to connect to the m/c from client m/c's using any user id other than root.

whn trying to su - root, getting "segmentation fault"

Also when trying to FTP to the server, after accepting the passwd, its gettin hanged !:-( .. (vsftpd is running)

am unable to get to the m/c thru the console thru any uid .

thanks in advance
JJ
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

If you are segfaulting just trying to su to root, you have very large problems indeed.

Can you log in directly to the console as root? If you could, you might then check out some of your log files to see when changes were made.

I would probably wipe the system and begin anew. Either the system ate itself, or someone caused it to. you could pull the drive and do forensics later; install a new one and rebuild. Not to be paranoid, but it could be that the system was compromised. If attempting to su to root causes a segfault and your ftp password changes on you each time you try to log in, it doesn't sound very healthy.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 57 guests
  • 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 post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.