Current time: 04-20-2024, 06:43 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] FTP doesn't let in
Author Message
Naradam Offline
Junior Member
*

Posts: 32
Joined: Nov 2007
Reputation: 0
Post: #11
RE: FTP doesn't let in
joximu Wrote:Can you post the record in the ftp_user table (db ispcp) - from this user.

Jpg atteched, plus:

- Wink - ll /var/www/virtual/netoriginal.eu/
total 24
drwxrwx--- 2 vu2001 www-data 4096 Mar 11 00:00 backups
drwxr-xr-x 2 vu2001 vu2001 4096 Feb 21 19:21 cgi-bin
drwxrwxr-x 3 vu2001 vu2001 4096 Feb 21 19:21 errors
drwxrwxr-x 3 vu2001 vu2001 4096 Feb 21 19:21 htdocs
drwxrwx--- 2 vu2001 www-data 4096 Feb 22 00:00 logs
drwxrwx--- 2 vu2001 www-data 4096 Feb 21 19:21 phptmp

joximu Wrote:and maybe the proftpd.conf - something seems strange with the "~"

/J

Attached


Attached File(s)
.zip  ftpusers+conf.zip (Size: 15.8 KB / Downloads: 3)
(This post was last modified: 03-12-2008 01:43 AM by Naradam.)
03-12-2008 01:17 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: #12
RE: FTP doesn't let in
Hi

still strange... :-(

maybe you can find something if running proftpd with debug infos:

stop proftpd and then start it this way:

proftpd -n -d 5

(stopped with quitting by Ctrl C or so)

and have a look what's printed on the screen while connecting

/J
03-12-2008 01:27 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Naradam Offline
Junior Member
*

Posts: 32
Joined: Nov 2007
Reputation: 0
Post: #13
RE: FTP doesn't let in
joximu Wrote:Hi

still strange... :-(

maybe you can find something if running proftpd with debug infos:

stop proftpd and then start it this way:

proftpd -n -d 5

(stopped with quitting by Ctrl C or so)

and have a look what's printed on the screen while connecting

/J

I've attached the log while connecting...
Idea? Sad


Attached File(s)
.zip  proftpd.zip (Size: 1.12 KB / Downloads: 3)
(This post was last modified: 03-12-2008 01:51 AM by Naradam.)
03-12-2008 01:50 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: #14
RE: FTP doesn't let in
idea?

yes!

I compared to my server and did not found the line
Quote:notice: unable to use '~/' [resolved to '/var/www/virtual/domain1.tld/']: Permission denied
until I modified the permissions of /var/www/virtual

so *please* check the whole way down from / until /var/www/virtual/yourdomain/ if the permissions are set correct (so the user can go there).

Code:
ispcp-dev:~/var_www# ls -ld /var
drwxr-xr-x 16 root root 4096 2008-03-10 02:32 /var
ispcp-dev:~/var_www# ls -ld /var/www
drwxr-xr-x 8 root root 4096 2008-03-10 05:17 /var/www
ispcp-dev:~/var_www# ls -ld /var/www/virtual/
drwxr-xr-x 4 vu2000 www-data 4096 2008-03-11 00:07 /var/www/virtual/
ispcp-dev:~/var_www# ls -ld /var/www/virtual/domain1.tld/
drwxrwx--- 8 vu2001 www-data 4096 2008-03-11 00:16 /var/www/virtual/domain1.tld/

I think it's the execute permission in virtual - but see by yourself. You can solve it now.

/J
03-12-2008 02:15 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: #15
RE: FTP doesn't let in
... and then tell us why the permissions were false.
03-12-2008 02:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Naradam Offline
Junior Member
*

Posts: 32
Joined: Nov 2007
Reputation: 0
Post: #16
RE: FTP doesn't let in
You've got it! Smile

Very big thanks, how can I send you a pack of beers? Smile

Btw, I don't know why were the permissions false. I havn't changed them (manually), as I know.

Thanks again! Smile

Have a nice day Wink
03-12-2008 03:57 AM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #17
RE: [SOLVED] FTP doesn't let in
Maybe you give them a reputation Wink
03-12-2008 04:14 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: #18
RE: [SOLVED] FTP doesn't let in
gOOvER Wrote:Maybe you give them a reputation Wink

is better than beer :-)
03-12-2008 05:30 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)