In a test environment Im trying to test Avast! EPSP
Avast Enterprise Admnistration Build APr2016 (8.0.405)
Windows Server 2012 R2
SQL server 2016
All on the same VM.
Have a client with windows 10 and windows 7 all ports etc all open.
The problem is that there is no setup.exe file and there is also no aswResp.dat…
Here is the log:
Please run the “C:\Program Files\AVAST Software\Enterprise Administration\mirror\mirror.exe” tool to rebuild the mirror and try again.
If the deployment fails again, attach the mirror.log from "C:\Program Files\AVAST Software\Enterprise Administration\mirror\log".
Thanks for the advice, I looked in the mirror log and saw that he couldnt get some files from avast.com, whitelisted the website and the mirror looks like this:
13.07.2017 11:09:12.000 1499969352 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
13.07.2017 11:10:20.000 1499969420 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
13.07.2017 11:11:25.000 1499969485 (null) Started: 13.07.2017, 11:11:25
13.07.2017 11:11:25.000 1499969485 (null) Running mirror_w32-0 (0)
13.07.2017 11:11:25.000 1499969485 (null) scr: Another instance of mirror.exe is already running.
13.07.2017 11:11:25.000 1499969485 (null) Return code: 0x2000000A [Another instance of setup is already running. Please wait until it finishes and then try to run it again.]
13.07.2017 11:11:25.000 1499969485 (null) Stopped: 13.07.2017, 11:11:25
13.07.2017 11:12:45.000 1499969565 (null) Started: 13.07.2017, 11:12:45
13.07.2017 11:12:45.000 1499969565 (null) Running mirror_w32-0 (0)
13.07.2017 11:12:45.000 1499969565 (null) Operating system: Windows 7 ver 6.2, build 9200, sp 0.0 SERVER
13.07.2017 11:12:45.000 1499969565 (null) Memory: 11% load. Phys:4194303/4194303K free, Page:4194303/4194303K free, Virt:2075088/2097024K free
13.07.2017 11:12:45.000 1499969565 (null) Computer WinName: AVT_SRV1
13.07.2017 11:12:45.000 1499969565 (null) Windows Net User: SYSTEM
13.07.2017 11:12:45.000 1499969565 (null) Operation set to INST_OP_MIRROR_MIRROR
13.07.2017 11:12:45.000 1499969565 (null) Direct delete of file: C:\Windows\TEMP_av_mirrI.tm~a00368\onefile.dld
13.07.2017 11:12:45.000 1499969565 (null) Direct delete of file: C:\Windows\TEMP_av_mirrI.tm~a00368\setup.lok
13.07.2017 11:12:45.000 1499969565 (null) Using temp: C:\Windows\TEMP_av_mirrI.tm~a02620 (36963M free)
13.07.2017 11:12:45.000 1499969565 (null) Computer DnsName: AVT_SRV1.AVT.LOCAL
13.07.2017 11:12:45.000 1499969565 (null) Computer Ip Addr: 10.100.69.147
13.07.2017 11:12:45.000 1499969565 (null) scr: mirror begin…
13.07.2017 11:12:45.000 1499969565 (null) SYNCER: Type: use IE settings
13.07.2017 11:12:45.000 1499969565 (null) SYNCER: Auth: another authentication, use WinInet
13.07.2017 11:12:45.000 1499969565 (null) GUID: 47093b1e-b666-4273-a9fd-8c02f42663cb
13.07.2017 11:12:45.000 1499969565 (null) scr: Mirroring…
13.07.2017 11:12:45.000 1499969565 (null) Server definition(s) loaded for ‘main’: 29 (maintenance:0)
13.07.2017 11:12:45.000 1499969565 (null) SelectCurrent: selected server ‘Download g8263359 AVAST5 Server’ from ‘main’
13.07.2017 11:12:45.000 1499969565 (null) scr: Using server: http://g8263359.iavs5x.u.avast.com/iavs5x
13.07.2017 11:13:48.000 1499969628 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
13.07.2017 11:14:56.000 1499969696 (null) ERROR:HttpGetWininet, catch returned 0x00002EE2 (12002)
Im using powershell to look at the mirror log so I can actively see whats going on, I use this command: get-content “C:\Program Files\AVAST Software\Enterprise Administration\mirror\logS\mirror.log” -wait
Downloaded vps_32-15dd.vpx’ manually because this was blocked by size restriction by one of the proxy servers. Avast is in trial version because I want to make sure it passes all of our expectations
After that set the mirror to check every 5 min and now al the files have been downloaded.
First test vm installation by deployment has succeded ;D
When any deployments fail with error 2 or 3, most of the time that means that the mirror server is corrupted.
Manually running the mirror server executable will usually indicate the reason for the issue - usually external firewall / network gateway or corrupted mirror.