PDA

Bekijk Volledige Versie : AWStats & IPv6



KlaasdeVries
26/04/13, 16:03
Heeft iemand AWStats ook werken met IPv6 op een Windows omgeving? Ik krijg namelijk een foutmelding als ik in de conf LoadPlugin="ipv6" aanzet.

De melding die ik krijg is “Error: Plugin load for plugin 'ipv6' failed with return code: Error: Can't locate Net/IP.pm in @INC”

dennis0162
26/04/13, 16:07
Dan moet je NetAddr installeren via Cpan bijvoorbeeld:

cpan -i NetAddr::IP

KlaasdeVries
27/04/13, 12:11
Moet je daarna nog iets installeren? Ik heb dit namelijk uitgevoerd en er veranderd niets. Ook in de directory's van perl is niets vernieuwd....

Ik had tijdens het uitvoeren wel een fout met een test. Weet niet of dat ook van invloed is.


Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
building for MSWin32
Checking if your kit is complete...
Looks good
Writing Makefile for NetAddr::IP::Util
Writing Makefile for NetAddr::IP::Lite
Writing Makefile for NetAddr::IP
-- OK
Running make test
'test' is not recognized as an internal or external command,
operable program or batch file.
test -- NOT OK
Running make install
make test had returned bad status, won't install without force

dennis0162
27/04/13, 12:35
Staat er toch: make test had returned bad status, won't install without force

cpan force install NetAddr::IP

KlaasdeVries
27/04/13, 14:11
Dankje. Install werkt nu. Alleen krijg ik nog steeds dezelfde foutmelding in awstats.

Exsilia
30/04/13, 12:13
Weet je dat wel zeker? AwStats zal niet zomaar aangeven dat de module mits. Wat was de output van de CPAN installer?

Als je script zegt dat module X mist, dan mist module X. Ik heb met cpan nog nooit meegemaakt dat een instalaltie goed ging maar dat het script om andere reden toch zei dat er iets niet goed was.

KlaasdeVries
01/05/13, 13:54
Ja ik weet zeker dat de install goed is gegaan. Maar IPv6 zit toch standaard in perl? Je zou dit dus eigenlijk helemaal niet hoeven installeren…
Moet je misschien eerst nog iets anders activeren in awstats of perl voordat je IPv6 enabelen?

Jopp1986
20/05/13, 15:04
Klaas,

Heb je al een oplossing gevonden? Ik heb namelijk hetzelfde probleem. Heb zoals hierboven aangegeven cpan force install NetAddr::IP uitgevoerd.
Ik krijg als output het volgende.


Checking if your kit is complete...
Looks good
Writing Makefile for install
-- OK
Running make test
'test' is not recognized as an internal or external command,
operable program or batch file.
test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Running install for module NetAddr::IP
Running make for M/MI/MIKER/NetAddr-IP-4.068.tar.gz
Checksum for \.cpan\sources\authors\id\M\MI\MIKER\NetAddr-IP-4.068.tar.gz ok
NetAddr-IP-4.068/
NetAddr-IP-4.068/Lite/
NetAddr-IP-4.068/Lite/Util/
NetAddr-IP-4.068/Lite/Util/t/
NetAddr-IP-4.068/Lite/Util/t/inet_4map6.t
NetAddr-IP-4.068/Lite/Util/t/binet_n2ad.t
NetAddr-IP-4.068/Lite/Util/t/badd.t
NetAddr-IP-4.068/Lite/Util/t/addconst.t
NetAddr-IP-4.068/Lite/Util/t/binet_n2dx.t
NetAddr-IP-4.068/Lite/Util/t/naip_gethostbyname.t
NetAddr-IP-4.068/Lite/Util/t/mode.t
NetAddr-IP-4.068/Lite/Util/t/bin.t
NetAddr-IP-4.068/Lite/Util/t/leftshift.t
NetAddr-IP-4.068/Lite/Util/t/ipv6_ntoa.t
NetAddr-IP-4.068/Lite/Util/t/binet_pton.t
NetAddr-IP-4.068/Lite/Util/t/anyto6.t
NetAddr-IP-4.068/Lite/Util/t/bipv6func.t
NetAddr-IP-4.068/Lite/Util/t/bpackzeros.t
NetAddr-IP-4.068/Lite/Util/t/bcdn2bin.t
NetAddr-IP-4.068/Lite/Util/t/notcontiguous.t
NetAddr-IP-4.068/Lite/Util/t/bcd2bin.t
NetAddr-IP-4.068/Lite/Util/t/ipv6to4.t
NetAddr-IP-4.068/Lite/Util/t/ipv6func.t
NetAddr-IP-4.068/Lite/Util/t/inet_n2ad.t
NetAddr-IP-4.068/Lite/Util/t/binet_ntoa.t
NetAddr-IP-4.068/Lite/Util/t/bipv4_inet.t
NetAddr-IP-4.068/Lite/Util/t/inet_n2dx.t
NetAddr-IP-4.068/Lite/Util/t/4to6.t
NetAddr-IP-4.068/Lite/Util/t/isIPv4.t
NetAddr-IP-4.068/Lite/Util/t/bipv6_any2n.t
NetAddr-IP-4.068/Lite/Util/t/inet_pton.t
NetAddr-IP-4.068/Lite/Util/t/comp128.t
NetAddr-IP-4.068/Lite/Util/t/croak.t
NetAddr-IP-4.068/Lite/Util/t/packzeros.t
NetAddr-IP-4.068/Lite/Util/t/bisIPv4.t
NetAddr-IP-4.068/Lite/Util/t/hasbits.t
NetAddr-IP-4.068/Lite/Util/t/no6_naip_gethostbyname.t
NetAddr-IP-4.068/Lite/Util/t/sub128.t
NetAddr-IP-4.068/Lite/Util/t/ipv4_inet.t
NetAddr-IP-4.068/Lite/Util/t/af_inet6.t
NetAddr-IP-4.068/Lite/Util/t/add128.t
NetAddr-IP-4.068/Lite/Util/t/ipv6_any2n.t
NetAddr-IP-4.068/Lite/Util/t/simple_pack.t
NetAddr-IP-4.068/Lite/Util/Util.pm
NetAddr-IP-4.068/Lite/Util/configure.ac
NetAddr-IP-4.068/Lite/Util/Util.xs
NetAddr-IP-4.068/Lite/Util/MANIFEST.SKIP
NetAddr-IP-4.068/Lite/Util/localconf.h
NetAddr-IP-4.068/Lite/Util/config.h.in
NetAddr-IP-4.068/Lite/Util/MANIFEST
NetAddr-IP-4.068/Lite/Util/Changes
NetAddr-IP-4.068/Lite/Util/lib/
NetAddr-IP-4.068/Lite/Util/lib/NetAddr/
NetAddr-IP-4.068/Lite/Util/lib/NetAddr/IP/
NetAddr-IP-4.068/Lite/Util/lib/NetAddr/IP/UtilPP.pm
NetAddr-IP-4.068/Lite/Util/lib/NetAddr/IP/InetBase.pm
NetAddr-IP-4.068/Lite/Util/Makefile.PL
NetAddr-IP-4.068/Lite/Util/tlib/
NetAddr-IP-4.068/Lite/Util/tlib/NetAddr/
NetAddr-IP-4.068/Lite/Util/tlib/NetAddr/IP/
NetAddr-IP-4.068/Lite/Util/tlib/NetAddr/IP/Util_IS.pm
NetAddr-IP-4.068/Lite/Util/typemap
NetAddr-IP-4.068/Lite/Util/configure
NetAddr-IP-4.068/Lite/Util/README
NetAddr-IP-4.068/Lite/t/
NetAddr-IP-4.068/Lite/t/v6-new_cis6_base.t
NetAddr-IP-4.068/Lite/t/bin_ips.t
NetAddr-IP-4.068/Lite/t/v4-new.t
NetAddr-IP-4.068/Lite/t/v4-old-first.t
NetAddr-IP-4.068/Lite/t/netaddr.t
NetAddr-IP-4.068/Lite/t/new-num.t
NetAddr-IP-4.068/Lite/t/masklen.t
NetAddr-IP-4.068/Lite/t/copy.t
NetAddr-IP-4.068/Lite/t/v6-inc.t
NetAddr-IP-4.068/Lite/t/v4-cidr.t
NetAddr-IP-4.068/Lite/t/v4-wnew.t
NetAddr-IP-4.068/Lite/t/loops.t
NetAddr-IP-4.068/Lite/t/v4-aton.t
NetAddr-IP-4.068/Lite/t/v4-cnew.t
NetAddr-IP-4.068/Lite/t/mask.t
NetAddr-IP-4.068/Lite/t/broadcast.t
NetAddr-IP-4.068/Lite/t/v6-cnew-uri.t
NetAddr-IP-4.068/Lite/t/pathological.t
NetAddr-IP-4.068/Lite/t/old-nth.t
NetAddr-IP-4.068/Lite/t/v6-cnew.t
NetAddr-IP-4.068/Lite/t/v6-new-base-uri.t
NetAddr-IP-4.068/Lite/t/v6-numeric.t
NetAddr-IP-4.068/Lite/t/v4-contains.t
NetAddr-IP-4.068/Lite/t/bug62521.t
NetAddr-IP-4.068/Lite/t/v4-new_from_aton.t
NetAddr-IP-4.068/Lite/t/v4-last.t
NetAddr-IP-4.068/Lite/t/over_equal.t
NetAddr-IP-4.068/Lite/t/bits.t
NetAddr-IP-4.068/Lite/t/over_math.t
NetAddr-IP-4.068/Lite/t/new-nth.t
NetAddr-IP-4.068/Lite/t/v4-num.t
NetAddr-IP-4.068/Lite/t/numeric.t
NetAddr-IP-4.068/Lite/t/overminus.t
NetAddr-IP-4.068/Lite/t/v4-range.t
NetAddr-IP-4.068/Lite/t/v4_new_cis.t
NetAddr-IP-4.068/Lite/t/version.t
NetAddr-IP-4.068/Lite/t/v4-numeric.t
NetAddr-IP-4.068/Lite/t/v6-new-base.t
NetAddr-IP-4.068/Lite/t/addr.t
NetAddr-IP-4.068/Lite/t/bigint.t
NetAddr-IP-4.068/Lite/t/v4-no_octal.t
NetAddr-IP-4.068/Lite/t/bug75976.t
NetAddr-IP-4.068/Lite/t/lower.t
NetAddr-IP-4.068/Lite/t/v4-base.t
NetAddr-IP-4.068/Lite/t/v4-snew.t
NetAddr-IP-4.068/Lite/t/lemasklen.t
NetAddr-IP-4.068/Lite/t/cidr.t
NetAddr-IP-4.068/Lite/t/relops.t
NetAddr-IP-4.068/Lite/t/firstlast.t
NetAddr-IP-4.068/Lite/t/v4-new-first.t
NetAddr-IP-4.068/Lite/t/aton.t
NetAddr-IP-4.068/Lite/t/over_copy.t
NetAddr-IP-4.068/Lite/t/rfc_1918.t
NetAddr-IP-4.068/Lite/t/contains.t
NetAddr-IP-4.068/Lite/t/v6-new_cis_base.t
NetAddr-IP-4.068/Lite/t/v6-old-base-uri.t
NetAddr-IP-4.068/Lite/t/v6-num.t
NetAddr-IP-4.068/Lite/t/constants.t
NetAddr-IP-4.068/Lite/t/v4-badnm.t
NetAddr-IP-4.068/Lite/t/v6-old-base.t
NetAddr-IP-4.068/Lite/t/network.t
NetAddr-IP-4.068/Lite/t/bignums.t
NetAddr-IP-4.068/Lite/t/over-qq.t
NetAddr-IP-4.068/Lite/t/over_comp.t
NetAddr-IP-4.068/Lite/t/v6-numeric-uri.t
NetAddr-IP-4.068/Lite/t/within.t
NetAddr-IP-4.068/Lite/t/v6-contains.t
NetAddr-IP-4.068/Lite/t/v4-basem.t
NetAddr-IP-4.068/Lite/t/range.t
NetAddr-IP-4.068/Lite/t/old-num.t
NetAddr-IP-4.068/Lite/Changes
NetAddr-IP-4.068/Lite/MANIFEST
NetAddr-IP-4.068/Lite/bug2742981
NetAddr-IP-4.068/Lite/MANIFEST.SKIP
NetAddr-IP-4.068/Lite/Lite.pm
NetAddr-IP-4.068/Lite/README
NetAddr-IP-4.068/Lite/Makefile.PL
NetAddr-IP-4.068/t/
NetAddr-IP-4.068/t/loops.t
NetAddr-IP-4.068/t/full6.t
NetAddr-IP-4.068/t/v4-splitplan.t
NetAddr-IP-4.068/t/old-store.t
NetAddr-IP-4.068/t/over-arr.t
NetAddr-IP-4.068/t/over-qq.t
NetAddr-IP-4.068/t/rfc3021.t
NetAddr-IP-4.068/t/full6-uri.t
NetAddr-IP-4.068/t/wildcard.t
NetAddr-IP-4.068/t/v4-coalesce.t
NetAddr-IP-4.068/t/splitref.t
NetAddr-IP-4.068/t/short.t
NetAddr-IP-4.068/t/v4-sprefix.t
NetAddr-IP-4.068/t/v4-compact.t
NetAddr-IP-4.068/t/v4-compplus.t
NetAddr-IP-4.068/t/masklen.t
NetAddr-IP-4.068/t/lower.t
NetAddr-IP-4.068/t/relops.t
NetAddr-IP-4.068/t/v4-split-list.t
NetAddr-IP-4.068/t/full.t
NetAddr-IP-4.068/t/imhoff.t
NetAddr-IP-4.068/t/v6-re.t
NetAddr-IP-4.068/t/v6-splitplan.t
NetAddr-IP-4.068/t/new-store.t
NetAddr-IP-4.068/t/v6-split-bulk.t
NetAddr-IP-4.068/t/v4-hostenum.t
NetAddr-IP-4.068/t/v4-re.t
NetAddr-IP-4.068/t/constants.t
NetAddr-IP-4.068/t/v4-split-bulk.t
NetAddr-IP-4.068/t/v4-xprefix.t
NetAddr-IP-4.068/IP.pm
NetAddr-IP-4.068/docs/
NetAddr-IP-4.068/docs/rfc1884.txt
NetAddr-IP-4.068/Makefile.PL
NetAddr-IP-4.068/TODO
NetAddr-IP-4.068/Changes
NetAddr-IP-4.068/Artistic
NetAddr-IP-4.068/MANIFEST
NetAddr-IP-4.068/MANIFEST.SKIP
NetAddr-IP-4.068/Copying
NetAddr-IP-4.068/About-NetAddr-IP.txt
NetAddr-IP-4.068/META.yml
Removing previously used \.cpan\build\NetAddr-IP-4.068

CPAN.pm: Going to build M/MI/MIKER/NetAddr-IP-4.068.tar.gz


This build requires a C compiler by default except on Windows where
the Pure Perl version is mandatory. The Pure Perl version, which does
not require compilation of XS code, can be used by invoking this as:

perl Makefile.PL -noxs


================================================== ====================
W A R N I N G - Please do read below if you have legacy code
================================================== ====================

Versions 3.21 and above of NetAddr::IP, include hooks for the Storable
class that are incompatible with the old (automatic) method of storing
data. To regain backwards compatibility, the module must be use()d as

use NetAddr::IP ':old_storable';

which will disable the new hooks and revert back to the old ways.

If you do not use Storable along with NetAddr::IP, or just don't know
what this all means, most likely you're safe to go ahead.

Versions before 3.25 recognized by default IP addresses as returned by
inet_aton. This is no longer the default. To enable this behavior
again, the module must be use()d as

use NetAddr::IP ':aton';

Versions before 4.008 recognized the above syntax. This behavior is
fundamentally broken, is DEPRECATED and WILL BE REMOVED in version 5.0
Use this method to create new objects from 'aton's

$ip = new_from_aton NetAddr::IP(inet_aton('1.2.3.4'))

Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
building for MSWin32
Checking if your kit is complete...
Looks good
Writing Makefile for NetAddr::IP::Util
Writing Makefile for NetAddr::IP::Lite
Writing Makefile for NetAddr::IP
-- OK
Running make test
'test' is not recognized as an internal or external command,
operable program or batch file.
test -- NOT OK
Running make install
make test had returned bad status, won't install without force

Heb geen idee of dit goed is. Heb niet veel verstand van perl. Ik zie wel de melding "won't install without force" Maar zoals hierbonven aangegeven heb ik wel de optie force gebruikt.

KlaasdeVries
04/06/13, 08:15
Nee, heb het niet kunnen oplossen. Heb er eigenlijk ook niet meer naar gekeken.

Jopp1986
19/06/13, 11:01
Niemand enig idee wat hier mis gaat met perl en hoe ik dit kan oplossen?


Running make test
'test' is not recognized as an internal or external command,
operable program or batch file.
test -- NOT OK
Running make install
make test had returned bad status, won't install without force

Ik zie namelijk steeds meer IPv6 verkeer in de log voorkomen. En ik zou deze ook graag in AWStats terug zien. En als je de help van AWStats leest zou het zo moeten werken. Alleen zie ik niet wat ik verkeerd doe. Ik gebruik awstats-64 en perl v5.8.7. Maar ik heb het ook getest met awstats-711 en perl v5.16.3. En dan krijg ik dezelfde foutmelding.