LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01:17 PM   #1
Ratclaws
Member
 
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
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


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 01:59 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration