error : /sbin/service sshd restart 2>&1

qosai

Verified User
Joined
Aug 10, 2007
Messages
8
Hi
out of a sudden, starting from last night, without making any updates or anything at all, SSH stopped.
the status in Services monitor shows that SSHD has been stopped.
when trying to restart or reload it I get this error message:
An error has occurred
/sbin/service sshd restart 2>&1

mean while my only access to the system is by FTP and DA GUI.
did anyone encounter such a problem before ?

I tried updating DA from GUI and reboot, but still with no luck.

I will appreciate any kind help

tahnks
 
I can think of two main reasons for this to happen: first, someone tried to install a rootkit or trojan in your system but failed; second, there has been a file system corruption probably due to disk failure.

I suggest you contact the datacenter support and ask them to give you a direct access to the server's console (KVM over IP) or investigate the problem themselfs.
 
where and what should I be looking for ?

I can think of two main reasons for this to happen: first, someone tried to install a rootkit or trojan in your system but failed; second, there has been a file system corruption probably due to disk failure.

How can I check if it was a rookit or trojan?
or system corruption?

where and what should I be looking for ?
I am not an advanced linux user, I am running a small linux server by my self (self learning).

thanks
 
Try to start ssh in the shell and look for errors in /var/log/messages
 
scsi: Hard to do, since he already said he can't get into the shell.

qosai: For future reference, DirectAdmin has nothing to do with ssh; restarting it won't help.

You'll need someone with local access to log into the machine from the main console; that doesn't require.

Then, locally, restart sshd and see what errors if any you get.

Then check /var/log/secure to see who's been either successfully or unsuccessfully logging in.

Then start searching as scsi mentions.

Jeff
 
You can use the da log checker thing to look at /var/log/messages for errors then.
 
I am having this issue now ?? so guys what do you think is the problem to this fault ? all i see when i try start or restart service is
Code:
An error has occurred

Details

/sbin/service sshd start 2>&1
 
yes there was nothing there ? that i saw
maby my hard drive is taking it's last spin :D this is on my test server thank god
 
Well then try to login on the console and start it and see whats wrong, but you still might need to look at /var/log/messages to see an error.
 
Back
Top