The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cannot login ftp one account only

Discussion in 'General Discussion' started by NoAgendas, Aug 15, 2006.

  1. NoAgendas

    NoAgendas Guest

    I tried to login to one account via ftp using both domain and IP methods, none worked. I used the proper username and password (reset, double checked), still same issue.

    Restarted pure-ftpd, no good.

    I even tailed the domain's ftp logs, nothing showed up (strange).

    filezilla ftp logs during connection attempt:

    Status: Connecting to domain.org ...
    Status: Connected with domain.org. Waiting for welcome message...
    Response: 220---------- Welcome to Pure-FTPd [TLS] ----------
    Response: 220-You are user number 4 of 50 allowed.
    Response: 220-Local time is now 14:50. Server port: 21.
    Response: 220-IPv6 connections are also welcome on this server.
    Response: 220 You will be disconnected after 15 minutes of inactivity.
    Command: USER user
    Response: 331 User user OK. Password required
    Command: PASS *******
    Response: 530 Authentication failed, sorry
    Error: Unable to connect!


    I switched to pro-ftpd and ftp logs show this:

    Response: 331 Password required for user.
    Command: PASS *******
    Response: 530 Login incorrect.

    I also ran "Synchronize FTP Passwords"

    httpd.conf looks fine also

    <VirtualHost xx.xxx.67.88>
    ServerAlias domain.org
    ServerAdmin webmaster@domain.org
    DocumentRoot /home/user/public_html
    BytesLog domlogs/domain.org-bytes_log
    ServerName www.domain.org

    <IfModule mod_php4.c>
    php_admin_value open_basedir "/home/user:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_value open_basedir "/home/user:/usr/lib/php:/usr/local/lib/php:/tmp"
    </IfModule>

    User godwriti
    Group godwriti
    CustomLog /usr/local/apache/domlogs/domain.org combined
    ScriptAlias /cgi-bin/ /home/user/public_html/cgi-bin/
    </VirtualHost>
     
  2. r00t pAsSw0rd

    r00t pAsSw0rd Active Member

    Joined:
    Sep 14, 2006
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Same here. Restarted ftpd via whm and command line. Switched from pure to pro (same issue), back to pure (same error).

    Problem on one user only, which does appear in /etc/localdomains and did run /scripts/updateuserdomains (no error)
     
  3. mizzizzippi

    mizzizzippi Guest

    Today I ran into the same problem. They can login via CPanel with the username and password and it works. Try the same username and password for FTP and it gives

    530 Authentication failed

    Tried to change the password, restart FTP, and a few other basic things. Anyone have a fix for this?

    Just like NoAgendas stated, it is only one user account this is happening on??

    Anyone?
     
  4. krava

    krava Well-Known Member

    Joined:
    Sep 23, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello,

    Try to switch your FTP daemon to ProFTPd and then switch it back to PureFTPd.
     
  5. 1970Novacaine

    1970Novacaine Member

    Joined:
    Jan 21, 2004
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Do you have any key created? Reason I am asking is I had the same issue awhile ago but it was because I had created a ssh key and forgot about doing it, and my symptoms were exactly the same as you have stated - hope this helps.
     
  6. dbanach

    dbanach Member

    Joined:
    Jun 8, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I had this problem and traced it to the vhost entry for that account in the httpd.conf file.

    Cpanel had inserted it at then end of the file. Once I moved the vhost entry up with the others and restarted apache and the ftp server, I was able to login fine.

    Hope this helps someone.
     
  7. tangowebs

    tangowebs Well-Known Member

    Joined:
    Oct 12, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    The problem is when ppl try to reset passwd.... doesnt work... any idea why?
     
  8. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If a user resets their password and now cannot login to FTP, that means the passwords aren't properly synchronizing. I recommend having one of our technical analysts take a look at that for you: http://tickets.cpanel.net/submit
     
  9. iCARus

    iCARus Well-Known Member

    Joined:
    Apr 8, 2003
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    We got exact problem, but we saw that /bin/noshell makes problem and we modify /etc/passwd file under username and replaced with /usr/local/cpanel/bin/noshell and FTP and Cpanel starts working.

    Hope someone will need that.
     
  10. tangowebs

    tangowebs Well-Known Member

    Joined:
    Oct 12, 2004
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    0
    Didnt work for me.- :(
     
Loading...

Share This Page