Error: Apache2 + mod_auth_mysql - Internal error: pcfg_openfile() called with NULL filename

You use Apache2 and mod_auth_mysql to password-protect web folders. In Apache's error log you see these errors:

[Wed Jun 11 17:02:45 2008] [error] Internal error: pcfg_openfile() called with NULL filename
[Wed Jun 11 17:02:45 2008] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null)

 

Solution

Add

AuthBasicAuthoritative Off
AuthUserFile /dev/null

to your mod_auth_mysql configuration and restart Apache.

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

0 Comment(s)

Add comment