Archive for the 'apache2' Category

Aug 08 2007

Internal error: pcfg_openfile() called with NULL filename

Published by pj under apache2,bugs,opensource,subversion

While upgrading Apache to version 2.2.4-2 for a subversion upgrade (version 1.4.4dfsg1-1) I ran into errors with my auth_pgsql (or any other auth_mysql, auth_ldap or auth_* module) setup:

“Internal error: pcfg_openfile() called with NULL filename”

This is caused by auth_basic and stops the authentication and authorisation process. Adding the following directive to your auth_pgsql or auth_ldap config file solves the problem:

“AuthBasicAuthoritative Off”
It disables basic authorisation being authoritive for the authorisation process. The errors will still be visible in your logfiles, but the authorisation scheme works as normal.

Other tags:

  • Apache 2.2 error
  • Apache 2.2 subversion 1.4.4 error
  • mod_pgsql pcfg_openfile errors

http://gforge.org/forum/message.php?msg_id=10926&group_id=128

12 responses so far

Oct 11 2006

Apache2 and subversion broken

Published by pj under apache2,bugs,opensource,subversion

Problem: SVN (Subversion) didn’t work: “(20014)Internal error: Bad database version: compiled with 4.4.20, running against 4.3.28″

Solution:

But only this time: the debian-apache2 team linked apache2 against both libdb4.3 and libdb4.4. I rely heavily on the apache2 module “dav_svn”, which uses apache2′s preferred libdb.

After four hours of reinstalling and debugging with the help of Peter Samuelsen, he found this issue and reported it to the debian-apache2 team.

The updated subversion debian package is at: http://free.linux.hp.com/~troyhebe/subversion-1.4.0-5/libsvn1_1.4.0-5_i386.deb

No responses yet