LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-05-2007, 02:59 AM   #1
hlimaiem
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
Problem with FTP client


Hi,
I've tried a lot to create an FTP user (in debian) in my server (with SSH access), i have the root permission on server.
I've followed those instruction :
# apt-get install pure-ftpd-common pure-ftpd
# groupadd ftpgroup
# useradd -g ftpgroup -d /dev/null -s /etc ftpuser
# pure-pw useradd remo -u ftpuser -g ftpgroup -d /home/pubftp/remo -N 10
# pure-pw mkdb
but when i try to connect with an FTP client, a problem occur (can't connect to the server).

Can anyone help me to solve this problem (i've lost 4 hours to do this, and i've followed many instructions in my search but no results).
Thank you
 
Old 10-05-2007, 06:36 AM   #2
ackzsel
LQ Newbie
 
Registered: Oct 2007
Location: NL, Alkmaar
Distribution: Debian
Posts: 12

Rep: Reputation: 0
You could try to edit /etc/default/pure-ftpd-common .
In this file look for STANDALONE_OR_INETD=inetd and change it to STANDALONE_OR_INETD=standalone

I hope this helps. It did for me.
 
Old 10-06-2007, 03:38 AM   #3
hlimaiem
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Original Poster
Rep: Reputation: 0
FTP problem on linux debian

Sorry but i didn't understand what you asking me to do for getting solution to my problem.
The problem i have, that when i try to connect by ftp server using for example (filezilla or smartftp) i have those message:
Status: Connecting to My_Ip:21...
Status: Connection established, waiting for welcome message...
Error: Could not connect to server

Also when i try this command to test the server in SSH mode
/usr/sbin/pure-ftpd -S 127.0.0.1,21 -c 30 -C 1 -l puredb:/etc/pureftpd.pdb -x -E -j -R
I have this message:
Unable to start a standalone server: Address already in use

I've also changed proftpd.conf with "ServerType standalone" the same messages appears.
When i'm trying this command "dpkg -l | grep ftp"

ii dpkg-ftp 1.6.10 Ftp method for dselect.
ii ftp 0.17-12 The FTP client.
ii ncftp2 2.4.3-14 A user-friendly and well-featured FTP client
rc proftpd-common 1.2.10-15sarge Versatile, virtual-hosting FTP daemon
rc proftpd-mysql 1.2.10-15sarge Versatile, virtual-hosting FTP daemon (with
ii pure-ftpd 1.0.19-4 Pure-FTPd FTP server
ii pure-ftpd-comm 1.0.19-4 Pure-FTPd FTP server (Common Files)

Did i have more than one configuration for FTP connection.
I don't know what to do to resolve this problem.
Can i remove all installation of FTP configurations in my server and can you give all the exacts steps to configure FTP.
Thank you for your precious help.

Last edited by hlimaiem; 10-06-2007 at 03:40 AM.
 
Old 10-06-2007, 08:19 AM   #4
ackzsel
LQ Newbie
 
Registered: Oct 2007
Location: NL, Alkmaar
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Am I right that you try to use pro-ftpd and pure-ftpd at the same time? Because than I can imagine that problems occure.

Last edited by ackzsel; 10-06-2007 at 08:21 AM.
 
Old 10-06-2007, 01:13 PM   #5
hlimaiem
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ackzsel View Post
Am I right that you try to use pro-ftpd and pure-ftpd at the same time? Because than I can imagine that problems occure.
So do you have any idea to resolve this problem. Thank you
 
Old 10-06-2007, 01:45 PM   #6
ackzsel
LQ Newbie
 
Registered: Oct 2007
Location: NL, Alkmaar
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Well... you cannot run two different ftp servers on port 21. So you either you have to set a different port for one server or you will have to run only one ftp server. I suggest that you pick one server and uninstall the other.
I have limmited experience with ftp-servers but 'till now I prefer pure-ftpd.
 
  


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 ... FTP client fails to connect: timeout after client sends 'LIST' nutnut Linux - Software 2 01-01-2006 07:09 PM
FTP: active and passive mode problem with some windows client tda71 Linux - Networking 2 06-14-2005 08:31 AM
Best FTP Client? Haggis Linux - Newbie 3 12-28-2004 12:51 PM
problem whith ftp client in shell... lmn4096 Linux - Networking 5 12-10-2004 06:59 AM
ipchains, ftp from client to non-ftp ports atari303 Linux - Networking 2 11-08-2002 02:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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