I have the same exact problem except for one weird thing.
We will need more information to be able to help you:
- Which OS are you using? Is it up to date?
- What avast! version number?
- Do you use a firewall? Which one?
- Do you have any other antivirus installed in your system? Did you have in the past?
- Any other security programs that could interfere?
- In XP/Vista, is there any useful information into Control Panel > Administrative Tools > Events, specially 'Errors'?