Ftp Conection problem

Discussion in 'Installation/Configuration' started by K_meleonu, May 17, 2006.

  1. K_meleonu

    K_meleonu Member

    I have a problem with ftp connection.
    I have triyed to connect to my server by ftp using:
    Server IP
    web9_alex as a user
    selected password for the password
    Now, the problem is that i can't connect to the server. I get the folowing message:
    Status: Connected with XX.XXX.XXX.XXX. Waiting for welcome message...
    Response: 220 vsFTPd
    Command: USER web9_alex
    Response: 331 Please specify the password.
    Command: PASS *********
    Response: 500 OOPS: cannot change directory:/var/www/html/web9
    Response: 500 OOPS: child died
    Error: Unable to connect!
    Can someone tell me what should i do?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    ls -la /var/www/html/web9
  3. K_meleonu

    K_meleonu Member

    Here it is:

    [root@CrazyDesign ~]# ls -la /var/www/html/web9
    total 108
    drwxr-xr-x 8 apache web9 4096 May 18 04:00 .
    drwxr-xr-x 6 root root 4096 May 18 01:54 ..
    drwxrwxr-x 2 apache web9 4096 May 17 23:49 cgi-bin
    -rw------- 1 web9_alex web9 24 May 18 01:52 .forward
    -rw-rw-r-- 1 root web9 24 May 18 04:00 .htpasswd
    -r-xr-xr-x 1 root root 4610 May 17 23:51 index.html
    drwxr-xr-x 2 apache web9 4096 May 18 00:01 log
    lrwxrwxrwx 1 root root 41 May 18 01:52 Maildir -> /var/www/html/web9/user/web9_alex/Maildir
    drwxrwxrwx 2 apache web9 4096 May 17 23:49 phptmp
    -rw-r--r-- 1 root root 485 May 18 01:52 .procmailrc
    drwxr-xr-x 2 apache web9 4096 May 17 23:49 ssl
    drwxr-xr-x 3 apache web9 4096 May 17 23:49 user
    lrwxrwxrwx 1 root root 49 May 18 01:52 .vacation.cache -> /var/www/html/web9/user/web9_alex/.vacation.cache
    drwxrwxr-x 4 apache web9 4096 May 18 04:00 web
  4. falko

    falko Super Moderator Howtoforge Staff

    Is web9_alex the admin of the web site?
  5. K_meleonu

    K_meleonu Member

    No. That is an user i have made to test the ISPconfig control panel. It work's just fine excepting the FTP connection and e-mail. The biggest problem is the FTP connection. That is what i want you or someone else to help me to solve. If you want of course. I would be more than thankfull.
  6. falko

    falko Super Moderator Howtoforge Staff

    /var/www/html/web9 isn't the homedir of web9_alex, so he should not have access to that directory. What's in /etc/vsftpd.conf?
  7. K_meleonu

    K_meleonu Member

    doesn't matter the user or the folder that user has. it gioves me the same error.
    i do not have vsftpd.conf
    i only have:

    if i change the folder where the site's will be uploaded ( meaning if i put instead of /var/www/html /home/public_html) i can connect by ftp and upload/download . but the problem is that if i do this i can't see the site by typing in a browser http://my-ip/user/
  8. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    ls -la /etc/vsftp*

    You cannot use an IP address to access a web site created with ISPConfig. These web sites are name-based vhosts. i.e. you must always use the appropriate FQDN to see the site.

Share This Page