On Wed, 16 Nov 2011, Mike Dodd wrote:
> Petr ?tetiar wrote:
> > Mike Dodd <> [2011-11-15 22:48:15]:
> >> debug1: Bind to port 22 on 0.0.0.0.
> >> Bind to port 22 on 0.0.0.0 failed: Address already in use.
> >> Cannot bind any address
> >> -----
> >
> > Isn't this error self-explanatory? Did you tried nestat to examine what's
> > running on that port 22? Maybe it's another sshd instance, maybe it's
> > dropbear
> > or something else.
>
> Yes. netstat returns no active ports.
Depends what you mean by active. There must be a process listening on port
22 otherwise sshd wouldn't have complained like it did.
netstat -atn | grep LIST
should give a listener on port 22.
There is a chance that it is inetd that is listening.
Check the file /etc/inetd.conf , see if there is a line in there similar to
this line...
ssh stream tcp nowait root /usr/sbin/dropbear dropbear -i
If so comment it out, and do: kill -HUP <PID> , where <PID> is the process
number of inetd.
>
> I think I figured out what's going on -- the Debian init is not being
> run if I simply mount the USB filesystem. pivot_root doesn't seem to work.
>
> I'll start another thread asking how to get into a fully-running Debian
> system on a USB drive.
> --
> Mike
>
> Mike Dodd
> Louisa County, VA USA
>
> http://mdodd.com
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|