[Glass] Restart the gs64ldi service

Dale Henrichs via Glass glass at lists.gemtalksystems.com
Thu Mar 10 10:22:11 PST 2016



On 03/10/2016 09:02 AM, Trussardi Dario Romano via Glass wrote:
> Ciao,
>
> ok i read some hold emails.
>
> On my macBook ssh shell in the LAN i do:
>
> a)/opt/oodb/gsDevKitHome/gemstone/stones/gestionale$   . defStone.env
>
> b) /opt/oodb/gsDevKitHome/gemstone/stones/gestionale/product/bin$
>
> ./startnetldi -p 50377:50377 -g -a $USER -n -l 
> $GEMSTONE_LOGDIR/gs64ldi.log
>
>             startnetldi[Info]: GemStone version '3.1.0.6'
>
>             startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
>
>             startnetldi[Info]: GEMSTONE is:
>             '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/product'.
>
>             startnetldi[Info]: GEMSTONE_NRS_ALL is:
>             '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'.
>
>             startnetldi[Info]: Log file is
>             '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/logs/gs64ldi.log'.
>
>             startnetldi[Info]: GemStone server 'gs64ldi' has been
>             started, process 6426 .
>
>

This is not the correct way to start your netldi ... the default netldi 
port is 50377 and by defining a port range that also includes 50377 
could very easily lead to trouble... Note that in the port forwarding 
documentation[1], you should be using a different set of ports for the 
port range than the primary port number:

ssh 192.168.100.129 -l dhenrich -L 55320:localhost:55320  -L 
55325:localhost:55325 # ssh login setting up local port forwarding
cd $GS_HOME/gemstone/stones/devKit # cd to your stone directory
. defStone.env # define the GsDevKit environment variables
$GEMSTONE/bin/startnetldi -a dhenrich -g -p 55325:55325 -P 55320 
devKit_ldi        # start the netldi

If you want the primary port to be the default (50377) then you don't 
need to use the -P option.

It is odd that the netldi would keep on freezing but given the way you 
were starting the netldi, that would explain the netldi getting locked up ..

Dale

[1] 
https://github.com/GsDevKit/GsDevKit_home/blob/master/docs/portForwardingForRemoteLogins.md#ssh-port-forwarding-server-side
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20160310/c8457fda/attachment.html>


More information about the Glass mailing list