Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Re: netdisco-web fails to bind after upgrade to version
      2.078000 on Debian 11 (Charlie Butera)
   2. Re: netdisco-web fails to bind after upgrade to version
      2.078000 on Debian 11 (Sven Duscha)
--- Begin Message ---
Hey Sven,

Try setting the Environment Variables IPV to 4, this fixed it for me.

https://github.com/netdisco/netdisco/wiki/Environment-Variables#ipv

This is what the correctly set env variable should look like
~ $ printenv | grep IPV
IPV=4





*Charles Butera*

*Network Engineer*

cbut...@squarespace.com <kkne...@squarespace.com>

Squarespace

Squarespace.com


On Thu, Aug 29, 2024 at 9:18 AM Sven Duscha <sven.dus...@tum.de> wrote:

> Hi,
>
> I upgraded my netdisco installation to Debian11 to get python3.9 to solve
> the Alien::Poetry issue. I also needed to install python3-distutils to make
> it work.
>
> I could then upgrade from netdisco
>
> netdisco@netdisco:~/bin$ grep VERSION
> ~netdisco/perl5/lib/perl5/App/Netdisco.pm
> our $VERSION = '2.076004';
>
> to
>
> netdisco@netdisco:/etc/apache2/sites-enabled$ grep VERSION
> ~netdisco/perl5/lib/perl5/App/Netdisco.pm
> our $VERSION = '2.078000';
>
>
> I did the deploy again and could start the backend and web-frontend which
> claim to be running, but I can not connect to the webui. Apache says it can
> not redirect to port 5000 and nmap -Pn localhost shows there is no service
> running at 5000.
>
> So I looked in the log in ~/logs/netdisco-web.log and saw that apparently
> netdisco-web tries to bind to a IPv6 address?
>
>
> 2024/08/29-14:55:55 Starman::Server (type Net::Server::PreFork) starting!
> pid(3862)
> Resolved [*]:5000 to [::]:5000, IPv6
> Not including resolved host [0.0.0.0] IPv4 because it will be handled by
> [::] IPv6
> Binding to TCP port 5000 on host :: with IPv6
> 2024/08/29-14:55:55 Can't connect to TCP port 5000 on :: [Invalid argument]
>   at line 66 in file /home/netdisco/perl5/lib/perl5/Net/Server/Proto/TCP.pm
> 2024/08/29-14:55:55 Received QUIT. Running a graceful shutdown
> 2024/08/29-14:55:55 Worker processes cleaned up
> 2024/08/29-14:55:55 Server closing!
>
>
> I have no IPv6 address configured, we are still running all on IPv4. I
> checked  /etc/sysctl.conf to see, if the Debian upgrade had turned on IPv6,
> but there it is disabled:
>
>
> net.ipv6.conf.all.disable_ipv6 = 1
> net.ipv6.conf.default.disable_ipv6 = 1
> net.ipv6.conf.lo.disable_ipv6 = 1
>
>
> How can I fix this error in Netdisco?
>
>
> Best regards,
>
> Sven Duscha
>
>
> --
> Sven Duscha
> Deutsches Herzzentrum München
> TUM Universitätsklinikum
>
> _______________________________________________
> Netdisco mailing list
> netdisco-users@lists.sourceforge.net
> https://sourceforge.net/p/netdisco/mailman/netdisco-users/

--- End Message ---
--- Begin Message ---
Hi Charles,

On 29.08.24 17:57, Charlie Butera wrote:

Try setting the Environment Variables IPV to 4, this fixed it for me.

https://github.com/netdisco/netdisco/wiki/Environment-Variables#ipv

This is what the correctly set env variable should look like
~ $ printenv | grep IPV
IPV=4


Thank you for the quick response. That did the job for me, too.

So, they changed the default value of the IPV environment value from the previous version?


Best regards,

Sven


--
Sven Duscha
Deutsches Herzzentrum München
TUM Universitätsklinikum
Lazarettstraße 36
80636 München
+49 89 1218 2602

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to