Subversion Integration Fails Due To An Invalid CrowdAuth.pm File

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Symptoms

The following error is thrown while integrating Subversion (using Apache) with Crowd:

1 2 3 4 [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:

1 2 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.

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.