Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 13:17:58 GMT
From:      Cliff Sarginson <cliff@raggedclown.net>
To:        Joe Oliveiro <joe@advancewebhosting.com>, Benjamin Ossei <ben@cahostnet.net>, questions@FreeBSD.ORG
Subject:   Re: Help with errors
Message-ID:  <E14NEBy-000Ihp-00@post.mail.nl.demon.net>

next in thread | raw e-mail | index | archive | help
This happened on my system when ssh was both being launched by
rc.conf, and by sshd.sh in /usr/local/etc/rc.d. One uses sshd_conf in
/etc and one in /usr/local/etc.
How this came about must be because I installed it from the ports and
it is part of the distributed system ? (I dont actually recall
doing this .. but you never know). This was in 4.2.
Anyway choosing one over the other solves this problem.

> Sounds like your trying to launch ssh twice which is why your getting the
> error 'Address already in use' unless, ofcourse, you got something else
> bind to port 22.
> 
> On Mon, 29 Jan 2001, Benjamin Ossei wrote:
> 
> > I was wondering if anyone could tell me why I'm getting these errors and what I need
to
do to resolve them.  I'm a newbie so be easy on me!!  The message is posted below.
> > 
> > Jan 28 23:02:24 cafw sshd[221]: error: Bind to port 22 on :: failed: Address already
in
use.
> > Jan 28 23:02:24 cafw sshd[221]: error: Bind to port 22 on 0.0.0.0 failed: Address
already in use.
> > Jan 28 23:02:24 cafw sshd[221]: fatal: Cannot bind any address.
> > Jan 28 23:02:24 cafw xinetd[241]: open( /etc/xinetd.conf ) failed: No such file
> > or directory (errno = 2)
> > Jan 28 23:02:24 cafw xinetd[241]: {init_services} couldn't get configuration. Ex
> > iting...
> > 
> > Is the file xinetd suppose to be in that path?  I saw it on my machine but I can't
remember where.
> > 
Well you have xinted installed but no config file for it.
man xinted

Cliff
 > Thanks..
> > 
> > _____________________________________________________________
> > ========GET YOUR FREE E-MAIL============
> > http://freemail.cahostnet.net
> > Web Hosting http://www.cahostnet.com
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E14NEBy-000Ihp-00>