Probs with proftpd - 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: Probs with proftpd (/thread-7546.html) |
Probs with proftpd - avispa987 - 08-19-2009 12:27 PM hi there, i tried to solve the problem with the wiki guide =), i solved one but i still have problems to login. The problem is, i created an ftp account in ispcp and then i try to login in my ftp client, and 530 Login incorrect. .... i dont know why it doesnt work, i changed the user and password to access to the mysql (/etc/proftpd.conf) i changed this like ... --> SQLConnectInfo ispcp@localhost vftp2 ******* if any1 tellme what should be happening i will apreciate =)... i put proftpd in debug mode and this happens when i try to log. server2.universe-xt.com (190.176.163.235[190.176.163.235]) - FTP session opened. server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'USER dos@l2xt.com' to mod_tls server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'USER dos@l2xt.com' to mod_core server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'USER dos@l2xt.com' to mod_core server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'USER dos@l2xt.com' to mod_delay server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'USER dos@l2xt.com' to mod_auth server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching CMD command 'USER dos@l2xt.com' to mod_auth server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching POST_CMD command 'USER dos@l2xt.com' to mod_sql server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching POST_CMD command 'USER dos@l2xt.com' to mod_delay server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching LOG_CMD command 'USER dos@l2xt.com' to mod_sql server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching LOG_CMD command 'USER dos@l2xt.com' to mod_log server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_tls server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_core server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_sql server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_delay server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching PRE_CMD command 'PASS (hidden)' to mod_auth server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching CMD command 'PASS (hidden)' to mod_auth server2.universe-xt.com (190.176.163.235[190.176.163.235]) - USER dos@l2xt.com (Login failed): No such user found. server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_sql server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching POST_CMD_ERR command 'PASS (hidden)' to mod_delay server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_sql server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_log server2.universe-xt.com (190.176.163.235[190.176.163.235]) - dispatching LOG_CMD_ERR command 'PASS (hidden)' to mod_auth server2.universe-xt.com (190.176.163.235[190.176.163.235]) - FTP session closed. Thanks in advance Other thing when i try to open PhpMyAdmin the browser shows this error Code: PHP 5.2+ is required attached its my proftpd.conf (/etc/proftpd.conf) SOLVED the proftpd problem, i just had to comment this two lines AuthPAMConfig proftpd AuthOrder mod_sql.c mod_auth_pam.c* mod_auth_unix.c EDIT 2: My proftpd still having errors, now im not able to write nothing on the host but im able to read... any advices? RE: Probs with proftpd - fhawk - 08-21-2009 02:13 AM Edit /etc/proftpd.conf change: AuthOrder mod_sql.c mod_auth_pam.c* mod_auth_unix.c to: AuthOrder mod_sql.c mod_auth_pam.c mod_auth_unix.c RE: Probs with proftpd - avispa987 - 08-21-2009 10:41 AM Thank you, but still saying 550 index.html: Permission denied i dont know what else to do, thx in advance. and what i have to do with the PMA? Because it say PHP 5.2+ is required RE: Probs with proftpd - joximu - 08-21-2009 05:21 PM ftp: user not found != access denied pma: install PHP 5.2 or get an older pma version and install this (just keep the config file and maybe theme!) phpmyadmin-website Wrote:Since version 3.0.0, phpMyAdmin joined the GoPHP5 initiative and dropped compatibility code for older PHP and MySQL versions; version 3 and later requires at least PHP 5.2 and MySQL 5. To use with older PHP or MySQL versions, use the older (but still maintained) branch of 2.x releases, which you can find on the download page. RE: Probs with proftpd - avispa987 - 08-22-2009 02:34 AM (08-21-2009 05:21 PM)joximu Wrote: ftp: Thanks.. But i solved that ftp problem, now i have another, the ftp dont let me write anything, it seems i dont have permissions, dunno why,... and how can i install php 5.2? ispcp will continuing working if i do that? RE: Probs with proftpd - kilburn - 08-22-2009 04:32 AM Post your proftpd.conf please, and the permissions of the home folder for the user you're connecting as (ls -lah /var/www/virtual/domain.tld). RE: Probs with proftpd - joximu - 08-22-2009 06:49 AM about php: ispcp runs also with php 5.2. But maybe it's easier to use an old-stable version from pma - this is not a security risk since the older version is still maintained. /J RE: Probs with proftpd - avispa987 - 08-22-2009 09:15 AM (08-22-2009 04:32 AM)kilburn Wrote: Post your proftpd.conf please, and the permissions of the home folder for the user you're connecting as (ls -lah /var/www/virtual/domain.tld). this is the result of -lah /var/www/virtual/l2xt.com drwxrwx--- 10 vu2004 apache 4.0K Aug 19 17:45 . drwxr-xr-x 3 vu2000 apache 4.0K Aug 18 16:51 .. drwxrwx--- 2 vu2004 apache 4.0K Aug 18 16:51 backups -rw-r--r-- 1 vu2001 vu2001 33 Aug 18 16:51 .bash_logout -rw-r--r-- 1 vu2001 vu2001 176 Aug 18 16:51 .bash_profile -rw-r--r-- 1 vu2001 vu2001 124 Aug 18 16:51 .bashrc drwxr-xr-x 2 vu2004 vu2004 4.0K Aug 18 16:51 cgi-bin drwxrwxr-x 3 vu2004 vu2004 4.0K Aug 18 16:51 errors drwxrwxr-x 3 vu2001 vu2001 4.0K Aug 19 02:36 htdocs -rw-r--r-- 1 root root 21 Aug 19 17:45 .htgroup -rw-r--r-- 1 root root 45 Aug 19 17:44 .htpasswd drwxrwx--- 2 vu2004 apache 4.0K Aug 18 16:51 logs drwxr-xr-x 4 vu2001 vu2001 4.0K Aug 18 16:51 .mozilla drwxrwx--- 2 vu2004 apache 4.0K Aug 18 16:51 phptmp drwxr-xr-x 2 vu2002 vu2002 4.0K Aug 18 18:22 statistics and my proftpd.conf is attached in the first post RE: Probs with proftpd - kilburn - 08-22-2009 03:59 PM Your proftpd.conf file looks right, so it should be a permissions problem. Which are the permission on this "index.html" file? Can you upload a file to the user's root (you should)? RE: Probs with proftpd - joximu - 08-22-2009 04:56 PM @avispa987 you have 5 different owners ion the same virtual-host root???? l2xt.com is vu2004, right? so every folder in his root should belong to vu2004:vu2004 (or group apache), which is not the case at least for htdocs - so, no wonder why you cannot write there. You never should copy on the shell (from one to another account), always use ftp if you're not sure about the permissions/owners. /J |