Wrong path set in proftpd.vhosts.conf to user

LawsHosting

Verified User
Joined
Sep 13, 2008
Messages
2,440
Location
London UK
Hello.

Ok, I have restored a few clients from a different company/server, only one needed a dedicated IP.
Right, no-one could log into any ftp accounts on that domain. So I ran ProFTPd in debug mode to find that it was looking for its ftp.psswd in the wrong place!

The username has 9 characters in (eg 123456789), but the proftpd.vhosts.conf was looking for the username, but in only 8 characters (eg. 12345678).

What would cause this to happen?
 
Check username length setting from directadmin.conf. Open the backup somewhere and look through the files.

/usr/local/directadmin/directadmin c | grep '=9'
 
Just a wild guess: Did you convert ftp password files on old server to a unified password file? If not, then maybe that is on as default on the new server, and is causing this trouble? Maybe solve the problem by first convert to unified password file on old server before transfer of backup to new server? Here is information: http://www.directadmin.com/features.php?id=1134

But of course, I don't know, I am just guessing. :)
 
Back
Top