|
Syscall exception when trying to start IcePackNode server
I'm currently trying to move our current Ice server into the IcePackNode framework, and in that process I've encountered some problems.
Everything currently runs on a Redhat Linux system. When not using IcePack in any way the server can be launched in a default mode by executing the file gameserver with no arguments. Besed on the IcePack example Simple, I've tried to convert that to the following deployment file:
<icepack>
<variable name="gameserver.dir" value="xxx"/>
<application name="LocationServer">
<node name="node">
<server name="${name}" kind="cpp" exe="${gameserver.dir}/unix/gameserver" pwd="${gameserver.dir}" activation="manual">
<adapters>
<adapter name="Location1" endpoints="tcp:udp:ssl" register="true">
<!-- object identity="${name}"/ -->
</adapter>
</adapters>
</server>
</node>
</application>
</icepack>
Adding it using the administartion tool works fine, but when I try to start the server (again using the administration tool) I get the following trace
[ icepacknode: Server: changed server `LocationServer1' state to `Activating' ]
[ icepacknode: Activator: activating server `LocationServer1'
path = xxx/unix/gameserver
pwd = xxx
args = --Ice.Config=nodedb/node/servers/LocationServer1/config/config --Ice.Default.Locator=IcePack/Locator:default -h 192.168.0.201 -p 12000 --Ice.ServerId=LocationServer1 ]
[ icepacknode: Activator: activated server `LocationServer1' (pid = 10706) ]
[ icepacknode: Server: changed server `LocationServer1' state to `Active' ]
./unix/gameserver: PropertiesI.cpp:559: Ice::SyscallException:
syscall exception: No such file or directory
[ icepacknode: Activator: detected termination of server `LocationServer1' ]
[ icepacknode: Server: changed server `LocationServer1' state to `Deactivating' ]
[ icepacknode: Adapter: server adapter `LocationServer1.Location1' deactivated ]
[ icepacknode: Server: changed server `LocationServer1' state to `Inactive' ]
In particular I'm curious about
./unix/gameserver: PropertiesI.cpp:559: Ice::SyscallException:
syscall exception: No such file or directory
I sure the paths are correct, and I also know that if I make a deliberate error in the executable name I get an error message saying
icepacknode:No such file or directory
So I was wondering where this error comes from. There are no core dump, nor any of the output I expect from the server program, so it does not seem that it has ever gotten as far as actually calling the executable.
The icepacknode configutation file is the same as for the Simple example.
mvh
Nis
|