On Thu, 2019-02-21 at 13:47 +0800, service wrote:
> when i installed nfsen 1.3.6 in my server Centos 6.10, all is working
> .but when i lookup the IP info also  show emtpy.

As in a completely empty yellow-ish window with a green bar at the top?
  
> i find  /var/log/message as below when i click the IP for lookup;
>  
> nfsen[30777]: PANIC Comm Server dies: Undefined subroutine
> &AbuseWhois::inet_pton called at /data/nfsen/libexec/AbuseWhois.pm
> line 382, <STDIN> line 3.
>  
> also i have modify the AbuseWhois.pm and Lookup.pm  "use Socket6" to
> "Socket6->import(qw(pack_sockaddr_in6 unpack_sockaddr_in6 inet_pton
> getaddrinfo));"

Have you tried just using a regular import with "use"?

  use Socket6 qw( inet_pton );

If that still returns an error, what does the following say when
executed from the command line?

  $ perl -e 'use Socket6 qw( inet_pton );'

It should just return the prompt and no output. But if "inet_pton" is
not defined (correctly) it will says something like this:

  "inet_pton" is not exported by the Socket6 module
  Can't continue after import errors at -e line 1.
  BEGIN failed--compilation aborted at -e line 1.

We're using NFsen 1.3.8 (with a few patches) and have exactly the "use"
line shown above in AbuseWhois.pm.

-- 
Peter




_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to