Beiträge von djpollum

    :thumbup: sometimes that's the best option, it's not so much setting it up but restoring the data, I've only had to do this once and that was due to drive and operational changes.

    I made sure I had the following files backupped before, so I had a quick start settings things up and running again...


    - etc/host.conf
    - etc/hostname
    - etc/hosts
    - etc/passwd
    - etc/passwd-
    - etc/shadow
    - etc/shadow-
    - etc/openmediavault/config.xml
    - etc/openmediavault/php.ini
    - etc/samba/dhcp.conf
    - etc/samba/gdbcommands
    - etc/samba/smb.conf
    - etc/samba/smb.conf.ucf-dist
    - etc/samba/tls/*

    Don't we have to focus on the lines
    unable to open triggers ci file '/var/lib/dpkg/info/libbind9-140:armhf.triggers': Input/output error
    and
    unable to open triggers ci file '/var/lib/dpkg/info/libisc-export160.triggers': Input/output error


    Some say this could be an hardware failure, but I checked the disk (Full wipe with KILLDISK at Gutman 35 passes, which gave no errors).


    Also the command
    btrfsck --repair /dev/mmcblk0p2


    can't be executed because the device is mounted.



    Any ideas?

    apt-get install --reinstall dnsutils will give me this

    Also from the output on pastebin it's asking for this;


    • bind9-host : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-12.3+deb9u5) but it is not going to be installed
    • dnsutils : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-12.3+deb9u5) but it is not going to be installed

    Is this just a typo; libisc-export160 1:9.10.3.dfsg.P4-12.3+deb9u5

    No this is not a typo. Should I first install this libbind9-140 package?


    Another apt-get install -f will give me this

    That's fine, the reason I asked is that the error you see E: Sub-process /usr/bin/dpkg returned an error code (1) usually occurs on a new install and has appeared in respect of R-Pi's.AFAIK the fact that those two commands fail to resolve the install points to a corrupt package database, the only other option I can think of is from OMV's GUI, OMV-Extras from the Updates drop down menu run apt clean.

    If I go to OMV-Extras in the GUI and do a apt clean, this is the output



    Nothing errors there

    This is not new install, I've already used it for 2 years now.
    The hardware is an ODROID XU4, OMV runs on a eMMC card.


    Samsung Exynos5422 Cortex™-A15 2Ghz and Cortex™-A7 Octa core CPUs
    * Mali-T628 MP6(OpenGL ES 3.1/2.0/1.1 and OpenCL 1.2 Full profile)
    * 2Gbyte LPDDR3 RAM PoP stacked
    * eMMC5.0 HS400 Flash Storage
    * 2 x USB 3.0 Host, 1 x USB 2.0 Host
    * Gigabit Ethernet port
    * HDMI 1.4a for display
    * Size : 83 x 58 x 20 mm approx.(excluding cooler)
    * Power: 5V/4A input
    * Linux Kernel 4.14 LTS

    Try apt-get install -f

    Gives this

    Try dpkg --configure -a

    If I try dpkg --configure -a it gives me nothhing.
    If I try apt --fix-broken installafterwards, the same errors appear.


    The second listing is not an error, it is a question if you want to fix an error. What happens if you press Y? Do the update go through and the error away?


    And you and your OMV NAS can ride together into the sunset and live happily ever after? Or is this just a cliffhanger? With a sequel error?

    I guess you forgot to scroll down, or push the "Display All" button ?
    Sadly no happily ever after at this moment...

    A week ago I tried to install some new updates and got an error while updating 'libisc-export160'.
    If I use apt upgrade
    then I get

    Bash
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt --fix-broken install' to correct these.
    The following packages have unmet dependencies:
     bind9-host : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-12.3+deb9u5) but it is not installed
     dnsutils : Depends: libbind9-140 (= 1:9.10.3.dfsg.P4-12.3+deb9u5) but it is not installed
     isc-dhcp-client : Depends: libisc-export160 but it is not installed
     libdns-export162 : Depends: libisc-export160 but it is not installed
    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

    If I use apt --fix-broken install
    then I get the error




    Can someone please help me?

    Yeah, you're right...


    Long story short:
    My OMV 4 on a ODROID XU4 gave to much notices that the load average was too high.
    By looking at the processes I saw around an 4500 sleeping processes (most of them were 'cron').
    A 'helpful friend' ran the command to kill the sleeping processes and remove anacron from the system.
    This also deinstalled things like Openmediavault, OMV-Extras, Clamav, etc.
    After installing those again the WebGUI gave an error by logging in
    'Failed to connect to socket: No such file or directory'
    Error #0:
    OMV\Rpc\Exception: Failed to connect to socket: No such file or directory in /usr/share/php/openmediavault/rpc/rpc.inc:140
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/proxy/json.inc(97): OMV\Rpc\Rpc::call('Services', 'getStatus', Array, Array, 3)
    #1 /var/www/openmediavault/rpc.php(45): OMV\Rpc\Proxy\Json->handle()
    #2 {main}


    I can only work around this if I first use SSH to run
    omv-engined -f -d
    I really would like this to be solved. Is it solved when this runs automatically at boot (?). Do you know how?


    If I try to update via the WebGUI it gives me an error

    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': Get:1 file:/var/cache/openmediavault/archives InRelease Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release Ign:2 file:/var/cache/openmediavault/archives Release Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Ign:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Get:3 file:/var/cache/openmediavault/archives Packages Get:4 file:/var/cache/openmediavault/archives Contents (deb) Ign:4 file:/var/cache/openmediavault/archives Contents (deb) Get:5 file:/var/cache/openmediavault/archives Contents (deb) Ign:5 file:/var/cache/openmediavault/archives Contents (deb) Hit:6 http://ppa.launchpad.net/kyle1117/ppa/ubuntu xenial InRelease Get:9 http://security.debian.org stretch/updates InRelease [94.3 kB] Hit:11 http://packages.openmediavault.org/public arrakis InRelease Ign:7 http://cdn-fastly.deb.debian.org/debian stretch InRelease Get:8 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease [91.0 kB] Get:12 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB] Hit:13 http://cdn-fastly.deb.debian.org/debian stretch Release Ign:14 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease Get:15 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release [4389 B] Hit:15 https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release Hit:16 https://openmediavault.github.io/packages arrakis InRelease Ign:10 https://apt.armbian.com jessie InRelease Err:17 https://apt.armbian.com jessie Release 404 Not Found Reading package lists... E : The repository 'http://apt.armbian.com jessie Release' does no longer have a Release file.

    I just installed a fresh image of OMV 4.0.14-1.
    If I try to open up the OMV-Extras in the left menu I get an error:


    Code
    Fout #0:
    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; cat /boot/grub/grub.cfg | grep ^menuentry' with exit code '1':  in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/openmediavault/engined/rpc/omvextrasorg.inc(192): OMV\System\Process->execute(Array)
    #1 [internal function]: OMVRpcServiceOmvExtras->getKernelList(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getKernelList', Array, Array)
    #4 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('OmvExtras', 'getKernelList', Array, Array, 1)
    #5 {main}


    Does anybody have an idea to solve this?