Archived
This forum has been archived. Please start a new discussion on GitHub.
icegridnode startup problem
Hello,
I have this config file:
Ice.Trace.Network=2
IceGrid.Registry.DynamicRegistration=1
Ice.Default.Locator=IceGrid/Locator:default -h redwood -p 11010
IceGrid.Node.CollocateRegistry=0
IceGrid.Node.Name=cactusNode
IceGrid.Node.Endpoints=tcp
IceGrid.Node.Data=/u/mwil/db/node
and run icegridnode on a Solaris 10 machine this way:
icegridnode --Ice.Config=config
128.151.32.119 is the host 'redwood'.
[ icegridnode: Network: attempting to bind to tcp socket 127.0.0.1:0 ]
[ icegridnode: Network: accepting tcp connections at 127.0.0.1:57338 ]
[ icegridnode: Network: attempting to bind to tcp socket 128.151.32.98:0 ]
[ icegridnode: Network: accepting tcp connections at 128.151.32.98:57339 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: tcp connection established
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: shutting down tcp connection for writing
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: closing tcp connection
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
icegridnode: warning: couldn't contact the IceGrid registry:
Network.cpp:669: Ice::ConnectionRefusedException:
connection refused: Connection refused
^C[ icegridnode: Network: stopping to accept tcp connections at 127.0.0.1:57338 ]
[ icegridnode: Network: stopping to accept tcp connections at 128.151.32.98:57339 ]
The IceGrid locator is the one I always use for indirect proxies, and it is currently working fine, as usual. What am I doing wrong (I'm doing the "Learn IceGrid in Ten Minutes" article from Issue 19)?
Thanks,
Mark
I have this config file:
Ice.Trace.Network=2
IceGrid.Registry.DynamicRegistration=1
Ice.Default.Locator=IceGrid/Locator:default -h redwood -p 11010
IceGrid.Node.CollocateRegistry=0
IceGrid.Node.Name=cactusNode
IceGrid.Node.Endpoints=tcp
IceGrid.Node.Data=/u/mwil/db/node
and run icegridnode on a Solaris 10 machine this way:
icegridnode --Ice.Config=config
128.151.32.119 is the host 'redwood'.
[ icegridnode: Network: attempting to bind to tcp socket 127.0.0.1:0 ]
[ icegridnode: Network: accepting tcp connections at 127.0.0.1:57338 ]
[ icegridnode: Network: attempting to bind to tcp socket 128.151.32.98:0 ]
[ icegridnode: Network: accepting tcp connections at 128.151.32.98:57339 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: tcp connection established
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: shutting down tcp connection for writing
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: closing tcp connection
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
icegridnode: warning: couldn't contact the IceGrid registry:
Network.cpp:669: Ice::ConnectionRefusedException:
connection refused: Connection refused
^C[ icegridnode: Network: stopping to accept tcp connections at 127.0.0.1:57338 ]
[ icegridnode: Network: stopping to accept tcp connections at 128.151.32.98:57339 ]
The IceGrid locator is the one I always use for indirect proxies, and it is currently working fine, as usual. What am I doing wrong (I'm doing the "Learn IceGrid in Ten Minutes" article from Issue 19)?
Thanks,
Mark
0
Comments
-
Huh, our icegrid registry died as I was trying to do this. Our admin guy has the 3.0.0 version running. Could this be a problem?
Also, do I need to still specify Ice.Registry info in my node config file even if it isn't collocated with my node?
Thanks,
MarkHello,
I have this config file:
Ice.Trace.Network=2
IceGrid.Registry.DynamicRegistration=1
Ice.Default.Locator=IceGrid/Locator:default -h redwood -p 11010
IceGrid.Node.CollocateRegistry=0
IceGrid.Node.Name=cactusNode
IceGrid.Node.Endpoints=tcp
IceGrid.Node.Data=/u/mwil/db/node
and run icegridnode on a Solaris 10 machine this way:
icegridnode --Ice.Config=config
128.151.32.119 is the host 'redwood'.
[ icegridnode: Network: attempting to bind to tcp socket 127.0.0.1:0 ]
[ icegridnode: Network: accepting tcp connections at 127.0.0.1:57338 ]
[ icegridnode: Network: attempting to bind to tcp socket 128.151.32.98:0 ]
[ icegridnode: Network: accepting tcp connections at 128.151.32.98:57339 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: tcp connection established
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: shutting down tcp connection for writing
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: closing tcp connection
local address = 128.151.32.98:57340
remote address = 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
[ icegridnode: Network: trying to establish tcp connection to 128.151.32.119:11010 ]
icegridnode: warning: couldn't contact the IceGrid registry:
Network.cpp:669: Ice::ConnectionRefusedException:
connection refused: Connection refused
^C[ icegridnode: Network: stopping to accept tcp connections at 127.0.0.1:57338 ]
[ icegridnode: Network: stopping to accept tcp connections at 128.151.32.98:57339 ]
The IceGrid locator is the one I always use for indirect proxies, and it is currently working fine, as usual. What am I doing wrong (I'm doing the "Learn IceGrid in Ten Minutes" article from Issue 19)?
Thanks,
Mark0 -
Hi Mark,
I strongly recommend to upgrade to a more recent version of IceGrid.
It's possible that this crash is due to a libCstd bug on Sun (see http://forum.sun.com/jive/thread.jspa?threadID=71037). Since version 3.1.0, Ice is built by default with -xarch=v8plus on Sun, so this bug can no longer affect IceGrid.
Also, you can (and should) remove the registry configuration from your node.
Best regards,
Bernard0 -
Okay.
So, besides not needing the registry info in my config file, it should be correct, right?
Thanks,
MarkHi Mark,
I strongly recommend to upgrade to a more recent version of IceGrid.
It's possible that this crash is due to a libCstd bug on Sun (see http://forum.sun.com/jive/thread.jspa?threadID=71037). Since version 3.1.0, Ice is built by default with -xarch=v8plus on Sun, so this bug can no longer affect IceGrid.
Also, you can (and should) remove the registry configuration from your node.
Best regards,
Bernard0 -
Yes, your configuration looks correct. You can also remove the IceGrid.Node.CollocateRegistry property since 0 is its default value.
Upgrading to Ice 3.2b (soon 3.2.0) would also give you the ability to deploy several registries (for fault-tolerance) and a much improved IceGrid Admin graphical tool.
Cheers
Bernard0