OMV Web front-end is not working (Segmentation fault?)

  • Hello everyone,
    I am using OMV on Banana PI (SimpleNAS debian wheezy) for more than 8 months. Also I have very limited linux knowledge, so the issue might be obvious.


    Everything has started with an issue with DNS server. But after some googling, experimenting and (eventually) reinstalling resolvconf it was resolved.


    Now I have issues while accessing OMV front-end via http (port 80) - the server is not responding. I do not have any issues accessing SSH, SMB shares or Transmission Web GUI, but I am also not able to access ownClowd (SSL).


    I have tried omv-firstaid (2) Configure web GUI, but after entering all the ports etc. it ends with an error


    Code
    Updating web administration settings. Please wait ...
    {"response":null,"error":{"code":4000,"message":"Failed to execute command 'export LANG=C; nginx -t 2>&1': Segmentation fault","trace":"exception 'OMVException' with message 'Failed to execute command 'export LANG=C; nginx -t 2>&1': Segmentation fault' in \/usr\/share\/openmediavault\/engined\/module\/webserver.inc:41\nStack trace:\n#0 \/usr\/share\/openmediavault\/engined\/rpc\/config.inc(180): OMVModuleNginxAbstract->applyConfig()\n#1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)\n#2 \/usr\/share\/php\/openmediavault\/rpcservice.inc(125): call_user_func_array(Array, Array)\n#3 \/usr\/share\/php\/openmediavault\/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)\n#4 \/usr\/sbin\/omv-engined(500): OMVRpc::exec('Config', 'applyChanges', Array, Array, 1)\n#5 {main}"}}
    Failed to execute RPC (service=Config, method=applyChanges)

    Also, netstat does not return openmediavault

    Code
    root@denver:~# netstat -tulpen | grep 80
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          3880        2703/sshd
    tcp        0      0 0.0.0.0:8200            0.0.0.0:*               LISTEN      112        4803        3018/minidlna
    udp        0      0 0.0.0.0:1900            0.0.0.0:*                           112        4802        3018/minidlna
    udp        0      0 192.168.0.121:54703     0.0.0.0:*                           112        4804        3018/minidlna
    udp        0      0 127.0.0.1:32805         0.0.0.0:*                           113        6374        2260/Plex Media Ser
    root@denver:~#


    Reinstalling openmediavault or nginx (apt-get --reinstall install openmediavault) has not helped either - issue still exists.

    Code
    root@denver:~#  service nginx restart
    Restarting nginx: Segmentation fault


    Please advise how this can be fixed
    Thanks

    ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi // Banana Pi // OMV 3.0.62

    • Offizieller Beitrag

    Did you install the flashmemory plugin? If not, I am guessing your SD card is failing and there is no way to fix that. If you copy the card, you would transfer the problem to the new card.

    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!

  • I don't recall specifically installing it, but I see it in the list of installed packages


    Code
    root@denver:~# dpkg --get-selections | grep -v deinstall
    ....
    openmediavault-flashmemory                      install
    ....

    ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi // Banana Pi // OMV 3.0.62

    • Offizieller Beitrag

    I would look through logs in /var/log for a better explanation then. dmesg is very helpful.

    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!

  • Is there anything in particular i should be looking for? The following lines looked suspicious to me:



    Code
    [   14.018488] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
    [   14.052363] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
    [   14.071043] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [   14.094729] devtmpfs: mounted
    [   14.106683] Freeing init memory: 224K
    [   15.074297] udevd[161]: starting version 175
    [   19.132046] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [   19.394639] Unable to handle kernel paging request at virtual address f1175e3c
    [   19.409160] pgd = ee5ac000
    Code
    [   26.049705] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
    [   26.854417] ADDRCONF(NETDEV_UP): lo: link is not ready

    ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi // Banana Pi // OMV 3.0.62

  • Just to add - for some reason I am now able to access both OMC Web interface and ownCloud, although I did not make any further changes (not even rebooted), so I would like to understand better why this was happening (and I am not sure if it will continue working after reboot)

    ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi // Banana Pi // OMV 3.0.62

    • Offizieller Beitrag

    None of those logs tell me anything is wrong. If it is working now, I don't have any ideas. Maybe try a different SD card??

    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!

  • Ok, it is no longer working after reboot. I now have bought a new SD card - what is the fastest/easiest way to transfer all the settings?


    Also - how to make sure that the same will not reoccur after I will move the settings (maybe there is something wrong with the setup)? Thanks

    ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi // Banana Pi // OMV 3.0.62

    • Offizieller Beitrag

    what is the fastest/easiest way to transfer all the settings?

    You can't. You have to setup everything again.



    how to make sure that the same will not reoccur after I will move the settings (maybe there is something wrong with the setup)?

    I don't know.

    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!