LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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
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?
 
  


Reply



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 05:37 PM
Xinetd not starting vsftpd? simonmccourt Linux - Networking 0 02-22-2004 08:08 AM
VSFTPD problems with xinetd paintcheck200 Linux - Networking 6 09-11-2003 12:39 PM
Cannot get vsftpd and xinetd to play together SForsgren Linux - General 6 05-02-2003 01:08 AM
Xinetd to run vsftpd? tharris Linux - Newbie 3 01-30-2003 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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