Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
I have a centos server running nagios for monitoring. I restarted the machine, it is actually a console server anyway. After getting to the login screen, I typed in my user name but it never propt for my password. I can't even ssh into the system.
So I tried to use the installation cd and enter into rescue mode where I typed chroot and was able to enter into the root environment.
I was able to configure a network interface in the rescue mode and can ping the machine at this point, though can ssh still.
In the root environment, I tried running couple commands.
like try to restart the sshd.
When I typed /etc/init.d/sshd restart, I got an error saying:
766 segmentation fault.
when I vi any thing I get error:
segmentation fault.
Please how can I solve this problem? What is causes this.
Even in the event of restarting the machine, I see so many fails with segmentation fault.
Well the segmentation faults can be explained from the login problem, with programs trying to access unauthorized resources. As for being unable to login, can you try to boot into runlevel 1 to fix things?
thanks. Hmmm, how do I know which files are broken or not? Or can I just use the installation CD to just over install the existing OS with out changing any data, just for the broken system files to be repair?
I have a centos server running nagios for monitoring. I restarted the machine, it is actually a console server anyway. After getting to the login screen, I typed in my user name but it never propt for my password. I can't even ssh into the system.
So I tried to use the installation cd and enter into rescue mode where I typed chroot and was able to enter into the root environment.
I was able to configure a network interface in the rescue mode and can ping the machine at this point, though can ssh still.
In the root environment, I tried running couple commands.
like try to restart the sshd.
When I typed /etc/init.d/sshd restart, I got an error saying:
766 segmentation fault.
when I vi any thing I get error:
segmentation fault.
Please how can I solve this problem? What is causes this.
Even in the event of restarting the machine, I see so many fails with segmentation fault.
how long has this installation been running for??
You might need to use the rescue disk to repair your installation. Sounds totally broken...
The main question(s) would be...
What has changed since the system last ran correctly?
Have you updated, added or removed any software since the system last ran correctly??
Could the system have been compromised??
Just a few of the questions you need to ask yourself first..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.