Web-FTP not displaying anything

Discussion in 'General' started by Triton, Jul 10, 2011.

  1. Triton

    Triton New Member

    I've set up ISPConfig 2 using The Perfect Server - CentOS 5.6 x86_64 [ISPConfig 2].

    Everything is working fine, but when I login to the Web-FTP with the user I have set up, it loads for a long time, then only the right panel displays. The left panel doesn't display. Then when I click on one of the folders in the right panel, it loads for a while again, then nothing displays in either panel.

    I have read on this forum that if there are a lot of folders and files in your directory, this kind of behavior can occur. There are a lot of folders in the web folder (probably around 300+, and thousands of files).

    Is there any way around this?

    Can the timeout for reading the folder tree be increased? Any ideas?

    Or maybe that isn't the problem.

    Thanks in advance.
     
  2. falko

    falko Super Moderator

    Are there any errors in /root/ispconfig/httpd/logs/error_log?

    Does it work with a "normal" FTP client such as FileZilla?
     
  3. Triton

    Triton New Member

    Sorry for taking so long to answer. Thanks for replying.

    No, there are absolutely no errors in that error log. I just tried it again and nothing showed up there.

    Yes, FTP through FileZilla works, and I'm sure it works with other clients as well.

    Basically there are no problems with the installation, except this one. The installation went smoothly and the site is running fine. (I have one other small gripe, but I've been able to work around that for now. I'll post it later once this gets cleared up.)

    I did forget to mention that when I first go to the Web-FTP page, the left panel does show with just the globe and slash at the top. When I login, then it loads for a long while, and does just like I described above.

    Any ideas?
     
  4. falko

    falko Super Moderator

    Hm... maybe a firewall problem? What's the output of
    Code:
    iptables -L
    ?
     
  5. Triton

    Triton New Member

    Don't think so. Here's what I got:

    Code:
    # iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    fail2ban-SSH  tcp  --  anywhere             anywhere            tcp dpt:ssh
    fail2ban-SMTP  tcp  --  anywhere             anywhere            tcp dpt:smtp
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain fail2ban-SMTP (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-SSH (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    I've got fail2ban working, but no FTP filter (only SSH and postfix).

    I followed the instructions just as it said in the Perfect Server tutorial I linked to above, so I don't believe the firewall is the problem. I'm kind of a noob though.
     
  6. falko

    falko Super Moderator

    What's the output of
    Code:
    netstat -tap
    ?

    Did you disable SELinux?
     
  7. Triton

    Triton New Member

    Here's the output of netstat -tap. I've replaced my host and domain with HOST.DOMAIN for privacy.

    Code:
    # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
    tcp        0      0 *:smtp                      *:*                         LISTEN      7751/smtpd
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      1412/named
    tcp        0      0 *:atmtcp                    *:*                         LISTEN      32253/monit
    tcp        0      0 *:mysql                     *:*                         LISTEN      30477/mysqld
    tcp        0      0 HOST.DOMAIN:http    202-73-198-32.vodafon:14578 SYN_RECV    -
    tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      10016/ispconfig_htt
    tcp        0      0 *:ftp                       *:*                         LISTEN      7269/proftpd: (acce
    tcp        0      0 HOST.DOMAIN:domain  *:*                         LISTEN      1412/named
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      1412/named
    tcp        0      0 *:munin                     *:*                         LISTEN      31783/munin-node
    tcp        0      0 HOST.DOMAIN:atmtcp  v044205.dynamic.ppp.as:wimd TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:atmtcp  v044205.dynamic.:h263-video TIME_WAIT   -
    tcp        0      0 localhost.localdomain:33950 localhost.localdomain:ssh   TIME_WAIT   -
    tcp        0      0 localhost.localdomain:56850 localhost.localdomain:http  TIME_WAIT   -
    tcp        0      0 localhost.localdomain:56944 localhost.localdomain:smtp  TIME_WAIT   -
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      1412/named
    tcp        0      0 *:imaps                     *:*                         LISTEN      5278/imap-login
    tcp        0      0 *:pop3s                     *:*                         LISTEN      30543/dovecot
    tcp        0      0 *:pop3                      *:*                         LISTEN      30543/dovecot
    tcp        0      0 *:imap                      *:*                         LISTEN      5278/imap-login
    tcp        0      0 *:http                      *:*                         LISTEN      3298/httpd
    tcp        0      0 *:ssh                       *:*                         LISTEN      30317/sshd
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:afbackup TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.p:wkstn-mon TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.:hpidsadmin TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:identify TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dyna:iwb-whiteboard TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    138.subnet110-138-37.:14847 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    138.subnet110-138-37.:14846 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    138.subnet110-138-37.:14845 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    138.subnet110-138-37.:14844 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic:csoftragent TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:ii-admin TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynam:remoteware-cl TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dyna:remoteware-srv TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.:vsixml TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.:realsecure TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:veritas-vis1 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:veritas-vis2 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.as:cifs TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.:csregagent TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic:notify_srvr TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55925 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55924 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynam:srvc_registry TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55927 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55926 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.:twsdss TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55929 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55928 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dyna:broker_service TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55931 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55930 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynam:midnight-tech TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    adsl-99-18-45-248.dsl:55932 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.asah:gw TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.:hagel-dump TIME_WAIT   -
    getnameinfo failed
    tcp        0  36500 HOST.DOMAIN:http    [UNKNOWN]:14180             ESTABLISHED 19997/httpd
    getnameinfo failed
    tcp        0  16060 HOST.DOMAIN:http    [UNKNOWN]:14182             ESTABLISHED 32393/httpd
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:cogitate TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:redwood-chat TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:osmosis-aeea TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dyna:LiebDevMgmt_DM TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:amt-cnf-prot TIME_WAIT   -
    tcp        0    808 HOST.DOMAIN:ssh     v044205.dynamic.ppp.:reftek ESTABLISHED 7663/0
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:pctrader TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.:gds_db TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:imap    v044205.dynami:shadowserver ESTABLISHED 19945/imap-login
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.as:3044 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.:di-ase TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dyna:tomato-springs TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp:journee TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:ls3bcast TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.p:mgxswitch TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.as:rprt TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.:fjhpjp TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic:interserver TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:ncacn-ip-tcp TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.:cdl-server TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.:videobeans TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    i02v-87-89-195-4.d4.c:62999 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.pp:itm-mccs TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynam:jdl-dbkitchen TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.p:stm_pproc TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp:tl1-raw TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynami:orbix-config TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynam:orbix-cfg-ssl TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic:csd-monitor TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    i02v-87-89-195-4.d4.c:63002 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    i02v-87-89-195-4.d4.c:63001 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.as:xbox TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    i02v-87-89-195-4.d4.c:63000 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.a:njfss TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic:rapidmq-reg TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.as:xdtp TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    v044205.dynamic.ppp.as:rtss TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:imap    v044205.dynamic.ppp:fpo-fns ESTABLISHED 18345/imap-login
    tcp        0      0 HOST.DOMAIN:http    138.subnet110-138-37.:14867 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    138.subnet110-138-37.:14866 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:56274 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:51660 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:51199 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:54761 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:59373 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:49564 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:56200 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:51379 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:50339 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:54176 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    client136-118-237-87.:57238 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:59301 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    pool-173-70-158-180.n:62947 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    pool-173-70-158-180.n:62948 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:52057 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:58973 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:61766 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:61040 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:55162 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:49774 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    AMarseille-651-1-152-:55957 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    AMarseille-651-1-152-:55959 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    AMarseille-651-1-152-:55953 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    AMarseille-651-1-152-:55955 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:50197 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:58142 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:65287 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    pool-108-35-182-252.n:54342 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:64783 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:59444 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:58914 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:55585 TIME_WAIT   -
    tcp        0      0 HOST.DOMAIN:http    if02t2-89-83-179-59.d:56107 TIME_WAIT   -
    And yes, SELinux is disabled:
    Code:
    # sestatus
    SELinux status:                 disabled
    Here's a little more info about my system. It's a VPS. I set it up with CENTOS 5.5, then ran yum update and now have CENTOS 5.6.
    Code:
    # cat /etc/*-release
    CentOS release 5.6 (Final)
    As you can see I've added munin and monit, as well as fail2ban and logwatch.
     
  8. falko

    falko Super Moderator

    Hm, looks ok. Did it work before you upgraded to CentOS 5.6?
     
  9. Triton

    Triton New Member

    I didn't install ISPConfig 2 until after I had upgraded to 5.6, so I don't know if it worked with 5.5.
     
  10. falko

    falko Super Moderator

    I'm running out of ideas... :(
     
  11. Triton

    Triton New Member

    Is it possible it's just timing out?

    Like I said, there are hundreds and hundreds of folders, and thousands and thousands of files. Is it trying to read in all of them and then build the tree?
     
  12. falko

    falko Super Moderator

    Yes, that could be the problem. Does it work for a smaller site?
     

Share This Page