Not updating the database

Avast can’t update my database either automatic or manual updating.

Why not? Which is the error message?
Which is your firewall?
Please, post the last 300-350 lines of avast log: C:\Program Files\Alwil Software\Avast4\DATA\log\Setup.log