spvo
June 1st, 2006, 05:45 PM
I'm trying to get a proftpd server set up using xinetd. I had proftpd configured and working perfectly while in standalone mode, but after switching the type to inetd I can no longer connect to it.
When first checking the xinetd.conf was essentially blank and the xinetd.d directy had no proftpd file in it. I changed the /etc/xinetd.conf file to look like
defaults
{
}
service ftp
{
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/sbin/proftpd
# bind = <the-ip-you-wish-to-bind-to>
log_on_success = HOST PID
log_on_failure = HOST RECORD
}
I had thought that the server option was supposed to point to an in.ftpd file, but I couldn't find it anywhere on my system. When I try to connect to the server I get a 'connection refused' error. Also when I try to run proftpd from the command line it tells me 'to run from command line use standalone'. Can anyone suggest what I should do to get this working? Its really becoming a frustrating problem.
When first checking the xinetd.conf was essentially blank and the xinetd.d directy had no proftpd file in it. I changed the /etc/xinetd.conf file to look like
defaults
{
}
service ftp
{
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/sbin/proftpd
# bind = <the-ip-you-wish-to-bind-to>
log_on_success = HOST PID
log_on_failure = HOST RECORD
}
I had thought that the server option was supposed to point to an in.ftpd file, but I couldn't find it anywhere on my system. When I try to connect to the server I get a 'connection refused' error. Also when I try to run proftpd from the command line it tells me 'to run from command line use standalone'. Can anyone suggest what I should do to get this working? Its really becoming a frustrating problem.