Can no longer login to the webGUI

  • I can no longer login to the webGUI. When trying to use the admin account, I get the software error incorrect username or password even though I know I am using the correct credentials.


    When I try updating the password in using CLI, this is the error I get


    Code
    Updating WebGUI administrator password. Please wait ...
    {"response":null,"error":{"code":4000,"message":"Failed to execute command 'usermod --password '$1$YF1Eq8Zz$r3ueQol1t7n2E8x3OPwuy0' admin 2>&1': usermod: cannot lock \/etc\/passwd; try again later.","trace":"exception 'OMVException' with message 'Failed to execute command 'usermod --password '$1$YF1Eq8Zz$r3ueQol1t7n2E8x3OPwuy0' admin 2>&1': usermod: cannot lock \/etc\/passwd; try again later.' in \/usr\/share\/openmediavault\/engined\/rpc\/webgui.inc:147\nStack trace:\n#0 [internal function]: OMVRpcServiceWebGui->setPassword(Array, Array)\n#1 \/usr\/share\/php\/openmediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#2 \/usr\/share\/php\/openmediavault\/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setPassword', Array, Array)\n#3 \/usr\/sbin\/omv-engined(500): OMVRpc::exec('WebGui', 'setPassword', Array, Array, 1)\n#4 {main}"}}
    Failed to execute RPC (service=WebGui, method=setPassword)


    Any help would be appreciated, Thanks!

    ASUS P9A-I/C2550/SAS/4L w/ Intel Atom C2550 (2.40GHz) | Kingston ECC 16GB RAM | 1x 120GB OS HDD| 8x 2TB HDD (RAID 6) | SilverStone DS380
    OMV 2.1.23 Stone Burner (64 bit) | Debian 7 (Wheezy) w/Kernel 3.2.0-4-amd64

  • The passwd file is locked for some reason. Reboot and try omv-firstaid again. If it doesn't work, try resetting the password with: passwd admin

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • I think my install may be hosed. When I reboot, all I get now is a kernel panic. OMV will not load up.



    ASUS P9A-I/C2550/SAS/4L w/ Intel Atom C2550 (2.40GHz) | Kingston ECC 16GB RAM | 1x 120GB OS HDD| 8x 2TB HDD (RAID 6) | SilverStone DS380
    OMV 2.1.23 Stone Burner (64 bit) | Debian 7 (Wheezy) w/Kernel 3.2.0-4-amd64

    Edited once, last by djrbx ().

  • Thanks,


    I'll see if I can replace the drive when I get home. Hopefully I don't have any corruption and can save my volumes.

    ASUS P9A-I/C2550/SAS/4L w/ Intel Atom C2550 (2.40GHz) | Kingston ECC 16GB RAM | 1x 120GB OS HDD| 8x 2TB HDD (RAID 6) | SilverStone DS380
    OMV 2.1.23 Stone Burner (64 bit) | Debian 7 (Wheezy) w/Kernel 3.2.0-4-amd64

  • You guys are awesome. I'll update this thread once I am able to replace the OS drive.


    Thanks again!

    ASUS P9A-I/C2550/SAS/4L w/ Intel Atom C2550 (2.40GHz) | Kingston ECC 16GB RAM | 1x 120GB OS HDD| 8x 2TB HDD (RAID 6) | SilverStone DS380
    OMV 2.1.23 Stone Burner (64 bit) | Debian 7 (Wheezy) w/Kernel 3.2.0-4-amd64

  • UPDATE: So I was able to clone a previous working install using dd and everything is working again. Thanks for your help!

    ASUS P9A-I/C2550/SAS/4L w/ Intel Atom C2550 (2.40GHz) | Kingston ECC 16GB RAM | 1x 120GB OS HDD| 8x 2TB HDD (RAID 6) | SilverStone DS380
    OMV 2.1.23 Stone Burner (64 bit) | Debian 7 (Wheezy) w/Kernel 3.2.0-4-amd64

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!