Ik weet niet of iemand dat al meegemaakt heeft maar ik heb een probleempje met perl en Directadmin CB 2.0 en spamassassin.
Dat gebeurt als je Munin installeert, dus misschien is er nog wel iemand tegenaan gelopen.
Feitelijk is het zo dat er een foutmelding komt vanuit de custombuild cronjob maar die zal spamassassin update aanroepen of sa --lint of zoiets.
Foutmelding:
Het probleem is dat spamassassin er schijnbaar niet tegen kan als vanuit yum perl-IO-Socket-INET6 geinstalleerd is.Subroutine IO::Socket::INET6::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 67.
at /usr/share/perl5/IO/Socket/INET6.pm line 21
Dat speelt al 2 jaar en toen was de "fix" om deze te verwijderen en dan via cpan te installeren, probleem "opgelost".
Feit is echter dat dit geen oplossing is en er nu het probleem is dat cpan die module niet wenst te installeren.
De vraag is of er hier een perl specialist is die me kan vertellen hoe ik dit kan oplossen. Dit is wat perl gooit.
Heb het ook al met force geprobeerd, werkt ook niet.Code:./Build -- OK Running Build test t/blocking.t .............. 1/2 Can't call method "blocking" on an undefined value at t/blocking.t line 51. # Looks like you planned 2 tests but ran 1. # Looks like your test exited with 101 just after 1. Use of uninitialized value $sock in <HANDLE> at t/blocking.t line 56. readline() on unopened filehandle at t/blocking.t line 56. t/blocking.t .............. Dubious, test returned 101 (wstat 25856, 0x6500) Failed 1/2 subtests t/configure6.t ............ ok t/host6.t ................. 1/4 Can't call method "peerhost" on an undefined value at t/host6.t line 63. Use of uninitialized value $sock in <HANDLE> at t/host6.t line 50. readline() on unopened filehandle at t/host6.t line 50. t/host6.t ................. Failed 3/4 subtests t/io_multihomed6.t ........ 1/8 Can't use an undefined value as a symbol reference at t/io_multihomed6.t line 116. Can't use an undefined value as a symbol reference at t/io_multihomed6.t line 156. t/io_multihomed6.t ........ Dubious, test returned 99 (wstat 25344, 0x6300) Failed 7/8 subtests t/io_sock6.t .............. 11/20 Can't call method "sockport" on an undefined value at t/io_sock6.t line 190, <GEN4> line 2. t/io_sock6.t .............. Dubious, test returned 99 (wstat 25344, 0x6300) Failed 10/20 subtests t/io_udp6.t ............... ok t/listen_port_only.t ...... 1/1 # Failed test 'Client was initialised - connected.' # at t/listen_port_only.t line 41. # Looks like you failed 1 test of 1. t/listen_port_only.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests t/pod-coverage.t .......... ok t/pod.t ................... ok t/style-trailing-space.t .. ok Test Summary Report ------------------- t/blocking.t (Wstat: 25856 Tests: 1 Failed: 0) Non-zero exit status: 101 Parse errors: Bad plan. You planned 2 tests but ran 1. t/host6.t (Wstat: 0 Tests: 1 Failed: 0) Parse errors: Bad plan. You planned 4 tests but ran 1. t/io_multihomed6.t (Wstat: 25344 Tests: 1 Failed: 0) Non-zero exit status: 99 Parse errors: Bad plan. You planned 8 tests but ran 1. t/io_sock6.t (Wstat: 25344 Tests: 11 Failed: 1) Failed test: 10 Non-zero exit status: 99 Parse errors: Bad plan. You planned 20 tests but ran 11. t/listen_port_only.t (Wstat: 256 Tests: 1 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=10, Tests=26, 35 wallclock secs ( 0.04 usr 0.01 sys + 0.22 cusr 0.03 csys = 0.30 CPU) Result: FAIL Failed 5/10 test programs. 2/26 subtests failed. SHLOMIF/IO-Socket-INET6-2.72.tar.gz ./Build test -- NOT OK
Server is een Centos 6.
Het begint dus met deze regel:
en dat zie ik in Google heel veel voorbij komen, maar nergens een oplossing. Of ik begrijp 'm niet, kan ook.Code:t/blocking.t .............. 1/2 Can't call method "blocking" on an undefined value at t/blocking.t line 51.
Iemand een idee? Want ik wil toch graag zowel Munin alsook spamassassin werkend hebben op die server.