[SOLVED] vsftpd suddenly gives 550 on trying to connect locally

Yesterday I could access my PC's vsftpd server just fine from my phone via wifi.
Today the 2 ftp clients I tried on my (android) phone both give error 550 permission denied.
I tried restarting my pc and the service, but it didn't help.
I didn't change anything on vsftpd configuration, so why it suddenly no longer works?
The only thing I did was some pacman -Suy update.
Since it's in the same local network, I use active mode to connect. I didn't change any configuration in my android ftp client either of course. And trying to connect passively of course doesn't work either.
Here is my vsftpd.conf:
anonymous_enable=NO
local_enable=YES
guest_enable=YES
guest_username=virtual
virtual_use_local_privs=YES
local_root=/home/virtual/$USER
user_sub_token=$USER
allow_writeable_chroot=YES
check_shell=NO
write_enable=YES
local_umask=71
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=NO
chown_uploads=YES
chown_username=mirage
nopriv_user=virtual
ftpd_banner=Welcome!
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
listen=YES
local_max_rate=1000000 # Maximum data transfer rate in bytes per second
max_clients=4 # Maximum number of clients that may be connected
max_per_ip=3 # Maximum connections per IP
listen_port=1921
pasv_addr_resolve=YES
pasv_address=my.dyndns.com
pasv_min_port=41921
pasv_max_port=47921
pasv_enable=YES
port_enable=YES
setproctitle_enable=YES
cmds_allowed=ABOR,APPE,CWD,DELE,HELP,LIST,MDTM,MKD,NLST,PASS,PASV,PWD,QUIT,RETR,RMD,RNFR,RNTO,SIZE,STOR,TYPE,USER,LS,CDUP
The only lines that are shown in /var/log/vsftpd.log are:
Tue Jul 8 16:42:04 2014 [pid 2] CONNECT: Client "192.168.1.22"
Tue Jul 8 16:42:04 2014 [pid 1] [mirage] OK LOGIN: Client "192.168.1.22"
Edit: It seems the 550 permission denied only happens when the client is in the same local network, as with my phone.
I tried to connect from the internet and that actually worked. So the problem is that vsftpd doesn't accept "local" connections anymore it seems, although I have local_enable=YES.
Last edited by mir91 (2014-07-23 15:50:13)

Ok, I actually fixed it.
It was due to a
cmds_allowed=...
line. Apparently vsftpd will BLACKLIST all commands that are NOT in this list, if and only if this line exists in the config file!
After adding PORT,LPRT and SYST to it, everything was ok.
Last edited by mir91 (2014-07-23 15:49:57)

Similar Messages

  • Chat gives error" Error trying to connect to the Server. The Server is not available, please try again later"

    I have installed the chat vu and the chat portal server. All the VU's are but still when i start the chat (ip address on the usl) and fill all the credintials, i get the error "Error trying to connect to the Server. The Server is not available, please try again later"
    I have tested the connection in the IIS ChatVU  and it is ok.
    Please guide !!!
    Thanks and Regards
    Rohit

    Hi Rohit,
    Did you change the \ChatAS\web.config file with the right IP address of you Chat Portal VU?
    For your referente check page 116 (Internal Chat Client) from "SAP BCM 7 SP5 Basic Installation Example" document.
    Regards,
    Heber Olivar

  • Efax gives error when trying to connect

    I'm running Arch 64bit with multilib
    I have a fax modem that I've checked out @ xmodem.org for compatibility.
    Modem: GVC F-1156I
       from lspci: 04:01.0 Communication controller: Agere Systems LT WinModem (rev 02)
    I was trying to send a test page through the CUPS web interface. After entering the fax number, it quits and gives me a message about the reason it died:
    /usr/bin/efax-0.9a: Sat 29 Oct 2011 11:40:20 AM PDT efax v 0.9a-001114 Copyright 1999 Ed Casas
    efax-0.9a: 11:40:20 compiled Oct 25 2011 09:22:05
    efax-0.9a: 11:40:20 Error: can't open file /tmp/qt_temp.VY1255.*: No such file or directory
    efax-0.9a: 11:40:20 finished - unrecoverable error
    I am not sure what the problem is. maybe something with the GUI?
    I tried asking in #archlinux, no one could help then. I'll try later. But meanwhile, any help here would be appreciated.
    Thanks in advance
    wREKCED

    I think this is this a path problem, (Looking in the wrong spot) resulting from an incorrect path in the script. If not, then I will take this report down and file it upstream. Can anyone tell me if this is because efax is looking in the wrong place for these files? (/tmp/qt_temp.VY1255.*) Or let me know how I can find out for myself if it is the path.
    Thanks again,
    wREKCED

  • [SOLVED] vsftpd on Local Mirror, running but not working

    I'm building a Local Mirror on a vm (vbox) with bridged adapter and fix-ip by following this wiki.
    http://wiki.archlinux.org/index.php/Loc … cal_mirror
    After the painful rsync and those setup, I tried pacman -Syu from another Arch vm (no firewall).  I received the following error.
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db.tar.gz' from 192.168.100.100 : Service not available, closing control connection
    I've tried by nmap on the hosting PC and find that the vsftpd should be running.
    Starting Nmap 4.62 ( http://nmap.org ) at 2010-08-27 01:03 HKT
    Interesting ports on 192.168.100.100:
    Not shown: 1714 closed ports
    PORT   STATE SERVICE
    21/tcp open  ftp
    MAC Address: 08:00:27:76:33:1C (Cadmus Computer Systems)
    Nmap done: 1 IP address (1 host up) scanned in 1.318 seconds
    In the wiki, it suggests to use "ftp" to replace "mirror" for ftp_username & nopriv_user.  I tried both.
    I also find that there is no "archlinux" under my /home/mirror/files as "suggested" by the following statement in vsftpd.conf
    # Chroot directory for anonymous user
    anon_root=/home/mirror/files/archlinux
    I tried both (1) amend the vsftpd.conf to remove the "archlinux", and (2) manually add that directory with owner/group=mirror.
    Meanwhile, I only find under /home/mirror/files 6 items - community core extra community.lastsync core.lastsync extra.lastsync.  Have I completed the rsync successfully?  Or, something is missing.  Is the directory structure correct?
    Is the sample vsftpd.conf in the Local Mirror wiki updated?  I've cross reference it with the vsftpd wiki but I'm not knowledgable enough to find things useful.
    What else should I check?
    I love ArchLinux so much that I really hope that it can work.
    Please help.
    Thanks.
    Last edited by dboat (2010-08-27 15:38:14)

    I have tried couple of Linux distro to learn Linux/Network.  I like ArchLinux's "simple" concept, light weight, updated packages, nice document and fast bootup/shutdown.  I have installed over ten times ArchLinux in different virtualmachines and netbook in the past week.  I will keep some, delete some and create more.  I don't have a fast internet connection and that's why I would like to set up my local mirror.  I am a newbie here, so please feel free to let me know if I am taking too much (bandwidth) from the community, and it is not encouraged for my case.  And sorry if I have already created any trouble.
    Well, back to my problem.
    1. After the rsync, including everything, the / now occupies 14G harddisk space.  Is it a normal size for a local mirror?
    2. I have inserted "Server = file:///home/mirror/files/$repo/os/i686" as the first line in its /etc/pacman.d/mirrorlist
        pacman -Syy  looks fine.
        pacman -Syu  gives a list of warning (xxx: local is newer than core), end with "there is nothing to do"
        pacman -S mplayer  starts installtion normally, but need mirrors on internet cause a large portion of software is missing/inaccessible on my local mirror.
    3. I have tried to login by FileZilla from an Ubuntu vm, and receive this error message (on FileZilla)
    Status:    Connecting to 192.168.100.100:21...
    Status:    Connection established, waiting for welcome message...
    Response:    421 Service not available.
    Error:    Could not connect to server
    Seems I have issues on both the mirror and the vsftpd.  I prefer to resolve the vsftpd problem first, but all suggestion/comment are very welcome.
    Lastly, did I post my question in a wrong place?  If yes, please let me know.

  • In my small office ethernet network all of a sudden one of my imacs cannot be connected to. It can connect to all other computers and can access internet, but as soon as someone tries to connect to that mac, it disconnects from the network. Any ideas

    I have a network of 9 macs that connect via ethernet and a router. All of a sudden one of the macs cannot be connected to. It can connect to all others and the internet, but no one can connect to that one. I have appletalk active and file sharing on, but everytime someone tries to connect to it, it is not on the network. Additionally, the personal file sharing keeps turning off even though I have it locked. Any ideas?

    Hi orangekay
    not sure where you got the idea that I have
    bizarre encrypted filesystem plugins and scripts you have manipulating them all the time
    because I do not have any such running, just normal Applescripts that do tasks that could be done by hand.

  • I'm trying to connect my 30" Cinema Display to my new Mac Pro along with a new Apple 23'" monitor.  The new Apple monitor is fine.  On the cinema monitor everything is blown up pretty large.  Any ideas on how to solve this?

    I'm trying to connect my 30" Cinema Display to my new Mac Pro along with a new Apple 23'" monitor.  The new Apple monitor is fine.  On the cinema monitor everything is blown up pretty large.  Any ideas on how to solve this?

    The 30" display needs a DUAL-LINK adapter.
    <http://store.apple.com/us/product/MB571Z/A/mini-displayport-to-dual-link-dvi-ada pter>

  • AFP fails to connect to a PC volume and gives a "version of the server you are trying to connect to is not supported" error message.

    AFP fails to connect to a PC volume and gives a "version of the server you are trying to connect to is not supported" error message.
    Has anybody come across this error and found a fool-proof solution? I have found some stuff on the web but nothing seems to work. In particular this one on the Apple Help doesn't:
      http://support.apple.com/kb/HT4700
    I have a W2K3  server where the volume is. It's a new Mac with OSX 10.8 and is connecting with AFP (I don’t want to move to SMB yet). There are older Macs with lower OS and all of them work fine. I have checked all the basic stuff and it is set-up correctly (hosts file on Mac, network, etc.).
    Any help greatly appreciated,
    Cheers,
    Ian

    This may work for you:
    http://www.zdnet.com/mavericks-smb2-problem-and-fixes-7000022519/

  • How do you get your Excel Solver back? I have already tried going into add-ins. It only recently stopped working.

    How do you get your Excel Solver back? I have already tried going into add-ins. It only recently stopped working.

    dougiedc wrote:
    It boggles the mind.  The Verizon store on L Street downtown Washington, D.C. cannot access my Verizon account.  They can only sell cellphones then it's up to me to contact Verizon on my own to get the hook up. I even asked "Are you Verizon employes?  Is this a vendor store or is it really a Verizon owned and operated store?"  The answer "Yes, we are Verizon employes, yes this is a Verizon owned and operated store" ...
    Yes, it indeed boggles the mind.  I'm of course referring to the fact that your post concerns Verizon Wireless products and services.  This forum is dedicated exclusively to Verizon Communications services.   As you probably know, Verizon Wireless and Verizon Communications operate as separate companies.
    If you need help for a Verizon wireless product or service, it's best to direct questions to the Verizon Wireless forums.  You can reach them by clicking on "Wireless" (either here or at the top of the page).
    Good luck and I sincerely hope you get your issue resolved.

  • Trying to connect my iphone 4 to my home wifi network! my android phone gives me the option of pushing the arrows button on my router and on my android phone but cannot find the "push the arrows button" option on my iphone 4. is this option available???

    trying to connect my iphone 4 to my home wifi network! my android phone gives me the option of pushing the arrows button on my router and on my android phone but cannot find the "push the arrows button" option on my iphone 4. is this option available?? and if so, where is it located???

    No such option on an iPhone.  Just go to Settings>wifi, tap the name (SSID) of your your home network from the list, then when prompted, enter the password.

  • My phone doesn't give me the option to turn mirroring on when trying to connect to apple tv. As far as I can see everything is updated and the AirPlay is turned on. Be grateful if anyone knows what's wrong.

    My phone doesn't give me the option to turn mirroring on when trying to connect to apple tv. As far as I can see everything is updated and the AirPlay is turned on. Be grateful if anyone knows what's wrong.

    Welcome to Apple Communities
    Have you connected both to the same Wi-Fi?

  • I tried to update my iphone to ios 5 but it gives me error ( the network connection timed out )

    i tried to update my iphone to ios 5 but it gives me error ( the network connection timed out )

    If you don't tell us the error, we can't help you

  • HT201401 I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the sam

    I had restored my iPhone 4 but after restore my camera can't function well after take picture from the camera it's didn't display in the Photo Gallery even can't take a video record,how to solve this?and i had tried to restore again,still the same
    kindly reply and fix this for me
    reply to my email,tq

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • Solve bugs or give us the chance to revert back to previous software without loosing waranty!

    dear sony developers and and android developers
    please solve bugs or give us the chance to revert back to previous software without loosing waranty!

    You can always post any problems you have here and we can try and help.
    Also, you would never have to lose your warranty, you can reach out to our Regional Support Office and they can revert the software back (by you visiting an office, or mailing the phone in).

  • Hello, i've win7 64bit and can use my adobe acrobat 7.0.0.2004121400. but it is not possible to print a pdf - error 20225 at the installation of acrobat. any ideas how to solve this problem? I've tryed some instructions from internet concerning this 20225

    hello, i've win7 64bit and can use my adobe acrobat 7.0.0.2004121400. but it is not possible to print a pdf - error 20225 at the installation of acrobat. any ideas how to solve this problem? I've tryed some instructions from internet concerning this 20225 error, but without success. thanks a lot and best regards

    BS heißt "Bull___****". *lol* "Betriebssystem" heißt imemr noch "operating system". GoLive wirste wohl gar nicht zum laufen kriegen. ohnehin würde man es nicht mehr verwenden, weil es noch nicht mal CSS2 voll unterstützt geschweige denn HTML 5 und andere moderne Webstandards. Wenn überhaupt, dann findeste vielleicht noch 'ne OEM CD von Strato oder 1und1 bei eBay. Die haben das damals mit jedem neuen Hostingvertrag rausgehauen. Aber wie gesagt, es ist den Aufwand nicht wert. Illustrator sollte sich durchaus installieren lassen. Eventuell einfach nochmal die Installer im Win XP Kompatibilitätsmodus laufen lassen...
    Mylenium

  • HT2731 I am unable to access my iTunes store through my iTunes account. Every time I have tried it gives me an error ' cannot, connect to iTunes'

    I am unable to access my iTunes store through my iTunes account. Every time I have tried it gives me an error ' cannot, connect to iTunes'

    check to see if you are online
    check to see if you can access secured websites (https) on your computer / device
    if this is on a computer with windows configuring your antivirus / firewall to not block itunes some times will help, also resetting your tcp/ip might fix it (open command prompt as an administrator, type: "netsh reset winsock" hit enter, restart computer

Maybe you are looking for

  • Download old library to new itunes

    can I download old library to new itunes library? how?

  • CSS question on sidebar heights

    Just going back to a site I started a while ago, and am going to have pages with a centre section and two sidebars - but don't think I'm sure on the best way to ensure the sidebars and the main content are the same height. I've been trying with putti

  • Installing Photoshop CS6 on more than one instrument

    I downloaded a full-paid version of and have installed Photoshop CS6 on my laptop about a yr back. Now I want to install on my desktop too. How do I do this?

  • How do i access ilibrary

    I'm editing photos in photoshop and it's saving it to files in the ilibrary. How do I access these files? When I go to finder and type the file name it doesn't find it. When I click on ilibrary it doesn't do anything. When I go to iphoto the files ar

  • ISU Study Material

    Hi Experts, I would appreciate for helping out to get the ISU study material related below: IUT110 IUT210 IUT220 IUT221 IUT230 IUT240 IUT250 IUT225 IUTBIL IUT235 IUT255 Thank you in advance. ([email protected])