Author Topic: Re-establishing communication.  (Read 15564 times)

0 Members and 1 Guest are viewing this topic.

gprzybyl

  • Guest
Re-establishing communication.
« on: September 20, 2004, 05:59:08 PM »
 
  I'm having troubles with a W2K pro machine communicating with the console.  

In the event log I'm getting:

Cannot connect ServerConnection socket, WinSock error 0x0000274C has occurred.  

and

Function setifaceUpdatePackages() has failed. Return code is 0x20000004, dwRes is 20000004.    

So I checked avast4.ini and found that Server and LastServer had the avastms instead of the proper ip address.  I changed it to be the correct address and waited but it still didn't show up as communicating in the computer catalog.  I ran a discovery task still nothing.  I've rebooted the machine and still the icon is greyed out.  However there are no errors in any of the log files since I made the change.  What am I missing and why shouldn't have avast autodiscovered the AMS?

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #1 on: September 20, 2004, 06:21:05 PM »
Can you ping/access the AMS from that machine?
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #2 on: September 20, 2004, 07:12:18 PM »
Not only can I ping from the machine, it is my machine and I am running the remote console from it.  ;D  So it definitely has the connectivity to it.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #3 on: September 20, 2004, 09:40:46 PM »
So the Detect Servers button in the console Login dialog works?
Because it uses exactly the same algorithm as the NetClients...
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #4 on: September 20, 2004, 10:46:14 PM »
Yes it does.  I deleted the server out of the registry per our previous thread.  Brought up the console and it was able to detect the AMS without a problem.  So that makes today's puzzler for you.  ;D

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #5 on: September 20, 2004, 10:49:30 PM »
I'll send you some files with extra logging tomorrow.
I'm curious what is it this time... :-\ :)


Good night (I know, not yet at your place but anyways)
Vlk
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #6 on: September 22, 2004, 03:59:14 PM »
Any luck on this?

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #7 on: September 22, 2004, 04:37:12 PM »
Please try updating to the latest version (released today). It's labeled RC-2a. You can also update the AMS and/or console - it brings some enhancements as well (mostly the stuff we were talking about since the release of RC-2).

Thanks
Vlk
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #8 on: September 29, 2004, 09:15:34 PM »
I've updated the console and client both to 2a but it still doesn't talk.  
Here's the comm block of avast4.ini

[Communication]
ServerAddress=192.168.1.43
InformationPortAddress=6000
InformationTimeout=300
ClientsListenPortAddress=6011
SynchroTimeout=30
EmailChestFile_To=virus@asw.cz
ProblemEmail=support@avast.com
PopTimeout=600
PopTimeoutDiff=300
InstallGUID=cc4bdf02-2a1c-4ce2-8f66-03d5d5adc910
LastServerAddress=192.168.1.43
SMTPServer=smtp.xo.com
SMTPPort=25
SMTPUserName=
SMTPUserPassword=
SMTPFrom=avast@monetrics.com
CommScenario=PopOnly
MaximumSendSize=1024
[Common]

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #9 on: September 29, 2004, 10:44:22 PM »
And nothing new in the Event log?
There should be at least something written in the NT event log, Antivirus category generated during the NetAgent service startup.

Thanks
Vlk
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #10 on: September 30, 2004, 07:21:28 PM »
I found the problem.  Netagent wasn't starting at boot time.  Though it is set to automatic it wasn't starting.  Now to figure out why it wasn't starting.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #11 on: September 30, 2004, 11:48:25 PM »
And manual start of the service worked? :o

If it wasn't starting at all, there'd have to be something in the Windows Event Log (from the Service Control Manager [SCM]). It's more likely that the service actually started and then immediately stoped (crashed?) - that way the SCM wouldn't notice. Or is there anything in the Event Log?

Thanks
Vlk
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #12 on: October 01, 2004, 07:48:27 PM »
Yes a manual start worked.  

I rebooted again after clearing the event logs and what I get is

The avast! Antivirus service hung on starting.

and a

The avast! NetAgent service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.  

Timeout (30000 milliseconds) waiting for the avast! NetAgent service to connect.

  Nothing in the avast logs though.  And a manual start works fine.

as an error from the Service Control Manager

gprzybyl

  • Guest
Re:Re-establishing communication.
« Reply #13 on: October 07, 2004, 03:25:27 PM »
Any idea on what I should do to troubleshoot this?

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:Re-establishing communication.
« Reply #14 on: October 07, 2004, 10:32:12 PM »
This one will be really hard to debug. The problem is that if you start the service manually, it works.

That is, it must be some kind of timing issue... :(
If at first you don't succeed, then skydiving's not for you.