ispCP - Board - Support
Proftpd Ubuntu Proble - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Proftpd Ubuntu Proble (/thread-8586.html)



Proftpd Ubuntu Proble - nikolas22t - 11-27-2009 05:22 AM

I have the same problem as the users with Debian , i can login to FTP through the admin password but the users created through isp cannot authenticate. I tried the advice in forum for debian but this didn't help at all. Any Ideas how i can fix this ?


RE: Proftpd Ubuntu Proble - gOOvER - 11-27-2009 05:46 AM

Logs?


RE: Proftpd Ubuntu Proble - motokochan - 11-27-2009 06:32 AM

It's probably the same issue I ran into. Newer versions of PHP have built-in MD5 support and an MD5 hash is calculated, which isn't directly supported by ProFTPd. Try the fix in this post after checking to see if the passwords begin with $1$.


RE: Proftpd Ubuntu Proble - nikolas22t - 11-27-2009 07:07 AM

Nov 26 22:53:23 pc3 proftpd[22964] isp.domain.com: ProFTPD 1.3.1 (stable) (built Thu Feb 21 04:21:14 UTC 2008) standalone mode STARTUP
Nov 26 22:53:27 pc3 proftpd[22966] isp.domain.com (isp.domain.com[::ffff:192.168.15.52]): FTP session opened.
Nov 26 22:53:27 pc3 proftpd[22966] isp.domain.com (isp.domain.com[::ffff:192.168.15.52]): FTP session closed.
Nov 26 22:57:42 pc3 proftpd[23070] isp.domain.com (isp.domain.com[::ffff:192.168.15.52]): FTP session opened.
Nov 26 22:57:42 pc3 proftpd[23070] isp.domain.com (isp.domain.com[::ffff:192.168.15.52]): FTP session closed.
Nov 26 22:57:43 pc3 proftpd[23076] isp.domain.com (isp.domain.com[::ffff:192.168.15.52]): FTP session opened.
Nov 26 22:57:43 pc3 proftpd[23076] isp.domain.com (isp.domain.com[::ffff:192.168.15.52]): FTP session closed.
Nov 26 23:00:42 pc3 proftpd[23542] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): FTP session opened.
Nov 26 23:00:42 pc3 proftpd[23542] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): no such user 'tmp_4b0eec7ac6a5a@domain.com'
Nov 26 23:00:42 pc3 proftpd[23542] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): USER tmp_4b0eec7ac6a5a@domain.com: no such user found from isp$
Nov 26 23:00:42 pc3 proftpd[23542] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): FTP session closed.
Nov 26 23:01:42 pc3 proftpd[23549] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): FTP session opened.
Nov 26 23:01:42 pc3 proftpd[23549] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): no such user 'tmp_4b0eecb6d03a7@domain.com'
Nov 26 23:01:42 pc3 proftpd[23549] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): USER tmp_4b0eecb6d03a7@domain.com: no such user found from isp$
Nov 26 23:01:42 pc3 proftpd[23549] isp.domain.com (isp.domain.com.local[::ffff:127.0.0.1]): FTP session closed.
Nov 26 23:02:18 pc3 proftpd[23554] isp.domain.com (pc1[::ffff:192.168.15.50]): FTP session opened.
Nov 26 23:02:18 pc3 proftpd[23554] isp.domain.com (pc1[::ffff:192.168.15.50]): no such user 'nikolas@domain.com'
Nov 26 23:02:18 pc3 proftpd[23554] isp.domain.com (pc1[::ffff:192.168.15.50]): USER nikolas@domain.com: no such user found from pc1 [::ffff:192.168.15.50] to$
Nov 26 23:02:18 pc3 proftpd[23554] isp.domain.com (pc1[::ffff:192.168.15.50]): FTP session closed.
Nov 26 23:04:02 pc3 proftpd[23559] isp.domain.com (pc1[::ffff:192.168.15.50]): FTP session opened.
Nov 26 23:04:02 pc3 proftpd[23559] isp.domain.com (pc1[::ffff:192.168.15.50]): no such user 'tmp_4b0eec7ac6a5a@domain.com'
Nov 26 23:04:02 pc3 proftpd[23559] isp.domain.com (pc1[::ffff:192.168.15.50]): USER tmp_4b0eec7ac6a5a@domain.com: no such user found from pc1 [::ffff:192.168$
Nov 26 23:04:02 pc3 proftpd[23559] isp.domain.com (pc1[::ffff:192.168.15.50]): FTP session closed.
Nov 26 23:06:02 pc3 proftpd[23560] isp.domain.com (pc1[::ffff:192.168.15.50]): FTP session opened.




My FTP user is nikolas@domain.com
I also found this in PMA: Cannot load mcrypt extension. Please check your PHP configuration.
Maybe this is the problem? My password starts with $1$
I tried the solution motocochan told above password abc123 in mysql is _yhWSHaPl/uxc but again is not working for FTP Smile


RE: Proftpd Ubuntu Proble - motokochan - 11-27-2009 07:47 AM

Check that the username matches what you expect. Next, run with a higher debug level and make sure that ProFTPd can access the SQL tables.


RE: Proftpd Ubuntu Proble - nikolas22t - 11-27-2009 07:53 AM

How i can check that proftpd can acccess sql table ?
I installed isp on 5 machines until now ( for the past 12 months ) and always i had this problem with ftp ... i am not sure if there is a way to fix it or not


RE: Proftpd Ubuntu Proble - motokochan - 11-27-2009 09:02 AM

Run proftpd in debug mode level 5 (-d5) in the foreground. Try to connect and watch the debug messages. That should hopefully be verbose enough to see the info from the sql plugin.