[tode_st] Disconnect/reconnect trouble

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 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/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid GemStone-GCI-Testing_ldi -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/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/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/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid \
      -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/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

Dale Henrichs-3
The current version of GsDevKit_home uses the results of /bin/hostname to set the host name field in the session description. It used to use NetNameResolver but NetNameResolver was able to find odd names for the host (not necessarily the same as /bin/hostname), not to mention the fact that NetNameResolver was truncating the hostname at about 40 characters which caused quite a bit of a headache on travis --- hared to debug :)

Now, the mac hostname seems to float depending upon the network that you're connected to. I think that these instructions[1] should stabilize your hostname on the Mac - if it doesn't let me know and I'll do more research.

Dale

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

On 4/20/16 7:26 AM, Stephan Eggermont 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/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid GemStone-GCI-Testing_ldi -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/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/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/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.0-i386.Darwin/sys/netldid \
      -g -astephan -l "/Users/stephan/Documents/Sensus/Projects/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.