inetd and proftpd (and xterm)

Ken Lai (min-ken.lai@yale.edu)
Mon, 25 Jan 1999 18:47:54 -0500 (EST)

I've installed proftpd, and it works while inetd.conf is not configured
for ftp. HOWEVER, when I add the following line to the inetd.conf, and
kill the proftpd process, inetd doesn't seem to be able to start the
program on its own.

ftp stream tcp nowait root /usr/sbin/tcpd \
/usr/sbin/proftpd

(and yes, I "kill -hup" the inetd process to make it reconfigure)

When I try to connect with ftp, it gives me:
421 Service not available, remote server has closed connection

On the other hand, if I replace "proftpd" with "in.ftpd", the standard
ftpd, then inetd.conf starts and terminates it with no problems. I have
tried to rename proftpd to in.ftpd and/or linking it with that name, but
that didn't help. I even tried to rename proftpd to in.proftpd, but that
didn't do anything either.

I'm starting to suspect that it's a problem with my proftpd configuration,
since it at least returns the 421 error code (or does another program do
that?). But proftpd does seem to work fine when I run it without inetd
configured for ftpd.

I'm running Debian, with ProFTPD version 1.0.0. If anyone can help,
that'd be great.

Now, the XTERM strangeness. Ctrl-S locks up my xterm input. (mouse menus
with ctrl still work) You can probably try it yourself and see. Is that
supposed to happen? Could I fix it?

(I remember vaguely that emacs help tutorial said something about Ctrl-S
messing up on some terminals, but I can't recall if it's relevant to
this.)

--
Ken Lai  <min-ken.lai@yale.edu>  also at  ken.lai@WriteMe.com
http://pantheon.yale.edu/~ml267/     ICQ# 5845632