Current time: 12-24-2024, 11:26 AM Hello There, Guest! (LoginRegister)


Post Reply 
Probs with proftpd
Author Message
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #1
Probs with proftpd
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 Tongue when i try to open PhpMyAdmin the browser shows this error
Code:
PHP 5.2+ is required
P.S: I am on CentOS

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?


Attached File(s)
.txt  proftpd.txt (Size: 7.88 KB / Downloads: 8)
(This post was last modified: 08-20-2009 09:11 AM by avispa987.)
08-19-2009 12:27 PM
Find all posts by this user Quote this message in a reply
fhawk Offline
Junior Member
*

Posts: 29
Joined: Mar 2009
Reputation: 1
Post: #2
RE: Probs with proftpd
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
(This post was last modified: 08-21-2009 02:14 AM by fhawk.)
08-21-2009 02:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #3
RE: Probs with proftpd
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
(This post was last modified: 08-21-2009 10:42 AM by avispa987.)
08-21-2009 10:41 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Probs with proftpd
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.
(This post was last modified: 08-21-2009 05:22 PM by joximu.)
08-21-2009 05:21 PM
Visit this user's website Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #5
RE: Probs with proftpd
(08-21-2009 05:21 PM)joximu Wrote:  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.

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?
08-22-2009 02:34 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #6
RE: Probs with proftpd
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).
08-22-2009 04:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Probs with proftpd
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
08-22-2009 06:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #8
RE: Probs with proftpd
(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
08-22-2009 09:15 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #9
RE: Probs with proftpd
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)?
08-22-2009 03:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: Probs with proftpd
@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
08-22-2009 04:56 PM
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: 3 Guest(s)