Aug 08 2007

Internal error: pcfg_openfile() called with NULL filename

Published by pj at 11:07 am under bugs, subversion, apache2, opensource

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

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

  1. David Goodwinon 05 Oct 2007 at 3:10 pm

    Thanks! That was a quick google to fix my problem :)

    David.

  2. Aurélien Gâteauon 03 Nov 2007 at 12:43 am

    Thanks a lot! I had the same problem with mod_auth_imap.

  3. Sashaon 21 May 2008 at 1:15 pm

    Thanks!! Solved issue…

Trackback URI | Comments RSS

Leave a Reply