LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2005, 05:49 AM   #1
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Rep: Reputation: 15
Proftpd not running


hello all,

here i come with a very simple prolem but which is very irritating..

i am running a slackware 10.1 on my machine.. my problm is that i am not able to FTP into my machine from other machines.. this means that ftp server is not running on my m/c.. so i try to run proftpd and i get a error which tells me to change my ServerType to 'standalone' and i do that in /etc/proftpd.conf. and now i again start my server running 'proftpd start'. No error.. i try to ftp into machine.. still not doing it.. i do a ps -ax but i do not see proftpd running.. i check /var/log/proftpd and here is the output..

Failed binding to 0.0.0.0 port 21, address already in use
check the server type directive to ensure you are configured correctly.

in inetd.conf, i have uncommented the ftp server line so that ftp server runs at the boot time..

HOW DO I FTP IN MY MACHINE??

regards

xing
 
Old 07-23-2005, 05:58 AM   #2
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
So look at /etc/proftpd.conf file and find a stroke that says what IP and what port number to listen for connections on your server [what IP:port to bind to].
 
Old 07-23-2005, 07:28 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
If you changed your proftpd.conf to standalone then you must comment out (i.e. put a # in front) the line that refers to the ftp server. Or else the inetd daemon will listen to port 21 for incoming connections.
 
Old 07-23-2005, 10:01 AM   #4
Xing
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RH 9, RH 8, RH 7.3,Slackware
Posts: 123

Original Poster
Rep: Reputation: 15
well .. i made the ServerType standalone in proftpd.conf and commented the ftp row in inetd.conf file, rebooted the machine and on next boot ran proftpd and Voila! ptoftpd runs..

so but as soon as i uncomment ftp row in inetd.conf and reboot, the same error reappears.. so i am not able to intialize the proftpd at the boot.. what can be the problem now and what possible solution...

regards

xing
 
Old 07-23-2005, 11:13 AM   #5
RomanG
Member
 
Registered: Jan 2005
Location: Russia, Kazan
Distribution: Mandrake 10.2, RedHat sometimes..
Posts: 110

Rep: Reputation: 15
Mmmm.... may be service start sequence? Check if it OK.
And look at your startup logs please
 
Old 07-24-2005, 08:29 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
If you want to run proftpd via inetd then change the ServerType to inetd in proftpd.conf and uncommnet the line in /etc/inetd.conf
Code:
 ftp stream tcp nowait root /path/to/proftpd proftpd
If you prefer standalone mode then comment out that line in /etc/inetd.conf and add a line to your /etc/rc.d/rc.local like this:
Code:
/path/to/proftpd
 
1 members found this post helpful.
  


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: proftpd startup failed tumana Linux - Newbie 14 06-17-2012 11:06 AM
[PROFTPD] Ldap and proftpd authentication wesleywest Linux - Software 1 02-22-2005 09:51 AM
I have a problem with running proftpd sever babyboss Linux - Networking 20 09-30-2004 09:19 PM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
proftpd --- need help? could someone post a working proftpd.conf i could look at ZooRoPa Linux - Networking 1 04-02-2003 06:56 PM

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

All times are GMT -5. The time now is 11:59 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