Server :: LFTP Can't Connect To Proftpd Server (hangs)
Nov 28, 2010
I'm using ProFTPd as my FTP server on a CentOS 5 box. Since updating to version 1.3.3c, I seem to have very specific problems. Connections work quite fine with about any FTP client out there, including the basic ftp command from the Linux prompt. However, when trying to connect to that server with LFTP, things go wrong. When connecting, all I get is [Connecting] then [Logging in...] and then nothing. I have to add that SSL is forced off in lftp.conf (I read it could be the problem). I sometimes get a counter for reconnection, but it never works.
The command I use in lftp is : open -u <user>,<pass> <server_ip>, the ls for lftp to establish the connection. I don't see anything at all in the server's log. I just see "FTP session opened" and "FTP session closed" in /var/log/messages" and nothing in /var/log/secure. I can give you a strace if needed. Please keep in mind that the server WORKS with anything but LFTP and NCFTP (which I also tried).
My host has enabled FTPES [URL]. I would like to use lftp to securely upload my files to the host. However, lfpt hangs at "`ls' at 0 [Connecting...]" when trying to connect. See report here: [URL]
I've already search this forum and the web for days, but there does not seem to be any explicit tutorial for lftp + FTPES.
I've tested filezilla and I can connect without any problems via FTPES. I'd rather use a command line tool like lftp, however.
From what I've gathered, the problem may be with the passive mode, and the fact that the response from the server does not reach my machine.
My machine is running Kubuntu and is behind a d-link router. I don't seem to be running any firewall (is that a problem for a personal computer?). I checked: the router's built-in firewall is disabled. I am not sure about the port forwarding issues, though.
I'd like to use your replies to write a small tutorial: I have found many posts by people experiencing similar problems, but none with an actual answer.
Another question: how can I make sure that any successful connection is indeed made via a secure channel. I can use lftp without problems when I don't use SSH/secure channels. Obviously, I don't want that. What tell-tale signs can I look to to ascertain that I am really securely connected?
I have a proftpd server and I can connect from localhost but I can't from outside.I've scanned the port 21 and it isn't responding (maybe mi ISP doesn't allow traffic on that port), so I've changed to the port 63306 just to see what happens.e changed the /etc/proftpd/proftpd.conf to port 63306 and restarted the proftpd service.Also I've added the rule to the firewall and an entry in the router configurationNow I try to log in through browser and it just stays like trying to connect to the server but nothing happens
i have been havin a little trouble with my ftp server im using proftpd and have been able to connect to the box on local lan but it stops with an error about tls packet.
i have been following a guide on settin up my server [URL]...and have attached my config and error details
I am using centos 5.5 x85_64 2.6.18-194.3.1.el5 The server is hanging at start up due to the follwoing error
udevd[746] nss_ldap reconnecting to LDAP server (sleeping 4 seconds) udevd[746] failed to bind to LDAP ser er ldap://192.168.0.100 cant contact ldap
It fails and then tries again, and again, each time increasing the sleep time. This is happening before network sercvices are started so ther is no way it can connect to ldap. anyone know a way to fix this problem?
I am pretty new to Linux and I want to start a ftp server with proftpd. Well sofar I have made one but there is one problem when I login with windows, the computer don't ask for a username and password. Instead he just show some folders from my home directory.
I have used the standard proftpd config file, and tried to change some things with online tutorials but non of them worked with windows (only for linux ftp connections). Can some of you refer me to a good tutorial for a multi user ftp linux server or explane me what to do?
I followed this tutorial trying to set up proftpd. I'm using Slackware 13.1, but I had assumed most of the tutorial was all relevant still.Using the default proftpd.conf file, I was able to do anonymous login, but I was hoping to use the conf file in the tutorial to only allow certain users, so it currently looks like this:Quote:
# To really apply changes reload proftpd after modifications. AllowOverwrite on AuthAliasOnly off
I run Debian 5 64-bit machine with 2 IP-addresses. I installed ProFTPd through init.d instead of standalone but when I start it, it gives the following error:
Code: ProFTPd warning: cannot start neither in standalone nor in inetd/xinetd mode. Check your configuration. If I select standalone as servertype through the config, it works good.
Previously, I had this same machine on the same OS with 1 IP-address. I installed ProFTPd and it worked well with init.d . Maybe the 2nd IP is causing it? How can I make it work through init.d without having this error?
I installed proftpd on a new CentOS 5 server, yet when FTPing in (I can log in fine), the files and directories do not list and I get a "550 filename: Permission denied" error each time I try to "put" or "get" a file (I can tell that the file is there, though, because if I try to access a non-existent file, I get a "No such file or directory error" instead of the permission denied error).
According cu proftpd documentation this should limit upload file size to 5 MBytes to everyone excepting user crystal which is allowed to upload 100 MBytes.
Code: # Restrict upload to only 3 megabytes MaxStoreFileSize 5 Mb MaxStoreFileSize 100 Mb user crystal
My Proftpd also restricts the user crystal to 5 Mb. It seems the second line is not taken into consideration.
I recently installed ProFTPD on a Centos Linux with configure,make,install...(yum install proftpd didnt work) i installed everything it works but i cant control it through Service like, Service proftpd start,reload,stop like i used to on older servers.
I set up a FTP server for a client. Running Ubuntu 10.10 server and proftpd. While setting it up, I was able to log into FTP from filezilla from in my office no problems. Now suddenly I cannot access it from inside, but I can still access it like normal from outside my network.I am getting 500 illegal port command when using activeAnd when I use passive, I get fail to retrieve directory.The server is on a DMZ, so ports should not be a problem, and according to our admin nothing has changed within our firewall
I am literally quite stuck with proftp the version being: ProFTPD Version 1.3.3e# I have the following config:
[Code]...
I mean would I need to logically seperate out a series of passive ports and then open them using my custom routers NAT, so each passive port goes to its own virtual host as such? Just a bit confused about what the next steps would entail I mean I don't have any firewall on my Linux box, don't see the point since I use pfSense and an IPS/IDS and it's never been hacked since!
I cant figure out why my server running fc14 keeps saying login incorrect 530. I am using gproftpd. I know that the login is correct though. For instance: Lets say my user is "goober" and my pass is "fedora" and I go and type that in when I try and login to the ftp it says login incorrect.
A simple FTP server which allows me to acces the /var/www/html directory to upload new files for my apache webserver.
What are my problems:
When trying to login it says the following:
***Begin*** [root@ICT2-Gateway ~]# ftp 127.0.0.1 Connected to 127.0.0.1. 220 FTP Server ready. 500 AUTH not understood
[Code]....
As you can see this has nothing to do with faulty firewall settings since i'm only trying this locally. Futhermore the password is 100% correct (and keyboard layout).
Since I've changed alot in my config file it thought it's not worth mentioning here, I'm reverting back to default.
i have just setup a firewall using iptables on centos 5.3 but there's an issue with ftp i can connect and i can login when i give command "ls" it says entering passive mode and afterwards it times out do you know why? i have port 21 open in my firewall but still....
just thought i would throw this out there as a google search doesnt even come back with what i need. I have setup proftp with a mysql auth on a debian box. When i save files or try to modify them i get an error. Ie i dont have permission. When i look at the permissions for the files, it has a 2001 user permission and a ftpgroup as the group permission.
I want it to be ftpuser and ftpgroup with readable and writable permissions for the user and group. This is my second proftp box and i basiclly copied the config files over from the old box.
How do you configure proftpd so that once a user has failed to login and reached the MaxLoginAttempts. That they can not retry logging in for another 4 hours ?
So, I wanted a master ftp user that could access all the folders for all the users. I did this by creating a second root user. I'm aware of all the security considerations, and if there's a better way to do this than creating a root user I'd really like to know it. That said, my issue is that my new root user is still unable in FTP to access folders owned by other users that aren't world readable. Note that this is ONLY when logging in via ftp. If I login through SSH I can access all folders without problem and without the need to sudo. So this is a true root user. Does anyone have an idea how I can fix the proftpd configuration to allow my root user access to ALL folders no matter the owner?
I've just installed ProFTPd with mySQL and need to collect and/or parse statistics about users, traffic usage and so on. I've googled for a while and found no luck on getting some good guidance or manual on that. And on ProFTPd.org not much of info concerning the mySQL.
After upgrading ubuntu server to the latest version (according to apt-get) proftpd stopped working. When I try to execute proftpd I get the following message (when logged in as root or user with root privileges) :
Code:
Line 18 in modules.conf looks like this:
Code:
I've tried removing and re-installing proftpd, but this doesn't help
If I comment line 18 in modules.conf, I just get permission denied on the next LoadModule command...
Can I remove all modules? or is there a way of fixing the permission denied issue?
So I've been trying to get a single user to login to an FTP site I've created using proftpd and I haven't had much luck. So check this out: this only applies to one user, I can "su" to the user account so I know the password is set, and I am even able to SSH into the box as this user. This totally eliminates a bad/incorrect password and the server IS accepting connections on port 21 because I can FTP as other users. I've ruled out the client because I tried locally and using a command promptWinders but still no luck. This is what I'm seeing in the logs when I attempt to connect using an FTP client.
::ffff:192.168.1.118 UNKNOWN proftpd [18/Jul/2011:15:57:44 -0700] "USER crownftp" 331 - Jul 18 15:57:44 ctserver-2 proftpd: pam_unix(proftpd:session): session opened for user crownftp by (uid=0)
I've started facing the weirdest problem. I have to restart the ethernet interface a couple of times a day and everytime i do that the server locks up completely and i have to hard reboot it.info: recently shifted to a new server, all new components and new installation, OS version CentOS 5.6
i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7.On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success.here is the code:
I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.
When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there
I am ClearCase Admin, new to Linux administration and our development environment is in linux servers. I have found that our development server which is RHEL 3 (also ClearCase client) hangs when user gives find command.After some time of execution of the find command the server hangs. We have to hard-boot the server.Is this the normal behaviour of the Servers? This server which I am talking about is highly used.Sometimes 120 or more terminals will be opened and few compilation will be happening in the server. And same single user some times opens multiple terminals and works simulataneously.We have been monitoring the server and found out that during the workdays CPU usage % goes very high.