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.

Invalid User when changing password

Discussion in 'General Discussion' started by sahostking, Aug 26, 2013.

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Trying to change password for an account through WHM and receive the following errors:

    Password for username has been changed
    Updating ftp passwords for username
    Ftp password files updated.
    Ftp vhost passwords synced
    Invalid user

    Password does not change at all it seems.

    Also I see this in cpanel error logs:
    Code:
    [2013-08-26 18:52:38 +0200] warn [cpwrap] Cpanel::Wrap::send_cpwrapd_request subprocess exited with status 22: namespace=[Cpanel] module=[cpmysql] function=[UPDATEDBOWNER]: set error in context : raw_response=[{"mode":"simple","action":"run","timeout":0,"statusmsg":"Ran adminbin Cpanel/cpmysql/UPDATEDBOWNER","version":"2.3","status":1,"error":1,"exit_code":5632,"data":"Invalid user \nusername\n"}] at Cpanel/Wrap.pm line 123
    	Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'cpmysql', 'function', 'UPDATEDBOWNER', 'data', '', 'env', HASH(0x2480460)) called at bin/cpwrap line 113
    	bin::cpwrap::script('bin::cpwrap', 'cpmysql', 'UPDATEDBOWNER') called at bin/cpwrap line 71
    [2013-08-26 18:52:38 +0200] warn [cpwrap] Cpanel::Wrap::send_cpwrapd_request error: namespace=[Cpanel] module=[cpmysql] function=[UPDATEDBOWNER]: set error in context : statusmsg=[Ran adminbin Cpanel/cpmysql/UPDATEDBOWNER] at Cpanel/Wrap.pm line 128
    	Cpanel::Wrap::send_cpwrapd_request('namespace', 'Cpanel', 'module', 'cpmysql', 'function', 'UPDATEDBOWNER', 'data', '', 'env', HASH(0x2480460)) called at bin/cpwrap line 113
    	bin::cpwrap::script('bin::cpwrap', 'cpmysql', 'UPDATEDBOWNER') called at bin/cpwrap line 71
     
    #1 sahostking, Aug 26, 2013
    Last edited: Aug 26, 2013
  2. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Checked again and seems to be only one account that has this issue.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    From the below log entry, it appears the username contains a leading \n. How is the username being supplied to the change password function? Are you performing a copy-and-paste?

    Code:
    2013-08-26 18:52:38 +0200] warn [cpwrap] Cpanel::Wrap::send_cpwrapd_request subprocess exited with status 22: namespace=[Cpanel] module=[cpmysql] function=[UPDATEDBOWNER]: set error in context : raw_response=[{"mode":"simple","action":"run","timeout":0,"statusmsg":"Ran adminbin Cpanel/cpmysql/UPDATEDBOWNER","version":"2.3","status":1,"error":1,"exit_code":5632,"data":"Invalid user \nusername\n"}] at Cpanel/Wrap.pm line 123
    
     
Loading...

Share This Page