Bug no Apache2.2 do Debian Etch com webdav

Faz um tempo que não posto sobre assuntos técnicos.  Estava configurando um servidor com WebDAV e tive alguns problemas para configurá-lo.

No Debian Etch com a versão 2.2.3-4 do Apache existe um bug ao usar o parâmetro Dav On na configuração de um site, este bug gera uma mensagem de erro como essas abaixo.


[Fri Jul 20 15:09:15 2007] [error] [client xxx.xxx.xxx.xxx] The locks could not be queried for verification against a possible "If:" header.  [500, #0]
[Fri Jul 20 15:09:15 2007] [error] [client xxx.xxx.xxx.xxx] Could not open the lock database.  [500, #400]
[Fri Jul 20 15:09:15 2007] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: Could not open property database.  [500, #1]
[Fri Jul 20 15:09:15 2007] [error] [client xxx.xxx.xxx.xxx] The locks could not be queried for verification against a possible "If:" header.  [500, #0]
[Fri Jul 20 15:09:15 2007] [error] [client xxx.xxx.xxx.xxx] Could not open the lock database.  [500, #400]
[Fri Jul 20 15:09:15 2007] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: Could not open property database.  [500, #1]

Esse problema ocorre devido dono  do diretório /var/lock/apache2 ser o root ao invés do usuário www-data. Para corrigir basta alterar o dono.

#chown www-data /var/lock/apache2

No Debian Bug Track System, também conhecido como BTS, tem um bug de número #420101 relacionado este problema. :)

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google

Tags: , , , ,

One Response to “Bug no Apache2.2 do Debian Etch com webdav”

  1. hbueno Says:

    Rapaz… foi mto útil para mim!
    Valews!

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word