nginx: [emerg] socket() [::]:80 failed

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • nginx: [emerg] socket() [::]:80 failed

      Hi guys,
      i'm quite frustrated... my reverseproxy which i use the docker container from Linuxserver.io (letsencrypt) fails...
      when i look to the logs on the container i see following output:

      Source Code

      1. nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
      2. nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)

      Since i've posted already to the LinuxServer.io forum they suggested to have a look to my Host IPv6 Settings.

      Now can some one help me figure out where this Line 2 Error comes from?

      have please a look to my troubleshooting done so far:

      Source Code

      1. $ sudo nginx -t
      2. nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
      3. nginx: configuration file /etc/nginx/nginx.conf test is successful

      Source Code

      1. $ systemctl status nginx.service
      2. ● nginx.service - A high performance web server and a reverse proxy server
      3. Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
      4. Active: active (running) since Mon 2020-01-13 22:47:45 CET; 14min ago
      5. Docs: man:nginx(8)
      6. Process: 4146 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
      7. Process: 4152 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      8. Process: 4148 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
      9. Main PID: 4153 (nginx)
      10. Tasks: 5 (limit: 4915)
      11. Memory: 6.1M
      12. CPU: 183ms
      13. CGroup: /system.slice/nginx.service
      14. ├─4153 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
      15. ├─4154 nginx: worker process
      16. ├─4155 nginx: worker process
      17. ├─4156 nginx: worker process
      18. └─4157 nginx: worker process
      Display All

      Source Code

      1. $ systemctl status networking.service
      2. ● networking.service - Raise network interfaces
      3. Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
      4. Active: failed (Result: exit-code) since Mon 2020-01-13 23:20:30 CET; 29s ago
      5. Docs: man:interfaces(5)
      6. Process: 916 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
      7. Process: 876 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/S
      8. UCCESS)
      9. Main PID: 916 (code=exited, status=1/FAILURE)
      10. CPU: 186ms
      pastebin.com/anWzYQUj

      Source Code

      1. $ cat /etc/network/interfaces
      2. # The loopback network interface
      3. auto lo
      4. iface lo inet loopback
      5. # wlp4s0 network interface
      6. auto wlp4s0
      7. allow-hotplug wlp4s0
      8. iface wlp4s0 inet dhcp
      9. dns-search home
      10. iface wlp4s0 inet6 manual
      11. pre-down ip -6 addr flush dev $IFACE
      12. # Include additional interface stanzas.
      13. source interfaces.d
      Display All

      Source Code

      1. $ nmcli connection show
      2. NAME UUID TYPE DEVICE
      3. SSID-Name 50fc36a6-2238-41d5-8b82-6c2553a9dfcb 802-11-wireless wlp4s0
      4. br-64a2b133a52b dbf2622b-ff7d-4ed2-8f1d-645ef91b7786 bridge br-64a2b133a52b
      5. br-b5c7fdf5f721 3442981b-62fa-41ec-af1b-112e876e9281 bridge br-b5c7fdf5f721
      6. br-fc20d2948ce4 2f34fc6f-8164-44ab-9eef-cdb92346a9aa bridge br-fc20d2948ce4
      7. docker0 a41b4380-f06e-4c25-b4f9-6b46f2acb858 bridge docker0
      8. Ifupdown (wlp4s0) 571967bf-b10a-641e-b7fb-c9d62b54b91a 802-3-ethernet --
      9. Wired connection 1 b14e8508-b8c7-3de3-b33c-f5af70c19767 802-3-ethernet --

      Thanks for the help and regards!
      etfraxor

      The post was edited 1 time, last by fraxor ().