From owner-freebsd-questions Mon Jan 29 5:18:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 62F6537B698 for ; Mon, 29 Jan 2001 05:17:59 -0800 (PST) Received: from [195.11.243.26] (helo=Debug) by post.mail.nl.demon.net with smtp (Exim 3.14 #4) id 14NEBy-000Ihp-00; Mon, 29 Jan 2001 13:17:58 +0000 To: Joe Oliveiro , Benjamin Ossei , questions@FreeBSD.ORG From: Cliff Sarginson Subject: Re: Help with errors Date: Mon, 29 Jan 2001 13:17:58 GMT X-Mailer: www.webmail.nl.demon.net X-Sender: postmaster@btvs.demon.nl X-Originating-IP: 192.250.25.251 Message-Id: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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