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.

password could not be changed because: Failed to execute

Discussion in 'General Discussion' started by mrmonsif, Sep 26, 2014.

  1. mrmonsif

    mrmonsif Registered

    Joined:
    Sep 26, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello sir

    I want to change a password of my clients sites

    But I can not give me this error

    "changed because: Failed to execute: “/usr/local/cpanel/scripts/chpass”: "

    GcZQqm6.png

    I hope that the fixes a problem quickly

    Thank you in waiting
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. mpkapadia

    mpkapadia Active Member

    Joined:
    Apr 10, 2002
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Hi Michael,

    I seem to be having this same issue on one server my stat output is as under

    root@******** [~]# stat /usr/local/cpanel/scripts/chpass
    File: `/usr/local/cpanel/scripts/chpass'
    Size: 415 Blocks: 8 IO Block: 4096 regular file
    Device: 803h/2051d Inode: 18721 Links: 1
    Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2015-01-06 16:58:11.814397873 +0530
    Modify: 2013-03-12 00:40:43.883335157 +0530
    Change: 2013-03-12 00:41:13.234209446 +0530

    - - - Updated - - -

    Hi Michael,

    I seem to be having this same issue on one server my stat output is as under

    root@******** [~]# stat /usr/local/cpanel/scripts/chpass
    File: `/usr/local/cpanel/scripts/chpass'
    Size: 415 Blocks: 8 IO Block: 4096 regular file
    Device: 803h/2051d Inode: 18721 Links: 1
    Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
    Access: 2015-01-06 16:58:11.814397873 +0530
    Modify: 2013-03-12 00:40:43.883335157 +0530
    Change: 2013-03-12 00:41:13.234209446 +0530
     
  4. mpkapadia

    mpkapadia Active Member

    Joined:
    Apr 10, 2002
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    6
    Nevermind . I had to purge the dead comet files.
    /usr/local/cpanel/bin/purge_dead_comet_files

    I don't know how it got So full .
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see you were able to address the issue. What version of cPanel is installed on your system? There were some changes in version 11.42 aimed to improve comet file usage (case 59137).

    Thank you.
     
  6. pasavvas

    pasavvas Registered

    Joined:
    Aug 3, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Hi there,

    @cPanelMichael

    I am very new to cpanel, however have recently taken responsibility of a server using cpanel to manage it. I am trying to change the passwords via the WHM List Accounts feature and getting the message above. Is there anything I can try or look for?

    Stat returns the following:
    File: `/usr/local/cpanel/scripts/chpass'

    Size: 415 Blocks: 8 IO Block: 4096 regular file

    Device: 801h/2049dInode: 46563678 Links: 1

    Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)

    Access: 2015-08-03 15:33:58.000000000 +0100

    Modify: 2013-05-07 00:41:14.000000000 +0100

    Change: 2013-05-07 00:44:57.000000000 +0100

    Thanks
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  8. pasavvas

    pasavvas Registered

    Joined:
    Aug 3, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Hi, thanks so much for the quick response. I checked and nothing looks abnormal.

    df -h output shows highest usage at 82%
    df -i output shows nothing above 7%

    Is there something else I can try? Could it be a permissions issue? I am not using root.

    Thanks again
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you let us know the output to /usr/local/cpanel/logs/error_log when you notice this error message? Ensure you post the output in CODE tags, and only post the output that appears when the error message is generated in the interface. EX:

    Code:
    tail -f /usr/local/cpanel/logs/error_log
    Thank you.
     
  10. pasavvas

    pasavvas Registered

    Joined:
    Aug 3, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    London, UK
    cPanel Access Level:
    Root Administrator
    Hi @cPanelMichael

    Thanks again for your response. Sadly the issue is fixed now - I say sadly as soon after posting my question my production hard drive failed and I had to rebuild on new hardware. Pretty much the worst possible solution but the change password problem is no longer an issue!

    Thanks again!
    Panos
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's possible the hard drive failure contributed to the error message. In any event, I'm happy to see the issue is now resolved. Thank you for updating us with the outcome.
     
    pasavvas likes this.
  12. Herson Cruz

    Herson Cruz Registered

    Joined:
    May 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Miami
    cPanel Access Level:
    Root Administrator
    +1 with this error, /usr/local/cpanel/logs/error_log says:

    Undefined subroutine &AcctLock::unlock called at /usr/local/cpanel/Cpanel/Auth/Shadow.pm line 60.

    When trying to change any account password from WHM.
    Regards,
     
  13. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you verified the system is not at it's disk space or inode capacity? You can check with these commands:

    Code:
    df -h
    df -i
    Thank you.
     
  14. Herson Cruz

    Herson Cruz Registered

    Joined:
    May 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Miami
    cPanel Access Level:
    Root Administrator
    Yes, noticed that in previous comments of this thread, but server still has plenty of space:
    Code:
    # df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/sda1       2.0T  901G  988G  48% /
    devtmpfs         16G     0   16G   0% /dev
    tmpfs            16G     0   16G   0% /dev/shm
    tmpfs            16G  1.6G   14G  11% /run
    tmpfs            16G     0   16G   0% /sys/fs/cgroup
    /dev/loop0      605M  600K  573M   1% /tmp
    tmpfs           3.1G     0  3.1G   0% /run/user/0
    /dev/sdc1       917G   72M  871G   1% /disk3
    tmpfs           3.1G     0  3.1G   0% /run/user/1019
    tmpfs           3.1G     0  3.1G   0% /run/user/1020
    tmpfs           3.1G     0  3.1G   0% /run/user/1049
    tmpfs           3.1G     0  3.1G   0% /run/user/1018
    tmpfs           3.1G     0  3.1G   0% /run/user/1005
    tmpfs           3.1G     0  3.1G   0% /run/user/1011
    tmpfs           3.1G     0  3.1G   0% /run/user/1004
    tmpfs           3.1G     0  3.1G   0% /run/user/1035
    tmpfs           3.1G     0  3.1G   0% /run/user/1041
    tmpfs           3.1G     0  3.1G   0% /run/user/1038
    tmpfs           3.1G     0  3.1G   0% /run/user/1039
    tmpfs           3.1G     0  3.1G   0% /run/user/1027
    tmpfs           3.1G     0  3.1G   0% /run/user/1051
    tmpfs           3.1G     0  3.1G   0% /run/user/206
    tmpfs           3.1G     0  3.1G   0% /run/user/1044
    tmpfs           3.1G     0  3.1G   0% /run/user/1052
    tmpfs           3.1G     0  3.1G   0% /run/user/1053
    tmpfs           3.1G     0  3.1G   0% /run/user/1006
    Code:
    # df -i
    Filesystem        Inodes   IUsed     IFree IUse% Mounted on
    /dev/sda1      131072000 6835338 124236662    6% /
    devtmpfs         3946603     399   3946204    1% /dev
    tmpfs            3948877       1   3948876    1% /dev/shm
    tmpfs            3948877   13692   3935185    1% /run
    tmpfs            3948877      13   3948864    1% /sys/fs/cgroup
    /dev/loop0         40320      44     40276    1% /tmp
    tmpfs            3948853       1   3948852    1% /run/user/0
    /dev/sdc1       61054976      11  61054965    1% /disk3
    tmpfs            3948853       1   3948852    1% /run/user/1019
    tmpfs            3948853       1   3948852    1% /run/user/1020
    tmpfs            3948853       1   3948852    1% /run/user/1049
    tmpfs            3948853       1   3948852    1% /run/user/1018
    tmpfs            3948853       1   3948852    1% /run/user/1005
    tmpfs            3948853       1   3948852    1% /run/user/1011
    tmpfs            3948853       1   3948852    1% /run/user/1004
    tmpfs            3948853       1   3948852    1% /run/user/1035
    tmpfs            3948853       1   3948852    1% /run/user/1041
    tmpfs            3948853       1   3948852    1% /run/user/1038
    tmpfs            3948853       1   3948852    1% /run/user/1039
    tmpfs            3948853       1   3948852    1% /run/user/1027
    tmpfs            3948853       1   3948852    1% /run/user/1051
    tmpfs            3948853       1   3948852    1% /run/user/206
    tmpfs            3948853       1   3948852    1% /run/user/1044
    tmpfs            3948853       1   3948852    1% /run/user/1052
    tmpfs            3948853       1   3948852    1% /run/user/1053
    tmpfs            3948853       1   3948852    1% /run/user/1006
     
  15. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  16. Herson Cruz

    Herson Cruz Registered

    Joined:
    May 5, 2016
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Miami
    cPanel Access Level:
    Root Administrator
    Support Request ID is: 7540573
     
  17. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,683
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, it looks like this issue stemmed from a read-only mount of the primary partition "/". The advice in the support ticket was to remount the partition with "read-write" permissions instead of "read-only" permissions.

    Thank you.
     
Loading...

Share This Page