From owner-freebsd-questions@FreeBSD.ORG Mon Feb 9 09:10:26 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC4916A4CF for ; Mon, 9 Feb 2004 09:10:26 -0800 (PST) Received: from lilzmailso01.liwest.at (lilzmailso01.liwest.at [212.33.55.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6FD2443D31 for ; Mon, 9 Feb 2004 09:10:26 -0800 (PST) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at ([212.33.58.27]) by lilzmailso01.liwest.at with esmtp (Exim 4.24) id 1AqEvO-0005Kt-5g; Mon, 09 Feb 2004 18:10:22 +0100 From: Daniela To: Lowell Gilbert Date: Mon, 9 Feb 2004 18:05:00 +0000 User-Agent: KMail/1.5.3 References: <200402081631.18754.dgw@liwest.at> <44fzdk1ffd.fsf@be-well.ilk.org> In-Reply-To: <44fzdk1ffd.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200402091805.00307.dgw@liwest.at> cc: questions@freebsd.org Subject: Re: Can't start rshd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 17:10:26 -0000 On Monday 09 February 2004 14:43, Lowell Gilbert wrote: > Daniela writes: > > I'm having problems starting rshd. I tried it on two different computers > > (yes, I know about the security risks, but the port is firewalled off). I > > can't use alternatives because some software I'm using depends on it. > > > > The error is: It terminates with status 1 and sets errno to 38 (ENOTSOCK) > > = Socket operation on non-socket. It fails on the following function > > call: getpeername(0, (struct sockaddr *)&from, &fromlen) > > > > I'm no expert, but it looks like this can't work. Is this a bug, or is my > > installation faulty? BTW, I'm starting rshd with no arguments. > > You're not starting it with a socket, like it expects. > Normally, rshd(8) is started from inetd.conf(5). But I tried starting it from inetd. When I did a `ps ax` after reboot, it wasn't there.