Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Crowd Integration of Apache/SVN: Client connect fails due to server error "Couldn't create directory: : [...]"

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 28, 2011

Hello out there,

we plan to evaluate the Atlassian Tool-Suite together with Subversion as replacement of an existing SCM-system. A main requirement is a central user and access management which I currently try to set up using Crowd.

I set up the crowd integration following the instructions at:

When I try to connect to the Subversion repository using a Tortoise Client, I get an error message after entering the login credentials, saying "Server sent unexpected return value (500 internal Server Error) [...]".

In the Apache error log on the server is stated the following:

[error] [client] Couldn't create directory: : No such file or directory at C:/strawberry/perl/site/lib/Cache/ line 222.\n

It looks like a variable is not initialized (see the two ":" behind each other), according to the sourcecode of it is "$directory".

So far so good, but why is it empty and which directory should be created? I didn't find any mistake in my configuration but I don't think it's a bug either since this connector probably is in use alreday at other sites.

So I'd appreciate any hints how to solve this!

My setup:

  • Server for Vrowd, Apache and Subversion: Windowd 7 64-bit SP1
  • Apache 2.2 32-Bit
  • Subversion 1.7-rc3
  • Strawberry Perl 5.10.1 32-Bit
  • Crowd 2.3.3
  • Crowd-Apache Connector 1.4 (2.0 not existing for Windows)

All Installations have been performed using Admin-rights!

Further down you'll find the Apache http.conf and the Authz-File.

Thanks for your help!

Kind regards,


-------- httpd.conf --------------

ServerRoot "D:/Apache2.2/"

Listen 9880

LoadModule actions_module modules/
LoadModule alias_module modules/
LoadModule asis_module modules/
LoadModule auth_basic_module modules/
LoadModule authn_default_module modules/
LoadModule authn_file_module modules/
LoadModule authz_default_module modules/
LoadModule authz_groupfile_module modules/
LoadModule authz_host_module modules/
LoadModule authz_user_module modules/
LoadModule autoindex_module modules/
LoadModule cgi_module modules/
LoadModule dav_module modules/
LoadModule dav_svn_module modules/
LoadModule authz_svn_module modules/
LoadModule dir_module modules/
LoadModule env_module modules/
LoadModule include_module modules/
LoadModule isapi_module modules/
LoadModule log_config_module modules/
LoadModule mime_module modules/
LoadModule negotiation_module modules/
LoadModule proxy_module modules/
LoadModule proxy_ajp_module modules/
LoadModule proxy_balancer_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_http_module modules/
LoadModule proxy_scgi_module modules/
LoadModule setenvif_module modules/

LoadFile "C:/strawberry/perl/bin/perl510.dll"
LoadModule perl_module modules/

<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>
User daemon
Group daemon


ServerAdmin admin

DocumentRoot "D:/Apache2.2/htdocs"

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

<Directory "D:/Apache2.2/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

<IfModule dir_module>
DirectoryIndex index.html

<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All

ErrorLog "logs/error.log"

LogLevel warn

<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
CustomLog "logs/access.log" common

<IfModule alias_module>
ScriptAlias /cgi-bin/ "D:/Apache2.2/cgi-bin/"

<IfModule cgid_module>

<Directory "D:/Apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all

DefaultType text/plain

<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

Include conf/extra/httpd-default.conf

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

<Location /TCM_Projects_3>
DAV svn
SVNPath "D:/repos/TCM_Projects_3"
SVNMasterURI http://abts5063:9880/TCM_Projects_3<br< a=""> />
AuthName "UBK-SCM Crowd Access Control System"
AuthType Basic
PerlAuthenHandler Apache::CrowdAuth
PerlSetVar CrowdAppName ubkscm-svn-cache-abtz05bx
PerlSetVar CrowdAppPassword crowd4scm@svn
PerlSetVar CrowdSOAPURL
http://abtz05bx:8095/crowd/services/SecurityServer<br< a=""> />
PerlSetVar CrowdCacheEnabled on
PerlSetVar CrowdCacheLocation "D:/temp/CrowdCache"
PerlSetVar CrowdCacheExpiry 300

PerlAuthzHandler Apache::CrowdAuthz
PerlSetVar CrowdAuthzSVNAccessFile "D:\Apache2.2\conf\authzPROJECTS_3.conf"

Require valid-user

-------- authzPROJECTS_3.conf --------------

svn-tcm_projects-int-read =
svn-tcm_projects-int-write =
svn-tcm_projects-ext-read =
svn-tcm_projects-ext-write =

* =
@svn-tcm_projects-int-read = r
@svn-tcm_projects-int-write = rw

4 answers

1 accepted

0 votes
Answer accepted
huang yi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 21, 2013
1 vote
Deleted user August 16, 2012

I tried different directory names but got the same error with all of them. Also, tried not defining the CrowdCacheLocation so that default location would be used - again got the same error. seems to read the location parameter correctly (added a log message) so perhaps there is something wrong in FileCache or how the location is passed to it.

In the end I decided to disable using the cache - for my development purposes the apache-crowd integration seems to work adequately w/o cache.

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2013

I also had to disable the cache to make it work.

However, it seems that the folder creation worked at least once, since I have the following folder under C: with some cache data inside:


I would also be interested in having it work with the cache.

0 votes
Niklas Thulin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 6, 2012

Anyone else with similar issues and possible solutions?

0 votes
Jake Hertenstein August 2, 2012

Did you solve this problem? I have the same issue...

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events