Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-04-2005
rhochmuth rhochmuth is offline
Registered User
 
Name: Roland Hochmuth
Organization: HP
Project: RGS
 
Join Date: Aug 2003
Posts: 86
Glacier2 service not starting on Windows XP

When trying to start the Glacier2 router as a service on Windows XP the service errors out with message:

"Could not start the glacier2 service on Local Computer"
"Error 1: Incorrect function"

I've given the service desktop privledges too.

Running as an application works fine. I have installed the glacier2router. I'm trying to start the service in the "Services" panel.

Wondering what I'm doing incorrectly.

Regards --Roland
Reply With Quote
  #2 (permalink)  
Old 02-04-2005
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 813
Hi Roland,

I was able to reproduce this problem ... looks like a bug in Ice or Glacier2. Should be easy to fix!

Regards,
Bernard
Reply With Quote
  #3 (permalink)  
Old 02-08-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,534
Hello Roland,

Sorry for the late answer. This error message actually indicates that the service failed to start for some reasons. This can happen for example if the service can't find the configuration file or the configuration file isn't readable (system services are by default started with the Local System account).

Did you check the Windows event logs (with the Windows Event Viewer tool) to see if there was any errors that could help figure out what's wrong? By default, Ice services installed as Windows services will log errors and warnings to the Windows event system.

I was able to run glacier2router as a service with the demo\Glacier2\callback demo. To register Glacier as a service I used the following command:

$ glacier2router.exe --install Glacier2 --Ice.Config=C:\Ice-2.0.0\demo\Glacier2\callback\config.glacier2

Note that you need to use an absolute path for the configuration file. In addition to this, you also need to modify the configuration file to change the relative paths into absolute paths (there's relative paths in the config.glacier2 configuration file for the IceSSL plugin configuration).

The Glacier2 service requires the session server to be up so you need to start it before starting the service:

$ sessionserver.exe --Ice.Config=config.sessionserver

Then, you should be able to start the Glacier2 service. Of course, in a real deployment, the session server would be also installed as a Windows service.

Hope this helps!

Benoit.
Reply With Quote
  #4 (permalink)  
Old 02-08-2005
stephan stephan is offline
Registered User
 
Name: Stephan Stapel
Organization: Stephan Stapel
Project: BristolNG
 
Join Date: Oct 2003
Location: Essen, Germany
Posts: 169
I'm just guessing but also had some problems running services where the program worked well in application mode. Generally, it's a DLL issue. Did you place all necessary DLLs in the system directory? Windows might not find them if they are only in the same directory as the service executable!

However, that's just a blind guess

cheers,

Stephan
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
why I can't start icebox as as a Windows service? kexi Help Center 1 01-18-2007 01:02 AM
Windows Service suggestions Powell Trusler Help Center 5 09-29-2006 05:18 PM
Using Ice.Config with a Windows Service iamwoodyjones Help Center 9 09-26-2006 12:14 PM
IceGridNode service starting on WinXP startup kovacm Bug Reports 3 11-29-2005 06:21 AM
ICE Windows Service amrufon Help Center 5 07-16-2004 09:17 AM


All times are GMT -4. The time now is 07:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.