Author Topic: ADNM-RC1 does not start  (Read 23117 times)

0 Members and 1 Guest are viewing this topic.

gprzybyl

  • Guest
ADNM-RC1 does not start
« on: August 09, 2004, 10:02:18 PM »
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?

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #1 on: August 10, 2004, 12:16:03 AM »
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.


gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #2 on: August 10, 2004, 12:25:33 AM »
Attached is a zipped version of the setup.log file.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ADNM-RC1 does not start
« Reply #3 on: August 10, 2004, 08:17:18 AM »
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 <adnm>\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?


Quote
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
« Last Edit: August 10, 2004, 08:17:51 AM by Vlk »
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #4 on: August 10, 2004, 03:35:15 PM »
Hmmm... doesn't look good.. :-[


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

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

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

Some more things to try:

1. Open <adnm>\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?


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


Quote
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

  This doesn't sound good at all. :(

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ADNM-RC1 does not start
« Reply #5 on: August 10, 2004, 06:33:47 PM »
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... ;)

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
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #6 on: August 10, 2004, 09:32:33 PM »
Bad news  :( 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).

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ADNM-RC1 does not start
« Reply #7 on: August 10, 2004, 09:49:38 PM »
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
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #8 on: August 10, 2004, 09:56:36 PM »
It brings up the typical windows is trying to start a service window.  Then about 4 blue blocks go across then it errors out.

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ADNM-RC1 does not start
« Reply #9 on: August 10, 2004, 10:03:05 PM »
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

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

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #10 on: August 10, 2004, 10:07:02 PM »
Correct!  At least it's consistent! ;D

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ADNM-RC1 does not start
« Reply #11 on: August 10, 2004, 10:22:44 PM »
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
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #12 on: August 10, 2004, 10:28:08 PM »
[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...

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:ADNM-RC1 does not start
« Reply #13 on: August 10, 2004, 10:45:09 PM »
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
« Last Edit: August 10, 2004, 10:45:22 PM by Vlk »
If at first you don't succeed, then skydiving's not for you.

gprzybyl

  • Guest
Re:ADNM-RC1 does not start
« Reply #14 on: August 10, 2004, 10:49:26 PM »

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...