Perl upgrade broke cyradm

Doug Koobs dkoobs at FCSservices.com
Tue Mar 8 09:08:36 EST 2005


> Is there a way to roll back my perl install to 5.8.0? Or, is 
> there a way
> to build a cyradmin that will work with perl 5.8.6? Or, is there a way
> to manage users without using cyradmin? 

Or, let's try something that actually works :)

In the cyradm script, there a 2 calls to perl:

**********************************************************
x) exec perl -MCyrus::IMAP::Shell -e shell -- ${1+"$@"} ;;
*) exec perl -MCyrus::IMAP::Shell -e shell -- "$@" ;;
**********************************************************

These invoke the new 5.8.6 version of perl in /usr/local/bin. Searching
around a bit, I found another perl executable in /usr/bin, and running
"/usr/bin/perl -V" revealed that this is the 5.8.0 version. So, I
replaced references to perl in cyradm to /usr/bin/perl, and now it
works. I get to have my cake, and eat it too.

I hope this helps out some other poor soul who tries to upgrade perl
without fully understanding the consequences!

Doug



Confidential: This electronic message and all contents contain information from Financial Credit Services which may be privileged, confidential or otherwise protected from disclosure. The information is intended to be for the addressee only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify the sender and destroy the original message and all copies.
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list