Installing ProFTPd. Having problems.
I’m having some problems getting ProFTPd up and running on a RHEL3 box.
I unpacked the latest version:
tar zxvf proftpd-1.2.10.tar.gz
I than build a group and user spacifically for ProFTPd:
groupadd proftpd &&
useradd -c proftpd -d /home/ftp -g proftpd -s /bin/false proftpd
I than installed it like so:
install_user=proftpd install_group=proftpd \
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var/run &&
make &&
make install
I than added the following file “ftp” to /etc/xinetd.d/ and restarted xinetd:
service ftp
{
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/sbin/proftpd
log_on_success = HOST PID
log_on_failure = HOST RECORD
}
However, when I try to ftp in, I get “Connect failure”.
Any ideas on what I should look at? And, how do I see which ports are open, and if there is any service (such as ProFTPd) listening on a spacific port?
|