[tode_st] Disconnect/reconnect trouble

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[tode_st] Disconnect/reconnect trouble

Stephan Eggermont-3
Carrying my laptop to the gymnastics hall where my kids are training, 
I wanted to use a tODEClient.  The session was disconnected, and
I'm having trouble reconnecting. Another client was still connected
and runs fine. The netldi is running 

Stephans-MacBook-Pro:bin stephan$ ps aux |grep netldi

stephan         43112   0.0  0.0  2461156    476   ??  Ss    6Apr16   0:21.05 /Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid GemStone-GCI-Testing_ldi -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/server/stones/GemStone-GCI-Testing/logs/netldi.log "

stephan         76632   0.0  0.0  2432772    640 s000  S+    4:03PM   0:00.00 grep netldi


looking at the netldi log

 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|                   Copyright (C) GemTalk Systems 1986-2016                   |
|                            All rights reserved.                             |
+-----------------------------------------------------------------------------+
|    PROGRAM: NETLDI, GemStone Network Daemon                                 |
|    VERSION: 3.3.0, Thu Jan 28 11:46:02 2016                                 |
|      BUILD: gss64_3_3_x_branch-38643                                        |
|  BUILT FOR: Darwin (Mac)                                                    |
|       MODE: 64 bit                                                          |
| RUNNING ON: 4-CPU Stephans-MacBook-Pro.fritz.box x86_64 (Darwin 14.5.0 ) 2600MHz
| MacBookPro11,1 2048MB                                                       |
| PROCESS ID: 43112     DATE: 04/06/16 20:27:51 CEST                          |
|   USER IDS: REAL=stephan (501) EFFECTIVE=stephan (501) LOGIN=stephan (501)  |
+-----------------------------------------------------------------------------+
|   GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log                     |
|_____________________________________________________________________________|

    synthesizing  :: , listening on wildcard
    Created listening socket for :: on :: port 64640


Internal tables are configured for 3407 concurrent clients.
Server socket GemStone-GCI-Testing_ldi (protocol TCP) is created, with a delay of 30 seconds.
Summary of netldi parameters:
   The host name is 'Stephans-MacBook-Pro.fritz.box'.
 GEMSTONE is: '/Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/server/stones/GemStone-GCI-Testing/product'.
 GEMSTONE_NRS_ALL is: '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'.
   Clients are not authenticated.
   Process creation is permitted through user's HOME directory.
   Created processes belong to the account named 'stephan'.
   The command line is:
     /Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid \
      -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/server/stones/GemStone-GCI-Testing/logs/netldi.log " \
      GemStone-GCI-Testing_ldi
Entering Service Loop

I notice it refers to  a hostname
  The host name is 'Stephans-MacBook-Pro.fritz.box'.
 containing the fritz.box part that is clearly from my home network.

At the moment it is

Stephans-MacBook-Pro:bin stephan$ hostname

Stephans-MacBook-Pro.local


Is there something I should change (apart from going home and trying there) ?

Stephan

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] Disconnect/reconnect trouble

Mariano Martinez Peck
Hi Stephan

A couple of times, I discovered tODE was putting a WRONG hostname in the auto-generated description for tODE. So I had to always put it back to 'localhost'.

Could you please inspect:

$GS_HOME/sys/local/sessions/GemStone-GCI-Testing

If it refers to the hostname, I would change that to localhost and try again. 
BTW...you can also edit the descriptions right from inside tODE too...




On Wed, Apr 20, 2016 at 11:14 AM, Stephan Eggermont <[hidden email]> wrote:
Carrying my laptop to the gymnastics hall where my kids are training, 
I wanted to use a tODEClient.  The session was disconnected, and
I'm having trouble reconnecting. Another client was still connected
and runs fine. The netldi is running 

Stephans-MacBook-Pro:bin stephan$ ps aux |grep netldi

stephan         43112   0.0  0.0  2461156    476   ??  Ss    6Apr16   0:21.05 /Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid GemStone-GCI-Testing_ldi -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/server/stones/GemStone-GCI-Testing/logs/netldi.log "

stephan         76632   0.0  0.0  2432772    640 s000  S+    4:03PM   0:00.00 grep netldi


looking at the netldi log

 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|                   Copyright (C) GemTalk Systems 1986-2016                   |
|                            All rights reserved.                             |
+-----------------------------------------------------------------------------+
|    PROGRAM: NETLDI, GemStone Network Daemon                                 |
|    VERSION: 3.3.0, Thu Jan 28 11:46:02 2016                                 |
|      BUILD: gss64_3_3_x_branch-38643                                        |
|  BUILT FOR: Darwin (Mac)                                                    |
|       MODE: 64 bit                                                          |
| RUNNING ON: 4-CPU Stephans-MacBook-Pro.fritz.box x86_64 (Darwin 14.5.0 ) 2600MHz
| MacBookPro11,1 2048MB                                                       |
| PROCESS ID: 43112     DATE: 04/06/16 20:27:51 CEST                          |
|   USER IDS: REAL=stephan (501) EFFECTIVE=stephan (501) LOGIN=stephan (501)  |
+-----------------------------------------------------------------------------+
|   GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log                     |
|_____________________________________________________________________________|

    synthesizing  :: , listening on wildcard
    Created listening socket for :: on :: port 64640


Internal tables are configured for 3407 concurrent clients.
Server socket GemStone-GCI-Testing_ldi (protocol TCP) is created, with a delay of 30 seconds.
Summary of netldi parameters:
   The host name is 'Stephans-MacBook-Pro.fritz.box'.
 GEMSTONE is: '/Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/server/stones/GemStone-GCI-Testing/product'.
 GEMSTONE_NRS_ALL is: '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'.
   Clients are not authenticated.
   Process creation is permitted through user's HOME directory.
   Created processes belong to the account named 'stephan'.
   The command line is:
     /Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid \
      -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/Lifeware/GsDevKit_home/server/stones/GemStone-GCI-Testing/logs/netldi.log " \
      GemStone-GCI-Testing_ldi
Entering Service Loop

I notice it refers to  a hostname
  The host name is 'Stephans-MacBook-Pro.fritz.box'.
 containing the fritz.box part that is clearly from my home network.

At the moment it is

Stephans-MacBook-Pro:bin stephan$ hostname

Stephans-MacBook-Pro.local


Is there something I should change (apart from going home and trying there) ?

Stephan

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.



--

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] Disconnect/reconnect trouble

Stephan Eggermont-3
Thanks, that makes sense

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] Disconnect/reconnect trouble

Stephan Eggermont-3
And indeed the auto-generated description uses the wifi network-specific hostname...

Stephan 

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [tode_st] Disconnect/reconnect trouble

Dale Henrichs-3
Okay ... and I think that [1] should stabilize the name ...

Dale

[1] https://github.com/GsDevKit/GsDevKit_home/blob/master/docs/installation/configureOS.md#mac-1

On 04/20/2016 08:30 AM, Stephan Eggermont wrote:
And indeed the auto-generated description uses the wifi network-specific hostname...

Stephan 
--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "tODE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.