Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-19-2005
gminorcoles gminorcoles is offline
Registered User
 
Name: George Coles
Organization: QIM LLC
Project: Trading Application
 
Join Date: Jan 2005
Location: Charlottesville, VA
Posts: 11
icepackregistry start service - cannot find the path specified

I get this error in the event log when I try to start the icepack registry as a service:
.\PropertiesI.cpp:559: Ice::SyscallException:
syscall exception: The system cannot find the path specified.


C:\Program Files\qim\qim.rlauncher.ice.ProcessLauncherServer\ bin>icepackregistry
--start icepackregistry --Ice.Config="C:\Program Files\qim\qim.rlauncher.ice.Pr
ocessLauncherServer\icepack.config"
Service start pending.
Service failed to start.
Current state: 1
Exit code: 1
Service specific exit code: 0
Check point: 0
Wait hint: 0


Here are the contents of my config file:

Ice.Default.Locator=IcePack/Locator:default -p 12004

#IcePack.Registry.Client.Endpoints=default -p 12004
IcePack.Registry.Client.Endpoints=default -p 11000 -h 192.168.1.6
IcePack.Registry.Server.Endpoints=default
IcePack.Registry.Internal.Endpoints=default
IcePack.Registry.Admin.Endpoints=default
IcePack.Registry.Data=C:/db/registry

#IcePack.Node.Name=node
IcePack.Node.Endpoints=default
IcePack.Node.Data=db/node
IcePack.Node.CollocateRegistry=1


It works when I use the same arguments but dont try to start as a service, ie, just run icepackregistry without the --start servicename arg.
__________________
...
Reply With Quote
  #2 (permalink)  
Old 07-19-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
The most likely reason for the exception is the service is unable to open the configuration file you specified with the --Ice.Config option. If the executable starts correctly when not running as a service, then the configuration file's pathname is probably correct, and therefore I'll bet that the service does not have permission to access the configuration file.

To confirm whether this is the case, you can copy the configuration file to the root directory (C:\) and try starting the service again with the new pathname. Of course, you may encounter similar problems if the registry is unable to access its database directories, etc.

Another alternative is to use the Services control panel to edit the icepackregistry properties so that it starts under your account instead of the Local System account.

Take care,
- Mark
Reply With Quote
  #3 (permalink)  
Old 07-19-2005
gminorcoles gminorcoles is offline
Registered User
 
Name: George Coles
Organization: QIM LLC
Project: Trading Application
 
Join Date: Jan 2005
Location: Charlottesville, VA
Posts: 11
Thanks for the help Mark.

I tried both. I moved the config file to the root of c:/ and got the same error, although now for some reason it is not writing to the event log. I also tried changing the login for the service to the domain admin account, but this did not work, I still get an error, although now it has stopped logging to the even log.
__________________
...
Reply With Quote
  #4 (permalink)  
Old 07-19-2005
gminorcoles gminorcoles is offline
Registered User
 
Name: George Coles
Organization: QIM LLC
Project: Trading Application
 
Join Date: Jan 2005
Location: Charlottesville, VA
Posts: 11
I resolved this by installing Ice v 2.1.0, I was using v 2.0.0 before. I was not aware of any issues specific to this service starting/stopping stuff that were fixed in 2.1.0, but it works now.
__________________
...
Reply With Quote
  #5 (permalink)  
Old 07-19-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
I'm glad to hear you've resolved the problem. Note that the most recent release (2.1.2) contains additional fixes for Windows services.

- Mark
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
How to start the iceBox in java for the storm service Jason Gao Help Center 5 10-20-2006 06:32 AM
Cannot run icepackregistry as a service? annekat Help Center 4 10-23-2004 02:22 PM
bug in IcePackRegistry.dsp wodi Bug Reports 1 08-25-2004 10:26 AM
problem when call another service at start function. damingyipai Bug Reports 2 02-29-2004 08:22 AM


All times are GMT -4. The time now is 10:03 PM.


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.