Moved ADNM to another server. Clients not updating anymore.

Hi all,

this is my first message on this forum. I’ve read a lot but couldn’t find any solution to my problem.

I use Avast! on a business environment (regular business license) managed with ADNM.
I had to move ADNM to another server (just Management Server, not the DB) and I’ve followed the instructions on
the manual.
After have installed the new server (new machine with different IP address) clients were not able to find it, even after
several hours (black icon on ADNM console).
At this time I’ve added the IP address of the old server to the NIC on the new server and at that time clients were
seen back again from the server console.
After that some clients (10 over 60) begun to update correctly again, but most of them are reporting errors:

(entries from …\Alwil Software\Avast4\Setup\Setup.log)

08:00:52 min/gen Started: 15.10.2008, 08:00:52
08:00:52 min/gen Running setup_av_net-334 (820)
08:00:53 nrm/sys Operating system: Windows2000 ver 5.0, build 2195, sp 4.0 [Service Pack 4]
08:00:53 nrm/sys Memory: 46% load. Phys:209452/392688K free, Page:780884/943212K free, Virt:2073524/2097024K free
08:00:53 vrb/sys Computer WinName: PC13
08:00:53 min/sys Windows Net User: SYSTEM
08:00:53 min/gen Cmdline: /downloadpkgs /noreboot /updatenews /verysilent /nolog /limitcpu
08:00:53 vrb/gen DldSrc set to inet
08:00:53 vrb/gen Operation set to INST_OP_UPDATE_GET_PACKAGES
08:00:53 min/gen Old version: 334 (820)
08:00:53 nrm/fil Direct delete of file: C:\WINNT\TEMP_av_mgmI.tm~a01740\dld1.tmp
08:00:53 nrm/fil Direct delete of file: C:\WINNT\TEMP_av_mgmI.tm~a01740\setup.lok
08:00:53 nrm/sys Using temp: C:\WINNT\TEMP_av_mgmI.tm~a00216 (5329M free)
08:00:53 nrm/gen SGW32P::CheckIfInstalled set m_bAlreadyInstalled to 1
08:00:53 nrm/int SYNCER: Agent=Syncer/4.70 (av_net-820;p)
08:00:53 vrb/sys Computer DnsName: pc13
08:00:53 vrb/sys Computer Ip Addr: 172.16.5.13
08:00:53 nrm/sys Installed in: C:\Programmi\Alwil Software\Avast4 (5329M free)
08:00:54 nrm/int SYNCER: Type: use IE settings
08:00:54 nrm/int SYNCER: Auth: another authentication, use WinInet
08:00:54 vrb/pkg Part prg_av_net-334 is installed
08:00:54 vrb/pkg Part vps-8101200 is installed
08:00:54 vrb/pkg Part news-4b is installed
08:00:54 vrb/pkg Part setup_av_net-334 is installed
08:00:54 vrb/pkg Part jrog-50 is installed
08:00:54 min/gen Old version: 334 (820)
08:01:30 vrb/fil SetExistingFilesBitmap: 1153->162->162
08:01:30 min/gen GUID: 0ac27205-5f92-46d3-9f8d-ddb0107b366a
08:01:30 min/gen Mirror server pseudo definition loaded as ‘http://172.16.0.211:5033’.
08:01:30 nrm/gen Server definition(s) loaded for ‘mirror’: 1 (maintenance:0)
08:01:34 nrm/gen Server definition(s) loaded for ‘main’: 203 (maintenance:0)
08:01:34 nrm/gen SelectCurrent: selected server ‘temp_mirror’ from ‘mirror’
08:01:34 min/pkg GetPackages - set direct connection for mirror
08:01:34 nrm/int SYNCER: Type: no proxy
08:01:34 nrm/int SYNCER: Auth: no authentication
08:01:34 dbg/gen Entered SetupProcessWin32Avast::Do( INST_OP_UPDATE_GET_PACKAGES )
08:01:34 dbg/gen Entered SetupProcessWin32::Do( INST_OP_UPDATE_GET_PACKAGES )
08:01:34 dbg/gen Entered SetupProcess::Do( INST_OP_UPDATE_GET_PACKAGES )
08:01:34 min/gen Load license C:\Programmi\Alwil Software\Avast4\DATA\license.dat
08:01:38 min/gen Product AV_NETC
08:01:38 min/gen Type 4
08:01:38 nrm/int SYNCER: Agent=Syncer/4.70 (av_net-820;p)
08:01:38 min/pkg HttpGetWinsock(http://172.16.0.211:5033/servers.def.vpu.stamp)
08:01:38 min/pkg HttpGetWinsock(http://172.16.0.211:5033/servers.def.vpu)
08:01:38 nrm/gen InvalidateCurrent: invalidated server ‘temp_mirror’ from ‘mirror’
08:01:38 min/gen SelectCurrent: unable to find any suitable server in ‘mirror’
08:01:38 nrm/gen SelectCurrent: selected server ‘Download979 AVAST Server’ from ‘main’
08:01:38 min/pkg GetPackages - set proxy for inet
08:01:38 nrm/int SYNCER: Type: use IE settings
08:01:38 nrm/int SYNCER: Auth: another authentication, use WinInet
08:01:38 dbg/int while trying to get file ‘servers.def.vpu’, error 0x20000006 has occured, try 1
08:01:38 min/fil Server returned 404 on file servers.def.vpu
08:01:59 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2
08:02:25 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2
08:02:51 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2
08:03:17 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2
08:03:43 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2
08:03:48 nrm/gen InvalidateCurrent: invalidated server ‘Download979 AVAST Server’ from ‘main’
08:03:48 min/gen SelectCurrent: unable to find any suitable server in ‘mirror’
08:03:48 nrm/gen SelectCurrent: selected server ‘Download906 AVAST Server’ from ‘main’
08:03:48 min/pkg GetPackages - set proxy for inet
08:03:48 nrm/int SYNCER: Type: use IE settings
08:03:48 nrm/int SYNCER: Auth: another authentication, use WinInet
08:03:48 dbg/int while trying to get file ‘servers.def.vpu’, error 0x20000004 has occured, try 2
08:04:10 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2
08:04:36 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE2


Looking at client’s properties from ADNM console I see serveral times this error:

15/10/2008 9.31.54 1224055914 SYSTEM 580 Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.
15/10/2008 9.31.55 1224055915 SYSTEM 580 An error has occured while attempting to update. Please check the logs.

How Can I check if http://172.16.0.211:5033 is reachable?

I’ve tryed REPAIR option with no success.
Deployment and Removal from ADNM had no luck.
Manual removing was ok but then ADNM wasn’t able anymore to deploy installation.

Any help will be kindly appreciated.

Best Regards

Dave


I’ve Just figured out that those 10 clients that are kept updated are not getting updates from ADNM bu from avast site on internet.
At this time I can surely say that my server is not working.
Operating system is WINDOWS SERVER 2003 R2 x64.
Is there any particular configuration?

Thank’s

Dave

Hi

Im not saying it is the problem but i have seen setiface in the mirror directory on adnm get correct. By replacing it with another from working system this usually fixes it. Also run mirror.exe directly and see if it is working, i have also seen this fail and manually running it can kick it off. Ive even used windows scheduler to run mirror.exe as a failover in the past on large installs.

Clients will normally find another adnm if you take the old server offline or update from the internet if all hope of connecting to AMs fails.

av-outsource

Goog morning and thank you for the answer.

I’ve manually run mirror.exe on ADNM and worked correctly.
I’m a little bit confused about setiface.dll: I can find this file in the \mirror folder on ADNM server and on \Setup folder on clients. Which one should I replace?

Thank you.

Dave


UPDATED:

Hi all again,

I’ve deleted and created a new database, I’ve then manually executed mirror.exe, at last I’ve opened Control Panel to
remove ADNM, but when I selected ADNM I saw the “UPDATE” button.
I’ce decidet to try it, just as last chance before reinstalling from scratch.
The update went correctly and all the clients begun to update correctly.

I’ll keep an eye on it on the next days and then postback.

Regards,

Dave


Great news Dave!

I hope it runs smoothly from now on.

av-outsource

Hi again,

finally everything seems to run smootly on the client side. Clients are updating correctly.

I still have an issue on the server. ADNM can’t mirror correctly.
I’ve tryed to change Windows user used to run the mirror service but had no luck.
Actually mirror service is run by Administrator but it still can’t connect.

Strange thing is that if I manually run mirror.exe with logged in user Administrator everything runs fine.

This is the log of the mirror service (entries from …\Alwil Software\Avast4\Setup\Setup.log):

16:51:38 min/gen Started: 22.10.2008, 16:51:38
16:51:38 min/gen Running mirror_w32-0 (0)
16:51:38 nrm/sys Operating system: Windows2003 ver 5.2, build 3790, sp 2.0 [Service Pack 2] SERVER
16:51:38 vrb/sys Computer WinName: ***
16:51:38 min/sys Windows Net User: *\Administrator
16:51:38 dbg/fil filRenameOnReboot:!bSuccess
16:51:38 vrb/gen DldSrc set to inet
16:51:38 vrb/sys Computer DnsName: ***
16:51:38 vrb/sys Computer Ip Addr: 172.16.0.211
16:51:38 min/gen scr: mirror begin…
16:51:38 vrb/gen Operation set to INST_OP_MIRROR_DOALL
16:51:38 nrm/int SYNCER: Type: use IE settings
16:51:38 nrm/int SYNCER: Auth: another authentication, use WinInet
16:51:38 min/gen GUID: 90b2493f-aa76-4597-ac80-f6c8e7db80ac
16:51:38 nrm/gen scr: Mirroring…
16:51:38 nrm/gen Server definition(s) loaded for ‘main’: 203 (maintenance:0)
16:51:38 nrm/gen SelectCurrent: selected server ‘Download652 AVAST Server’ from ‘main’
16:51:38 nrm/gen scr: Using server: http://download652.avast.com/iavs4x
16:51:50 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE7
16:52:02 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE7
16:52:02 nrm/gen InvalidateCurrent: invalidated server ‘Download652 AVAST Server’ from ‘main’
16:52:02 nrm/gen SelectCurrent: selected server ‘Download79 AVAST Server’ from ‘main’
16:52:02 nrm/gen scr: Using server: http://download79.avast.com/iavs4x
16:52:02 dbg/int while trying to get file ‘servers.def’, error 0x20000004 has occured, try 1
16:52:15 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE7
16:52:15 nrm/gen InvalidateCurrent: invalidated server ‘Download79 AVAST Server’ from ‘main’
16:52:15 nrm/gen SelectCurrent: selected server ‘Download600 AVAST Server’ from ‘main’
16:52:15 nrm/gen scr: Using server: http://download600.avast.com/iavs4x
16:52:15 dbg/int while trying to get file ‘servers.def’, error 0x20000004 has occured, try 2
16:52:29 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE7
16:52:29 nrm/gen InvalidateCurrent: invalidated server ‘Download600 AVAST Server’ from ‘main’
16:52:29 nrm/gen SelectCurrent: selected server ‘Download667 AVAST Server’ from ‘main’
16:52:29 nrm/gen scr: Using server: http://download667.avast.com/iavs4x
16:52:29 dbg/int while trying to get file ‘servers.def’, error 0x20000004 has occured, try 3
16:52:43 min/pkg ERROR:HttpGetWininet, catch returned 0x00002EE7
16:52:43 nrm/gen InvalidateCurrent: invalidated server ‘Download667 AVAST Server’ from ‘main’
16:52:43 nrm/gen SelectCurrent: selected server ‘Download936 AVAST Server’ from ‘main’
16:52:43 nrm/gen scr: Using server: http://download936.avast.com/iavs4x

17:39:09 min/gen SelectCurrent: unable to find any suitable server in ‘main’
17:39:09 dbg/int while trying to get file ‘servers.def’, error 0x20000004 has occured, try 203
17:39:09 min/int tried 203 servers to get file ‘servers.def’, but failed (0x20000004)
17:39:09 min/fil GetNewerStampedFile:GetFileWithRetry failed: C:\DOCUME~1*
\IMPOST~1\Temp_av_mirrI.tm~a03328\onefile, servers.def, error: 0x20000004
17:39:21 min/gen Err:Cannot connect to download657.avast.com (unknown:80).
17:40:09 min/gen Return code: 0x20000004 [Cannot connect to download657.avast.com (unknown:80).]
17:40:09 min/gen Stopped: 22.10.2008, 17:40:09

And this is the same log when mirror.exe is executed manually:

18:09:31 min/gen Started: 22.10.2008, 18:09:31
18:09:31 min/gen Running mirror_w32-0 (0)
18:09:31 nrm/sys Operating system: Windows2003 ver 5.2, build 3790, sp 2.0 [Service Pack 2] SERVER
18:09:31 vrb/sys Computer WinName: ***
18:09:31 min/sys Windows Net User: ***\Administrator
18:09:31 vrb/gen DldSrc set to inet
18:09:31 vrb/sys Computer DnsName: ***
18:09:31 vrb/sys Computer Ip Addr: 172.16.0.211
18:09:31 min/gen scr: mirror begin…
18:09:31 vrb/gen Operation set to INST_OP_MIRROR_DOALL
18:09:31 nrm/int SYNCER: Type: use IE settings
18:09:31 nrm/int SYNCER: Auth: another authentication, use WinInet
18:09:31 min/gen GUID: 90b2493f-aa76-4597-ac80-f6c8e7db80ac
18:09:31 nrm/gen scr: Mirroring…
18:09:31 nrm/gen Server definition(s) loaded for ‘main’: 203 (maintenance:0)
18:09:31 nrm/gen SelectCurrent: selected server ‘Download961 AVAST Server’ from ‘main’

18:11:40 vrb/gen scr: copying mirror file ‘part-vps-8102201.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘part-vps-8102201.vpu.stamp’…
18:11:40 vrb/gen scr: copying mirror file ‘prod-av_net.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘prod-av_net.vpu.stamp’…
18:11:40 vrb/gen scr: copying mirror file ‘prod-av_pro.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘prod-av_pro.vpu.stamp’…
18:11:40 vrb/gen scr: copying mirror file ‘prod-av_srv.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘prod-av_srv.vpu.stamp’…
18:11:40 vrb/gen scr: copying mirror file ‘vps-8102100-8102000.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘vps-8102200-8102100.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘vps-8102200.vpu’…
18:11:40 vrb/gen scr: copying mirror file ‘vpsm-8102201.vpu’…
18:11:42 nrm/gen scr: Building distribution ‘distrib0’ done.
18:11:42 nrm/gen scr: Building distributions done.
18:11:42 nrm/gen scr: Uploading distribution ‘distrib0’
18:11:42 nrm/fil DumbServer::Connect
18:11:42 nrm/gen scr: Sumarizing…
18:11:47 nrm/gen scr: Setting product ‘av_mgm’ files (146 of 2213 set)
18:11:47 nrm/gen scr: Setting product ‘av_net’ files (1766 of 2213 set)
18:11:47 nrm/gen scr: Setting product ‘av_pro’ files (1803 of 2213 set)
18:11:47 nrm/gen scr: Setting product ‘av_srv’ files (1865 of 2213 set)
18:11:47 min/gen Return code: 0x20000000 [Something done]
18:11:47 min/gen Stopped: 22.10.2008, 18:11:47

Actually I’ve solved by scheduling mirror.exe from Windows scheduler but I would like to use the “automirror” feature.

Any help will be appreciated.

Best regards

Dave

I have seen this error before. If you want a quick solution then do as i do and use scheduler to run mirror.exe periodically.

av-outsource