Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Error on start GSM

Hi,

In my linux machine I setted up the setenv.sh script adding the following lines:

LOOKUPLOCATORS=146.61.213.115 NIC_ADDR=146.61.213.115

but when I tried to start GSM the console shows the following error:

Sep 9, 2008 2:46:53 PM WARNING [org.jini.rio.tools.webster]: Bind Address Failure on port [0] Caused by: java.net.BindException: Cannot assign requested address Sep 9, 2008 2:46:53 PM SEVERE [com.gigaspaces.start]: Error while booting system - java.net.BindException: Cannot assign requested address at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.<init>(ServerSocket.java:185) at org.jini.rio.tools.webster.Webster.initialize(Webster.java:245) at org.jini.rio.tools.webster.Webster.<init>(Webster.java:131) at com.gigaspaces.start.SystemConfig.getWebster(SystemConfig.java:569) at com.gigaspaces.start.SystemBoot.main(SystemBoot.java:222)

If I remove the nic_addr line it work but my gs-ui or my application does not find my cluster, please help me

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2584]{quote}

asked 2008-09-09 13:05:01 -0500

htota's avatar

updated 2013-08-08 09:52:00 -0500

jaissefsfex's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Looks like you are trying to start 2 or more GSM's at the same time. Try starting the GSM's with some delay.

When u start the GSM. GSM tries to create a webster(web server) for serving pu's(deploy folder) from GSM machine to its containers. Basically what might have happen is GSM1 got the port from BootUtil(would have taken some time to start the webster) mean while GSM2 came and asked for the port and it might have got the same port number as it not yet occupied.

answered 2008-09-09 14:50:17 -0500

venkatg's avatar
edit flag offensive delete link more

Comments

Hi venkat gunnu,

I tryed to start 1 GSM the problem is that when I configure the NIC_ADDR the GSM throws that exception, if I remove the NIC_ADDR configuration the set env.sh have his default wich is hostname command, this configure the lookup with the name of my linux host but the with the ip 127.0.0.1 this is not what I want, I don't know if I am clear in the explanation

thanks

htota's avatar htota  ( 2008-09-09 14:57:18 -0500 )edit

I tried running with 2 ethernet cards on linux and setting the NIC_ADDR all went well. If possible can you print your ifconfig into to forum.

venkatg's avatar venkatg  ( 2008-09-09 15:22:06 -0500 )edit

Thank you guys, I found the problem after hours, it was in my client ambient they put me in a machine in a different zone of the server and etc....

htota's avatar htota  ( 2008-09-09 15:35:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2008-09-09 13:05:01 -0500

Seen: 869 times

Last updated: Sep 09 '08