Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-01-2005, 01:17 PM   #1
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 100

Rep: Reputation: 16
vsftpd fails when running behind xinetd

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
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:
# netstat -nap |grep xin
tcp        0      0      *                   LISTEN      25533/xinetd
tcp        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: failed to map segment from shared object: Cannot allocate memory
What did i do wrong?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd inetd -> xinetd slackster Linux - Networking 2 06-26-2005 06:37 PM
Xinetd not starting vsftpd? simonmccourt Linux - Networking 0 02-22-2004 09:08 AM
VSFTPD problems with xinetd paintcheck200 Linux - Networking 6 09-11-2003 01:39 PM
Cannot get vsftpd and xinetd to play together SForsgren Linux - General 6 05-02-2003 02:08 AM
Xinetd to run vsftpd? tharris Linux - Newbie 3 01-30-2003 02:45 AM

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration