KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Incorrect service control manager message

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
Ludo



Joined: 12 Feb 2003
Posts: 28

PostPosted: Thu May 08, 2003 8:53 am    Post subject: Reply with quote

Hi,

I've got 3.68 running as a service on a Windows NT4.0sp6a machine.
- interaction with desktop is disabled
- in "NT4" service manager, it's started with the "system account"
- in HM, I'm using a different account to do things.

Now, HM seems to start properly, the monitoring starts, syslog shows a proper startup, test-logfiles are updated properly.
All in all, HM seem to run properly.

However, in the event log i get following events :

Immediately after booting - application log :
"SERVICE STARTED"

After the 1 minute delay - application log :
"LOGGED ON AS USER 'domainuser'

Another minute or so later - system log :
"THE ADVANCED HOST MONITOR SERVICE HUNG ON STARTING"

However, as I said, everything seems to work just fine.

Any idea ???


Ludo
Back to top
View user's profile Send private message Visit poster's website
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Thu May 08, 2003 9:03 am    Post subject: Reply with quote

>Immediately after booting - application log : "SERVICE STARTED"
This is the service startup

After the 1 minute delay - application log : "LOGGED ON AS USER 'domainuser'
This is the user you use for your tests. The one minute delay is set in your options dialog of HM.

Another minute or so later - system log : "THE ADVANCED HOST MONITOR SERVICE HUNG ON STARTING"
This is just windows, telling you it did not get a confirmation of HM it has started within the time out.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Thu May 08, 2003 12:08 pm    Post subject: Reply with quote

Actually HostMonitor reports its running after it loaded necessary DLL's and settings (5-15 sec after start). However some systems display that "SERVICE HUNG ON STARTING" message while service works fine. Why? We don't know We never was able to reproduce this message (of course we can reproduce it by removing some HostMonitor's code, but in normal situation we don't see it).
If HostMonitor updates log files, it works. So, just ignore that message.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Thu May 08, 2003 2:30 pm    Post subject: Reply with quote

>5-15 sec after start
If I remember correctly, windows wil give a time-out after 12000 ms, so if the machine is busy starting other services (like mine), it can result in a time-out.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Thu May 08, 2003 2:51 pm    Post subject: Reply with quote

In some manual I have seen information about 20 sec timeout (probably it depends on Windows version). But I don't see this message even if HostMonitor reports after 30 sec (slow down HostMonitor for testing purpose).
And what is interesting: Ludo see this message after 2 min HostMonitor is running!?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Marcus



Joined: 18 Nov 2002
Posts: 367

PostPosted: Fri May 09, 2003 2:02 am    Post subject: Reply with quote

And of course it are Microsoft seconds......
Back to top
View user's profile Send private message
Ludo



Joined: 12 Feb 2003
Posts: 28

PostPosted: Fri May 09, 2003 6:28 am    Post subject: Reply with quote

OK - message clear : it works - therefor : be happy don't worry. But I'm glad it's more or less explainable.

For you interests maybe I'll list the exact timings ...

16:22:54 : service started
16:23:55 : logged on as "domain/user" (I indeed set delay to 1 minute)
16:24:31 : service hung

The system (P4)is not quite so busy at that time really - there is nothing much to start.

And Alex ... it's very much reproduceable ...


Cheers,

Ludo


Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index