autoload modules not found

Mark Martinec Mark.Martinec+amavis at ijs.si
Fri Jun 20 21:15:46 CEST 2014


ben,

> i’ve set log_level = 5; while installing/configuring, and see the
> following logged during start:
> 
> Jun 10 20:06:13 server amavis[4190]: INFO: SA version: 3.4.0,
> 3.004000, no optional modules: auto::NetAddr::IP::full6
> auto::NetAddr::IP::Util::inet_n2dx auto::NetAddr::IP::Util::inet_n2ad
> auto::NetAddr::IP::Util::inet_any2n auto::NetAddr::IP::Util::ipv6_aton
> 
> i believe i have these modules installed:

>> find /usr/lib/perl5/auto/NetAddr/ -iname '*.al*'
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/_inet_ntop.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/inet_ntoa.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/ipv6_aton.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/_packzeros.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/inet_n2dx.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/_inet_pton.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/ipv6_ntoa.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/inet_any2n.al
> /usr/lib/perl5/auto/NetAddr/IP/InetBase/inet_n2ad.al
> /usr/lib/perl5/auto/NetAddr/IP/wildcard.al
> /usr/lib/perl5/auto/NetAddr/IP/re6.al
[...]

You don't have NetAddr::IP::full6, and the other
four are under a subdirectory NetAddr/IP/InetBase,
while they are expected one level higher.

> i’m just curious why amavis seems to indicate it doesn’t see them, and
> if that perhaps means i might be doing something wrong.  nothing in
> particular appears broken, strictly an inquiring mind.
> i’m using 2.7.1 [and spamassassin 3.4.0] courtesy of ubuntu 13.10.

It's nothing to worry about, unless you run amavisd chrooted.
The missing modules will be loaded automatically by perl
at a later stage - when needed for the first time.

The differences are probably due to a different version of
NetAddr::IP, or perhaps due to a different platform packaging.

It would only be a problem if running chrooted/jailed
and a chroot environment would be missing these files
so they would not be able to be loaded after chrooting.

   Mark




More information about the amavis-users mailing list