Posts by finas

    I changed the two lines on weakref.py and it did help for a while. But since OMV 4..0.16 I am having these two issues when running apt update and apt upgrade. Openmediavault package is not properly updated.



    I changed the two lines on weakref.py and it did help for a while. But since OMV 4..0.16 I am having these two issues when running apt update and apt upgrade. Openmediavault package is not properly updated.



    engined cannot start, and when started in foreground + debug mode this is what I get:


    PHP Warning: require_once(openmediavault/object.inc): failed to open stream: No such file or directory in /usr/share/openmediavault/engined/rpc/omvextrasorg.inc on line 22
    PHP Fatal error: require_once(): Failed opening required 'openmediavault/object.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/openmediavault/engined/rpc/omvextrasorg.inc on line 22



    OMV 3 updated to latest version with apt-get update + apt-get upgrade.

    I'm lost in an apply configurations loop with OMV 0.5.60


    I get the dreaded apply configurations button on OMV web interface, I click on it, OVM web interface throws out and error and the machine loses the ip address and routes ( the only interface that appears with ifconfig is lo ). I do an /etc/init.d/networking restart and bond0 is up and running again, routes are up and running again, everything just like I have configured via OMV web interface. I go to the OMV web interface again, refresh the page, and the same apply configurartions button appears, and If I press it everything starts over.


    rebooting doesn't solve anything.
    Reinstalling or upgrading to 1.0 is not an option right now because I have a huge number of rsync configurations that would take ages to do again :(


    How do I get rid of this "apply configurations" thing?

    hi Marcel,


    this is the exact error:



    Failed to execute command 'sudo omv-mkconf dnsmasq 2>&1':


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'sudo omv-mkconf dnsmasq 2>&1': ' in /var/www/openmediavault/module/dnsmasq.inc:77
    Stack trace:
    #0 [internal function]: DNSMasqModule->updateService(Array, Array)
    #1 /usr/share/php/openmediavault/notify.inc(123): call_user_func_array(Array, Array)
    #2 /var/www/openmediavault/rpc/dnsmasq.inc(252): OMVNotifyDispatcher->notify(8, 'org.openmediava...', Array, Array)
    #3 [internal function]: DNSMasqRpc->set(Array)
    #4 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('dnsmasq', 'set', Array)
    #6 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #7 {main}

    I too have the dnsmasq plugin in a broken state.


    - installed OMV 3.0
    - installed OMV-Plugins 3
    - installed dnsmasq plugin ( version 3 )
    - upgraded later on to OMV 4.0
    - upgraded dnsmasq pluging to version 4
    - upgraded OMV-Plugins to version 4.


    error when changing settings and applying is the one that has been reported here ( 2>&1 ( on line 77 or something.


    I do rely on this plugin and I am desperate to try to fix this.


    Marcel, I can give you ssh access to the OMV box if you wish to see what's going on. please drop me a message.


    thanks!

    In it's current form, OMV does not support EXT4 volumes greater than 16TB. The reason is that to create EXT4 volumes bigger than 16TB version 1.42 or higher of the e2fsprogs package is needed, but this is not available on squeeze, the Debian version upon OMV is based on.


    The newer e2fsprogs is not available on the Debian backports repository, and so, the solution is to install by hand some packages from Ubuntu 12.04.


    The folowing steps were handed to me by bezeek, from OMV irc channel. A very helpfull person that saved my day. Thanks again!!


    login as root and then do the following:


    get the needed packages:

    Code
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/eglibc/libc-bin_2.15-0ubuntu10_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/eglibc/libc6_2.15-0ubuntu10_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/eglibc/multiarch-support_2.15-0ubuntu10_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/e2fsprogs/libcomerr2_1.42-1ubuntu2_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/e2fsprogs/libcomerr2_1.42-1ubuntu2_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/e2fsprogs/e2fslibs_1.42-1ubuntu2_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/e/e2fsprogs/e2fsprogs_1.42-1ubuntu2_amd64.deb
    wget http://mirror.pnl.gov/ubuntu//pool/main/l/langpack-locales/locales_2.13+git20120306-3_all.deb


    Install the packages:

    Code
    apt-get remove locales
    dpkg -i libc-bin_2.15-0ubuntu10_amd64.deb
    dpkg -i libc6_2.15-0ubuntu10_amd64.deb
    dpkg -i multiarch-support_2.15-0ubuntu10_amd64.deb
    dpkg -i multiarch-support_2.15-0ubuntu10_amd64.deb
    dpkg -i e2fslibs_1.42-1ubuntu2_amd64.deb
    dpkg -i e2fsprogs_1.42-1ubuntu2_amd64.deb
    dpkg -i locales_2.13+git20120306-3_all.deb
    locale-gen


    Done. to format the volume with EXT4 do:

    Code
    mkfs.ext4 -O 64bit /dev/device ( device is your 16TB+ device name )


    If you want to regain the reserved space for root user ( Default 5% ) execute the following command:

    Code
    tune2fs -m 0 /dev/sda


    This will set the reserved space to 0%.



    If for some reason you need a newer kernel ( I needed it to be able to use my 9265 MegaRaid card ) you can install kernel 3.2 from the Debian backport repos:
    edit file /etc/apt/sources.list and add the backport repo:

    Code
    deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free


    Reload the package information and install the 3.2 kernel. Then reboot.


    Code
    apt-get update
    apt-get install -t squeeze-backports linux-image-3.2.0-0.bpo.2-amd64


    that's it. Hope it is helpfull.