Cannot SSH Into The Server Since Sshd Keeps Failing
Apr 17, 2009
/dev/sda1 is mounted to / on my dedicated server, however, it is 100% full and cPanel is having problems with it. Is there a way I can clean out some files?
Additionally, I cannot SSH into the server since sshd keeps failing. Anyone know what I can do?
I'm sure /dev/sda1 isn't usually mounted to / but who knows.
Here I got a sshd issue, which confused me a lot. I just purchased a dedi yesterday.
cPanel11+WHM panel, Fedora7 system. When I use top -c to check the system, most of the times I would see four or five sshd processes "sshd: unknown [priv]" are running, and about 5 minutes later they will disappear.
DNS lookups against domains on my server are suddenly failing. The /etc/resolv.conf shows 3 entries for uplink DNS servers at my provider (theplanet). Bind is running, too.
What else could cause this? All sites are accessible via IP, but not by name anymore.
I've had a VPS for a little over a month now, like with anything I guess hiccups are always apparent. But the VPS does starnge things even when I haven't changed anything...
For example I received an email from Watchdog, and noticed that DNS Server (BIND) and SpamAssassin is lways up and down... Thought people might have an idea as to why? Or if anyone has had these problems before?
Quote:
Events: [Feb 3, 2007 10:46 PM] 'Plesk SpamAssassin' service started. [Feb 3, 2007 10:41 PM] 'Plesk SpamAssassin' service stopped. [Feb 3, 2007 10:11 PM] The 'Plesk Web Server' service was released from monitoring because it failed frequently. [Feb 3, 2007 10:01 PM] The 'DNS Server (BIND)' service was released from monitoring because it failed frequently. [Feb 3, 2007 09:46 PM] 'DNS Server (BIND)' service stopped. [Feb 3, 2007 09:46 PM] 'DNS Server (BIND)' service stopped. [Feb 3, 2007 09:46 PM] 'Plesk Web Server' service stopped. [Feb 2, 2007 09:00 PM] The 'Plesk Web Server' service was released from monitoring because it failed frequently. [Feb 2, 2007 08:50 PM] The 'DNS Server (BIND)' service was released from monitoring because it failed frequently. [Feb 2, 2007 08:35 PM] 'DNS Server (BIND)' service stopped. [Feb 2, 2007 08:35 PM] 'DNS Server (BIND)' service stopped. [Feb 2, 2007 08:35 PM] 'Plesk Web Server' service stopped. [Feb 2, 2007 07:49 PM] 'Plesk SpamAssassin' service started. [Feb 2, 2007 07:44 PM] 'Plesk SpamAssassin' service stopped. [Jan 29, 2007 01:00 AM] Security scanning report is in the file /usr/local/psa/var/modules/watchdog/report/security_2007-01-29.
Just started to have problems sending emails out but no problem receiving.
Seems to be a exim problem.. tried updating it but the problem still exist but everytime I restart exim then it works for a few hours before the problem comes back.
I am trying to customize the knoppix CD so that the SSH server can be started while the system has been booted up. I've tried to install the service and setup the appropriate run level (update-rc.d) but still the SSH daemon couldn't be started up automatically. I had to start it up manually while the system is booted up. I have an idea is to put the startup command in the /etc/rc.local, but not sure if that would work, but I prefer to start it up from the run-level. And what about the /etc/inittab, any idea on that?
I have a friend who usually manages my server, but he's been hard to contact, and these forums are officially my best friend
I figured out how to change the sshd config, and restarting the service to change the port. My friend installed a firewall due to ddos attacks, and I think i need to manually unblock the port that I would like to be the new sshd port. How can I find out what firewall I'm running, and where can I add a new port to the allow list?
With my sshd installation, I have password authentication disabled, and only accept key-based auth. What I want to do is, make sshd lie about it's accepted authentication methods, or even make up a few to confuse anyone who's trying to connect. For example,
Today i just noticed i cannot login to my Direct admin panel no more all the sudden, but was working fine 24 hrs back.
So i login to root, and hit yum update, but guess what i get : -bash: /usr/bin/yum: Input/output error
And to my surprise i go to /home/user/ to look for sites, and the public_html folder is un-accesible and is all pinkish/orangish with question marks besides them :
?--------- ? ? ? ? ? public_html
^^
Even tmp folder says this : [root@myproxyhost tmp]# ls ls: reading directory .: Input/output error
i noticed this when i try to update da password or change it so i could login to DA :
Is there a reason why yum is failing for me? Its a brand new server!
Quote:
[root@194 yum.repos.d]# yum update Repository base is listed more than once in the configuration Repository addons is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository base is listed more than once in the configuration Repository updates is listed more than once in the configuration Repository extras is listed more than once in the configuration Repository addons is listed more than once in the configuration Setting up Update Process Setting up repositories not using ftp, http[s], or file for repos, skipping - Null is not a valid release or hasnt been released yet Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update
for the past 4 days i have being having problems with my Apache server. on day one i noticed it was going down irregularly over day 2/3 it got progressively worse by last night httpd would only work after i restarted it then 5minutes later it failed again. now it wont start at all every time i tried restarting from whm it just says 'httpd failed' ive also tried restarting from shell but no joy. ive tried rebuilding apache from whm that hasn't helped either. one error i was getting was 'invalid user name' of a user who i terminated yesturday.
Just got this server setup, getting some smart errors. Here's a copy of the trouble ticket I posted to the host, they said "If you read through the documentation for smartd you will find that from the results you pasted, your hard disk passed every test. We can give you another hard disk if you want but we will have to charge you 3 credits for the reinstall of the operating system." I could be wrong, maybe everything's fine, but the fact that there are unreadable sectors reported has me a little worried.
Quote:
What is the nature of the problem?
New server, hard drive failing smart tests
What is the error message?
Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, found in smartd database. Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, is SMART capable. Adding to "monitor" list. Sep 12 17:51:43 sls-db8p19 smartd[3312]: Monitoring 1 ATA and 0 SCSI devices Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Currently unreadable (pending) sectors Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ... Sep 12 17:51:43 sls-db8p19 smartd[3312]: Warning via mail to root: successful Sep 12 17:51:43 sls-db8p19 smartd[3312]: Device: /dev/hda, 2 Offline uncorrectable sectors Sep 12 17:51:43 sls-db8p19 smartd[3312]: Sending warning via mail to root ... Sep 12 17:51:44 sls-db8p19 smartd[3312]: Warning via mail to root: successful
For some reason BIND keeps failing on my cPanel server every couple of days. There are no error logs in the /var/logs/messages file concerning the crash but when I manually restart bind then it logs messages just fine and I can see them. Does BIND keep any other error logs?
Today it seemed to coincide with a big movement in system memory, here my munin graph:
[url]
I have ran the “fixeverything” script which attempts to correct any errors in the bind config file but it still crashes. I couldn’t see anything wrong with it ayway.
one of my servers has 2x250gb hard drives in hardware RAID 0 using a 3ware controller, but ive now got the following error message 3 times prior to 3 server crashes, my server supplier beleves it one of the drives failing (i have backups on a non raid drive so rthats fine) but i suspect the controller, whats everyone else think...
Code: Mar 28 22:41:46 server kernel: sd 2:0:0:0: WARNING: Command (0x2a) timed out, resetting card. Mar 28 22:42:39 server kernel: 3w-xxxx: scsi2: Command failed: status = 0xc7, flags = 0x1b, unit #0. Mar 28 22:43:08 server kernel: 3w-xxxx: scsi2: Command failed: status = 0xc7, flags = 0x1b, unit #0. Mar 28 22:43:12 server kernel: 3w-xxxx: scsi2: AEN: WARNING: ATA port timeout: Port #1.
The second week of July AmeriHosting moved my VPS to a new server or something and changed my IP addresses. No big deal, except the move failed miserably. My sites were down for a week. Shortly thereafter, email was down also for a week. What had worked on the old VPS did not work reliably on the new VPS. Messages sent to support went unanswered, or were given inadequate responses. They also could not go back to the old VPS which was working acceptably (and had for 2 years); I do not know why. No backup was made or else they could have gone back. That's what I think anyway. On the new VPS they did not have the same version of PHP or PHP modules. This broke some of the sites; and asking them to correct the problems as they were discovered took several days up to a week. Now the first week of September, and problems persist. This time I cannot issue a backup in Virtuozzo. This has been going on for 2 weeks. I get a response every couple of days about this is being looked into and they will respond, but no one ever does.
I've been told on several occasions the past week that they were going to move me to a new VPS but keep my IP addresses; this has not yet happened and it has been a week.
Twice I was told it would take only a few minutes to do this and it would be done that day. It has not yet been done. To add to the matter, I prepaid for a year, and I have 6 months hosting left with them. So I feel pretty damn screwed. My largest hosting customer has just moved sites from my service to another service this past week, so I am clearly losing revenue from this ordeal. Phone calls have gone unanswered (during the freakin' day!). Messages to billing and support get absolutely no response. Tonight I left a message that I wanted the name of the president or owner and his phone number so that I might enlighten him about the problems his customers are having and the dire straits his business is in.
At one time I would have recommended AmeriHosting.
Not now. Not ever. Don't even consider AmeriHosting. They'll **** you good at some point and harm YOUR business and YOUR CUSTOMERS' businesses, too.
I have been using my Server for a decent while, All of a sudden of the last month it has decided that it wants to play a game.
"Spamd" keeps failing and automagically restarts.
It restarts and works, But then Fails once again a few hours later. One morning I woke up to 7 error messages with the same service. By Restarting Exim it resolves the issue but it happens hours later. I have tried mostly of what I can think of.
Does anyone have any other thoughts on this issue and how it can be resolved?
On my website, which is hosted on Godaddy's VPS, I have a tell-a-friend script and a few email forms in which my visitors can contact me. They have all worked perfectly for months on my VPS (and for over a year on shared hosting before that) until a few weeks ago, when I started to notice that mail would not come through unless I rebooted the server. I contacted Godaddy's support, but all they told me was that "mail might me stuck in the queue". I don't know what to do. Should I upgrade my RAM? I think the process that does the mailing is called Apache Mail if that helps.
I using PSM (for MGT) & Cyberwurx (hosting) and we're having a heck of time getting our server up and running.
HISTORY: Our server ran fine for years. Cyberswurx was very responsive and PSM solved every issue. Last week, a hacker accessed our server through an "calender" script and was able to deface the index.html pages of all the accounts and setup redirects.
We had Cyberwurx reinstall WHM/CPANEL and had the server cleaned of all corrupt files. PSM restored all the accounts on WHM.
PROBLEM:
1. CPSRVD is constantly failing. 2. When we restart MYSQL server, the server become overloaded. 3. Then it goes offline.
Cyberwurx will reboot the server. Then we start over again...
Platinum Server Mgt has worked on this since last Wed. We are constantly going back and forth between PSM & Cyberwurx.