Want to subscribe to topics you're interested in?
Become a Member

pure-ftpd login problem with .08 beta

Discussion in 'Beta release code' started by Cr0w, Mar 31, 2015.

  1. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    STATUS:> [3/31/2015 5:38:15 AM] Connected. Authenticating...
    COMMAND:> [3/31/2015 5:38:15 AM] USER mashtyha
    [3/31/2015 5:38:16 AM] 421 Sorry, cleartext sessions are not accepted on this server.
    ERROR:> [3/31/2015 5:38:16 AM] Service unavailable. Try again later.
    STATUS:> [3/31/2015 5:38:16 AM] Waiting 30 seconds...
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    10:36 PM
    1.11
    10.2
    Please dont quote the whole post :/
     
    • Like Like x 1
  3. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    :| its whole ? first help me to fix my problem ;)
     
  4. RoldanLT

    RoldanLT Well-Known Member

    3,828
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    10:36 PM
    1.11
    10.2
    1st, try not be too much demanding.
     
  5. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    • no need for such language when asking for help
    just fu*ck off nothing else , and let fix my problem some one else . you such a spammer
    and there is the another problem
    i add user carefully with true password ;)
     
    • Dislike Dislike x 1
  6. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    @Cr0w there's no need for such language on my forums. It's not needed and out of line.

    As to error, the answer is in your quoted post
    no cleartext sessions are accepted as TLS SSL is enforced for FTP mode
    If you have already set FTP explicit SSL mode or forced SSL/TLS mode for FTP session and set PASV (passive) mode and still can not connect. Check post at bottom of first post Centmin Mod .08 beta + pure-ftpd virtual FTP user support | Centmin Mod Community to make sure you're using a compatible FTP client app. SecureFX and Filezilla are known working FTP client apps. There's example screenshots for both SecureFX and Filezilla at Centmin Mod .08 beta + pure-ftpd virtual FTP user support | Centmin Mod Community

    Edit: solution at pure-ftpd login problem with .08 beta | Page 3 | Centmin Mod Community
     
    Last edited: Apr 1, 2015
    • Like Like x 1
  7. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
  8. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  9. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    im using Wordpress ftp not ftp client programs .
     
  10. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    if i don't wanna to use ssl ? and run my website as default http://
     
  11. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    ah you ran into same problem Andy did at Install - Wordpress FTP access | Centmin Mod Community

    see How to Update WordPress Automatically Without Using FTP [Quicktip]

    so edit wp-config.php and add to very bottom of other lines

    Code:
    define('FS_METHOD','direct');
    if you do not need https/SSL, then no need to follow that guide
     
    • Like Like x 1
  12. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    I do that
    i want to transfer my images to another subdomain with FTP :)
    But that's not working after some changes i found something new .
     
  13. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    after i changed explicit mod FTP (SSL)
    The problem was solved , but now i have wrong username and password problem . i checked the passwords they are true but still not working :(
     
  14. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    Is another subdomain on same server or different server with different IP address ? If another server that is remote, then you need to whitelist it's IP address in CSF Firewall on Centmin Mod installed server - see CSF Firewall - Centmin Mod - Menu based Nginx installer for CentOS servers

    If both local and remote server use Centmin Mod too, then both servers need each respective IP address white listed as per CSF Firewall - Centmin Mod - Menu based Nginx installer for CentOS servers

    Also make sure to enable and check Passive FTP mode or it might be called PASV mode for your FTP client

    If both domain and subdomain on same server, probably faster and easier to use SSH root user and move via command line

    i.e. if you need to transfer images from say one /image directory to another for 2x Nginx vhosts at /home/nginx/domains/newdomain.com/public/images to /home/nginx/domains/2ndnewdomain.com/public/images

    would just be
    Code:
    cp -a /home/nginx/domains/newdomain.com/public/images /home/nginx/domains/2ndnewdomain.com/public/images
    
    or force overwrite the destination if same images
    Code:
    \cp -af /home/nginx/domains/newdomain.com/public/images /home/nginx/domains/2ndnewdomain.com/public/images
    
    Just use pure-pw commands you quoted in 1st post to change pure-ftpd password
     
    • Like Like x 1
  15. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    i try
    Code:
    pure-pw passwd mashtyha
    then :
     
  16. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    What does output of command show ? can change any sensitive info to dummy info i.e. passwords, ip addresses etc

    Code:
    pure-pw show FTPUSERNAME
    i.e.
    Code:
    pure-pw show mashtyha
     
    • Like Like x 1
  17. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    hmm i think you ran into a Centmin Mod .08 pure-ftpd setup/config bug.. tried on a test install and get

    Code:
    ls -lah /etc/pure-ftpd/pureftpd.passwd
    ls: cannot access /etc/pure-ftpd/pureftpd.passwd: No such file or directory
    
    service pure-ftpd status
    pure-ftpd (pid  7462) is running...
    
    +------+---------+-------+------+-------------------------------------------+
    | PID  |  Login  |For/Spd| What |                 File/IP                   |
    +------+---------+-------+------+-------------------------------------------+
    
    pure-pw list
    Unable to open the passwd file: No such file or directory
     
    • Like Like x 1
  18. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    i make a new user named CDN But still not working :)

    [3/31/2015 9:26:46 AM] 530 Login authentication failed
    ERROR:> [3/31/2015 9:26:46 AM] Not logged in.
    ERROR:> [3/31/2015 9:26:46 AM] Can't login. Disconnecting...
     
  19. Cr0w

    Cr0w Member

    165
    9
    18
    Mar 17, 2015
    Iran
    Ratings:
    +13
    Local Time:
    7:06 PM
    1.9.x
    5.5
    shows nothing :(
    -rw------- 1 root root 0 Mar 31 13:10 /etc/pure-ftpd/pureftpd.passwd
     
  20. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    12:36 AM
    Nginx 1.13.x
    MariaDB 5.5
    Could be problem with Centmin Mod's setup of pure-ftpd or something went wrong during pure-ftpd setup.

    For now, you can just log into normal SFTP mode using root user/root password if you need to. Will need to look into this
     
    • Like Like x 1