ispCP - Board - Support
Problems with ftp - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Problems with ftp (/thread-5785.html)



Problems with ftp - Krisxxx - 02-21-2009 10:05 PM

Hi
Im running a server with Debian Lenny and ispcp rc7. The problem i have is that i cant connect with ftp. All the users have that problem. In my log file it says that there is no such user found.
What could be the problem?
Kris


RE: Problems with ftp - BeNe - 02-22-2009 04:42 AM

Start your ProFTPDd in the Debug Modus.
You will find them via the search here in the Forum.
We discussed this many many times.

Greez BeNe


RE: Problems with ftp - Krisxxx - 02-22-2009 07:52 PM

This is what i get:
server5:~# proftpd -nd6
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_dynmasq.c' section at line 54
- <IfModule>: using 'mod_quotatab.c' section at line 91
- <IfModule>: skipping 'mod_ratio.c' section at line 95
- <IfModule>: using 'mod_delay.c' section at line 103
- <IfModule>: using 'mod_ctrls.c' section at line 107
- <IfModule>: using 'mod_ctrls_admin.c' section at line 115
server5.whitestar.dk -
server5.whitestar.dk - Config for Debian:
server5.whitestar.dk - IdentLookups
server5.whitestar.dk - DeferWelcome
server5.whitestar.dk - DefaultServer
server5.whitestar.dk - ShowSymlinks
server5.whitestar.dk - TimeoutNoTransfer
server5.whitestar.dk - TimeoutStalled
server5.whitestar.dk - TimeoutIdle
server5.whitestar.dk - DisplayLogin
server5.whitestar.dk - DisplayChdir
server5.whitestar.dk - ListOptions
server5.whitestar.dk - DenyFilter
server5.whitestar.dk - UserID
server5.whitestar.dk - UserName
server5.whitestar.dk - GroupID
server5.whitestar.dk - GroupName
server5.whitestar.dk - Umask
server5.whitestar.dk - DirUmask
server5.whitestar.dk - AllowOverwrite
server5.whitestar.dk - TransferLog
server5.whitestar.dk - QuotaEngine
server5.whitestar.dk - DelayEngine
server5.whitestar.dk - mod_lang/0.8: binding to text domain 'proftpd' using locale path '/usr/share/locale'
server5.whitestar.dk - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
server5.whitestar.dk - Failed binding to ::, port 21: Adressen er allerede i brug
server5.whitestar.dk - Check the ServerType directive to ensure you are configured correctly.

What could the problem be?


RE: Problems with ftp - BeNe - 02-22-2009 08:29 PM

Looks like your proftpd is still running! Please stop your current ProFTD and start it once again in the Debug mode.

Greez BeNe


RE: Problems with ftp - Lucan - 02-22-2009 08:59 PM

Thats a bug of the RC7 it doesn't write the configs right at debian lenny while installing.
So it would be the easiest way to install a nightly build, if you do not have any clients etc. on your server.


Greets


RE: Problems with ftp - Krisxxx - 02-23-2009 02:37 AM

(02-22-2009 08:59 PM)Lucan Wrote:  Thats a bug of the RC7 it doesn't write the configs right at debian lenny while installing.
So it would be the easiest way to install a nightly build, if you do not have any clients etc. on your server.


Greets

I do have clients Sad Is there a way for me to configure them manually? I dont have so many that need ftp access.
(02-22-2009 08:29 PM)BeNe Wrote:  Looks like your proftpd is still running! Please stop your current ProFTD and start it once again in the Debug mode.

Greez BeNe

This is what i get. The terminal freezes when i run the debug modus:

server5:~# proftpd -nd6
- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_dynmasq.c' section at line 54
- <IfModule>: using 'mod_quotatab.c' section at line 91
- <IfModule>: skipping 'mod_ratio.c' section at line 95
- <IfModule>: using 'mod_delay.c' section at line 103
- <IfModule>: using 'mod_ctrls.c' section at line 107
- <IfModule>: using 'mod_ctrls_admin.c' section at line 115
server5.whitestar.dk -
server5.whitestar.dk - Config for Debian:
server5.whitestar.dk - IdentLookups
server5.whitestar.dk - DeferWelcome
server5.whitestar.dk - DefaultServer
server5.whitestar.dk - ShowSymlinks
server5.whitestar.dk - TimeoutNoTransfer
server5.whitestar.dk - TimeoutStalled
server5.whitestar.dk - TimeoutIdle
server5.whitestar.dk - DisplayLogin
server5.whitestar.dk - DisplayChdir
server5.whitestar.dk - ListOptions
server5.whitestar.dk - DenyFilter
server5.whitestar.dk - UserID
server5.whitestar.dk - UserName
server5.whitestar.dk - GroupID
server5.whitestar.dk - GroupName
server5.whitestar.dk - Umask
server5.whitestar.dk - DirUmask
server5.whitestar.dk - AllowOverwrite
server5.whitestar.dk - TransferLog
server5.whitestar.dk - QuotaEngine
server5.whitestar.dk - DelayEngine
server5.whitestar.dk - mod_lang/0.8: binding to text domain 'proftpd' using locale path '/usr/share/locale'
server5.whitestar.dk - ProFTPD 1.3.1 (stable) (built Fri Feb 6 12:26:25 GMT 2009) standalone mode STARTUP


RE: Problems with ftp - BeNe - 02-23-2009 04:27 AM

Fine! When you are in Debug Modus, try to connect with a client to the Server. Then we will see more and the Error!

Greez BeNe


RE: Problems with ftp - Krisxxx - 02-23-2009 04:11 PM

Heres the result when connection with an client:

- mod_tls/2.1.2: using OpenSSL 0.9.8g 19 Oct 2007
- DenyFilter: compiling deny regex '\*.*/'
- <IfModule>: using 'mod_dynmasq.c' section at line 54
- <IfModule>: using 'mod_quotatab.c' section at line 91
- <IfModule>: skipping 'mod_ratio.c' section at line 95
- <IfModule>: using 'mod_delay.c' section at line 103
- <IfModule>: using 'mod_ctrls.c' section at line 107
- <IfModule>: using 'mod_ctrls_admin.c' section at line 115
server5.whitestar.dk -
server5.whitestar.dk - Config for Debian:
server5.whitestar.dk - IdentLookups
server5.whitestar.dk - DeferWelcome
server5.whitestar.dk - DefaultServer
server5.whitestar.dk - ShowSymlinks
server5.whitestar.dk - TimeoutNoTransfer
server5.whitestar.dk - TimeoutStalled
server5.whitestar.dk - TimeoutIdle
server5.whitestar.dk - DisplayLogin
server5.whitestar.dk - DisplayChdir
server5.whitestar.dk - ListOptions
server5.whitestar.dk - DenyFilter
server5.whitestar.dk - UserID
server5.whitestar.dk - UserName
server5.whitestar.dk - GroupID
server5.whitestar.dk - GroupName
server5.whitestar.dk - Umask
server5.whitestar.dk - DirUmask
server5.whitestar.dk - AllowOverwrite
server5.whitestar.dk - TransferLog
server5.whitestar.dk - QuotaEngine
server5.whitestar.dk - DelayEngine
server5.whitestar.dk - mod_lang/0.8: binding to text domain 'proftpd' using locale path '/usr/share/locale'
server5.whitestar.dk - ProFTPD 1.3.1 (stable) (built Fri Feb 6 12:26:25 GMT 2009) standalone mode STARTUP
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - FTP session requested from unknown class
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - ident lookup disabled
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - connected - local : ::ffff:10.0.0.100:21
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - connected - remote : ::ffff:77.212.75.98:10186
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - FTP session opened.
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'USER kris@themonkey.dk' to mod_rewrite
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'USER kris@themonkey.dk' to mod_tls
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'USER kris@themonkey.dk' to mod_core
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'USER kris@themonkey.dk' to mod_core
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'USER kris@themonkey.dk' to mod_delay
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'USER kris@themonkey.dk' to mod_auth
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching CMD command 'USER kris@themonkey.dk' to mod_auth
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - no supplemental groups found for user 'kris@themonkey.dk'
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching POST_CMD command 'USER kris@themonkey.dk' to mod_delay
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching LOG_CMD command 'USER kris@themonkey.dk' to mod_log
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_rewrite
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap2
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_ban
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_wrap
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_radius
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching CMD command 'PASS (hidden)' to mod_auth
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - no supplemental groups found for user 'kris@themonkey.dk'
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - no such user 'kris@themonkey.dk'
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - USER kris@themonkey.dk: no such user found from 0x4dd44b62.adsl.cybercity.dk [::ffff:77.212.75.98] to ::ffff:10.0.0.100:21
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth
server5.whitestar.dk (0x4dd44b62.adsl.cybercity.dk[::ffff:77.212.75.98]) - FTP session closed.


RE: Problems with ftp - BeNe - 02-23-2009 05:23 PM

Looks like mod_sql / mod_mysql isnĀ“t loaded in your Config.
There should be some Threads around here in the Forum about this problem.

Greez BeNe


RE: Problems with ftp - Lucan - 02-23-2009 09:36 PM

I know that it was sci2tech who fixed that issue, you may write him a PM and ask him if he still knows how to fix it.

Or you have a look at the tickets of rc 7, there must be the solution also, if it's the problem i mean.


/edit think i've found it and it's what bene said, mod_mysql is enabled at this config:


http://www.isp-control.net/ispcp/changeset/1344