Armbian install binds only localhost

  • HI all,


    I have a ODroid HC1. I am trying to install OMV on it, but it's. not working. Here is what I did and what I discovered so far:


    1) Installed Armbian Buster - no problem with that.

    2) Configured Static IP for it using armbian-config

    3) apt update and apt-upgrade

    4) Installer OMV through armbian-config

    5) reboot

    6) tried to access through my computer: no access

    7) curl localhost: got response from OMV

    8) netstat -na |grep 80 gives me:

    tcp6 0 0 127.0.0.1:80 127.0.0.1:35938 TIME_WAIT

    tcp6 0 0 127.0.0.1:80 127.0.0.1:35940 TIME_WAIT


    What a IPv4 adress is doing in tcp6 stack ????


    What am I doing wrong here ?


    Thanks....

  • Tried twice. Flashing SD Card on each try.


    First installed OMV without any update. Did not work.


    Second, I tried to install OMV after the updates. Same result.

    My net stat shows:


    Active Internet connections (servers and established)

    Proto Recv-Q Send-Q Local Address Foreign Address State

    tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:57697 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:38851 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:38151 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:33233 0.0.0.0:* LISTEN

    tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN

    tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN

    tcp 0 0 192.168.90.2:22 192.168.88.33:61154 ESTABLISHED

    tcp6 0 0 :::38589 :::* LISTEN

    tcp6 0 0 :::2049 :::* LISTEN

    tcp6 0 0 :::56135 :::* LISTEN

    tcp6 0 0 :::5355 :::* LISTEN

    tcp6 0 0 :::111 :::* LISTEN

    tcp6 0 0 :::80 :::* LISTEN

    tcp6 0 0 :::41715 :::* LISTEN

    tcp6 0 0 :::37045 :::* LISTEN

    tcp6 0 0 :::22 :::* LISTEN

    tcp6 0 0 127.0.0.1:80 127.0.0.1:55990 TIME_WAIT

    tcp6 0 0 127.0.0.1:80 127.0.0.1:55988 TIME_WAIT

    udp 0 0 0.0.0.0:2049 0.0.0.0:*

    udp 0 0 0.0.0.0:34338 0.0.0.0:*

    udp 0 0 127.0.0.53:53 0.0.0.0:*

    udp 0 0 192.168.90.2:68 0.0.0.0:*

    udp 0 0 0.0.0.0:55895 0.0.0.0:*

    udp 0 0 0.0.0.0:111 0.0.0.0:*

    udp 0 0 0.0.0.0:33479 0.0.0.0:*

    udp 0 0 0.0.0.0:5353 0.0.0.0:*

    udp 0 0 0.0.0.0:5355 0.0.0.0:*

    udp 0 0 0.0.0.0:54068 0.0.0.0:*

    udp 0 0 127.0.0.1:323 0.0.0.0:*

    udp 0 0 0.0.0.0:37739 0.0.0.0:*

    udp6 0 0 :::2049 :::*

    udp6 0 0 :::111 :::*

    udp6 0 0 :::57971 :::*

    udp6 0 0 :::34973 :::*

    udp6 0 0 :::58072 :::*

    udp6 0 0 :::45789 :::*

    udp6 0 0 :::5353 :::*

    udp6 0 0 :::5355 :::*

    udp6 0 0 ::1:323 :::*

    udp6 0 0 :::42850 :::*

    raw6 0 0 :::58 :::*

  • What is the output of: systemctl status openmediavault-engined


    I have installed many times on an HC2 and many other odroid boards. Did you try following the guide? Installing OMV5 on Raspberry PI's, Armbian SBC's, & i386 32-bit platforms

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


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

  • I also ran a command found on Armbian forum and it showed me this output. Interesting the part that show listening address.


  • What is the output of: systemctl status openmediavault-engined


    I have installed many times on an HC2 and many other odroid boards. Did you try following the guide? Installing OMV5 on Raspberry PI's, Armbian SBC's, & i386 32-bit platforms

    Yes, I also tried this guide. Didin't work.


  • The service is UP, it is working, it is just not binding eth, only localhost:


  • I also tried this guide. Didin't work.

    "Didn't work" doesn't tell me anything. Where is the output from the install script?

    The service is UP, it is working, it is just not binding eth, only localhost:

    Unless you are changing something, I don't see how it couldn't bind to the network adapter. I have installed on Armbian hundreds of times and never seen this issue. What is the output of:


    sudo omv-salt deploy run nginx phpfpm

    sudo systemctl restart nginx

    sudo systemctl restart php7.3-fpm

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


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

  • TO give you the output of the install script I would have to flash the SDCard again and do all installing once more.

    I'm not changing anything. I have already done this installation one year ago on a smaller SDCard and it is working.


    The output of the commands you gave to me put before (at least on of then), but I'll post again:



    Content of /var/log/nginx:

    Code
    rwxr-xr-x 2 root adm 120 Jul 28 16:42 .
    drwxr-xr-x 15 root root 740 Jul 28 16:40 ..
    -rw-r----- 1 www-data adm 174 Jul 28 16:42 access.log
    -rw-r----- 1 www-data adm 0 Jul 28 16:39 error.log
    -rw-r--r-- 1 root root 15214 Jul 28 19:22 openmediavault-webgui_access.log
    -rw-r--r-- 1 root root 0 Jul 28 16:42 openmediavault-webgui_error.log

    No errors on log files.....

  • TO give you the output of the install script I would have to flash the SDCard again and do all installing once more.

    I'm not changing anything. I have already done this installation one year ago on a smaller SDCard and it is working.

    That doesn't bother me. I just struggle to know what is going on without it.

    The output of the commands you gave to me put before (at least on of then), but I'll post again:

    I didn't know I told you to run those before. On this same install?


    What is the output of: grep listen /etc/nginx/sites-enabled/openmediavault-webgui

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


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

  • Hi, forget everything,


    I decided to move the server and connect it directly to a switch with my computer and it worked. So, the problem is something related to firewall between my network and where it was, but that's. strange, because nothing was changed. I just removed old SDCard and put the new one, and the IP is always the same.


    I'll need to check what is the problem closely. So, this is nothing related to OMV. I think....


    Thanks for you help !

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!