From owner-freebsd-questions Fri Oct 27 4:59:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from alex.intersurf.net (alex.intersurf.net [216.115.129.11]) by hub.freebsd.org (Postfix) with SMTP id 9B5DF37B4C5 for ; Fri, 27 Oct 2000 04:59:44 -0700 (PDT) Received: (qmail 67397 invoked from network); 27 Oct 2000 06:59:42 -0500 Received: from mdm-143-47.dialup.intersurf.com (HELO win2k) (216.115.143.47) by alex.intersurf.net with SMTP; 27 Oct 2000 06:59:42 -0500 Message-ID: <007301c0400d$508219f0$0101a8c0@win2k> From: "Jeremy Falcon" To: Cc: References: <004a01c03f48$7b9c7420$0101a8c0@win2k> <20001026234827.B75251@149.211.6.64.reflexcom.com> Subject: Re: problem starting ftpd Date: Fri, 27 Oct 2000 06:59:08 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the reply. Using ftpd -lD produces the following message... Oct 27 06:05:20 gateway ftpd[238]: control bind: Address already in use ...and it doesn't return me to a prompt. After closer examination I can't help but wonder if this issue starts with something else besides ftpd and inetd. inetd never really hangs. During bootstrap, this is where I have to use Control+C (^C)... starting standard daemons: inetd cron sendmail^C sshd usbd. ...after I use Control+C, then sshd and usbd starts, and FreeBSD continues booting. Now, if the entry for ftpd is in inetd.conf, then wouldn't that be read and executed before cron was started? I don't think the daemons are started asynchronously because sshd and usbd would start before I hit Control+C if that were true. Is there a way to find out what was trying to be run as a daemon during boot, so I can see what didn't start? Where does FreeBSD look to find all the daemons it needs to run during bootstrap? This is a fresh 4.1.1 install, I'm still using the GENERIC kernel and making a point to not change anything until someone can help me figure out what the problem is. Once again, thanks for any help. Jeremy L. Falcon ----- Original Message ----- From: "Crist J . Clark" To: "Jeremy Falcon" Cc: Sent: Friday, October 27, 2000 1:48 AM Subject: Re: problem starting ftpd > On Thu, Oct 26, 2000 at 07:30:09AM -0500, Jeremy Falcon wrote: > > I just installed a clean installation of FreeBSD 4.1.1-STABLE (downloaded > > iso last weekend). During the installation I chose the default security > > setting (medium). Without making any changes inetd hangs when trying to > > start ftpd, AFAIK. So, I Control+C my way out and continue booting. When I > > log in and get a prompt I try... > > > > # /usr/libexec/ftpd -l > > > > ...and I get an error message like... > > > > Oct 25 00:27:40 gateway ftpd[338]: getpeername (/usr/libexec/ftpd): Socket > > opera > > tion on non-socket > > > > Can someone tell me what the heck is going on? > > > > BTW, my host name is "gateway". I found a question similar to this in the > > archives, but I found no answer to it, so I was hoping some guru out there > > could me out. > > Try, > > # /usr/libexec/ftpd -lD > > -- > Crist J. Clark cjclark@alum.mit.edu > > > 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