ispCP - Board - Support
proftpd connection not possible - 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: proftpd connection not possible (/thread-15096.html)



proftpd connection not possible - Lirion - 09-14-2011 06:28 PM

Hello there,

unfortunately I'm in the current situation that I have to solve problems for a customer on a somehow messed-up system.

Please don't block this request by the version numbers only, said customer's IT service did not update the system for aeons now, but I hope for first instance I still can enable FTP connects, for this HAS TO BE done before migrating the whole system to some stable state.

Now, what is my problem?

The ispCP backend is somehow instable. I can't switch to any user anymore. So far, so good. What I want to do now is change the FTP passwords for the users. I tried this by doing this on the system itself (Debian), and after a restart of the proftpd I can't even reach the server. Error message is:

Connected to xxx.
421 Service not available, remote server has closed connection

However, I can edit the MySQL database now, I can edit the configs, I can do fairly anything - but I still don't know exactly how ispCP takes influence on the system configuration.

Any help?

Debug follows.
Debug #1: proftpd -n -5

- 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
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- DenyFilter: compiling deny regex '\*.*/'
- <Directory /*>: deferring resolution of path
- PathDenyFilter: compiling deny regex '.quota$'
- <IfModule>: using 'mod_delay.c' section at line 84
xxx.xxx.xx -
xxx.xxx.xx - Config for {HOST_NAME}:
xxx.xxx.xx - Limit
xxx.xxx.xx - IgnoreHidden
xxx.xxx.xx - /*
xxx.xxx.xx - Umask
xxx.xxx.xx - DirUmask
xxx.xxx.xx - AllowOverwrite
xxx.xxx.xx - HideNoAccess
xxx.xxx.xx - ShowSymlinks
xxx.xxx.xx - AllowStoreRestart
xxx.xxx.xx - AllowForeignAddress
xxx.xxx.xx - DisplayLogin
xxx.xxx.xx - DisplayFirstChdir
xxx.xxx.xx - DenyFilter
xxx.xxx.xx - SQLAuthTypes
xxx.xxx.xx - SQLAuthenticate
xxx.xxx.xx - SQLConnectInfo
xxx.xxx.xx - SQLMinID
xxx.xxx.xx - SQLNamedQuery_get-quota-limit
xxx.xxx.xx - SQLNamedQuery_get-quota-tally
xxx.xxx.xx - SQLNamedQuery_update-quota-tally
xxx.xxx.xx - SQLNamedQuery_insert-quota-tally
xxx.xxx.xx - RootLogin
xxx.xxx.xx - TransferLog
xxx.xxx.xx - PathDenyFilter
xxx.xxx.xx - DeferWelcome
xxx.xxx.xx - ShowSymlinks
xxx.xxx.xx - DefaultServer
xxx.xxx.xx - ShowSymlinks
xxx.xxx.xx - AllowOverwrite
xxx.xxx.xx - IdentLookups
xxx.xxx.xx - AllowStoreRestart
xxx.xxx.xx - AllowForeignAddress
xxx.xxx.xx - TimeoutNoTransfer
xxx.xxx.xx - TimeoutStalled
xxx.xxx.xx - TimeoutIdle
xxx.xxx.xx - DisplayLogin
xxx.xxx.xx - DisplayFirstChdir
xxx.xxx.xx - DenyFilter
xxx.xxx.xx - DefaultRoot
xxx.xxx.xx - UserID
xxx.xxx.xx - UserName
xxx.xxx.xx - GroupID
xxx.xxx.xx - GroupName
xxx.xxx.xx - DelayEngine
xxx.xxx.xx - SQLBackend
xxx.xxx.xx - SQLAuthTypes
xxx.xxx.xx - SQLAuthenticate
xxx.xxx.xx - SQLConnectInfo
xxx.xxx.xx - SQLUserTable
xxx.xxx.xx - SQLUsernameField
xxx.xxx.xx - SQLPasswordField
xxx.xxx.xx - SQLUidField
xxx.xxx.xx - SQLGidField
xxx.xxx.xx - SQLHomedirField
xxx.xxx.xx - SQLShellField
xxx.xxx.xx - SQLGroupTable
xxx.xxx.xx - SQLGroupnameField
xxx.xxx.xx - SQLGroupGIDField
xxx.xxx.xx - SQLGroupMembersField
xxx.xxx.xx - SQLMinID
xxx.xxx.xx - QuotaEngine
xxx.xxx.xx - QuotaShowQuotas
xxx.xxx.xx - QuotaDisplayUnits
xxx.xxx.xx - SQLNamedQuery_get-quota-limit
xxx.xxx.xx - SQLNamedQuery_get-quota-tally
xxx.xxx.xx - SQLNamedQuery_update-quota-tally
xxx.xxx.xx - SQLNamedQuery_insert-quota-tally
xxx.xxx.xx - QuotaLock
xxx.xxx.xx - QuotaLimitTable
xxx.xxx.xx - QuotaTallyTable
xxx.xxx.xx - RootLogin
xxx.xxx.xx - TransferLog
xxx.xxx.xx - ExtendedLog
xxx.xxx.xx - SQLLogFile
xxx.xxx.xx - PathDenyFilter
xxx.xxx.xx - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
xxx.xxx.xx - error setting IPV6_V6ONLY: Protocol not available
xxx.xxx.xx - ProFTPD 1.3.0 (stable) (built Tue Nov 4 14:38:05 UTC 2008) standalone mode STARTUP
xxx.xxx.xx - ProFTPD terminating (signal 2)
xxx.xxx.xx - ProFTPD 1.3.0 standalone mode SHUTDOWN
xxx.xxx.xx - deleting existing scoreboard '/var/run/proftpd/proftpd.scoreboard'
Debug #2: System information

OS: Debian 4.0 Etch (sic)
ispCP version: ispCP 1.0rc3 OMEGA (sic)
proFTP version: 1.3.0
MySQL version: 5.0.32-7etch10


And again, please don't blame me for those old versions - I want to help now and until now the customer didn't know sh** about properly caring for a web server. I just need help, if there is any in the current state... :/
And some further information: the system seems to have been installed via some alpha release back in the old days, and seems to have been updated to this rc3 release ... several weeks ago.

Also, I changed the mysql root password since nobody knew this, and updated the ispCP configuration to the new password by deleting it from the config file and calling the ./engine/ispcp-db-password routine thereafter. The backend works, however, I still can't switch users.