Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-30-2014, 06:41 AM
|
#1
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Rep:
|
Slackware 14.1 server vsFTPd : Can't to connect
Hi,
I activated and configured FTP server vsftpd on Slackware 14.1, I can't to connect on it.
I don't use firewall.
Test server :
Code:
# ncftp -u install localhost
NcFTP 3.2.5 (Jan 17, 2011) by Mike Gleason (http://www.NcFTP.com/contact/).
Connecting to 127.0.0.1...
(vsFTPd 3.0.2)
Logging in...
Password requested by 127.0.0.1 for user "install".
Please specify the password.
Password: ******
Login successful.
Logged in to localhost.
ncftp / > ls
Passive mode refused.
List failed.
Log on FTP client, FileZilla :
Code:
Status: Resolving address of ****
Status: Connecting to *.*.*.*:21...
Status: Connection established, waiting for welcome message...
Response: 220 (vsFTPd 3.0.2)
Command: USER install
Response: 331 Please specify the password.
Command: PASS ******
Response: 230 Login successful.
Command: OPTS UTF8 ON
Response: 200 Always in UTF8 mode.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: TYPE I
Response: 200 Switching to Binary mode.
Command: PASV
Response: 500 OOPS: priv_sock_get_int
Command: PORT 192,168,2,10,199,168
Error: Disconnected from server: ECONNABORTED - Connection aborted
Error: Failed to retrieve directory listing
Any ideas/suggestions ?
Thanks
|
|
|
04-30-2014, 06:46 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
Mind to post your configurations?
|
|
|
04-30-2014, 06:49 AM
|
#3
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Original Poster
Rep:
|
/etc/vsftpd.conf
Code:
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
chroot_local_user=YES
ls_recurse_enable=YES
listen=NO
userlist_enable=YES
userlist_deny=NO
check_shell=NO
userlist_file=/etc/vsftpd.user_list
allow_writeable_chroot=YES
/etc/vsftpd.user_list
Last edited by Shkel; 04-30-2014 at 06:59 AM.
|
|
|
04-30-2014, 07:04 AM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
try remove this line
Code:
userlist_enable=YES
|
|
|
04-30-2014, 08:23 AM
|
#5
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
try remove this line
Code:
userlist_enable=YES
|
Same problem, not working.
Last edited by Shkel; 04-30-2014 at 08:26 AM.
|
|
|
04-30-2014, 09:00 AM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
try adding
between the configuration options
|
|
|
04-30-2014, 09:22 AM
|
#7
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by ponce
try adding
between the configuration options
|
I added it, not working again.
|
|
|
04-30-2014, 09:30 AM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
Quote:
Originally Posted by Shkel
I added it, not working again.
|
well, but the logs are exactly the ones you posted in the first message?
what does the server log (in /var/log) says?
as you are using chroots and check_shell=NO, which is the shell of the user you are testing?
have you tested it without chroots?
Last edited by ponce; 04-30-2014 at 09:32 AM.
|
|
|
04-30-2014, 10:40 AM
|
#9
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by ponce
well, but the logs are exactly the ones you posted in the first message?
|
Yes I do.
Quote:
what does the server log (in /var/log) says?
|
It is empty.
Quote:
as you are using chroots and check_shell=NO, which is the shell of the user you are testing?
have you tested it without chroots?
|
I'm using with an user without shell (bin/false).
I go to try reinstall Slackware, I think that the installation is not good healthy.
|
|
|
04-30-2014, 10:43 AM
|
#10
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
I would try with a minimalist configuration first rather than blaming Slackware installation
One step at a time
|
|
|
04-30-2014, 10:52 AM
|
#11
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Original Poster
Rep:
|
Quote:
Originally Posted by willysr
I would try with a minimalist configuration first rather than blaming Slackware installation
One step at a time
|
Don't worry willysr, it is a testing installation.
I just wanted to find the solution without too much hassle
Last edited by Shkel; 04-30-2014 at 02:00 PM.
|
|
|
04-30-2014, 10:56 AM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,382
|
remember to do a full install, as it's the only one supported.
|
|
|
04-30-2014, 12:50 PM
|
#13
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Quote:
Originally Posted by willysr
I would try with a minimalist configuration first rather than blaming Slackware installation
One step at a time
|
The user is missing a bit of a context here. Actually he's one of my students, and he's been trying to configure vsftpd on an installation he performed a couple months ago. He's done much work on it, and he may occasionally have shot his own foot. My own advice to him was to try a clean installation, since some of the test results were weird.
|
|
|
04-30-2014, 03:55 PM
|
#14
|
LQ Newbie
Registered: Apr 2014
Posts: 25
Original Poster
Rep:
|
It works fine with a clean installation
Last edited by Shkel; 04-30-2014 at 03:57 PM.
|
|
1 members found this post helpful.
|
04-30-2014, 05:23 PM
|
#15
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
Congrats! Now mark this thread as [SOLVED].
|
|
|
All times are GMT -5. The time now is 10:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|