hello, I have set up vsftpd just the way i want it.
it is currently running standalone, and I want to change it to xinetd
I edited the conf file and set "listen=NO"
If I try to run vsftpd now, it tells me that it must be run behind inetd.. so far so good.
i made the following file: /etc/xinetd.d/vsftpd
socket_type = stream
protocol = tcp
user = root
wait = no
rlimit_as = 1M
server = /usr/sbin/vsftpd
server_args = /etc/vsftpd/vsftpd.conf
nice = 10
flags = IPv4
disable = no
I restarted xinetd, and ran:
# netstat -nap |grep xin
tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN 25533/xinetd
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 25533/xinetd
unix 2 [ ] DGRAM 92375637 25533/xinetd
Great it's running..
now from my other box i try to make an ftp connection:
# ftp devel
Connected to devel.domain.tld.
vsftpd: error while loading shared libraries: libc.so.6: failed to map segment from shared object: Cannot allocate memory
What did i do wrong?