4 June 2007 3 Comments

[APACHE] Libapache2 Mod Auth: “(9)Bad file descriptor: Could not open password file: (null)”

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”

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
  • Google Buzz

3 Responses to “[APACHE] Libapache2 Mod Auth: “(9)Bad file descriptor: Could not open password file: (null)””

  1. Marc Richter 2 April 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 ;)

  2. Parantido 2 April 2008 at 1:21 pm #

    Hi,

    i’m very glad my post had been useful to your server migration!

    Cheers

    Parantido

  3. richard 25 July 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


Leave a Reply

You must be logged in to post a comment.

Powered by WP Symposium - Social Networking for WordPress  12.01.14