Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Fri Sep 24, 2010 2:20 am 
Offline
Senior Member

Joined: Sat Nov 15, 2008 4:24 pm
Posts: 55
Location: Czech Republic
Try to use Filezilla with implicit and force port to 21. To use Total Commander, make sure you installed OpenSSL binaries that are not part of TC installation.

I tried to login with my test account without success. You probably can find cause in your log file. My guess is that www-data UID is lower that 2000 and thus denied (as per your option -u 2000).


Top
   
 Post subject:
PostPosted: Fri Sep 24, 2010 2:45 am 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
drake127 wrote:
Try to use Filezilla with implicit and force port to 21.

Tried with this result
Code:
16:25:10 Status:    Connection established, initializing TLS...
16:25:11 Error:    GnuTLS error -9: A TLS packet with unexpected length was received.
16:25:11 Error:    Could not connect to server


drake127 wrote:
To use Total Commander, make sure you installed OpenSSL binaries that are not part of TC installation.

I did install OpenSSL binaries before I tried.
drake127 wrote:
I tried to login with my test account without success. You probably can find cause in your log file. My guess is that www-data UID is lower that 2000 and thus denied (as per your option -u 2000).

I changed it to -u 30 as www-data is 33

R.


Top
   
 Post subject:
PostPosted: Fri Sep 24, 2010 2:52 am 
Offline
Senior Member

Joined: Sat Nov 15, 2008 4:24 pm
Posts: 55
Location: Czech Republic
Strange, still auth failed. Could I see how my row in table looks like? What does it write in log right now? Is it able to connect to the database? Does my folder exists?

Any such error would cause authentication problem.


Top
   
 Post subject:
PostPosted: Fri Sep 24, 2010 2:57 am 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
drake127 wrote:
Strange, still auth failed. Could I see how my row in table looks like? What does it write in log right now? Is it able to connect to the database? Does my folder exists?

Any such error would cause authentication problem.


/var/log/messages

Code:
Sep 24 16:51:20 server pure-ftpd: (?@xx.xx.xx.xx) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with DHE-RSA-AES256-SHA, 256 secret bits cipher
Sep 24 16:51:26 server pure-ftpd: (?@xx.xx.xx.xx) [WARNING] Authentication failed for user [drake127]
Sep 24 16:51:41 server pure-ftpd: (?@x.xx.xx.xx) [WARNING] Authentication failed for user [drake]


and

Code:
mysql> select * from ftp_users where user = "drake";
+-------+----------------------------------+------------+----------+----------+
| user  | password                         | directory  | uid      | gid      |
+-------+----------------------------------+------------+----------+----------+
| drake | 2851a862c810901fb50717a9d01075e8 | /tmp/drake | www-data | www-data |
+-------+----------------------------------+------------+----------+----------+


and

Code:
www-data:x:33:33:www-data:/var/www:/bin/sh


Top
   
 Post subject:
PostPosted: Sat Sep 25, 2010 2:39 am 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
big THANX to drake127 for helping me out. It is wooooorking now.

I guest I didn't specify correct ip for pure-ftpd to listen on.

R


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group