Apache2 + mod_auth_mysql – Internal error: pcfg_openfile() called with NULL filename
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:if(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-box-3-0’)};
[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)
if(typeof __ez_fad_position != ‘undefined’){__ez_fad_position(‘div-gpt-ad-howtoforge_com-medrectangle-3-0’)};
Solution
Add
AuthBasicAuthoritative Off AuthUserFile /dev/null
to your mod_auth_mysql configuration and restart Apache.