unable to change password and update OMV on raspberry2

    • OMV 3.x
    • Resolved
    • unable to change password and update OMV on raspberry2

      Hello everyone. first of all, forgive my English, I am French.
      I encounter two problems with OMV3 on my raspberry2.
      in the first place I can not change the admin password. an error is sent back to me each time.
      it is the same with the updates. I select them, but it is directly returned to me an error. when I'm in front of my pc I'll post the exact references of the errors.
      in addition to information I have a box sfr nb6 and i am not sure to have put the good DNS sfr in omv (109.0.66.10 and/or 109.0.66.20).
      thank you

      bonjour à tous. tout d'abord pardonnez mon anglais, je suis francais.
      je rencontre deux problèmes avec OMV3 sur mon raspberry2.
      en premier lieu je n'arrive pas à changer le mot de passe admin. une erreur m'est renvoyée a chaque fois.
      il en est de même avec les mise à jour. je les selectionne, mais il m'est directement renvoyé une erreur. quand je serais devant mon pc je vous posterait les références exactes des erreurs.
      en complément d'information j'ai une box sfr nb6 et je ne suis pas sur d'avoir mis les bon DNS sfr dans omv (109.0.66.10 et/ou 109.0.66.20).
      merci
    • when i try to change password :
      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; usermod --password '$1$0J81Kwln$4nTm77sv61BOFRuZsQ8TE1' admin 2>&1' with exit code '1': usermod: existing lock file /etc/passwd.lock without a PIDusermod: cannot lock /etc/passwd; try again later.

      when i try updates :
      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --force-yes --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" install base-files beep bind9-host cpp-4.9 curl debconf debconf-i18n debconf-utils debian-archive-keyring dnsutils g++-4.9 gcc-4.9 gcc-4.9-base git git-man gnupg gpgv hostapd isc-dhcp-client isc-dhcp-common libasan1 libasn1-8-heimdal libatomic1 libbind9-90 libc-bin libc-dev-bin libc6 libc6-dev libcups2 libcurl3 libcurl3-gnutls libdb5.3 libdbi1 libdns-export100 libdns100 libexpat1 libffi6 libgcc-4.9-dev libgcc1 libgcrypt20 libgd3 libgnutls-deb0-28 libgnutls-openssl27 libgomp1 libgraphite2-3 libgssapi-krb5-2 libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal libhx509-5-heimdal libicu52 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 libk5crypto3 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblwres90 libmysqlclient18 libncurses5 libncursesw5 libonig2 libpam-modules libpam-modules-bin libpam0g libperl5.20 libprocps3 libroken18-heimdal libsnmp-base libsnmp30 libsoup2.4-1 libssl-dev libssl1.0.0 libstdc++-4.9-dev libstdc++6 libtiff5 libtinfo5 libubsan0 libvpx1 libwbclient0 libwind0-heimdal libx11-6 libx11-data libxml2 linux-libc-dev locales multiarch-support mysql-common ncurses-base ncurses-bin ncurses-term nginx nginx-common nginx-full openmediavault openmediavault-flashmemory openmediavault-omvextrasorg openssh-client openssh-server openssh-sftp-server openssl perl perl-base perl-modules php5-cgi php5-cli php5-common php5-fpm procps proftpd-basic python-samba rsync samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules sensible-utils snmpd sudo sunxi-tools tzdata wget wpasupplicant 2>&1' with exit code '100': E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

      thank you all :)
    • I solve the update problem with "dpkg --configure -a" on putty

      But the password is not solve, always the same message ?(

      here more infos :
      Erreur #0:exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; usermod --password '$1$Owp3PGG9$9lz81JSOSp8SZZzfnoMBV.' admin 2>&1' with exit code '1': usermod: existing lock file /etc/passwd.lock without a PIDusermod: cannot lock /etc/passwd; try again later.' in /usr/share/php/openmediavault/system/process.inc:175Stack trace:#0 /usr/share/openmediavault/engined/rpc/webgui.inc(100): OMV\System\Process->execute()#1 [internal function]: OMVRpcServiceWebGui->setPassword(Array, Array)#2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)#3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setPassword', Array, Array)#4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('WebGui', 'setPassword', Array, Array, 1)#5 {main}

      it's the same if i want to create an user with a password
      can someone help me ;(

      The post was edited 1 time, last by kidkidkid ().

    • when i try to change password :
      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; usermod --password '$1$0J81Kwln$4nTm77sv61BOFRuZsQ8TE1' admin 2>&1' with exit code '1': usermod: existing lock file /etc/passwd.lock without a PIDusermod: cannot lock /etc/passwd; try again later.

      when i try updates :
      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --force-yes --fix-missing --auto-remove --allow-unauthenticated --show-upgraded --option DPkg::Options::="--force-confold" install base-files beep bind9-host cpp-4.9 curl debconf debconf-i18n debconf-utils debian-archive-keyring dnsutils g++-4.9 gcc-4.9 gcc-4.9-base git git-man gnupg gpgv hostapd isc-dhcp-client isc-dhcp-common libasan1 libasn1-8-heimdal libatomic1 libbind9-90 libc-bin libc-dev-bin libc6 libc6-dev libcups2 libcurl3 libcurl3-gnutls libdb5.3 libdbi1 libdns-export100 libdns100 libexpat1 libffi6 libgcc-4.9-dev libgcc1 libgcrypt20 libgd3 libgnutls-deb0-28 libgnutls-openssl27 libgomp1 libgraphite2-3 libgssapi-krb5-2 libhcrypto4-heimdal libhdb9-heimdal libheimbase1-heimdal libhx509-5-heimdal libicu52 libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90 libk5crypto3 libkrb5-26-heimdal libkrb5-3 libkrb5support0 liblwres90 libmysqlclient18 libncurses5 libncursesw5 libonig2 libpam-modules libpam-modules-bin libpam0g libperl5.20 libprocps3 libroken18-heimdal libsnmp-base libsnmp30 libsoup2.4-1 libssl-dev libssl1.0.0 libstdc++-4.9-dev libstdc++6 libtiff5 libtinfo5 libubsan0 libvpx1 libwbclient0 libwind0-heimdal libx11-6 libx11-data libxml2 linux-libc-dev locales multiarch-support mysql-common ncurses-base ncurses-bin ncurses-term nginx nginx-common nginx-full openmediavault openmediavault-flashmemory openmediavault-omvextrasorg openssh-client openssh-server openssh-sftp-server openssl perl perl-base perl-modules php5-cgi php5-cli php5-common php5-fpm procps proftpd-basic python-samba rsync samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules sensible-utils snmpd sudo sunxi-tools tzdata wget wpasupplicant 2>&1' with exit code '100': E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

      thank you all :)

      edit :

      just solved the problem for the admin's password with putty
      sudo rm /etc/passwd.lock
      and after
      sudo rm /etc/shadow.lock

      hope you liked my monologue
      cheers 8o
    • Users Online 1

      1 Guest