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

Can't page when run as service

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Guido39



Joined: 17 Sep 2002
Posts: 65

PostPosted: Fri Oct 22, 2004 3:31 pm    Post subject: Can't page when run as service Reply with quote

When running HM as a service, I can't page. I keep getting "can't open com port". If I stop the service and run the program, it works. I have changed the Com port setting in the [Misc] section and the com port error stops but then it just intializes the modem about 5 times and quits.

I found this post but from two years ago that talked about the same problem:
http://www.ks-soft.net/cgi-bin/phpBB/viewtopic.php?t=1563&highlight=com

I am moving HM to a different server with an internal USR 56 modem. The old server has some generic external modem that works fine when HM is run as a server. But, I don't really want external modems hanging off my servers anymore.

Is there an update to this problem?
Back to top
View user's profile Send private message
Guido39



Joined: 17 Sep 2002
Posts: 65

PostPosted: Fri Oct 22, 2004 3:34 pm    Post subject: Reply with quote

Forgot to mention I am running 4.62
Back to top
View user's profile Send private message
Guido39



Joined: 17 Sep 2002
Posts: 65

PostPosted: Fri Oct 22, 2004 4:18 pm    Post subject: Event logs Reply with quote

An update...I tried a different internal modem and same result. I was looking in the Windows system event log and found two interesting events when HM tried to page:

The Telephony service was successfully sent a start control.

The Telephony service entered the running state.

I looked on my current HM server and it doesn't have any entries like this when paging.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Oct 25, 2004 11:02 am    Post subject: Reply with quote

These messages appear every time HostMonitor tries to send message?
Looks like system (modem driver?) reboots TAPI service all the time...

Google.com found several posts about similar problem but did not find solution
I did not find any information about such problem on Microsoft.com...
What system do you use?

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



Joined: 17 Sep 2002
Posts: 65

PostPosted: Mon Oct 25, 2004 11:08 am    Post subject: Reply with quote

I am running Windows 2003. Looks like TAPI went from version 3.0 to 3.1. Would this affect your program?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Oct 25, 2004 11:10 am    Post subject: Reply with quote

But its strange paging works when HostMonitor started as application....
Do you see tha same messages in Event Log when HostMonitor started as application?

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



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Oct 25, 2004 11:16 am    Post subject: Reply with quote

3.1 supports API provided by 3.0...
Also it works in application mode...

Do you see any error messages from HostMonitor in NT Event Log? Any error messages in system log (specified on Advenced Logging page in the Options dialog)?

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



Joined: 17 Sep 2002
Posts: 65

PostPosted: Mon Oct 25, 2004 11:30 am    Post subject: Reply with quote

When I shut down the HM service, it logged 4 events:

1. The Advanced Host Monitor service was successfully sent a stop control.
2. The Advanced Host Monitor service entered the stopped state.
3. The Telephony service was successfully sent a start control.
4. The Telephony service entered the running state.

I then ran it in the application mode and all the pages went out and some of them generated the Telephony event and some didn't. So, those errors might not point to the cause of the problem.

I checked the HM log and it has the following messages when run as a service:

10/25/2004 9:51:28 AM Error: Cannot send message to pager 9,5555555. Error Opening COM port (TAPI10000)

I originally also thought this was related to internal modems but I have the external modem that was working on my other server on the new one and it's not working either. Only major difference is the old is Win2000 and the new is Win2003.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Oct 26, 2004 3:49 pm    Post subject: Reply with quote

Sorry for delay - our testing Windows 2003 system didn't boot. Now it is working.
Tested HostMonitor - TAPI works fine when HostMonitor uses "loacal system" account, but it doesn't work when HostMonitor uses administrator's account!
Strange... will look for solution...

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



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Oct 29, 2004 12:15 pm    Post subject: Reply with quote

I have some more information about this problem but do not have solution yet.
lineInitialize function (TAPI) fails when HostMonitor uses any other than local system account. Did not find any explanation in Microsoft manuals
Probably we will need to implement some workaround, e.g. use external program to page...

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



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sun Oct 31, 2004 7:46 pm    Post subject: Reply with quote

Did not find any explanation in MS manuals
But I found workaround - start paging in separate thread under "local system" account
Update available at www.ks-soft.net/download/hm475.zip

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



Joined: 17 Sep 2002
Posts: 65

PostPosted: Thu Dec 02, 2004 4:42 pm    Post subject: Can't upgrade to 4.80 Reply with quote

I went to upgrade to 4.80 from 4.62 and it says my license isn't valid for the upgrade. I was reading through the upgrade notes and 4.80 also had the fix for this problem.

I didn't see anything about a new license needed to go to 4.80.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Dec 02, 2004 4:49 pm    Post subject: Reply with quote

Have you read this?
Quote:
Lite and Standard licenses allow you to use new releases and updates for 6 months after purchase.
Professional and Enterprise - 12 months.
http://www.ks-soft.net/hostmon.eng/regmon.htm
http://www.ks-soft.net/hostmon.eng/regmon.htm#freeupdates

If your license is not expired (e.g. you have LifeTime updates license), please send mail to sales@ks-soft.net or support@ks-soft.net. Please provide your order number or registration name.

If your license is expired and you want to use latest version of the software, you may buy new license with 50% discount
http://www.ks-soft.net/hostmon.eng/regmon.htm#upgrades


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



Joined: 17 Sep 2002
Posts: 65

PostPosted: Thu Dec 02, 2004 5:02 pm    Post subject: Reply with quote

I didn't realize it had expired. I had to dig through old e-mails to find out when I renewed it last. Is there a way to tell in Host Monitor?

I will work on getting it renewed.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Dec 02, 2004 6:18 pm    Post subject: Reply with quote

Please visit nearby topic related to this problem
http://www.ks-soft.net/cgi-bin/phpBB/viewtopic.php?t=1753

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting 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