View Single Post
  #5  
Old 1st November 2007, 10:36
kvdd kvdd is offline
Junior Member
 
Join Date: Oct 2007
Posts: 11
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by erebus
Your FTP appears to run and listening for connections. That's good.

What about checking your logs for errors? Run something like that and check for possible causes:

Code:
# cat /var/log/messages|grep proftpd|less
I assume that by saying "it is not working" you mean that the username/password combination appears invalid (so you cannot login at all). Check in the logs using the above command for what exactly proftpd is complaining about, and we 'll see.
Yes, thats right not working means, the user can't login / the username/password is not valid.

I have put that commando to see the log:
Code:
[root@server01 ~]# cat /var/log/messages|grep proftpd|less
Oct 31 20:21:16 server01 proftpd[22732]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session closed.
Oct 31 20:21:17 server01 proftpd[22733]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:17 server01 proftpd[22733]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session closed.
Oct 31 20:21:18 server01 proftpd[22734]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:18 server01 proftpd[22734]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session closed.
Oct 31 20:21:18 server01 proftpd[22735]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:18 server01 proftpd[22735]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session closed.
Oct 31 20:21:18 server01 proftpd[22740]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:18 server01 proftpd[22740]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session closed.
Oct 31 20:21:19 server01 proftpd[22743]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:19 server01 proftpd[22743]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session closed.
Oct 31 20:21:19 server01 proftpd[22746]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:19 server01 proftpd[22747]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:19 server01 proftpd[22746]: server01.localhost (192.168.2.100[192.168.2.100]) - no such user 'Klant1'
Oct 31 20:21:19 server01 proftpd[22747]: server01.localhost (192.168.2.100[192.168.2.100]) - no such user 'Klant1'
Oct 31 20:21:19 server01 proftpd[22748]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:19 server01 proftpd[22748]: server01.localhost (192.168.2.100[192.168.2.100]) - no such user 'Klant1'
Oct 31 20:21:20 server01 proftpd[22749]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:20 server01 proftpd[22750]: server01.localhost (192.168.2.100[192.168.2.100]) - FTP session opened.
Oct 31 20:21:20 server01 proftpd[22749]: server01.localhost (192.168.2.100[192.168.2.100]) - no such user 'Klant1'
Oct 31 20:21:20 server01 proftpd[22750]: server01.localhost (192.168.2.100[192.168.2.100]) - no such user 'Klant1'
Oct 31 20:27:16 server01 proftpd[22370]: localhost.localdomain - ProFTPD killed (signal 15)
Oct 31 20:27:16 server01 proftpd[22370]: localhost.localdomain - ProFTPD 1.3.0a standalone mode SHUTDOWN
Oct 31 20:27:17 server01 proftpd[23324]: localhost.localdomain - ProFTPD 1.3.0a (stable) (built za okt 27 12:06:53 CEST 2007) standalone mode
 STARTUP
Oct 31 20:27:22 server01 proftpd[23359]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 20:27:22 server01 proftpd[23359]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Oct 31 20:27:22 server01 proftpd[23366]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 20:27:22 server01 proftpd[23366]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Oct 31 20:28:49 server01 proftpd[23502]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 20:28:49 server01 proftpd[23502]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Oct 31 20:28:49 server01 proftpd[23511]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 20:28:49 server01 proftpd[23511]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Oct 31 21:49:16 server01 proftpd[24720]: localhost.localdomain - Failed binding to 0.0.0.0, port 21: Address already in use
Oct 31 21:49:16 server01 proftpd[24720]: localhost.localdomain - Check the ServerType directive to ensure you are configured correctly.
Oct 31 21:49:54 server01 proftpd[24779]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 21:49:54 server01 proftpd[24779]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Oct 31 21:49:54 server01 proftpd[24786]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 21:49:54 server01 proftpd[24786]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Oct 31 21:52:20 server01 proftpd[25053]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Oct 31 21:52:20 server01 proftpd[25053]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session closed.
Nov  1 09:17:52 server01 proftpd[3312]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Nov  1 09:17:52 server01 proftpd[3312]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Nov  1 09:17:53 server01 proftpd[3319]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Nov  1 09:17:53 server01 proftpd[3319]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Nov  1 09:19:27 server01 proftpd[3452]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Nov  1 09:19:27 server01 proftpd[3452]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
Nov  1 09:19:27 server01 proftpd[3457]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - FTP session opened.
Nov  1 09:19:27 server01 proftpd[3457]: localhost.localdomain (localhost.localdomain[127.0.0.1]) - no such user 'Klant3'
As we can see, the user Klant3 is not a user. I can say, I have use the right pass/username for the user. But the error says there IS not a user stange!

Must I add the users with a different methode or something?
[edit] The restart that you see in the log is done by myself, not done by ProFTP or something [/edit]

Last edited by kvdd; 1st November 2007 at 10:39.
Reply With Quote