Join the community today
Become a Member

FTP is broken

Discussion in 'Other Centmin Mod Installed software' started by CarpCharacin, Jan 16, 2017.

  1. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    For some reason Pure FTPd isn't working. It just says
    Code:
    Status:    Resolving address of utahfishkeepers.us
    Status:    Connecting to [2600:3c01::f03c:91ff:fe2c:f69e]:21...
    Error:    Connection timed out after 20 seconds of inactivity
    Error:    Could not connect to server
    Status:    Waiting to retry...
    
    and it just does that over and over.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    has it ever worked before ?

    double check that your csf firewall's TCP_IN and TCP6_IN whitelist ports have passive ports 30001 to 5011 set as 30001:50011 in comma separated list in /etc/csf/csf.conf

    you can use grep/egrep to search your /etc/csf/csf.conf
    Code (Text):
    egrep '^TCP_|^TCP6_' /etc/csf/csf.conf | grep 30001
    


    Or in your ftp client specify your server's IPv4 address as host instead of domain name to connect to.
     
  3. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    It was working just fine not too long ago. The ports are listed there.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    could be web host's ipv6 network connectivity issues
     
  5. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    I tried connecting using the ipv4 address instead of the domain and that dosen't work either.
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    See FAQ items 40 & 41 for details and clues could be your ISP ip got blocked by CSF Firewall.
     
  7. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    But I can still SSH in.
     
  8. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    I restarted pure ftpd and now I can FTP in using the IP, but not the domain.
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what does your dns resolvers in /etc/resolv.conf list ?
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  11. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    Code (Text):
    # Generated by Linode Network Helper
    # Thu Nov  3 04:48:51 2016 UTC
    #
    # This file is automatically generated on each boot with your Linode's
    # current network configuration. If you need to modify this file, please
    # first disable the 'Auto-configure Networking' setting within your Linode's
    # configuration profile:
    #  - https://manager.linode.com/linodes/config/linode2440926?id=3359104
    #
    # For more information on Network Helper:
    #  - https://www.linode.com/docs/platform/network-helper
    #
    # A backup of the previous config is at /etc/.resolv.conf.linode-last
    # A backup of the original config is at /etc/.resolv.conf.linode-orig
    #
    domain members.linode.com
    search members.linode.com
    nameserver 173.230.155.5
    nameserver 173.255.212.5
    
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add above existing nameserver this
    Code (Text):
    nameserver 8.8.8.8
    

    so it becomes
    Code (Text):
    domain members.linode.com
    search members.linode.com
    nameserver 8.8.8.8
    nameserver 173.230.155.5
    nameserver 173.255.212.5
    
     
  13. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    Ok I added it, but it still isn't working.
     
  14. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  15. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    I am trying to upgrade XenForo and I connected using the IPv4 address, but it stopped and now I can't upload files. If I wait a little while, it seems to go away but it comes back after a few hundred files are uploaded.
     
  16. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    now my SSH password isn't working either. I changed the root password to try to use SFTP, but that didn't work and now my main non root SSH password isn't working.
     
  17. eva2000

    eva2000 Administrator Staff Member

    54,934
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    3:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  18. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    I tried connecting with WinSCP instead of filezilla and it wouldn't connect. It just said it times out. I tried connecting with SSH under a different IP and the password didn't work either. I have to get the files uploaded to finish the XenForo upgrade.
     
  19. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    I added root to AllowUsers to try to get SFTP to work and when it didn't, I removed it and now my main account isn't working. And I think it blocked my IP too.
     
  20. CarpCharacin

    CarpCharacin Member

    267
    21
    18
    Oct 13, 2016
    Salt Lake City
    Ratings:
    +34
    Local Time:
    11:35 PM
    1.15.x
    MariaDB 10.1
    Ok I got back SSH access and I was able to SSH in from my IP after I got back access, so it isn't blocked by CSF.