Author Topic: [Avast 7] Mail Shield won't start  (Read 22152 times)

0 Members and 1 Guest are viewing this topic.

warlock

  • Guest
[Avast 7] Mail Shield won't start
« on: February 27, 2012, 11:14:55 PM »
After a reinstall from scratch (ran aswclear) I can't get Mail Shield to run even after several reinstalls. The shield status is showing: Please run the avast! service first to run this shield. Of course the service is running (and all the other shields too). The Mail.log file contains only:
Code: [Select]
27.2.2012 22:41:39 000006F4:   Started, Log = 1
27.2.2012 22:41:39 000006F4:   Build 7.0.1407
27.2.2012 22:41:39 000006F4:   OS Windows 7 Workstation (Service Pack 1)
27.2.2012 22:41:39 000006F4:   tdi.Initialize failed
27.2.2012 22:41:39 000006F4:   Stopped
27.2.2012 22:41:40 000006F4:   CATCH (...) in MainLoop
27.2.2012 22:41:40 000006F4:   CATCH (...) in DeInitApp

Weird thing is the setup log contains this:
Code: [Select]
27.02.2012 21:39:36.000 1330375176 (null) Service avast! Mail Scanner uninstalled even though it is the log for the install run. This is the only mention of the Mail scanner in the whole log file.

ChaosinaCan

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #1 on: February 28, 2012, 12:01:52 AM »
I forget which topic it was in, but I found a solution that worked.

Run aswclear again, then before you restart, open C:\Windows\system\drivers and look for any leftover files starting with "asw" and ending with ".sys". Deleting those, restarting and installing once more fixed this for me.

Ogre77497

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #2 on: February 28, 2012, 02:06:39 AM »
I've unstalled and reinstalled three times without success.  No aws* files in the driver directory. Same problem. Click on FIX ON does nothing. Any other suggestions? Thanks.

Treborprime

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #3 on: February 28, 2012, 03:13:03 AM »
Same problem here.

This is from the log Mail.log.

2/27/2012   7:22:14 AM   00000774:   Started, Log = 1
2/27/2012   7:22:14 AM   00000774:   Build 7.0.1407
2/27/2012   7:22:14 AM   00000774:   OS Windows 7 Workstation (Service Pack 1)
2/27/2012   7:22:14 AM   00000774:   tdi.Initialize failed
2/27/2012   7:22:14 AM   00000774:   Stopped
2/27/2012   7:22:14 AM   00000774:   CATCH (...) in MainLoop
2/27/2012   7:22:14 AM   00000774:   CATCH (...) in DeInitApp
2/27/2012   6:35:38 PM   00000790:   Started, Log = 1
2/27/2012   6:35:38 PM   00000790:   Build 7.0.1407
2/27/2012   6:35:38 PM   00000790:   OS Windows 7 Workstation (Service Pack 1)
2/27/2012   6:35:38 PM   00000790:   tdi.Initialize failed
2/27/2012   6:35:38 PM   00000790:   Stopped
2/27/2012   6:35:38 PM   00000790:   CATCH (...) in MainLoop
2/27/2012   6:35:38 PM   00000790:   CATCH (...) in DeInitApp

This happens when I install from Safe mode. I can never get a successful install in normal windows mode. Gets stuck on installing the firewall NDIS driver.

Definitely serious problems with Avast's install process. Perhaps the project was to ambitious for the resources at hand.

Offline lukor

  • Administrator
  • Super Poster
  • ***
  • Posts: 1884
    • AVAST Software
Re: [Avast 7] Mail Shield won't start
« Reply #4 on: February 28, 2012, 05:23:27 AM »
Hi guys, thanks for your logs. It seems to me that the line: Tdi Initialize failed. is going to be the rpoblem. I will look at the code a try to find out what might be causing it - as soon as the sun rises.

lukas

Raj_goswami

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #5 on: February 28, 2012, 06:11:04 AM »
Hi


Mail Shield down and real time shield not working. Please fix this very urgently.

Krond

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #6 on: February 28, 2012, 08:28:59 AM »
Same problem here.

I solved this by installing avast 6 and an upgrade to avast 7. After that, avast 7 is running fine...

Offline Cahya Legawa

  • Sr. Member
  • ****
  • Posts: 393
  • Oh, here we are again.
    • Website
Re: [Avast 7] Mail Shield won't start
« Reply #7 on: February 28, 2012, 10:18:46 AM »
I got the same problem here with Windows 7, but I didn't install it on Safe Mode.
Avast Security Premium - Windows 10, Android, iPadOS. | Avast One Free - Windows 11

bazzilic

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #8 on: February 28, 2012, 03:10:49 PM »
Same problem. Windows 7 Professional x64 SP1 Russian. Uninstalled avast 6 in safe mode using Avast Uninstall Utility (was having problems with auto update hanging). Rebooted in normal mode, downloaded installer, installed and mail shield won't start.

Thought it could be related to the problem with the update hanging, so I downloaded the fix released yesterday but it returned error 11 which means that there is no problem for that fix to fix.

I don't have real need in mail shield but it's a bug that should be fixed :)

ady4um

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #9 on: February 28, 2012, 03:28:45 PM »
After aswclear under Windows Safe Mode, search for possible remnant folders "avast*" or "alwil*" and delete them.

Also look into "C:/windows/system32/drivers/" for avast drivers left starting with "asw*", specially "aswdrd2.sys. Delete them.

Now reboot into Normal Mode and install avast.

A new program update will also come soon.

warlock

  • Guest
Re: [Avast 7] Mail Shield won't start
« Reply #10 on: February 28, 2012, 05:07:18 PM »
Success on 10th try. Didn't change anything or deleted anything manually (on first try I checked the drivers folder, but there was nothing there, even checked the driver keys in registry, but there were no orphaned avast entries), just did install -> uninstall (+ aswclear) 9 times and on 10th install everything started working, so no clue what the issue is.

Offline lukor

  • Administrator
  • Super Poster
  • ***
  • Posts: 1884
    • AVAST Software
Re: [Avast 7] Mail Shield won't start
« Reply #11 on: February 29, 2012, 12:36:10 PM »
Hi guys,
we have finally found the problem that is causing this bug.

One driver that is needed for correct startup of MailShield (and also for correct operation of WebShield) is incorrectly installed. (on Win7 only)
It is caused by the aswclear ver. 6, that is unaware of the fact, that it has been renamed in Avast7 for Win7 OSs to aswrdr2.sys and leaves it there on the system, which again (and this is probably a bug) causes setup not to install it correctly next time.

We will fix it in the next build, for now, please use the following .reg file to import the missing settings into the registry. (please note, you will have to disable Avast Self-Defense features before the import and re-enable it after).

Steps:
1) Go to settings/troubleshooting and uncheck "Enable Avast! Self-defense module"
2) Download the following link and open it - click on it. The message box appear informing you that this will change registry. Click Yes.

http://public.avast.com/~rypacek/aswrdr/aswrdr-win7-installation-fix.reg

3) After successful registry import, you should see another message box confirming it. It it shows an error, probably you haven't gone through the step 1.
4) Re-enable avast! self defense, similary to step 1
5) reboot

Lukas.

Offline CraigB

  • Avast Überevangelist
  • Serious Graphoman
  • *****
  • Posts: 11239
  • No support PM's thanks
Re: [Avast 7] Mail Shield won't start
« Reply #12 on: February 29, 2012, 12:54:54 PM »
lukor, no issues here for me with the mail shield on a completely clean install of the latest 7 installer so would there be any benifit in myself running this fix - or not needed ? more so for the reason that you say this affected the webshield as well.
« Last Edit: February 29, 2012, 03:06:13 PM by craigb »

Offline danny96

  • Malware Fighter
  • Advanced Poster
  • **
  • Posts: 668
  • No-malware!
Re: [Avast 7] Mail Shield won't start
« Reply #13 on: February 29, 2012, 02:03:55 PM »
I also can't start Mail shield.
EDIT: Finally fixed. Thanks
« Last Edit: February 29, 2012, 02:18:04 PM by danny96 »
Real-time protection and Firewall: COMODO Internet Security 12.0.0.6810 -- Additional Protection: Web Of Trust, Ublock, NoScript, Malwarebytes Premium, Avast! Online Security, Hitman Pro -- OS: Windows 10

Offline lukor

  • Administrator
  • Super Poster
  • ***
  • Posts: 1884
    • AVAST Software
Re: [Avast 7] Mail Shield won't start
« Reply #14 on: February 29, 2012, 03:28:40 PM »
Danny96, thanks for the edit, I was a little surprised that the fix did not help for you.
Lukas.