ispCP - Board - Support
[SOLVED] FTP doesn't let in - 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: [SOLVED] FTP doesn't let in (/thread-2646.html)

Pages: 1 2


RE: FTP doesn't let in - Naradam - 03-12-2008 01:17 AM

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


RE: FTP doesn't let in - joximu - 03-12-2008 01:27 AM

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


RE: FTP doesn't let in - Naradam - 03-12-2008 01:50 AM

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


RE: FTP doesn't let in - joximu - 03-12-2008 02:15 AM

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


RE: FTP doesn't let in - joximu - 03-12-2008 02:16 AM

... and then tell us why the permissions were false.


RE: FTP doesn't let in - Naradam - 03-12-2008 03:57 AM

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


RE: [SOLVED] FTP doesn't let in - gOOvER - 03-12-2008 04:14 AM

Maybe you give them a reputation Wink


RE: [SOLVED] FTP doesn't let in - joximu - 03-12-2008 05:30 AM

gOOvER Wrote:Maybe you give them a reputation Wink

is better than beer :-)