ftp on Ubuntu in VMWare Blade Centre...login fails
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Distribution: Debian and Fedora Core in equal measure
Posts: 264
Rep:
ftp on Ubuntu in VMWare Blade Centre...login fails
I was running a bog-standard Debian box with mediawiki. It all ran very well. Then the Network Manager decides he wants me to move it onto a VMWare platform, so I installed it onto Ubunto Hearty Heron (VMWare recognises Ubuntu but doesn't recognise Debinan...driver issues, I think).
Mediawiki installs no problems, then I try to ftp some files onto the platform with plain ordinary ftp from a windows machine command line. I get the login authentication request, but whenever I try to authenticate, even with a valid login name, as soon as I enter the login name, and before the need for a password, I get thrown out with an error 550. I never get as far as the password request
OK, so I look at the logs and there's nothing much in there, so I go on the server and from a command window, I try to ftp to the same server...same problem.
So then I try on the server to ftp to 127.0.0.1, and I get the same problem.
The server and the ftp setup was done (as I have done dozens of times before) completely standard, using apt-get, with no errors. The only difference I see is that this is on a VMWare platform.
Heres the login attempt from the platform to itself:
root@linux01:/home/jim# ftp linux01
Connected to linux01.<co name>.uk.
220 linux01.<co name>.uk FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Name (linux01:jim): jim
550 Authentication failure
Login failed.
ftp> quit
221 Goodbye.
and here's the log entry that generated:
root@linux01:/home/jim# tail /var/log/syslog
<stuff deleted>
Aug 9 21:40:53 linux01 in.ftpd[6284]: connect from 192.168.4.41 (192.168.4.41)
root@linux01:/home/jim#
(Yeah, genuinely, that's all it gave me!)
I've Googled till I'm blue in the face to no avail...what stupid trap have I fallen into? Any ideas?
I had the same problem in while making an avnetppc board to act as a FTP server. that is, when i start the board and try to ftp from some other server, the login authentication will pop but when i give my user name it throws an "550 authentication error" without even accepting a password.
This may be due to the absence of the following .so files...
1)pam_ftp.so
2)pam_nologin.so
3)pam_rhosts_auth.so
4)pam_shells.so
5)pam_unix.so
6)pam_unix_acct.so
7)pam_unix_auth.so
8)pam_unix_session.so
you get these files for your VMWare platform, and create a directory name "security" under "lib" of your ramdisk image or NFS directory(depending on how you boot your VMWare) and place all the above files in that "security" directory(Note that you can soft link 6th,7th and 8th file with the 5th file as they are the one and the same). This solved the same problem in my case and hope this helps...
For cross checking use, /usr/lib/security in your general linux distro...
Last edited by dialga86; 09-05-2008 at 04:24 AM.
Reason: better clearance
so it looks like I have the right files in the right place....
but any other suggestions would be good...I'm running out of hair to tear out. I have tried reinstalls, and various different ftp servers, including proftpd, ftpd and ftpd-ssl, but they all behave the same so I believe its a problem specific to the blade server....HELP!
Distribution: Debian and Fedora Core in equal measure
Posts: 264
Original Poster
Rep:
Solved
Problem was that unknown to me, the install process installed ftp-ssl, which was intercepting traffic for the ftp server and causing the problem. I removed ftp-ssl, de-installed all other ftp variants and reinstalled proftpd, and everything worked just fine!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.