Home Help Center

icegridnode failed to start the server

leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
if the server is put in a directory that contains chinese character,
icegridnode would be unable to start the server,
and icegridregister logged that
[icegridregistry:couldn't load 'ThisServer' on node 'thisserver' :cannot create diractory '***the exact diretory***': deny ]

do you know how to solve this?

thanks~

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    We're not aware of this issue. I'll try to reproduce it -- I'll keep you posted!

    Cheers,
    Benoit.
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Btw, which OS and Ice version are you using?

    Thanks,

    Benoit.
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    we are using Windows XP SP2 and Ice 3.0.1

    thanks~
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    hi benoit, is there any progress here, or is there any suggestion you can give us.

    in this case, three folders(distrib,servers,tmp) in the node folder are created, but it failed to create the folder under 'servers', like 'd:/*some chinese characters*/db/node/servers/HelloServer1'.

    icegridregistry printed:"reason:cannot create directory 'd:/**some chinese characters**/db/node/servers/HelloServer1':****(some chinese word means denied to access)
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Sorry, I didn't get time to look into this yet. Could you post the configuration file for your node and the XML application descriptor? This might help reproducing the error. Also, are you sure the icegridnode is allowed to create directories under the node/servers directory? In general, an "access denied" error indicates a permission problem.

    Cheers,
    Benoit.
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    we can reproduce this just using icegrid/simple

    reason: couldn't create configuration file: E:\Ice-3.0.1-VC80\demo\IceGrid\***simple/db/node/servers/SimpleServer1/config/config
    (*** is replaced by some chinese characters)
    if *** is removed, everything is ok.
    config file:
    IceGrid.InstanceName=IceGrid
    Ice.Default.Locator=IceGrid/Locator:default -h 192.168.101.87 -p 10000
    IceGrid.Node.Name=HelloNode1
    IceGrid.Node.Endpoints=default
    IceGrid.Node.Data=db/node
    IceGrid.Node.Trace.Activator=1
    IceGrid.Node.Trace.Patch=1
    
    xml deployment:
    <icegrid>
      <application name="Simple">
    <replica-group id="HelloAdapters">
    <load-balancing type="round-robin"/>
    <object identity="hello"	type="::Demo::Hello"/>
    </replica-group>
    <server-template id="HelloNodeTemplate">
    <parameter name="index"/>
    <parameter name="exepath"	default="./server"/>
    <server id="SimpleServer${index}"	exe="${exepath}"	activation="on-demand">
    <adapter name="Hello"	replica-group="HelloAdapters"
    						register-process="true"	endpoints="default"/>
    <property name="Identity" value="hello"/>
    </server>
    </server-template>
    <node name="HelloNode1">
    <server-instance template="HelloNodeTemplate" index="1"/>
    </node>
    <node name="HelloNode2">
    <server-instance template="HelloNodeTemplate" index="2"/>
    </node>
    </application>
    </icegrid>
    

    thank you~
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Thanks for reporting this, I was finally able to reproduce this issue. I'm afraid IceGrid doesn't support well non-ASCII file names on Windows. Fixing this is not trivial so I can't provide you a patch now but we'll make sure this is eventually fixed in an upcoming release. Of course, if you have a commercial need for this and need a patch sooner, don't hesitate to contact us at [email protected]

    Thanks again for the bug report!

    Cheers,
    Benoit.
  • leyaleya Member Leya WangOrganization: Wuhan Univ.Project: Scalable Communication ✭✭
    thanks for your help~:)
Sign In or Register to comment.