LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-07-2004, 02:24 PM   #1
pfunk
Member
 
Registered: Jun 2002
Distribution: Suse, Redhat, Knoppix
Posts: 104

Rep: Reputation: 15
proftpd and xinetd


I have proftpd running in standalone mode on my redhat 9 machine and now want to run it from within xinetd and I'm not sure of a couple things.

First, I altered /usr/local/ftpd/etc/proftpd.conf file so that is says inetd instead of standalone in the ServerType field. That's the only change i made to that config file. ok?

Second, there is no file in /etc/xinetd.d/ related to proftpd. So i just created one myself called proftpd. ok?

From reading it looks like that file should have this inside of it:

service = proftpd
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/local/ftpd/sbin/proftpd
nice = 10
}

ok?

Now I restart xinetd by typing /etc/init.d/xinetd restart and it says it started ok. But when i type:

ftp 127.0.0.1

at the command line it says connection refused. This worked in standalone mode. Any ideas on how I should proceed? Thanks!
 
Old 12-08-2004, 01:59 AM   #2
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
fyi (but I have not tested, proftpd runs on our server in standalone and we feel it should stay that way), this is the xproftpd file in xinetd.d on our FC2 server :

service ftp
{
socket_type = stream
wait = no
use = root
server = /usr/sbin/in.proftpd
log_on_success += DURATION USERID
log_on_failure += USERID
nice = 10
disable = yes
}

I assume that config was set up at proftpd install time, as it differs from your on some lines you may find some ideas to test.
 
  


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
Proftpd can't be launched from xinetd pelletie Linux - Newbie 3 08-26-2008 02:54 PM
ProFTPd on bootup with xinetd Raw Kuts Linux - Software 2 08-03-2006 11:44 PM
proFTPd using XINETD HELP!! sc_3007 Linux - Networking 2 08-03-2006 03:55 PM
proftpd will not run under xinetd jon_k Linux - Software 1 12-18-2004 05:14 AM
Need Help With Getting ProFTPd Started via XINETD John_Saunders Linux - Software 4 07-23-2002 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:23 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
Open Source Consulting | Domain Registration