Vsftpd is not working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Vsftpd is not working
# 1  
Old 10-07-2015
Vsftpd is not working

Hi,
I installed debian jessie and friend asked me to install for him vsftpd, of course, first I try at my vps, but I don't get it to work.
there are many tutorials to install ftp server but as i said, it is not working and beside running ftp server, I need for him and some GUI to use it, he is not terminal guy.
then i tried webmin and then I can make GUI for him through webmin for vsftpd, but hell yeah my VPS suddenly refuse to load domain:10000 (webmin), so I am in problem.

my vps:
Code:
root@vmi50113:/# hostname -f
mx.privmat.net
root@vmi50113:/# hostname -d
privmat.net

Code:
root@vmi50113:/# telnet localhost 21
Trying ::1...
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused

Code:
root@vmi50113:/# ftp localhost
ftp: connect to address ::1: Connection refused
Trying 127.0.0.1...
ftp: connect: Connection refused
ftp>

perl 10000 is webmin but it is not working in web browser, but from vps of my friend it is working. so, port is not blocked at my PC.

Code:
root@vmi50113:/# netstat -npl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:9998          0.0.0.0:*               LISTEN      1157/amavisd-new (m
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      499/dovecot
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      1/init
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN      1349/perl
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      484/sshd
tcp        0      0 127.0.0.1:24            0.0.0.0:*               LISTEN      499/dovecot
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1454/master
tcp        0      0 127.0.0.1:4190          0.0.0.0:*               LISTEN      499/dovecot
tcp        0      0 127.0.0.1:7777          0.0.0.0:*               LISTEN      628/python
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      1/init
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      499/dovecot
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      1157/amavisd-new (m
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      1454/master
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      999/mysqld
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1454/master
tcp6       0      0 ::1:9998                :::*                    LISTEN      1157/amavisd-new (m
tcp6       0      0 :::110                  :::*                    LISTEN      499/dovecot
tcp6       0      0 :::143                  :::*                    LISTEN      1/init
tcp6       0      0 :::80                   :::*                    LISTEN      1098/apache2
tcp6       0      0 :::22                   :::*                    LISTEN      484/sshd
tcp6       0      0 :::443                  :::*                    LISTEN      1098/apache2
tcp6       0      0 :::993                  :::*                    LISTEN      1/init
tcp6       0      0 :::995                  :::*                    LISTEN      499/dovecot
tcp6       0      0 ::1:10024               :::*                    LISTEN      1157/amavisd-new (m
udp        0      0 0.0.0.0:10000           0.0.0.0:*                           1349/perl

before there was vsftpd port 21 but now after I restarted vps there is no vsftpd, I didn't remove it. I tried sudo service vsftpd start but again it is not there.

in any case, webmin is running but it is not working too. I am totally surprised. I installed ftp and vsftpd and webmin, but even if I succeed to make it to work, how to make some gui for administrating ftp server? that's what I need for my friend.
any help?
I have fail2ban which is installed with iredmail but I don't see anywhere blocked port 21. I tried to change password for ftp user:
ftp passwd and when I tried to login, always failed login, maybe I tried too much and fail2ban blocked me? but I can login to ssh...
list of users dsallowed to login to ftp, /etc/ftpusers:
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
nobody

in any case, as I said, there are many tutorials about vsftpd.conf but it is not working and beside vsftpd, people need GUI. and even I tried to change passwd for ftp user, just to be sure I don't type wrong password, I didn't succeed to login (when vsftpd was listed in processes).

vsftpd.conf:
Code:
listen=YES
pasv_enable=YES
pasv_min_port=40000
pasv_max_port=40100
listen=5.189.147.167
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
ftpd_banner=Welcome to MojSmart/MyGica FTP service.
chroot_local_user=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/iRedMail.crt
rsa_private_key_file=/etc/ssl/private/iRedMail.key
ssl_enable=YES


Last edited by alanford; 10-07-2015 at 08:25 AM..
# 2  
Old 10-08-2015
this topic can be deleted, I gave up from vsftpd and decided to use proftpd.
# 3  
Old 10-08-2015
vsftpd can be a bit thorny. Glad you found a solution that works and thanks for returning to let us know.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies

2. UNIX for Dummies Questions & Answers

Vsftpd

Hello I am new to linux. I have recently installed vsftpd in my Centos server. I have set the local_umask=0037. But now i can't understand how the window users added in a centos server can see each-other folder. ---------- Post updated at 05:59 AM ---------- Previous update was at 05:55 AM... (7 Replies)
Discussion started by: Maham Zahid
7 Replies

3. UNIX for Advanced & Expert Users

Vsftpd serious issues

hello mighty all there's a problem in vsftpd it allows to delete files which have 000 mode and root:root owner also 400 even with option deny_file={those_files} - still allowed i'm doing it through mc through ftp-shell it's not allowed it's not working if mother-dir have -w and not working... (3 Replies)
Discussion started by: tip78
3 Replies

4. UNIX for Dummies Questions & Answers

Vsftpd not installing

$ rpm -ivh vsftpd-2.2.2-6.el6.i686.rpm warning: vsftpd-2.2.2-6.el6.i686.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Permission denied) why is it actually happening am goin nuts plzz help me out :( (1 Reply)
Discussion started by: lost101
1 Replies

5. Red Hat

configuring vsftpd

hi everybody, i am new to linux. iam using centos 6.2, and trying to configure ftp server in my local network, i have seen one fpt server how to videos tutriol but iam unable to follow i have some confussion in /etc/vsftpd/vsftpd.conf about userlist_enable and userlist_deny,... (6 Replies)
Discussion started by: paruhang
6 Replies

6. UNIX for Dummies Questions & Answers

vsftpd with SSL

Hi there. Im studying and i've got an exercise that i cannot fully understand. Im trying and testing, but it didnt works What i need to configure ftps ( vsftpd ) with openssl? (1 Reply)
Discussion started by: andriusman
1 Replies

7. UNIX for Dummies Questions & Answers

VSFTPD

Hi, I am using VSFTPD. I have instructed it to send all logging informartion to /var/log/messages. I would like it to record the names of users who have failed loggin attempts. I have read up on it but have not found out how to do this. Any ideas? (1 Reply)
Discussion started by: mojoman
1 Replies

8. UNIX for Dummies Questions & Answers

Problem using VSFTPD

Hello, When my fellow employees loggin to the FTP server they have no problems if they use FTP clients. When they try and access the FTP site using their browsers using ftp://<domain> name all they get is a pub directory which is empty. They are not even prompted for loggin. How to fix... (2 Replies)
Discussion started by: mojoman
2 Replies

9. Linux

VSFTPD, cannot login

I setup vsftpd.conf as follows and tried to login using root and normal user 'winston' but failed authentication. Any idea what's wrong? ======================== CONTENTS OF /etc/vsftpd/vsftpd.conf anonymous_enable=NO local_enable=YES dirmessage_enable=YES connect_from_port_20=YES... (3 Replies)
Discussion started by: panggou
3 Replies

10. UNIX for Dummies Questions & Answers

Service + vsftpd

Hello, I have two problems: 1. The service command does not work on my system! I mean when I enter: service ... start I get: bash: service: command not found 2. I want to launch my vsftpd server. I tried to launch it using service command and you see that it didn't work! Please help... (1 Reply)
Discussion started by: HSN
1 Replies
Login or Register to Ask a Question