Home Help Center

icegridnode can't start on daemon mode ?

ewiniarewiniar Member ewiniarOrganization: sohoProject: ssl vpn ✭✭
I run command
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!

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • ewiniarewiniar Member ewiniarOrganization: sohoProject: ssl vpn ✭✭
    Thanks

    Thanks Benoit! I get it!

    Regards
    ewiniar
Sign In or Register to comment.