Banana Pi M3 (http://simplenas.com/download/other/banana-m3 ) issues

  • I got the system all up and running and after doing updates and I receive this on the web interface:


    Error #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; hostname --fqdn 2>&1' with exit code '137': Killed' in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/php/openmediavault/system/net/dns.inc(46): OMV\System\Process->execute(Array)
    #1 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(212): OMV\System\Net\Dns::getFqdn()
    #2 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(99): OMV\ControlPanel\ControlPanelAbstract->getTitle()
    #3 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()
    #4 {main}


    I've done some googling but haven't had much luck in fixing this issue. Any words of wisdom?


    I really don't feel like reloading my banana pi and running this without updating/upgrading it.

    • Offizieller Beitrag

    Sounds like your hosts file is wrong.


    Try: omv-mkconf hosts


    Then post the output of:


    cat /etc/hostname
    cat /etc/hosts

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Ran that command, refreshed web gui and still same results. I also tried rebooting to no avail:


    root@nas:~# cat /etc/hostname
    nas
    root@nas:~#


    root@nas:~# cat /etc/hosts
    # This configuration file is auto-generated.
    # WARNING: Do not edit this file, your changes will be lost.
    127.0.0.1 localhost
    127.0.1.1 nas


    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts


    root@nas:~#

    • Offizieller Beitrag

    Try changing the first two lines in /etc/hosts to the following:


    127.0.0.1 localhost.localdomain localhost
    127.0.1.1 nas.localdomain nas

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • root@nas:~# cat /etc/hosts
    # This configuration file is auto-generated.
    # WARNING: Do not edit this file, your changes will be lost.
    #127.0.0.1 localhost
    #127.0.1.1 nas
    127.0.0.1 localhost.localdomain localhost
    127.0.1.1 nas.localdomain nas



    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts



    Restarted nginx and rebooted but resulted in:


    Error #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; hostname --fqdn 2>&1' with exit code '137': Killed' in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/php/openmediavault/system/net/dns.inc(46): OMV\System\Process->execute(Array)
    #1 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(212): OMV\System\Net\Dns::getFqdn()
    #2 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(99): OMV\ControlPanel\ControlPanelAbstract->getTitle()
    #3 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()
    #4 {main}

    • Offizieller Beitrag

    127.0.1.1 that a typo? I'll try 127.0.0.1 instead.

    Nope that is correct.


    What is the output of hostname --fqdn

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    And you are still getting the error in the web interface? Maybe reboot?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Error #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; hostname --fqdn 2>&1' with exit code '137': Killed' in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/php/openmediavault/system/net/dns.inc(46): OMV\System\Process->execute(Array)
    #1 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(212): OMV\System\Net\Dns::getFqdn()
    #2 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(99): OMV\ControlPanel\ControlPanelAbstract->getTitle()
    #3 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()
    #4 {main}


    Same thing.

  • I may just reload the banana pi image and not do any updates for the time being. I also may look into maybe building my own banana pi image. If you have any other ideas. I'm all ears.

  • export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; hostname --fqdn 2>&1


    Works though I had to create the directory: /usr/local/bin/


    Rebooted.. and still same error message:


    Error #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; hostname --fqdn 2>&1' with exit code '137': Killed' in /usr/share/php/openmediavault/system/process.inc:175
    Stack trace:
    #0 /usr/share/php/openmediavault/system/net/dns.inc(46): OMV\System\Process->execute(Array)
    #1 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(212): OMV\System\Net\Dns::getFqdn()
    #2 /usr/share/php/openmediavault/controlpanel/controlpanelabstract.inc(99): OMV\ControlPanel\ControlPanelAbstract->getTitle()
    #3 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()
    #4 {main}

    • Offizieller Beitrag

    Not sure why it is failing on the hostname command when it works if you manually run it. Is it a new SD card? If you don't have flashmemory installed, I've seen an SD card fail in a couple days.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I've reloaded my banana pi and i've just done this prior to doing updates:


    apt-mark hold openmediavault*


    I then did apt-get update && apt-get upgrade -y


    The openediavault webpage works just fine without any errors thus far.


    root@nas:~# cat /etc/hosts
    # This configuration file is auto-generated.
    # WARNING: Do not edit this file, your changes will be lost.
    127.0.0.1 localhost
    127.0.1.1 nas


    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts



    root@nas:~# cat /etc/hostname
    nas


    root@nas:~# hostname --fqdn
    nas



    root@nas:/etc/apt# cat sources.list
    deb http://httpredir.debian.org/debian jessie main contrib non-free
    deb-src http://httpredir.debian.org/debian jessie main contrib non-free


    deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
    deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free


    # security packages come always from main repository
    deb http://security.debian.org/ jessie/updates main contrib non-free
    deb-src http://security.debian.org/ jessie/updates main contrib non-freer


    root@nas:/etc/apt/sources.list.d# cat openmediavault.list
    deb http://packages.openmediavault.org/public erasmus main
    root@nas:/etc/apt/sources.list.d# cat openmediavault-local.list
    deb file:/var/cache/openmediavault/archives /root@nas:/etc/apt/sources.list.d#

  • I'll let you know if I get around to it. I have it all up and running and don't really feel like messing with it at this point. lol I'm currently running:


    = openmediavault information
    ================================================================================
    Release: 3.0.13
    Codename: Erasmus



    Without any issues thus far.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!