Hi, I have installed cPanel on my VPS, everything working fine but only problem FTP not listing my directory I am getting this message Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- Response: 220-You are user number 1 of 50 allowed. Response: 220-Local time is now 21:56. Server port: 21. Response: 220-This is a private system - No anonymous login Response: 220-IPv6 connections are also welcome on this server. Response: 220 You will be disconnected after 15 minutes of inactivity. Command: USER emedicar Response: 331 User emedicar OK. Password required Command: PASS ************ Response: 230 OK. Current restricted directory is / Command: SYST Response: 215 UNIX Type: L8 Command: FEAT Response: 211-Extensions supported: Response: EPRT Response: IDLE Response: MDTM Response: SIZE Response: MFMT Response: REST STREAM Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*; Response: MLSD Response: AUTH TLS Response: PBSZ Response: PROT Response: TVFS Response: ESTA Response: PASV Response: EPSV Response: SPSV Response: ESTP Response: 211 End. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PASV Response: 227 Entering Passive Mode (5,44,97,34,119,249) Command: MLSD Error: Connection timed out Error: Failed to retrieve directory listing Please help me
I assume you setup passive port range in the config and have opened the ports in your firewall. Is it an issue for just one account or server wide? I've seen everything from permission issues to crazy mod_security rules that cause ftp issues. Depending on your linux experience a quick switch between pure and pro ftpd might give you a quick fix. Good luck. Mark
@ aGig thanks for reply. This problem is for full server not only one account. I have tried with change FTP server pure to proftp but not solved. After install cpanel I did not installed any firewall or anything else.
edit your /etc/pure-ftpd.conf uncomment the line # PassivePortRange 30000 50000 then add port range 30000:50000 to your firewall Please share the ftp error log files for further investigate the issue
Hi, sahabcse I have edited pure-ftpd.conf and uncommented, restarted ftp server but still problem remaining, can you tell me how can I check ftp error log? also I dont installed any firewall. just installed cpanel nothing else.
Is there any entry in /var/log/pureftpd.log, It will be disabled by default and only works if you enable it in the /etc/pure-ftpd.conf
I dont use PureFTP but i think i have got your problem before. Did you selected it to open via SSH File Protocol? (SFTP) try to connect via SFTP not FTP.
Where do you see problems working with SFTP , you should be happy to work with secure protocol. Is same to work but much secured.
Then check in your server administration if the SSH is enabled then disable if its disabled i suggest you to contact the hosting support.