cyradm shell script error on startup - More help ?
John Gibson
gib at edgate.com
Thu Mar 11 20:07:58 EST 2004
Wil Cooley wrote:
>On Thu, 2004-03-11 at 16:46, John Gibson wrote:
>
>
>
>>Your suggestion sounds great, but "cyradm" is a bourne shell script, not
>>perl. So the "use" command gives an error.
>>
>>
>
>Oh yeah. Just put the PERL5LIB variable there above the 'case'
>statement.
>
>Wil
>
>
YEAH! Thanks Wil. Now, on to the authentication issues. :)
...john
*** DETAIL ***
[root at ares bin]# diff cyradm cyradm1
41a42,43
> # Added suggestion by Wil Cooley jg.
> PERL5LIB=/usr/local/lib/perl5/site_perl/5.6.1/i386-linux;export PERL5LIB
[root at ares bin]#
*** original ***
bash-2.05a$ cyradm ares
Can't locate Cyrus/IMAP/Shell.pm in @INC (@INC contains:
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .).
BEGIN failed--compilation aborted.
*** after path modification ***
bash-2.05a$ cyradm1 ares
IMAP Password: Login failed: user not found at
/usr/local/lib/perl5/site_perl/5.6.1/i386-linux/Cyrus/IMAP/Admin.pm line 118
cyradm: cannot authenticate to server with as poppy
bash-2.05a$
---
Home Page: http://asg.web.cmu.edu/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