Archived
This forum has been archived. Please start a new discussion on GitHub.
icegridnode can't start on daemon mode ?
I run command
It report :
why?How to start icegridnode on daemon mode?thanks!
icegridnode --Ice.Config=config.icegrid --daemon
It report :
icegridnode: error: service caught unhandled Ice exception:
PropertiesI.cpp:216: Ice::FileException:
file exception: No such file or directory
path: config.icegrid
icegridnode: failure occurred in daemon:
service caught unhandled Ice exception:
PropertiesI.cpp:216: Ice::FileException:
file exception: No such file or directory
path: config.icegrid
why?How to start icegridnode on daemon mode?thanks!
0
Comments
-
Hi,
By default, the --daemon option will cause the process to change the current working directory to "/". That's why you get this error: the config.icegrid file can't be found at the root of your filesystem. You should either pass an absolute path for the configuration file (and make sure the node configuration only uses absolute paths!) or also pass the "--nochdir" option. See the Ice manual for more information on Ice services options (Section 8.3.2).
Cheers,
Benoit.0 -
Thanks
Thanks Benoit! I get it!
Regards
ewiniar0