From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 21:02:11 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 3D92916A4CE for ; Wed, 28 Apr 2004 21:02:11 -0700 (PDT) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id ACF8043D1F for ; Wed, 28 Apr 2004 21:02:09 -0700 (PDT) (envelope-from doublef@tele-kom.ru) Received: (qmail 34039 invoked by uid 555); 29 Apr 2004 08:02:08 +0400 Received: from shark (213.80.149.195) by t-k.ru with TeleMail/2 id 1083211326-33961 for suplizio@blarg.net; Thu, 29 Apr 08:02:06 2004 +0400 (MSD) Received: by shark (Postfix, from userid 1000) id 7911018D; Thu, 29 Apr 2004 07:59:18 +0400 (MSD) Date: Thu, 29 Apr 2004 07:59:17 +0400 From: Sergey Zaharchenko To: Jason Suplizio Message-ID: <20040429035917.GA4400@Shark.localdomain> Mail-Followup-To: Sergey Zaharchenko , Jason Suplizio , freebsd-questions@freebsd.org References: <20040429103410.4d67777d.y2kbug@ms25.hinet.net> <027401c42d9b$b24b32f0$66847cce@homepc> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <027401c42d9b$b24b32f0$66847cce@homepc> User-Agent: Mutt/1.4.2.1i cc: freebsd-questions@freebsd.org Subject: Re: More ProFTP 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: Thu, 29 Apr 2004 04:02:11 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 28, 2004 at 08:40:20PM -0700, Jason Suplizio probably wrote: > Hi all, > Thanks for all your help. Unfortunately, the ftp service is still not > starting up. Based on your advice, I've done the following: >=20 > Added this to the top of /etc/inetd.conf > 1) ftp stream tcp nowait root /usr/local/libexec/proftpd > ftpd -l >=20 > 2) changed the /usr/local/etc/proftpd.conf > "AuthPAMAuthoritative off" >=20 > 3) changed /usr/local/etc/proftpd.conf > "ServerType inetd " >=20 > 3) Forwarded port 21 and 20 >=20 > 4) Enabled passive ports in my /usr/local/etc/proftpd.conf > "PassivePorts 52300 52323" >=20 > 5) everything looks fine in /etc/pam.d/ftpd --> although this shouldn't be > relative since we disabled it >=20 > So, not starting up when I reboot and if I try to start it on the command > line >=20 > [suplizio@dakota:/usr/local/libexec] $ sudo ./proftpd start > dakota.suplizio.net - fatal: Socket operation on non-socket > dakota.suplizio.net - (Running from command line? Use `ServerType > standalone' in config file!). >=20 Sorry for hijacking the thread, but you're trying to start the daemon in standalone mode, while you also have inetd listening on the same port to launch the ftpd once a connection has been established. You shouldn't have to run the `proftpd start' command if you've set up inetd. Try `ftp localhost', and inetd should launch the server (if your inetd setup is correct). --=20 DoubleF You have the body of a 19 year old. Please return it before it gets wrinkled. --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAkH2Vwo7hT/9lVdwRAlBzAJwNijrhM659PbikXEENFCOFh4Vl4gCfYjyk MZ1OE86e3x8nXwAqg81N8zI= =ENS4 -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--