More ProFTP

Sergey Zaharchenko doublef at tele-kom.ru
Wed Apr 28 21:02:11 PDT 2004


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:
> 
> Added this to the top of /etc/inetd.conf
> 1) ftp     stream  tcp     nowait  root    /usr/local/libexec/proftpd
>  ftpd -l
> 
> 2) changed the  /usr/local/etc/proftpd.conf
> "AuthPAMAuthoritative            off"
> 
> 3) changed /usr/local/etc/proftpd.conf
> "ServerType                      inetd "
> 
> 3) Forwarded port 21 and 20
> 
> 4) Enabled passive ports in my /usr/local/etc/proftpd.conf
> "PassivePorts 52300 52323"
> 
> 5) everything looks fine in /etc/pam.d/ftpd --> although this shouldn't be
> relative since we disabled it
> 
> So, not starting up when I reboot and if I try to start it on the command
> line
> 
> [suplizio at 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!).
> 

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).

-- 
DoubleF
You have the body of a 19 year old.  Please return it before it gets
wrinkled.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040429/074168a3/attachment.bin


More information about the freebsd-questions mailing list