Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is my first attempt to post here, so I hope that I am going about it properly. Please feel free to correct and/or point me in the right direction if you see any problems with my post(s).
Problem: After entering any User and Password (valid or not) the process hangs indefinitely.
Notes: Both normal logins (remote or via console)and ftp are hanging; Samba is acting fine; rebooting corrected the issue until today; server has been up without (recent) adjustments for over a year; otherwise server seems normal (although without the ability to login, this is pretty meaningless).
If anyone out there has a plan of attack for this your advice is more than welcome. I am fairly green when it comes to the guts of Linux, so dont assume too much
Thanks!
Last edited by JoeNeedsHelp; 12-22-2005 at 01:51 PM.
Reason: no replies, need some help if there is anyone that can assist!
Further analysis: in single user mode I can manually launch all (at least the obvious ones that I need; network, ftp, ssh, samba, cron) services without issue. I can then access the server normally, logging in and using ftp remotely... However, these same services do not function if the server is brought up in multi-user mode as they all 'hang' after asking for a password.
Oliv: It is running Redhat and has had no recent updates.
Last edited by JoeNeedsHelp; 12-22-2005 at 06:45 PM.
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down"
# If power was restored before the shutdown kicked in, cancel it.
pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled"
# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6
7:2345:off:/sbin/mgetty ttyS0
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
Last edited by JoeNeedsHelp; 12-23-2005 at 11:30 AM.
have you tried to run "chkrootkit" to be sure that you have not been hacked and that no exec like "mingetty" has been infected ???
see this site to find it: http://www.chkrootkit.org/
Mara: I have looked at my ../messages log and see nothing unusual with respect to access and failures.
Oliv: I have not attempted to run anything. I will see what that tells me, although I have checked every file that I can think of in this pathway for size and permission reasonability - they all appear good. This is further backed up by the fact that I can login normally once all processes are started by launching the things I need manually from single user mode.
Mara: I have looked at my ../messages log and see nothing unusual with respect to access and failures.
Mara: filesystems are 'ext3' I think.
I was rather thinking about a case of incorrect shutdown/poweroff, when a filesystem may break, something may be overwritten etc. Browse the log searching for things that may be caused by that.
Quote:
Oliv: I have not attempted to run anything. I will see what that tells me, although I have checked every file that I can think of in this pathway for size and permission reasonability - they all appear good. This is further backed up by the fact that I can login normally once all processes are started by launching the things I need manually from single user mode.
It means it's only about runlevel? Are you sure the scripts in /etc/rc.d are all correct?
Mara:
logs: I reviewed the message and other log files looking for anything unusual. I validated each entry that I did not immediately recognize and understand by looking at several client's machines files for similar messages. I could not find anything out of place.
/etc/rc.d: I pulled my entire /etc directory from backup from a time period when mulit-user bootup still functioned and I get this same thing. I reviewed this file initially to make sure it was not 'blanked' out somehow, or something similar and found nothing unusual here...
Another possibly interesting note here is that when this started to happen the first time, I was logged in to this machine and got a call from a remote employee that he could not login. I then opened another session to see what his trouble was about when I got my first 'hang'. At that point a reboot 'fixed' the trouble and I moved on. This repeated itself 2 days later in a similar fashion and was again fixed with a reboot. However, after about the 5th time (over about 10 days) the reboot did nothing to correct or help, and here I am.
Mara: After the phone call from my guy about not being able to login I entered <CTRL><ALT><DEL> from the console (since I also could not get any new sessions - although my current sessions were OK) and got a normal shutdown. I watched everything come offline and only saw the usual failures (/var unmount failure, etc.), nothing I have not seen before and nothing I thought to note. -THANK YOU FOR TAKING THE TIME HERE Mara, I really appreciate that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.