Subversion Integration Fails Due To An Invalid CrowdAuth.pm File
Symptoms
The following error is thrown while integrating Subversion (using Apache) with Crowd:
[error] [client xxx.xxx.xxx.xxx] failed to resolve handler `Apache::CrowdAuth': Can't locate Apache/CrowdAuth.pm in @INC (@INC contains: /srv/www/perl-lib/usr/lib/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl . /srv/www)
at (eval 5) line 3.\n
Cause
There are two possible causes:
1. Apache-Subversion files were not set with the correct permissions.
2. Apache configuration file does not contain the correct declarations for Crowd-Apache-Subversion integration.
Resolution
1. Run the following command at the shell prompt (as the user you are running Apache as). It should confirm whether or not Perl can see the CrowdAuth file:
perl \-e 'foreach $elem (@INC) { if(-r "$elem/Apache/CrowdAuth.pm") {print "$elem/Apache/CrowdAuth.pm\n"} }'
The most likely cause is that the Apache user can't read the files because of a permissioning or chroot problem.
2. Review your Crowd-Apache-Subversion settings.