[Dxspider-support] Spider and IPV6
jarmo
oh1mrr at nic.fi
Thu Oct 6 05:22:47 BST 2022
Wed, 05 Oct 2022 13:22:19 +0100
Dirk Koopman via Dxspider-support <dxspider-support at tobit.co.uk>
kirjoitti:
> It's not a DXSpider problem as such, but it may be a configuration
> issue.
>
> Firstly does your machine actually have a working IPV6 address. Can
> you 'ping6 www.google.com'? If you get replies then look at
> /spider/local/Listeners.pm.
>
> It should have something like this in it:
>
> @listen = (
> ["::", 7300],
> );
>
> Specifically, the "::" must replace "0.0.0.0", because the latter
> will force it to be IPV4 only. "::" means IPV4 and IPV6.
>
> 73 Dirk G1TLH
Gm Dirk
Quite strange again... If we set listeners like that, when starting
Spider as "service" status shows...
[root at oh1af local]# systemctl status spider
● spider.service
Loaded: loaded (/etc/systemd/system/spider.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-10-06 04:07:44 UTC; 1s ago
Main PID: 16955 (cluster.pl)
Tasks: 1 (limit: 2255)
Memory: 44.7M
CPU: 477ms
CGroup: /system.slice/spider.service
└─ 16955 /usr/bin/perl -w /spider/perl/cluster.pl ">" /dev/null
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: DXCIDR::init() called at /spider/perl/cluster.pl line 491
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: DXProt
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: DXCIDR: load (cpanm) the perl module Net::CIDR::Lite to check for bad IP addresses (or CIDR ranges)
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: starting listeners ...
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: Internal port: localhost 27754 using IntMsg
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: IO::Socket::INET: Bad hostname '::'
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: Could not create socket: Invalid argument
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: at /spider/perl/Msg.pm line 473.
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: Msg::new_server("ExtMsg", "::", 8000, CODE(0x5641e1d52f98)) called at /spider/perl/cluster.pl line 504
Oct 06 04:07:44 oh1af.fi cluster.pl[16955]: Could not create socket: Invalid argument
Jarmo, oh1mrr
More information about the Dxspider-support
mailing list