Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel and main ftp account losing sync?

Discussion in 'General Discussion' started by mvandemar, Aug 8, 2018.

  1. mvandemar

    mvandemar Well-Known Member

    Joined:
    Jun 17, 2006
    Messages:
    70
    Likes Received:
    1
    Trophy Points:
    158
    I have run into this twice now on the same account. I go to ftp in using the main cpanel credentials and I get a "530 Login authentication failed". I go to cpanel and log in using the same credentials and it works fine, which verifies that the password is correct. I try ftp again using those credentials and it still won't authenticate.

    I then go to whm, go to the account in question, and change the password to itself (ie. I hit change but I am using the same password that works in cpanel but not ftp) and now I can both ftp in fine and log in to cpanel with the same login.

    Any idea what would cause the two systems to lose sync like that?

    -Michael
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Michael,

    Do you notice any specific output to /var/log/messages at the time FTP authentication fails?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mvandemar

    mvandemar Well-Known Member

    Joined:
    Jun 17, 2006
    Messages:
    70
    Likes Received:
    1
    Trophy Points:
    158
    I am not sure how to line up the log messages with the exact time the event happened, so my guess is I need to wait for it to happen again?

    -Michael
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello Michael,

    That's correct. If you are unsure when the issue last occurred, then you'd want to monitor /var/log/messages upon testing the FTP login (before updating the cPanel account's password) the next time this happens. Another option is to search /usr/local/cpanel/logs/access_log to see the date and time when you changed the account password, and then search for that date/time in /var/log/messages to see the FTP login activity that was logged before you changed the password to solve the issue. EX:

    Code:
    grep "json-api/passwd" /usr/local/cpanel/logs/access_log
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice