Recentemente è stato aggiornato il pacchetto libapache2-mod-auth e all’utilizzo degli stessi file di configurazione provoca il seguente errore:
(9)Bad file descriptor: Could not open password file: (null)
Per risolvere la situazione è sufficiente aggiungere la seguente linea al proprio file di configurazione:
AuthBasicAuthoritative off
Come riportato dalla fonte del bug il problema è il seguente:
“The only difference between apache 2.2.3-2 and 2.2.3-3.3 that appears
relevant is that 2.2.3-3.1 *enables* authz_user by default”
April 2nd, 2008 at 10:57 am
Hey, THANKS a lot!!
I migrated a server from apache1/php4 to apache2/php5 and just didn’t get it, until I found your site and this hint.
I don’t speak/read a single word of italic language, but I understood the content anyway
April 2nd, 2008 at 1:21 pm
Hi,
i’m very glad my post had been useful to your server migration!
Cheers
Parantido
July 25th, 2008 at 12:06 pm
In case you’re using the patched version of mod_auth_mysql for apache2, setting the AuthBasicAuthoritative directive may not be enough.
If you still get the “Bad file descriptor” error, in combination with
” Internal error: pcfg_openfile() called with NULL filename”, you can get rid of those messages by including this in your config-file:
AuthUserFile /dev/null