Can no longer login to the webGUI

    • OMV 1.0
    • Resolved
    • 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

      Source Code

      1. Updating WebGUI administrator password. Please wait ...
      2. {"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}"}}
      3. 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 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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.

      [IMG:http://i.imgur.com/VKzpWwF.png]

      [IMG:http://i.imgur.com/euOZ0VK.png]
      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 post was edited 1 time, 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
    • Failed to access /etc/passwd might be caused by a read-only filesystem after a FS error has been detected.
      Your screenshots indicate that the OS drive is damaged.
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • 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