Current time: 12-05-2022, 10:31 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[SOLVED] Problems with FTP
Author Message
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #1
[SOLVED] Problems with FTP
Hello folks.

I have some problems with my FTP server, as when i make an FTP user, the FTP server doesnt seem to create it, as i cannot login..

So.. What is going wrong here?
(This post was last modified: 01-17-2009 02:16 AM by DiXeoN.)
01-14-2009 11:32 PM
Find all posts by this user
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #2
RE: Problems with FTP
Please enable debug.
01-15-2009 12:06 AM
Visit this user's website Find all posts by this user
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #3
RE: Problems with FTP
and how to do that?
01-15-2009 12:15 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Problems with FTP
use the search function... It will provide something like "proftpd -n -d 5" as solution...
01-15-2009 12:36 AM
Visit this user's website Find all posts by this user
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #5
RE: Problems with FTP
This is what i got when typing that:

Quote:root@main:~# proftpd -n -d 5
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_quotatab.c' section at line 92
- <IfModule>: skipping 'mod_ratio.c' section at line 96
- <IfModule>: using 'mod_delay.c' section at line 104
- <IfModule>: using 'mod_ctrls.c' section at line 108
- <IfModule>: using 'mod_ctrls_admin.c' section at line 116
main.nemcom.dk -
main.nemcom.dk - Config for Debian:
main.nemcom.dk - DeferWelcome
main.nemcom.dk - DefaultServer
main.nemcom.dk - ShowSymlinks
main.nemcom.dk - TimeoutNoTransfer
main.nemcom.dk - TimeoutStalled
main.nemcom.dk - TimeoutIdle
main.nemcom.dk - DisplayLogin
main.nemcom.dk - DisplayChdir
main.nemcom.dk - ListOptions
main.nemcom.dk - DenyFilter
main.nemcom.dk - UserID
main.nemcom.dk - UserName
main.nemcom.dk - GroupID
main.nemcom.dk - GroupName
main.nemcom.dk - Umask
main.nemcom.dk - DirUmask
main.nemcom.dk - AllowOverwrite
main.nemcom.dk - TransferLog
main.nemcom.dk - QuotaEngine
main.nemcom.dk - DelayEngine
main.nemcom.dk - ProFTPD 1.3.1 (stable) (built Thu Feb 21 04:21:14 UTC 2008) standalone mode STARTUP
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - FTP session requested from unknown class
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - connected - local : ::ffff:192.168.1.10:21
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - connected - remote : ::ffff:192.168.1.39:1892
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - FTP session opened.
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_rewrite
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_tls
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching CMD command 'USER ftp@0708.fuscrew.dk' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - no supplemental groups found for user 'ftp@0708.fuscrew.dk'
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD command 'USER ftp@0708.fuscrew.dk' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD command 'USER ftp@0708.fuscrew.dk' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD command 'USER ftp@0708.fuscrew.dk' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD command 'USER ftp@0708.fuscrew.dk' to mod_log
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap2
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_ban
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching CMD command 'PASS (hidden)' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - no supplemental groups found for user 'ftp@0708.fuscrew.dk'
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - no such user 'ftp@0708.fuscrew.dk'
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - USER ftp@0708.fuscrew.dk: no such user found from ::ffff:192.168.1.39 [::ffff:192.168.1.39] to ::ffff:192.168.1.10:21
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - FTP session closed.

So.. Whats wrong? It cant find the user.. Why? It is made in ISPCP
01-15-2009 12:45 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: Problems with FTP
Add the following directive to the proftpd.conf

Code:
SQLLOGFILE /var/log/proftpd.sql.log

this will enable debugging for the authentication process...
01-15-2009 12:56 AM
Visit this user's website Find all posts by this user
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #7
RE: Problems with FTP
Quote:root@main:~# proftpd -n -d 5
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_quotatab.c' section at line 92
- <IfModule>: skipping 'mod_ratio.c' section at line 96
- <IfModule>: using 'mod_delay.c' section at line 104
- <IfModule>: using 'mod_ctrls.c' section at line 108
- <IfModule>: using 'mod_ctrls_admin.c' section at line 116
main.nemcom.dk -
main.nemcom.dk - Config for Debian:
main.nemcom.dk - DeferWelcome
main.nemcom.dk - DefaultServer
main.nemcom.dk - ShowSymlinks
main.nemcom.dk - TimeoutNoTransfer
main.nemcom.dk - TimeoutStalled
main.nemcom.dk - TimeoutIdle
main.nemcom.dk - DisplayLogin
main.nemcom.dk - DisplayChdir
main.nemcom.dk - ListOptions
main.nemcom.dk - DenyFilter
main.nemcom.dk - UserID
main.nemcom.dk - UserName
main.nemcom.dk - GroupID
main.nemcom.dk - GroupName
main.nemcom.dk - Umask
main.nemcom.dk - DirUmask
main.nemcom.dk - AllowOverwrite
main.nemcom.dk - TransferLog
main.nemcom.dk - QuotaEngine
main.nemcom.dk - DelayEngine
main.nemcom.dk - SQLLogFile
main.nemcom.dk - ProFTPD 1.3.1 (stable) (built Thu Feb 21 04:21:14 UTC 2008) standalone mode STARTUP
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - FTP session requested from unknown class
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - connected - local : ::ffff:192.168.1.10:21
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - connected - remote : ::ffff:192.168.1.39:4962
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - FTP session opened.
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_rewrite
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_tls
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'USER ftp@0708.fuscrew.dk' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching CMD command 'USER ftp@0708.fuscrew.dk' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - no supplemental groups found for user 'ftp@0708.fuscrew.dk'
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD command 'USER ftp@0708.fuscrew.dk' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD command 'USER ftp@0708.fuscrew.dk' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD command 'USER ftp@0708.fuscrew.dk' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD command 'USER ftp@0708.fuscrew.dk' to mod_log
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap2
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_ban
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching CMD command 'PASS (hidden)' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - no supplemental groups found for user 'ftp@0708.fuscrew.dk'
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - no such user 'ftp@0708.fuscrew.dk'
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - USER ftp@0708.fuscrew.dk: no such user found from ::ffff:192.168.1.39 [::ffff:192.168.1.39] to ::ffff:192.168.1.10:21
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_sql
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
main.nemcom.dk (::ffff:192.168.1.39[::ffff:192.168.1.39]) - FTP session closed.

This is it..
01-15-2009 01:01 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Problems with FTP
yeah well show, the content of the generated logfile ;-))
01-15-2009 01:02 AM
Visit this user's website Find all posts by this user
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #9
RE: Problems with FTP
And where do i find that? Big Grin
01-15-2009 01:04 AM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #10
RE: Problems with FTP
/var/log/proftpd.sql.log maybe? you just defined that in your config file?
01-15-2009 01:13 AM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)