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

    • OMV 2.x
    • 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

      Source Code

      1. Updating web administration settings. Please wait ...
      2. {"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}"}}
      3. Failed to execute RPC (service=Config, method=applyChanges)
      Also, netstat does not return openmediavault

      Source Code

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


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

      Source Code

      1. root@denver:~# service nginx restart
      2. 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
    • 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 4.1.19 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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

      Source Code

      1. root@denver:~# dpkg --get-selections | grep -v deinstall
      2. ....
      3. openmediavault-flashmemory install
      4. ....
      ARMBIAN 5.25 stable Debian GNU/Linux 8 (jessie) 4.9.7-sunxi // Banana Pi // OMV 3.0.62
    • I would look through logs in /var/log for a better explanation then. dmesg is very helpful.
      omv 4.1.19 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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:

      Source Code

      1. [ 2.539145] invalid gpio pin in fex configuration : -1
      2. [ 2.546699] axp20_ldo1: 1300 mV
      3. [ 2.555120] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
      4. [ 2.565447] axp20_ldo3: 700 <--> 3500 mV at 2800 mV
      5. [ 2.575566] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
      6. [ 2.585962] axp20_buck2: 700 <--> 2275 mV at 1450 mV
      7. [ 2.597513] somebody is trying to set dcdc3 range to (1300000, 1300000) uV
      8. [ 2.609429] but we keep dcdc3 = 1300000 uV from the bootloader
      9. [ 2.619522] axp20_buck3: 700 <--> 3500 mV at 1300 mV
      10. [ 2.629440] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
      11. [ 2.644202] input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input1
      12. [ 2.672219] axp20_ldo2: Failed to create debugfs directory
      13. [ 2.682673] device-mapper: uevent: version 1.0.3
      14. [ 2.695073] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
      15. [ 2.706786] cpuidle: using governor ladder
      16. [ 2.713802] cpuidle: using governor menu
      17. [ 2.720047] [mmc-msg] sw_mci_init
      18. [ 2.729097] [mmc-msg] MMC host used card: 0x1, boot card: 0x0, io_card 0
      19. [ 2.741006] [mmc-msg] sdc0 set round clock 400000, src 24000000
      20. [ 2.755213] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
      21. [ 2.772464] [mmc-msg] sdc0 Probe: base:0xf0154000 irq:64 sg_cpu:f0156000(4fc00000) ret 0.
      22. [ 2.785228] [mmc_pm]: failed to fetch sdio card configuration!
      Display All


      Source Code

      1. [ 14.018488] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
      2. [ 14.052363] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
      3. [ 14.071043] VFS: Mounted root (ext4 filesystem) on device 179:2.
      4. [ 14.094729] devtmpfs: mounted
      5. [ 14.106683] Freeing init memory: 224K
      6. [ 15.074297] udevd[161]: starting version 175
      7. [ 19.132046] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
      8. [ 19.394639] Unable to handle kernel paging request at virtual address f1175e3c
      9. [ 19.409160] pgd = ee5ac000

      Source Code

      1. [ 26.049705] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
      2. [ 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
    • 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 4.1.19 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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
    • G90210 wrote:

      what is the fastest/easiest way to transfer all the settings?
      You can't. You have to setup everything again.


      G90210 wrote:

      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 4.1.19 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.15
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!