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
Code:
service ftp
{
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:
Code:
# 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:
Code:
# 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
ftp>
What did i do wrong?