Ftp Problem

Discussion in 'Installation/Configuration' started by bisdiouf, Dec 20, 2006.

  1. bisdiouf

    bisdiouf New Member

    Hi,
    I just post my problem and I have'nt get good response. what's the problem with the ISPConfig web_interface? The FTP in local and with other applications like SmartFTP work good. But with the ISPConfig Web_FTP it isn't the case for uploading, founding the files under foldiers and creating new foldiers.
    Can some one help me to resolve this problem. I spent three (3) weeks to find the response.
    Thank you for help.
    Best Regards
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    What is the exact problem you get in webFTP?
     
  3. bisdiouf

    bisdiouf New Member

    I explain clearly the problem. I use Fedora Core 5
    Only login and logout work. Fours (4) problem with Web-FTP

    1- Can't open the folders to see the files (error: nothing)

    2- Can't delete any folders (error: /projet could not be deleted. The directory must be empty and you must own write permissions) it isn't the case

    3- Can't create new folder (error:nothing)

    4- Can't upload any file (error: FTP: Failed to write Array/.htaccess)

    When I use SmartFTP all this action work same when I use the shell.

    Thank you for help
    Best regards
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    How many folders and files does the website has (approx.) ? Does the sma behaviour happens with a new and empty site?
     
  5. bisdiouf

    bisdiouf New Member


    8 folders in default and I have give it an espace disk of 100 Mb. It means that the site is not empty.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Did you disable SELinux?

    Did you change the directories' permissions manually before you encountered these problems?
     
  7. bisdiouf

    bisdiouf New Member


    Yes I have disabled SELinux.

    No I haven't change them before. I have try to do it after I encountered these problems. I have set all permissions to the directories but il not work.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    Are the 100 MB in size many small files like HTML pages?
     
  9. bisdiouf

    bisdiouf New Member

    There are 14 small files like HTML pages in /web/error . But if I run the command line "du -m" in the web directory (cgi-bin, ftp, log, mail, phptmp, ssl, user and web), it give me 1M in size. I don't think that it is a problem of size. It seems to be problem of access. Can you tell me the default file we use to access to the web_ftp interface?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Which default file do you mean? The php code for the WebFTP interface is in the file /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_webftp.lib.php
     
  11. bisdiouf

    bisdiouf New Member

    yes.
    But I see nothing. It seems all the syntax are correct. Can I delete the web_ftp in the interface with his all options. I want to desable it if it dosen't work propely.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    If you delete the WebFTP files, you will get errors in the interface. I really dont know why it does not work on your server while it works on many other servers and I guess the error can not be found without debugging the files on your server.
     
  13. bisdiouf

    bisdiouf New Member

    How can I debug the files?
    I see in the forum users who have the same problem like me. When I look at the link I dont find any response. I dont now too why it is does not work on my server.
    I sorry.
    Yours
     
  14. f16flcn

    f16flcn New Member

    Same problem

    Hi,

    I am experiencing the exact same problem -- using ubuntu 6.10 and ProFTP 1.3.1.

    FTP works fine through normal FTP clients but not through the ISPConfig web interface.

    help would be appreciated!!

    Kind regards,

    Mickel
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Which error do you get exactly in the WebFTP interface?
     
  16. f16flcn

    f16flcn New Member

    Hi,

    Thank you for your response.

    I receive the following error messages:

    on delete: /index.html.temp could not be deleted.

    on create folder: no error message (but no folder is created)

    on delete folder: /ssl could not be deleted. The directory must be empty and you must own write permissions. (the folder is empty)

    on chance permissions: Moving the directory failed.

    on protect folder: FTP: Failed to write /log/.htpasswd

    on upload: FTP: Failed to write Array/.htaccess


    Thank you,

    Mickel
     
  17. electroISP

    electroISP New Member

    make changes to /etc/proftpd.conf

    mickel in /etc/proftpd.conf did you comment out the lines
    # Bar use of SITE CHMOD by default
    # <Limit SITE_CHMOD>
    # DenyAll
    # </Limit>

    ??? just a suggestion
     
  18. f16flcn

    f16flcn New Member

    Yes - I had already removed that configuration bit.

    This is my config (hope its ok if I post this):

    # Includes DSO modules
    Include /etc/proftpd/modules.conf

    ServerName "###"
    ServerType standalone
    DeferWelcome off

    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks on

    TimeoutNoTransfer 600
    TimeoutStalled 600
    TimeoutIdle 1200

    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    ListOptions "-l"

    DenyFilter \*.*/

    Port 21

    MaxInstances 30

    User proftpd
    Group nogroup

    Umask 022 022

    AllowOverwrite on


    TransferLog /var/log/proftpd/xferlog
    SystemLog /var/log/proftpd/proftpd.log

    <IfModule mod_tls.c>
    TLSEngine off
    </IfModule>

    <IfModule mod_quota.c>
    QuotaEngine on
    </IfModule>

    <IfModule mod_ratio.c>
    Ratios on
    </IfModule>

    <IfModule mod_delay.c>
    DelayEngine on
    </IfModule>

    <IfModule mod_ctrls.c>
    ControlsEngine on
    ControlsMaxClients 2
    ControlsLog /var/log/proftpd/controls.log
    ControlsInterval 5
    ControlsSocket /var/run/proftpd/proftpd.sock
    </IfModule>

    <IfModule mod_ctrls_admin.c>
    AdminControlsEngine on
    </IfModule>

    proftpd_ispconfig.conf

    DefaultAddress 127.0.0.1
    <VirtualHost ###>
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    </VirtualHost>
    <VirtualHost ###>
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    </VirtualHost>
    <VirtualHost ###>
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    </VirtualHost>



    Kind Regards,

    Mickel
     

Share This Page