Current time: 11-18-2024, 05:02 AM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED]cannot connect to ftp after fresh install
Author Message
lepetitalbert Offline
Junior Member
*

Posts: 17
Joined: Jun 2008
Reputation: 0
Post: #1
[SOLVED]cannot connect to ftp after fresh install
Hello,

First ispcp installation on a clean etch.
Works great except ftp , unable to connect :

- client side : Protocol violation by server : blank line in control

- server side :

- in the logs : ... - FTP session closed (nothing else)

- running proftpd -dn6

<snip>
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd/proftpd.conf' configuration
- parsing '/etc/proftpd/modules.conf' configuration
- dispatching auth request "name2uid" to module mod_auth_file
- dispatching auth request "name2uid" to module mod_auth_unix
- dispatching auth request "name2uid" to module mod_auth_file
- dispatching auth request "name2uid" to module mod_auth_unix
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- disabling runtime support for IPv6 connections
- DenyFilter: compiling deny regex '\*.*/'
- dispatching auth request "getpwnam" to module mod_radius
- dispatching auth request "getpwnam" to module mod_ldap
- dispatching auth request "getpwnam" to module mod_sql
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching auth request "getgrnam" to module mod_radius
- dispatching auth request "getgrnam" to module mod_ldap
- dispatching auth request "getgrnam" to module mod_sql
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: skipping 'mod_quota.c' section at line 124
- <IfModule>: skipping 'mod_ratio.c' section at line 139
- <IfModule>: using 'mod_delay.c' section at line 146
- <IfModule>: using 'mod_ctrls.c' section at line 150
- mod_ctrls/0.9.4: closing ctrls socket '/var/run/proftpd/proftpd.sock' (3)
- <IfModule>: using 'mod_ctrls_admin.c' section at line 158
server -
server - Config for server:
server - Limit
server - IgnoreHidden
server - /*
server - Umask
server - DirUmask
server - AllowOverwrite
server - HideNoAccess
server - ShowSymlinks
server - AllowStoreRestart
server - AllowForeignAddress
server - DisplayLogin
server - DisplayFirstChdir
server - ListOptions
server - DenyFilter
server - SQLAuthTypes
server - SQLAuthenticate
server - SQLConnectInfo
server - SQLMinID
server - RootLogin
server - TransferLog
server - PathDenyFilter
server - DeferWelcome
server - DefaultServer
server - ShowSymlinks
server - AllowOverwrite
server - IdentLookups
server - AllowStoreRestart
server - AllowForeignAddress
server - TimeoutLogin
server - TimeoutNoTransfer
server - TimeoutStalled
server - TimeoutIdle
server - DisplayLogin
server - DisplayFirstChdir
server - ListOptions
server - DenyFilter
server - DefaultRoot
server - UserID
server - UserName
server - GroupID
server - GroupName
server - DelayEngine
server - SQLBackend
server - SQLAuthTypes
server - SQLAuthenticate
server - SQLConnectInfo
server - SQLUserTable
server - SQLUsernameField
server - SQLPasswordField
server - SQLUidField
server - SQLGidField
server - SQLHomedirField
server - SQLShellField
server - SQLGroupTable
server - SQLGroupnameField
server - SQLGroupGIDField
server - SQLGroupMembersField
server - SQLMinID
server - RootLogin
server - TransferLog
server - ExtendedLog
server - PathDenyFilter
server - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
server - dispatching auth request "getgroups" to module mod_radius
server - dispatching auth request "getgroups" to module mod_ldap
server - dispatching auth request "getgroups" to module mod_sql
server - dispatching auth request "getgroups" to module mod_auth_file
server - dispatching auth request "getgroups" to module mod_auth_unix
server - ProFTPD 1.3.0 (stable) (built mar gen 2 10:57:47 CET 2007) standalone mode STARTUP
server (213.3.123.73[213.3.123.73]) - FTP session requested from unknown class
server (213.3.123.73[213.3.123.73]) - FTP session closed.
server (213.3.123.73[213.3.123.73]) - FTP session requested from unknown class
server (213.3.123.73[213.3.123.73]) - FTP session closed.
server - ProFTPD terminating (signal 2)
server - ProFTPD 1.3.0 standalone mode SHUTDOWN
server - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
</snip>

(the 4 lines before exiting are 2 connection attempts)

tcpdump of 1 connection attempt :

<dump>
vserver:~# tcpdump port ftp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
16:56:29.045840 IP xxx.xxx.xxx.xxx.cust.bluewin.ch.2901 > server.ftp: S 2764015773:2764015773(0) win 65535 <mss 1452,nop,wscale 1,nop,nop,sackOK>
16:56:29.045863 IP server.ftp > xxx.xxx.xxx.xxx.cust.bluewin.ch.2901: R 0:0(0) ack 2764015774 win 0
16:56:29.499317 IP xxx.xxx.xxx.xxx.cust.bluewin.ch.2901 > server.ftp: S 2764015773:2764015773(0) win 65535 <mss 1452,nop,wscale 1,nop,nop,sackOK>
16:56:29.499326 IP server.ftp > xxx.xxx.xxx.xxx.cust.bluewin.ch.2901: R 0:0(0) ack 1 win 0
16:56:30.155048 IP xxx.xxx.xxx.xxx.cust.bluewin.ch.2901 > server.ftp: S 2764015773:2764015773(0) win 65535 <mss 1452,nop,wscale 1,nop,nop,sackOK>
16:56:30.155057 IP server.ftp > xxx.xxx.xxx.xxx.cust.bluewin.ch.2901: R 0:0(0) ack 1 win 0

6 packets captured
6 packets received by filter
0 packets dropped by kernel
</dump>


I found sols about ipv6, mod_sql_postgres.c, wrong vftp user password.

Still didn't work Sad

Any solution, idea, hint is welcome.

lepetitalbert
(This post was last modified: 06-03-2008 06:12 AM by lepetitalbert.)
06-03-2008 01:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
lepetitalbert Offline
Junior Member
*

Posts: 17
Joined: Jun 2008
Reputation: 0
Post: #2
RE: cannot connect to ftp after fresh install
Hello again,

Ok, bug in my debugging !

Was the wrong vftp user account.

lepetitalbert
06-03-2008 05:55 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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