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.
Hi had my server going pretty good. Two sites being hosted. wilmingtoncoc.com and mikealrhughes.com. Last night we had Thunderstorms and Tornadoes come through. While I was out Tornado chasing. We lost power here for an instant and back on. When I came in the server was off. So I booted it back up. The mikealrhughes.com site is still working good. The wilmingtoncoc.com site is giving me a Database read error, it is a WordPress site. Also I can't log into the Server using SSH. Where do I start to repair the problem? Do I reinstall SSH if so what is the command I use? Then how do I solve the WordPRess Database problem? Any and all help appreciate!! Also when I try and issue a command from the Server with sudo in front of it I get an error message that says - sudo: must be setuid root - whatever that means. I couldn't find that in any of the books I have.
We need a lot more information to be able to help.
1. What distro of Linux are you using ????????
2. Log in directly as root and do:
Code:
chmod 4755 `which sudo`
. Why: http://en.wikipedia.org/wiki/Setuid
3. Maybe, probably not. What errors do you get when you try to restart SSH??
4. No idea, what errors are you getting in your Web server's log(s) or MySQL's log(s)? Is MySQL even running?
SSH error when I try to log in - Read from socket failed: Connection reset by peer
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.