amavisd fails to start, missing perl-modules "Can't locate auto/Mail/Internet/autosplit.ix"

chymian chymian at gmx.net
Wed Sep 6 22:14:16 CEST 2006


one step further:
it seems it has to do with the openpkg-/kolab-/user- environment amavisd is 
started under.
while amavisd fails to start when started via 'openpkg rc amavisd start'
or started under the kolab user:
	su - kolab -c "/kolab/sbin/amavisd -c /kolab/etc/amavisd/amavisd.conf"
its succeeds a start from root: 
	/kolab/sbin/amavisd -c /kolab/etc/amavisd/amavisd.conf 
and brave change to configured user-id
kolab-r   6257  5713 11 19:08 pts/8    00:00:04 amavisd (master)
kolab-r   6259  6257  0 19:08 pts/8    00:00:00 amavisd (virgin child)
kolab-r   6260  6257  0 19:08 pts/8    00:00:00 amavisd (virgin child)

regarding the missing modules:
trying to reinstall the missing modules the way it's described in bug 
https://www.intevation.de/roundup/kolab/issue962
doesn't help either.

workaround is a little /etc/init.d script which start amavisd after kolab 
started.

Am Mittwoch, 6. September 2006 13:01 schrieb chymian:
> hi everyone,
> new to kolab, I try desperately to set up kolab2 on a fresh sarge install.
> first from debian-packages later from src and always get the same error
> mesg. i checked  the missing Mail::Internet files & other 'missing'
> modules, they are all in place, but are not found by amavisd.
> I also reinstalled them through cpan (with prefix /kolab) with the result,
> that even more modules gone missing (and clamav gets trouble too) :-(
>
> can anybody help please?
>
> TIA
>
>
>
> OpenPKG: start: openpkg, openldap, sasl, spamassassin, amavisd:FAILED
> openpkg:rc:WARNING: /kolab:amavisd:%start: failed with return code 9
> openpkg:rc:NOTICE: output from stdout/stderr is following:
> +----------------------------------------------------------------------
>
> | Can't locate auto/Mail/Internet/autosplit.ix in @INC (@INC
>
> contains: /kolab/lib/perl/site_perl/5.8.7/i686-linux
> /kolab/lib/perl/site_perl/5.8.7 /kolab/lib/perl/site_perl
> /kolab/lib/perl/vendor_perl/5.8.7/i686-linux
> /kolab/lib/perl/vendor_perl/5.8.7 /kolab/lib/perl/vendor_perl
> /kolab/lib/perl/5.8.7/i686-linux /kolab/lib/perl/5.8.7) at
> /kolab/lib/perl/5.8.7/AutoLoader.pm line 160.
>
> |  at /kolab/lib/perl/vendor_perl/5.8.7/Mail/Internet.pm line 15
> | Can't locate auto/Compress/Zlib/autosplit.ix in @INC (@INC
>
> contains: /kolab/lib/perl/site_perl/5.8.7/i686-linux
> /kolab/lib/perl/site_perl/5.8.7 /kolab/lib/perl/site_perl
> /kolab/lib/perl/vendor_perl/5.8.7/i686-linux
> /kolab/lib/perl/vendor_perl/5.8.7 /kolab/lib/perl/vendor_perl
> /kolab/lib/perl/5.8.7/i686-linux /kolab/lib/perl/5.8.7) at
> /kolab/lib/perl/5.8.7/AutoLoader.pm line 160.
>
> |  at /kolab/lib/perl/vendor_perl/5.8.7/i686-linux/Compress/Zlib.pm line 16
> | ERROR: MISSING REQUIRED BASIC MODULES:
> |   Time::HiRes
> |   Unix::Syslog
> |   Compress::Zlib
> | BEGIN failed--compilation aborted at /kolab/sbin/amavisd line 146.
>
> +----------------------------------------------------------------------
> OpenPKG: start: apache, clamav, dcron, imapd, postfix, proftpd, kolabd.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users




More information about the users mailing list