hi 
here is AbusWhois.pm import
____
package AbuseWhois;

use strict;
use warnings;
use IO::Socket;
use Socket;
#use Socket6;
Socket6->import(qw(pack_sockaddr_in6 unpack_sockaddr_in6 inet_pton 
getaddrinfo));
use Sys::Syslog; 
use IO::Socket::INET;
use Log;
_______


when uncomment "use Socket6", nfsen start/stop willbe show below logs;


Subroutine AbuseWhois::pack_sockaddr_in6 redefined at 
/usr/local/share/perl5/Exporter.pm line 66.
 at /data/nfsen/libexec/AbuseWhois.pm line 45.
Subroutine AbuseWhois::unpack_sockaddr_in6 redefined at 
/usr/local/share/perl5/Exporter.pm line 66.
 at /data/nfsen/libexec/AbuseWhois.pm line 45.
Subroutine Lookup::pack_sockaddr_in6 redefined at 
/usr/local/share/perl5/Exporter.pm line 66.
 at /data/nfsen/libexec/Lookup.pm line 43.
Subroutine Lookup::unpack_sockaddr_in6 redefined at 
/usr/local/share/perl5/Exporter.pm line 66.
 at /data/nfsen/libexec/Lookup.pm line 43.



-----Original Message-----
From: Jens Hektor <hek...@itc.rwth-aachen.de>
To: <nfsen-discuss@lists.sourceforge.net>
Date: Thu, 21 Feb 2019 09:40:22 +0100
Subject: Re: [Nfsen-discuss] [HELP] when installed nfsen 1.3.6, all work 
well but ip lookup was not.


Am 21.02.19 um 06:47 schrieb service:
> nfsen[30777]: PANIC Comm Server dies: Undefined subroutine
> &AbuseWhois::inet_pton called at /data/nfsen/libexec/AbuseWhois.pm line 
382,
> <STDIN> line 3.

Do you have a

   use Socket;
   use Socket6 qw(inet_pton);

in your "/data/nfsen/libexec/AbuseWhois.pm" somewhere at the top?


--
Dipl.-Phys. Jens Hektor, Networks
IT Center, RWTH Aachen University
Room 2.04, Wendlingweg 10, 52074 Aachen (Germany)
Phone: +49 241 80 29206 - Fax: +49 241 80 22666
http://www.itc.rwth-aachen.de - hek...@itc.rwth-aachen.de
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to