OMV on RPI2 - Monit error

  • I installed OMV on RPI2. When I try to mount my hard drive and save it I am getting below error. Not sure if it is related to the Hard drive mounting. Please help.




    Error


    Failed to execute command 'export LANG=C; monit monitor collectd 2>&1': monit: Cannot connect to the monit daemon. Did you start it with http support?


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'export LANG=C; monit monitor collectd 2>&1': monit: Cannot connect to the monit daemon. Did you start it with http support?' in /usr/share/php/openmediavault/monit.inc:113
    Stack trace:
    #0 /usr/share/php/openmediavault/monit.inc(80): OMVMonit->action('monitor', 'collectd', false)
    #1 /usr/share/openmediavault/engined/module/collectd.inc(94): OMVMonit->monitor('collectd')
    #2 /usr/share/openmediavault/engined/rpc/config.inc(206): OMVModuleCollectd->startService()
    #3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
    #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
    #6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
    #7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
    #8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
    #9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
    #10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
    #11 {main}

  • Hi, Joesph. I've just formatted my first HDD attached to my first OMV on my first RPI2. When I try to mount it and save, I'm getting the same exact error message that you posted back on New Years Eve. You never got any replies that I can see. Were you ever able to figure out how to get around this error message?


    Thanks,
    KyleD

  • I seem to have fixed the problem on my RPi 2. I was using OMV for Raspberry Pi release 2.0.15 and I saw there was a newer release, 2.2.1 available. I replaced the old image on my MicroSD card with 2.2.1 and after that change, the Error #4000 stopped when I mounted my HDD. The setup of my system went perfectly after that.


    It is also possible that simply reinstalling the original OVM release 2.0.15 could have fixed the problem. I did not try that, so I don't know if it would have solved the problem or not.


    Anyway, I thought I'd post this here, in case others see the Error #4000 on HDD mount in the future.

  • Hello,


    I have the same error. And I beleve it real error of monit pakage.
    root@omv:~# monit monitor collectd
    Segmentation fault
    root@omv:~# dmesg | tail -1
    [ 738.847279] monit[5675]: segfault at e ip 00007f2f17601a6a sp 00007ffdc6c8eac0 error 4 in libc-2.13.so[7f2f175bc000+184000]
    root@omv:~#
    root@omv:~# dpkg -s monit
    Package: monit
    Status: install ok installed
    Priority: optional
    Section: admin
    Installed-Size: 752
    Maintainer: Sergey B Kirpichev <skirpichev@gmail.com>
    Architecture: amd64
    Version: 1:5.4-2+deb7u1
    Depends: libc6 (>= 2.11), libpam0g (>= 0.99.7.1), libssl1.0.0 (>= 1.0.0), lsb-base (>= 3.2-13)
    Suggests: exim4 | postfix | mail-transport-agent
    Conffiles:
    /etc/monit/templates/rootbin 49eca590561b14ef1f0e114db1cbdd21
    /etc/monit/templates/rootrc 1ec23646ad7866ab0c51bd4d21db6894
    /etc/monit/templates/rootstrict 4c4828a4229d93fd432baf37143fc231
    /etc/monit/monitrc.d/cron 40a7b3574f8af725dda9564f1e98051c
    /etc/monit/monitrc.d/openssh-server 5991014df03ed4182c2bcc156c50b70e
    /etc/monit/monitrc 8730cabad2c17b20a0b602158984331c
    /etc/logrotate.d/monit 62d8de62c4153bca27dfac15b2d63dd5
    /etc/init.d/monit 36b9335b73df50dab35369838c8ec2de
    /etc/pam.d/monit 2c649c6000755b2d4eded976c3638fb2
    /etc/default/monit 41c370d2478f7da23ea9b6b3b5adaaa5
    Description: utility for monitoring and managing daemons or similar programs
    monit is a utility for monitoring and managing daemons or similar
    programs running on a Unix system. It will start specified programs
    if they are not running and restart programs not responding.
    .
    monit supports:
    * Daemon mode - poll programs at a specified interval
    * Monitoring modes - active, passive or manual
    * Start, stop and restart of programs
    * Group and manage groups of programs
    * Process dependency definition
    * Logging to syslog or own logfile
    * Configuration - comprehensive controlfile
    * Runtime and TCP/IP port checking (tcp and udp)
    * SSL support for port checking
    * Unix domain socket checking
    * Process status and process timeout
    * Process cpu usage
    * Process memory usage
    * Process zombie check
    * Check the systems load average
    * Check a file or directory timestamp
    * Alert, stop or restart a process based on its characteristics
    * MD5 checksum for programs started and stopped by monit
    * Alert notification for program timeout, restart, checksum, stop
    resource and timestamp error
    * Flexible and customizable email alert messages
    * Protocol verification. HTTP, FTP, SMTP, POP, IMAP, NNTP, SSH, DWP,
    LDAPv2 and LDAPv3
    * An http interface with optional SSL support to make monit
    accessible from a webbrowser
    Homepage: http://mmonit.com/monit/
    root@omv:~#


    In previous version I haven't the error.

    • Offizieller Beitrag

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

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | 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!

Jetzt mitmachen!

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