cyradm not working after upgrade

Matt Singerman matt.singerman at gmail.com
Mon Nov 28 11:13:18 EST 2005


Hi all,

I recently upgraded our mailserver from FreeBSD 5.2.1 to 6.0.  Most
items work perfectly fine after the upgrade (and thankfully, that
includes Cyrus itself), but cyradm no longer works:

# cyradm --user=cyrus localhost
Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.8.5/mach
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.5/BSDPAN /usr/local/lib/perl5/5.8.5/mach
/usr/local/lib/perl5/5.8.5 .).
BEGIN failed--compilation aborted.

Now, as part of the upgrade, I installed perl 5.8 (previously, Perl
5.6 had been installed), and I am assuming that this is the root of
the problem.  Is there a simple solution to fix this, such as
correcting the libraries?  I already tried copying over Shell.pm to
one of the searched directories, but that didn't work.  Alternately,
can I reinstall cyradm, and if so, what is the best way to go about
this?

Thanks,

Matt



More information about the Info-cyrus mailing list