RPCBind errors, unable to remove/install anything

    • OMV 1.0
    • RPCBind errors, unable to remove/install anything

      Hi,

      After months running without issue, recently I had some disk errors and performed a chkdsk to resolve many cloned file errors, which it did.

      I've now found that Couchpotato won't run but everything else is running as usual, sickbeard, SABnzbd etc all OK.

      Tried to uninstall/reinstall but get hit with

      Source Code

      1. Failed to execute command 'export LANG=C; apt-get --yes --auto-remove --purge remove openmediavault-couchpotato 2>&1': Reading package lists... Building dependency tree... Reading state information... The following packages will be REMOVED: openmediavault-couchpotato* 0 upgraded, 0 newly installed, 1 to remove and 151 not upgraded. After this operation, 54.3 kB disk space will be freed. (Reading database ... dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `rpcbind': No such device or address Creating index of upgradeable packages ... Creating index of OpenMediaVault plugins ... E: Sub-process /usr/bin/dpkg returned an error code (2)


      Guessing that some corruption occured with my disk error I did some searching and tried to purge RPCBind and attempt reinstall. No luck, similar error message.

      With all plugins now or attempting to remove anything I come up with similar errors ie:

      Source Code

      1. Reading state information... The following packages will be REMOVED: aria2* libc-ares2* openmediavault-downloader* 0 upgraded, 0 newly installed, 3 to remove and 151 not upgraded. After this operation, 4801 kB disk space will be freed. (Reading database ... dpkg: unrecoverable fatal error, aborting: unable to open files list file for package `rpcbind': No such device or address Creating index of upgradeable packages ... Creating index of OpenMediaVault plugins ... E: Sub-process /usr/bin/dpkg returned an error code (2)' in /usr/share/openmediavault/engined/rpc/pluginmgmt.inc:174 Stack trace: #0 [internal function]: OMVRpcServicePluginMgmt->remove(Array, Array) #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array) #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('remove', Array, Array) #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Plugin', 'remove', Array, Array, 1) #4 {main}
      .

      I'm trying to repair so I don't have to start from scratch, so any help or guidance would be much appreciated!

      Many thanks
      Steve
    • Source Code

      1. root@soconas:/# cat /etc/apt/sources.list
      2. #
      3. # deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140520-18:28]/ wheezy main non-free
      4. #deb cdrom:[Debian GNU/Linux 6.0.0 _Squeeze_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140520-18:28]/ wheezy main non-free
      5. deb http://ftp.uk.debian.org/debian/ wheezy main
      6. deb-src http://ftp.uk.debian.org/debian/ wheezy main
      7. deb http://security.debian.org/ wheezy/updates main non-free
      8. deb-src http://security.debian.org/ wheezy/updates main non-free
      9. # wheezy-updates, previously known as 'volatile'
      10. deb http://ftp.uk.debian.org/debian/ wheezy-updates main non-free
      11. deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main non-free
      Display All


      Source Code

      1. root@soconas:/# cat /etc/debian_version
      2. 7.7


      Thanks!
    • It's been running so well I'd forgotten about it, won't do that again! :)

      No it doesn't (code response below).

      Even tried to update the version but this issue won't permit an upgrade.

      Is there anyway to rebuild/replace the file it's looking for?

      Source Code

      1. ​root@soconas:~# sudo apt-get upgrade
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. The following packages have been kept back:
      6. openmediavault-roundcube openmediavault-webdav
      7. The following packages will be upgraded:
      8. apache2-suexec apache2-utils apt apt-transport-https apt-utils base-files
      9. bind9-host binutils bsd-mailx comerr-dev cpio curl dbus
      10. debian-archive-keyring dnsutils dpkg dpkg-dev e2fslibs e2fsprogs ffmpeg file
      11. fuse gnupg gpgv krb5-multidev libapt-inst1.5 libapt-pkg4.12 libav-tools
      12. libavcodec53 libavdevice53 libavfilter2 libavformat53 libavutil51
      13. libbind9-80 libc-bin libc-dev-bin libc6 libc6-dev libcomerr2 libcups2
      14. libcurl3 libcurl3-gnutls libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev
      15. libdns88 libdpkg-perl libevent-2.0-5 libfreetype6 libfuse2 libgcrypt11
      16. libgcrypt11-dev libgd2-xpm libgnutls-dev libgnutls-openssl27 libgnutls26
      17. libgnutlsxx27 libgssapi-krb5-2 libgssrpc4 libicu48 libisc84 libisccc80
      18. libisccfg82 libjasper1 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8
      19. libkdb5-6 libkrb5-3 libkrb5-dev libkrb5support0 libldap-2.4-2 libldap2-dev
      20. liblwres80 libmagic1 libmysqlclient-dev libmysqlclient18 libpostproc52
      21. libpq5 libsqlite3-0 libss2 libssh2-1 libssh2-1-dev libssl-dev libssl1.0.0
      22. libsvn1 libswscale2 libtasn1-3 libtasn1-3-dev libwbclient0 libwmf-bin
      23. libwmf0.2-7 libx11-6 libx11-data libx11-xcb1 libxml2 libxrender1
      24. linux-image-3.2.0-4-amd64 linux-libc-dev locales mime-support
      25. multiarch-support mysql-client mysql-client-5.5 mysql-common mysql-server
      26. mysql-server-5.5 mysql-server-core-5.5 mywebsql ntfs-3g ntp openmediavault
      27. openmediavault-calibre openmediavault-couchpotato openmediavault-downloader
      28. openmediavault-extplorer openmediavault-omvextrasorg openmediavault-openvpn
      29. openmediavault-transmissionbt openmediavault-virtualbox openssl
      30. oracle-java8-installer php-pear php5 php5-cgi php5-cli php5-common php5-curl
      31. php5-fpm php5-gd php5-gmp php5-mcrypt php5-mysqlnd php5-pgsql php5-sqlite
      32. phpvirtualbox proftpd-basic python-django samba samba-common
      33. samba-common-bin subversion sudo tzdata unattended-upgrades unrar unzip
      34. virtualbox-4.3 virtualbox-extpack-installer xdg-utils
      35. 150 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
      36. Need to get 0 B/198 MB of archives.
      37. After this operation, 985 kB of additional disk space will be used.
      38. Do you want to continue [Y/n]? y
      39. WARNING: The following packages cannot be authenticated!
      40. openmediavault-couchpotato openmediavault-openvpn unrar
      41. Install these packages without verification [y/N]? y
      42. Extracting templates from packages: 100%
      43. Preconfiguring packages ...
      44. dpkg: unrecoverable fatal error, aborting:
      45. unable to open files list file for package `rpcbind': No such device or address
      46. Creating index of upgradeable packages ...
      47. Creating index of OpenMediaVault plugins ...
      48. E: Sub-process /usr/bin/dpkg returned an error code (2)
      Display All


      Thanks
      Steve
    • Given the fact that your performed fscl and you had problems afterwards i would recommend you to check the smart values of your hard drive. It might be at his end life. Those can be checked at omv physical disk section.
      Look at smart value ID 198 (Offline uncorrectable)
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server