08-04-2010 05:13 PM
So now when I try to connect with ssh I get "connection refused" and nothing in the syslog about the connect.
Doing some google I found /sbin/init.d/secsh start but it just tells me.
/var/empty must be owned by root and not group or world-writable.
EXIT CODE: 255
From the bits and pieces I have learned they were trying to cleanup the printers in sam and so tried to do a save/restore of the printer config to make sure its clean.
Doing the restore though apparently caused the printers list to be empty so they restored from tape to get the devices back.
Apparently breaking ssh. Grrr.
So how can I get this fixed? Running "ps -ef | grep sshd" shows me that sshd is still running.
root 19916 24414 1 18:12:22 pts/te 0:00 grep sshd
08-04-2010 06:43 PM
> "connection refused" and nothing in the
> syslog about the connect.
There's nothing in the log because sshd is
not running ("Connection refused"), so it
can't log anything.
> Running "ps -ef | grep sshd" shows me that
> sshd is still running.
> root 19916 24414 1 18:12:22 pts/te 0:00 grep sshd
That's your grep command, not the sshd
itself. What _that_ shows is that sshd is
_not_ running, which is consistent with that
"Connection refused" complaint above.
08-08-2010 09:03 PM
> grep command.
The usual trick in this case is to use a
simple regular expression which won't match
itself. For example:
I find it to be a trick worth remembering.