ftp will not work after install - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: ftp will not work after install (/thread-12518.html) |
ftp will not work after install - rleon - 12-25-2010 01:25 AM I have installed this application on at least 5 occasions [clean reinstall with drive wipe] and consistently - the ftp will work prior to installation for my ubuntun10.04 machine and then after the installation/setup the ftp will no longer work. Have tried the 'user@domain.com' and the 'user' version of the login. nothing will work for login after the installation/setup has completed. Have re-installed the ftpd component and nothing works to fix the ftp accessibility after the installation. Has anyone had this experience and if so, what did you do to fix the ftp service. This is the only major obstacle for me using this control panel. All components are excellent and everything works excellently except that I can no longer ftp to the machine and transfer files. Only one 'stop-work' issue but its a good one and has stumped me. Any assistance will be appreciated. RE: ftp will not work after install - motokochan - 12-25-2010 06:21 AM Have you tried running ProFTPd in debug mode? Have you checked that the configuration is set up properly for ispCP? RE: ftp will not work after install - rleon - 12-25-2010 09:08 AM Hi moto and Thank you for your reply, I reinstalled [format/from scratch] again. The following is symptom of problem: BEFORE ISP-OMEGA install the ftp session to box: C:\temp>ftp myserveraddress Connected to server.dom.org. 220 ProFTPD 1.3.2c Server (Debian) [::ffff:address] User (server.dom.org:(none)):<me> 331 Password required for <me> Password: 230 User <me> logged in ftp> pwd 257 "/home/<me>" is the current directory ftp> bye 221 Goodbye. IMMEDIATELY after running the perl ispcp-setup command as specified in: http://isp-control.net/documentation/start/installation/ubuntu C:\temp>ftp server.dom.org Connected to server.dom.org. 220 ProFTPD 1.3.2c Server (ns1.dom.org) [address] User (server.com.org:(none)): <me> 331 Password required for <me> Password: 530 Login incorrect. Login failed. ftp> This is command line ftp using a root level login user. I have also tried using a userid that was created through the gui interface. The error comes back as 'login incorrect'. BTW: Have tried it using the WSFTP client and the command line from both windows based and from linux based login. This appears to be a great package, but the ftp problem is a major stopper. If anyone knows the answer, then that person would be a HERO. ------------------------------- This has happened each time that I have completed the installation. The installation goes through without problems and I am able to create another admin, a reseller, a user and some domains. However, nothing has allowed the ftp to work correctly. As requested, I have attached the output of the debug command [proftpd -td5]: Checking syntax of configuration file - using TCP receive buffer size of 87380 bytes - using TCP send buffer size of 16384 bytes - mod_tls/2.2.2: using OpenSSL 0.9.8k 25 Mar 2009 - disabling runtime support for IPv6 connections - DenyFilter: compiling deny regex '\*.*/' - <Directory /*>: deferring resolution of path - PathDenyFilter: compiling deny regex '.quota$' - <IfModule>: using '!mod_sql.c' section at line 118 - <IfModule>: using '!mod_sql_mysql.c' section at line 122 - <IfModule>: skipping '!mod_quotatab.c' section at line 125 - <IfModule>: using '!mod_quotatab_sql.c' section at line 128 - <IfModule>: using 'mod_quotatab.c' section at line 148 - <IfModule>: skipping 'mod_ratio.c' section at line 163 - <IfModule>: using 'mod_delay.c' section at line 170 - <IfModule>: using 'mod_ctrls.c' section at line 174 - <IfModule>: using 'mod_ctrls_admin.c' section at line 182 - processing configuration directory '/etc/proftpd/ispcp' - <Directory ~/backups>: deferring resolution of path - <Directory ~/backups/*>: deferring resolution of path - <Directory ~/cgi-bin>: deferring resolution of path - <Directory ~/cgi-bin/*>: deferring resolution of path - <Directory ~/htdocs>: deferring resolution of path - <Directory ~/htdocs/*>: deferring resolution of path - <Directory ~/disabled>: deferring resolution of path - <Directory ~/errors>: deferring resolution of path - <Directory ~/errors/*>: deferring resolution of path - <Directory ~/errors>: deferring resolution of path - <Directory ~/errors/*>: deferring resolution of path - <Directory ~/logs>: deferring resolution of path - <Directory ~/logs/*>: deferring resolution of path - <Directory ~/phptmp>: deferring resolution of path - <Directory ~/phptmp/*>: deferring resolution of path - <Directory ~/statistics>: deferring resolution of path - <Directory ~/statistics/*>: deferring resolution of path ns1.apps40east.com - ns1.apps40east.com - Config for ns1.apps40east.com: ns1.apps40east.com - ~/statistics/* ns1.apps40east.com - Limit ns1.apps40east.com - AllowAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/statistics ns1.apps40east.com - Limit ns1.apps40east.com - DenyAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/phptmp/* ns1.apps40east.com - Limit ns1.apps40east.com - AllowAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/phptmp ns1.apps40east.com - Limit ns1.apps40east.com - DenyAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/logs/* ns1.apps40east.com - Limit ns1.apps40east.com - AllowAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/logs ns1.apps40east.com - Limit ns1.apps40east.com - DenyAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/errors/* ns1.apps40east.com - Limit ns1.apps40east.com - AllowAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/errors ns1.apps40east.com - Limit ns1.apps40east.com - DenyAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserUID ns1.apps40east.com - SQLMinUserGID ns1.apps40east.com - RootLogin ns1.apps40east.com - TransferLog ns1.apps40east.com - PathDenyFilter ns1.apps40east.com - ~/disabled ns1.apps40east.com - Limit ns1.apps40east.com - DenyAll ns1.apps40east.com - ShowSymlinks ns1.apps40east.com - AllowOverwrite ns1.apps40east.com - AllowStoreRestart ns1.apps40east.com - AllowForeignAddress ns1.apps40east.com - TimeoutNoTransfer ns1.apps40east.com - TimeoutStalled ns1.apps40east.com - TimeoutIdle ns1.apps40east.com - DisplayLogin ns1.apps40east.com - DisplayChdir ns1.apps40east.com - ListOptions ns1.apps40east.com - DenyFilter ns1.apps40east.com - SQLNamedQuery_get-quota-limit ns1.apps40east.com - SQLNamedQuery_get-quota-tally ns1.apps40east.com - SQLNamedQuery_update-quota-tally ns1.apps40east.com - SQLNamedQuery_insert-quota-tally ns1.apps40east.com - SQLAuthTypes ns1.apps40east.com - SQLAuthenticate ns1.apps40east.com - SQLConnectInfo ns1.apps40east.com - SQLMinUserUID RE: ftp will not work after install - motokochan - 12-25-2010 05:13 PM (12-25-2010 09:08 AM)rleon Wrote: IMMEDIATELY after running the perl ispcp-setup command as specified in: http://isp-control.net/documentation/start/installation/ubuntu The first part is correct behavior. Once setup, you should only be able to connect to FTP by the users you set up through ispCP. System usernames will not work. When you connect as the FTP user you created,, how do you format the username? It should be username@domain. Also, remember that you have to create an FTP user. The control panel login won't work for FTP. RE: ftp will not work after install - rleon - 12-26-2010 07:26 AM Hi Moto; I was able to finally get the ftp to work. Do not really remember the solution, but I do remember that at the end I used the user@dom format that you suggest. I now have another problem with the domains not setting up as separate accounts. I think that maybe some of my troubleshooting steps might have currupted some files so I am going to reformat and start again from scratch. I'v done this so many times that all of the attempts are starting to run together without differentiation. Hopefully, this time will be the time that eerything works correctly without glitches. Thanks for your assistance and your care. It is good to have someone that will try to help and that cares that we users overcome our 'user headspace' problems. Thanks for your assistance and have a wonderful year-end holiday season (12-25-2010 05:13 PM)motokochan Wrote:(12-25-2010 09:08 AM)rleon Wrote: IMMEDIATELY after running the perl ispcp-setup command as specified in: http://isp-control.net/documentation/start/installation/ubuntu RE: ftp will not work after install - barontracy - 12-28-2010 04:02 AM Well, I had happened once before, if it is a monolithic kernel, then passive FTP (PASV) work.So not likely to have to open some ports for the FTP server if not pure-ftpd can add the port range 30000:35000 TCP_IN and add the following line in / etc / pure-ftpd.conf: PassivePortRange 30 000 35 000 RE: ftp will not work after install - rleon - 12-28-2010 05:10 AM Thanks byrontracy, I was able to get it to work. It seems that I did not understand the design of ispOmega ftp. I expected to be able to ftp using a root level account after the installation, but the application takes control of the ftp and requires login using the user@domain format. It also changes the root level ssh users accounts that previously were able to ftp into the box. I do not fully understand the new requirements but I have been able to create users with the ispCP interface. These are working and I was able to use WINSCP to copy files for users who have ssh access. As of now, it is working well. My next task will be adding the ssl certificate and the billing functionality. These come later, but for now the foundation is working good. Thanks for the assist. It is good to know that people like motochan and yourself are out there to help us work through these problems. (12-28-2010 04:02 AM)barontracy Wrote: Well, I had happened once before, if it is a monolithic kernel, then passive FTP (PASV) work.So not likely to have to open some ports for the FTP server if not pure-ftpd can add the port range 30000:35000 TCP_IN and add the following line in RE: ftp will not work after install - motokochan - 12-28-2010 07:30 AM (12-28-2010 05:10 AM)rleon Wrote: Thanks byrontracy, byrontracy is a spambot. Half of what they posted didn't make sense. (monolithic kernel affecting passive FTP? Completely idiotic as they have nothing to do with each other.) The other half appears to be text from similar-sounding posts on this forum. Common spammer tactic. (12-28-2010 05:10 AM)rleon Wrote: I was able to get it to work. It seems that I did not understand the design of ispOmega ftp. I expected to be able to ftp using a root level account after the installation, but the application takes control of the ftp and requires login using the user@domain format. It also changes the root level ssh users accounts that previously were able to ftp into the box. I do not fully understand the new requirements but I have been able to create users with the ispCP interface. These are working and I was able to use WINSCP to copy files for users who have ssh access. As of now, it is working well. The default setup allows any user with a shell account to connect with FTP as well. When ispCP installs, it switches to virtual-user-only. You can always switch to using both. The big problem is that the website configuration won't work by using shell users as suEXEC will prevent any code from executing if it has the wrong owner. If the users with shell access will only be accessing files in their home directories, then you can safely switch to using both user types. RE: ftp will not work after install - rleon - 12-28-2010 10:41 PM Hi motokochan I am not a spambot. If you want to examine my installation; you may do so by visiting http://www.getaneducationonline.com/ . I did not understand the workings of ispCP when I started and I posted the error logs as I saw them. It was an attempt to give more information. Somehow that information and the frustration of my thoughts gave you the impression of 'not making sense' ... OK, that is fine, but I did have the problem and had to work through it. I apologize to you that it somehow was not coherent and made you think of a spambot. IF you email me; I will send you link to my resume and to other websites that I have configured. My normal operation is in the Windows world; did not know that if you ask a question on the linux side then you had to KNOW everything prior to asking the question or the people who work on this side will judge you as unworthy of their assistance. I can give you my phone number if you would like to talk person to person about this judgment of me as a spambot. RE: ftp will not work after install - rleon - 12-29-2010 12:12 AM Motochan, I apologize to you. I did not read your post correctly. You were stating that byrontracy was a spambot. I apologize for my outburst. Thank you for being a caring person who gives assistance out here. You do not deserve to be dumped on and I apologize to you for not reading the post clearly. |