Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 21st February 2008, 13:25
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

@topdog could you please be more specific i am not that fast
Reply With Quote
Sponsored Links
  #12  
Old 21st February 2008, 13:28
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
Default

I mean connect to the mysql server like i showed you in the previous post then run those sql queries to verify that the user name and password you are using to login in to the ftp server are correct in the database since i have seen that the ftpuser can connect to the db without a problem.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #13  
Old 21st February 2008, 13:34
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

@topdog Thanks for the code this is the output...
Quote:
mysql> select userid,passwd,homedir from ftpuser;
+-----------+-------------------------------------------+----------------------+| userid | passwd | homedir |+-----------+-------------------------------------------+----------------------+| ikkem | *4D92122090AC8A37E694A3B068FC0B727F8BEF35 | /var/proftp/ikkem|

+-----------+-------------------------------------------+----------------------+2 rows in set (0.01 sec)
Reply With Quote
  #14  
Old 21st February 2008, 13:48
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
Default

can ftpuser/ftpgroup write to /var/proftp/ikkem, further that that i cannot think of anything else
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #15  
Old 21st February 2008, 13:52
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

again I must say I am not that fast please talk slowly
which commands should I use to check or make ftpuser/ftpgroup write to /var/proftp/ikkem...

thanks in advance
Reply With Quote
  #16  
Old 21st February 2008, 13:53
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
Default

Quote:
Originally Posted by ikkem
again I must say I am not that fast please talk slowly
which commands should I use to check or make ftpuser/ftpgroup write to /var/proftp/ikkem...

thanks in advance
Code:
ls -l /var/proftp
ls -l /var/
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #17  
Old 21st February 2008, 13:58
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

@topdog Thanks for pointing me in the right direction

Quote:
ls -l /var/proftp =drwxrwxr-x 2 ftpuser ftpgroup 4096 2008-02-21 05:55 proftp

ls -l /var/=drwxrwxr-x 2 ftpuser ftpgroup 4096 2008-02-21 05:55 proftp
thanks in advance....
Reply With Quote
  #18  
Old 21st February 2008, 14:04
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
Default

Okay i think i know what the problem is i have just glanced through the howto, i think the system expects clear text passwords and your password in the db is encrypted. You need to change the password to cleartext then test.
http://www.howtoforge.com/proftpd_my...debian_etch_p3

remember to reload proftpd after you have made the change.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #19  
Old 21st February 2008, 14:39
ikkem ikkem is offline
Member
 
Join Date: Feb 2007
Posts: 85
Thanks: 2
Thanked 2 Times in 1 Post
Default

thanks again topdog I have tried changing it to clear text but I still get the error message....

Code:
Status:	Connecting to 127.0.0.1:21...
Status:	Connection established, waiting for welcome message...

Status:	Connecting to myip:21...
Status:	Connection established, waiting for welcome message...
Error:	Could not connect to server
Error:	Could not connect to server
Thanks in advance....
ikkem
Reply With Quote
  #20  
Old 21st February 2008, 14:46
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 154 Times in 151 Posts
 
Default

Isn't it a different error now as even the welcome message is not being displayed.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch Spreech HOWTO-Related Questions 4 31st July 2007 20:21
Virtual Hosting With Proftpd And MySQL (Incl. Quota) pontifex HOWTO-Related Questions 56 22nd June 2007 14:29
Virtual Hosting With Proftpd And MySQL (Incl. Quota) miguellamerz HOWTO-Related Questions 3 18th October 2006 02:39
Virtual Hosting With Proftpd And MySQL Problems bigredgecko HOWTO-Related Questions 1 7th July 2006 13:56
Virtual Hosting With Proftpd And MySQL (Incl. Quota) Secure? ToysunStory HOWTO-Related Questions 1 9th May 2006 01:03


All times are GMT +2. The time now is 10:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.