ADNM-RC1 does not start

Windows 2000 Server SP4 with all the latest MS patches installed. SQL Server 2000 Enterprise Edition SP3. Fresh install of adnm RC-1 (avast server already running). Does not start at boot time when avast management service is manually started from the services panel it comes back with the error.
“Could not start the avast management server service on the local computer.”
“Error 87. The parameter is incorrect”

The only entry in the log directory is in the info file the message is:

8/8/2004 3:51:33 PM 1091994693 Administrator 1676 Installer information: *: Going to check version of database of avast! on MS SQL Server “CY15711”, using user “sa”…

Properties for the service are:

Path to executable:
“C:\Program Files\Alwil Software\Management Tools\avEngine.exe” /ServiceStart

Startup type: Automatic

Display Name: avast! Management Server

There are no start parameters listed.

What am I missing?

Because I can’t get the console up and running I decided to try and do a manual install to a client. However I have found that the INSTPkgs directory is empty. Therefore I can’t install anything. Does this directory get populated when the adnm console is brought up or should it have been populated at the time of the installation? I’ll post the setup log below.

Attached is a zipped version of the setup.log file.

Hmmm… doesn’t look good… :-[

Did the install complete without any problems? Mirror created, certificate generated etc…?

Also, was the previous version of the database removed from the SQL server before installation? Or ADNM has never been on this SQL server?

Some more things to try:

  1. Open \data\avast4.ini. What is the value of the key DBCreated= ?
  2. Run the ADNM maintenance tool and select Check DB. What does it report?
Does this directory get populated when the adnm console is brought up or should it have been populated at the time of the installation?

Yeah, it gets populated when the server starts. It builds it from the mirrors.

Thanks
Vlk

Yes.

I had to rebuild the machine completely so this was a completely fresh install.

  1. DBCreated=1
  2. AMS Database is compatible!

This doesn’t sound good at all. :frowning:

Please try updating to RC-1a (released just about half an hour ago). Hopefully it will solve the problem.

Also, I’ve uploaded a self-extracting package (interactive setup wizard) of the latest avast managed version installation: http://www2.asw.cz/misc/setup_av_net.exe . You can use it to deploy the product to your machines even if the AMS is offline (and the InstPkgs folder has not yet been generated) - which I hope won’t be the case anymore… :wink:

Please run it with either /client or /server command line argument (depending on whether installing the Server Edition or the regular (workstation) one).

Thanks
Vlk

Bad news :frowning: RC1-a did not solve the problem. I am getting the exact same error (“Error 87…”). I did both an upgrade, via control panel, and then when that didn’t work I uninstalled adnm completely (including db) and installed RC1-a from scratch. I got the same error both times. Looks like I’ll be testing your setup wizard after all (probably tomorrow).

Is the error message shown immediately after you try to run the service, or does it take a sec or two to display it…?

Thanks
Vlk

It brings up the typical windows is trying to start a service window. Then about 4 blue blocks go across then it errors out.

OK, and each attempt to start the service generates the "Administrator 1676 Installer information: *: Going to check version of database of avast! on MS SQL Server “CY15711”, using user “sa”… " item in the event log? And no error.log file in the log folder?

Thanks
Vlk

Correct! At least it’s consistent! ;D

One more thing: could you please run DebugView from http://www.sysinternals.com/ntw2k/freeware/debugview.shtml (download link is at the bottom of the page) and have it running while the service starts?

It should emit a couple of lines with debug info and I’d need to see those lines. (It should be possible to copy the stuff to clipboard).

Thanks
Vlk

[1028] before basCoInitialize()…
[1028] before CoGetMalloc()…
[1028] before CoGetCreateInstance()…
[1028] before BeforeSetDatasourceProps()…
[1028] before Initialize()…
[1028] quiting sqlInit()…
[1028] Setting quit event…
[1028] Destroying server object…
[1028] Freeing low level scheduler…
[1028] Closing quit event…

Thanks. Please download http://www2.asw.cz/misc/aswNeSer.dll , place it to the ADNM directory and restart the service (with DebugView running). Then, again, copy’n’paste the debug log.

Thanks (and sorry if this is annoying)
Vlk

No problem hope it helps.

[1300] LoadStorageLibrary() starts…
[1300] before basCoInitialize()…
[1300] before CoGetMalloc()…
[1300] before CoGetCreateInstance()…
[1300] before BeforeSetDatasourceProps()…
[1300] before Initialize()…
[1300] quiting sqlInit()…
[1300] loading storage module…
[1300] initing storage…
[1300] before pCreateStorage()…
[1300] LoadStorageLibrary OK
[1300] Processing license info…
[1300] license check failed
[1300] Setting quit event…
[1300] Destroying server object…
[1300] Freeing low level scheduler…
[1300] Closing quit event…

The license I loaded is the one we haver purchased instead of the demo license.

Oops, license check failed???
WTF?
Is the license file correctly entered? (it should be called license.dat and should be in the \data directory).

The license I loaded is the one we haver purchased instead of the demo license.

Please send the license file to my email address, I’ll check if it contains all necessary data.

Thanks
Vlk

It’s on it’s way.

If it is the license file I would have expected a message stating so. or at least an entry in the error log file somewhere.

If it is the license file I would have expected a message stating so. or at least an entry in the error log file somewhere.

Absolutely. We’ll have to add more logging - this particular incident showed it quite clearly.

I’ve sent you an updated license file. I hope everything’s going to be OK now… :slight_smile:

Thanks for the heads up,
Vlk