Results 1 to 22 of 22
  1. #1

    cpanel login problem

    We're having a strange problem . Suddenly some clients can't acces cpanel and server returns invalid username or password.

    I tried to login using my main root password, but i didnt work. I also tried password modification, but it didnt work either.

    cPanel 10.2.0-R82


    Thanks

  2. #2
    Join Date
    May 2002
    Location
    Moscow
    Posts
    1,602
    what system you use? try check are above username exist in system?
    TK Rustelekom LLC Dedicated server since 2002, RIPE NCC member, LIR

  3. #3
    Fedora. Yes, username exist in system.

  4. #4
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Hello,

    Sounds like cPanel is corrupt. Run /scripts/upcp --force as root.

    -Scott
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  5. #5
    Hi,

    I run /scripts/upcp --force, but I don't still get to access the cpanel. WHM normal access.

    Thanks

  6. #6
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Execute /scripts/rebuildetcpasswd

    and then try login to cPanel, try also restarting cPanel with service cpanel restart.
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  7. #7

    Unhappy

    Thanks,

    But not resolved

  8. #8
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Can you login to cPanel with ANY passwords? Have you tested the passwords work when logging into ftp/ssh ?
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  9. #9
    Yes i can. I not access ftp again.

  10. #10
    Join Date
    Jan 2005
    Location
    Scotland, UK
    Posts
    2,681
    Hello,

    If you cannot access ftp with those passwords then the username and password is wrong. Reset it as root with passwd username

    -Scott
    Server Management - AdminGeekZ.com
    Infrastructure Management, Web Application Performance, mySQL DBA. System Automation.
    WordPress/Magento Performance, Apache to Nginx Conversion, Varnish Implimentation, DDoS Protection, Custom Nginx Modules
    Check our wordpress varnish plugin. Contact us for quote: sales@admingeekz.com

  11. #11
    I reset it as root with passwd username, but not resolved again.

  12. #12

    *

    Would anybody have more some suggestion?

  13. #13

    Reinstall cpanel

    When my customers are going login in the cpanel, with the password and correct user, gives a message, as if the password and user were wrong. Would anybody have some solution? Do I want to reinstall the cpanel, but if does that, will I lose the configurations of the cpanel?

  14. #14
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Try to reset or change password in WHM for that user and see whether the new changed/reset password works?... ...

    EDIT: Merged with other thread which I just read and believe you are asking for suggestion/solution of the same problem.
    Last edited by choon; 07-24-2005 at 11:42 PM.
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  15. #15
    but they are all the customers. Is difficult it alters the passwords for 600 customers.

  16. #16
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Try it with ONE user first, if successful... then it isn't hard to reset all passwords for all cpanel users using custom script... ...
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  17. #17
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,783
    First how the server health? Has /var and /usr got plently of room on them? What kind of load are you running on the system?

    Is this with random users are all of them? Is both cpanel and ftp down for the same users at the same time?

    Sorry if you already answered these but I did not read every reply.

  18. #18
    The Server is perfect. Yes have /var and /usr. Yes, the password problem is for all the users. Then we are altering manual the passwords, made that it usually works the login in the cpanel..the bad is to have to alter the passwords manually of 600 customers.

  19. #19
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    Well... you are going to be very busy doing that manually... custom a shell script to automatically reset all cpanel users to a randomly generated password (all different password of course)... ... then that script saved to a file so that you can email all the 600 customers with all their newly generated reset password... ...
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

  20. #20
    Thanks. I liked your idea. Don't I know how to program in ssh, would anybody have a script, to do the one what our friend choon did suggest?

  21. #21
    On one of my WHM servers the suspended list shows almost all accounts on the server. The accounts are actually active. I access sites, but not access WHM, cpanel and ftp.

    I was looking at the shadow, and I saw that has some error. The right would be like this:
    user_here:$1$0jFnLDcd$BA1SnGtPfCLY.eO15aXn6.:12985::::::

    But in the count that are appearing in Listing suspended counts, this like this:
    user_here:!! :12985::::::

    Is appearing the sign "!!" . Something is wrong. Would have as fix that error?

  22. #22
    Join Date
    Jul 2001
    Location
    Singapore
    Posts
    1,889
    If you reset that user password, the !! sign will be removed and replaced with a password hash... but if after doing that you didn't get that user listed in root WHM... then you need to do a couple things... I am unable to list what things you need to do unless I know your system/problems well... so if you are not sure how to handle it... it is better for you to ask your provider for support.
    Giam Teck Choon
    :: Join choon.net Community today to share your tips and tricks on server issues please ::
    :: Singapore Dedicated Servers :: Singapore Virtual Private Servers :: Linux/FreeBSD Server Management ::

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •