![]() After I stopped the service and selected the radio button for the "Local system account" and restarted everything worked. I would get the error: "Error: can't reach this server's Admin object". With that setting, I was unable to start my servers via IceGridGUI. The iceserviceinstall had set the account to NT Authority\Local Service. I had to modify the LogOn / Account with the Windows Admin/Services dialog. So, I built iceserviceinstall with IceServiceInstaller::grantPermissions() modified to return immediately, and it worked! That is, I was able to install and run my collocated service. Searching the web, it looks like GetEffectiveRightsFromAcl() has some strange bugs on a variety of platforms, although I could not find any record of this bug on this platform. # With NullPermissionsVerifier, any password is accepted (not recommended # C:\Windows\ServiceProfiles\LocalService\AppData\Local\ZeroC\icegrid\registry # The registry DB home must exist when icegridregistry starts # Server and Internal object adapters: listens on all interfaces # IANA-registered TCP ports for the IceGrid registry: # (add -h to listen on just one interface) # Client object adapter: listens on all interfaces # The IceGrid instance name must be unique, to distinguish several # Sample configuration file for the IceGrid registry daemon I also changed the instance name so as not to conflict with the previously installed service (after I accumulate a few I'll delete them and reboot): Here is the expected output (also on XP SP2):Ĭ:\>\Ice-3.3.0-VC90\bin\iceserviceinstall.exe -Debug=1 icegridregistry C:\Ice-3.3.0-VC90\config\icegridregistry.cfgĬ:\>iceserviceinstall.exe -Debug=3 icegridregistry C:\Ice-3.3.0-VC90\config\icegridregistry2.cfgĮrror: Could not retrieve effective rights for NT Authority\LocalService on C:\icegrid: Circular service dependency was specified. However, I am able to add exceptions for icegridnode.exe, and/or port 4061, and to temporarily disable it and it doesn't seem to make any difference. One more bit of info: My PC is running anti-virus software that is not entirely under my control due to corporate policy. # The node object adapter listens on all interface using an OS. =FooIceGrid/Locator:tcp -h localhost -p 4061 TYPE : 110 WIN32_OWN_PROCESS (interactive)īINARY_PATH_NAME : icegridnode.exe -Ice.Config=/foogrid/collocate.cfg The system PATH variable includes C:\Ice-3.3.0-VC90\bin. I have followed the steps in the Manual for ensuring that the Data directories are Readable/Writable by all users. The error occurs whether I configure the service to run as LocalService or as administrator. The interesting thing is, the icegridnode service does start - I can query the registry and the servers are activated on demand - and it runs for 30 seconds before windows shuts it down with the above error message. The service did not respond to the start or control request in a timely fashion. It runs fine when I start it from the command line, but when I start it as a service I get: I am trying to set up a collocated icegridnode as a windows service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |