GemTalk / Rowan

a new project/package manager for Smalltalk that supports FileTree and Tonel repositories, and is independent of Monticello and Metacello
MIT License
14 stars 7 forks source link

Unable to start tode client from Rowan installation instructions #2

Closed ericwinger closed 6 years ago

ericwinger commented 6 years ago

https://github.com/dalehenrich/Rowan#gsdevkit_home-rowan-installation

The final step of the installation failed.

ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/repos$ startClient tode "=================" GsDevKit script: startClient tode path: /foos2/users/ewinger/GsDevKit_home/bin/startClient "=================" "=================" GsDevKit script: startClient tode path: /foos2/users/ewinger/GsDevKit_home/dev/clients/tode/startClient "=================" Pharo STDOUT routed to: /foos2/users/ewinger/GsDevKit_home/dev/clients/tode/logs/tode.log /foos2/users/ewinger/GsDevKit_home/dev/clients/tode/startClient: line 186: kill: (3929) - No such process Error on or near line 186 :: startClient tode :: startClient tode Error on or near line 70 :: startClient tode :: startClient tode


Note. During a prior step, I noticed a potential error message. Shell history didn't go back far enough to see which command it was. It may be related.

Warning: LOCK ENFORCED: Attempt to 'load with conflicts' new project: 'BaselineOfGrease [baseline] from github://GsDevKit/Grease:master/repository' when existing project: 'BaselineOfGrease [baseline] from filetree:///foos2/users/ewinger/GsDevKit_home/shared/repos/Grease/repository' is locked. New project not loaded. Use #onLock: to intercept.

dalehenrich commented 6 years ago

@ericwinger ... besides the tODE client problem it looks like the Rowan install failed ... the tODE install worked fine .... The Warning you note is not a problem as it is a normal thing to see during the load ...

I can also see that the Tonel install completed successfully, so it seems that the setupRowanGsDevKit script completed properly...

So try running $GS_HOME/shared/repos/Rowan/src/platforms/gemstone/gsdevkit/bin/installRowan test_rowan_340 and get as much of the history that you can after that step completes ... since this is one of the guys that clearly failed ...

the tode client failure could be ignored since you don't need a tode client ... but the Rowan install clearly did not complete correctly ..

ericwinger commented 6 years ago

Does this help?

ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/downloads/products/GemStone64Bit3.4.0-x86_64.Linux$ $GS_HOME/shared/repos/Rowan/src/platforms/gemstone/gsdevkit/bin/installRowan test_rowan_340
=================
   GsDevKit script: todeIt test_rowan_340 project clone Tonel
              path: /foos2/users/ewinger/GsDevKit_home/bin/todeIt
=================
performing tode command: __project clone Tonel__

tode > project clone Tonel[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/shared/pharo/pharo-vm/libfloss-3.4.0-32.so
Error: Unable to create a session, check netldi and gem log files.
 For further information about login failures, check the gem log file
TDTopezGemStoneClient>>loginUsing:
TDTopezGemStoneClient>>login
TDTopezGemStoneClient>>session
TDTopezGemStoneClient>>evaluateCommand:batchMode: in Block: [ ...
BlockClosure>>ensure:
TDTopezGemStoneClient>>evaluateCommand:batchMode:
TDShell>>evaluateCommand:batchMode:
TDShell>>evaluate:batchMode: in Block: [ :command | result := self evaluateCommand: comma...etc...
TDCommandLine class>>line:forEachCommand: in Block: [ :isolated | ...
OrderedCollection>>do:
TDCommandLine class>>line:forEachCommand:
TDCommandLine class>>fromStream:selectLine:forEachCommand: in Block: [ :cmdLine | ...
OrderedCollection>>do:
TDCommandLine class>>fromStream:selectLine:forEachCommand:
TDShell>>evaluate:batchMode: in Block: evaluate: aString batchMode: aBool...
BlockClosure>>on:do:
TDShell>>evaluate:batchMode:
TDShell>>evaluate:
GsDevKitTodeItCommandLineHandler>>evaluate: in Block: [ :line | ...
ByteString(String)>>linesDo: in Block: [ :start :endWithoutDelimiters :end | aBlock value...etc...
ByteString(String)>>lineIndicesDo:
ByteString(String)>>linesDo:
GsDevKitTodeItCommandLineHandler>>evaluate:
GsDevKitTodeItCommandLineHandler>>evaluate
GsDevKitTodeItCommandLineHandler>>activate in Block: [ self evaluate ]
BlockClosure>>ensure:
Author>>useAuthor:during:
Author class>>useAuthor:during:
GsDevKitTodeItCommandLineHandler>>activate
GsDevKitTodeItCommandLineHandler class(CommandLineHandler class)>>activateWith:
Error on or near line 99 :: devKitCommandLine todeIt test_rowan_340 :: devKitCommandLine todeIt test_rowan_340
Error on or near line 58 :: todeIt test_rowan_340 project clone Tonel :: todeIt test_rowan_340 project clone Tonel
/foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/newBuild_rowan: line 2: defStone.env: No such file or directory
ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/downloads/products/GemStone64Bit3.4.0-x86_64.Linux$ 
ericwinger commented 6 years ago

fyi - The github markdown seems to be making copy/paste from bash into a Header font sometimes. I haven't yet found a way to turn off the styling. Apologies for the large fonts.

dalehenrich commented 6 years ago

I edited your comment to prevent markdown from trying to interpret the text .. edit the comment to see what I did (wrap with ```)

ericwinger commented 6 years ago

Ok, I'll try to remember that.

dalehenrich commented 6 years ago

for some reason the permissions on the files created for your stone don't match the permissions that I see when I create my stones:

total 163852
-rw-r-----  1 ewinger smalltalk       780 Mar  6 09:30 system.conf
drwxr-x--- 10 ewinger smalltalk      4096 Mar  6 09:46 ..
drwxr-x---  2 ewinger smalltalk      4096 Mar  6 09:46 .
-rw-r-----  1 ewinger smalltalk 167772160 Mar  6 10:57 extent0.dbf

vs:

rogue:extents>ls -altr
total 106508
-rw-r--r--  1 dhenrich smalltalk       780 Mar  1 11:44 system.conf
drwxr-xr-x 10 dhenrich smalltalk      4096 Mar  1 11:44 ..
drwxr-xr-x  2 dhenrich smalltalk      4096 Mar  1 11:46 .
-rw-r--r--  1 dhenrich smalltalk 109051904 Mar  1 19:34 extent0.dbf

That means I cannot use a linked topaz login to check things out in your stone as I try to diagnose whey you are getting login errors...

dalehenrich commented 6 years ago

On second thought ... I don't think the permissions matter for this error:

foos:GsDevKit_home>startTopaz test_rowan_340 -l
=================
   GsDevKit script: startTopaz test_rowan_340 -l
              path: /foos2/users/ewinger/GsDevKit_home/bin/startTopaz
=================
[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/product/lib/libgcilnk-3.4.0-64.so
 _____________________________________________________________________________
|                             Configuration Files                             |
|                                                                             |
| System File: /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/extents/system.conf
|                                                                             |
| Executable File: /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/gem.conf
|_____________________________________________________________________________|
Reading config file /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/extents/system.conf
Reading config file /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/gem.conf
 _____________________________________________________________________________
|                Gem Configuration Options for process id 5694                |
|_____________________________________________________________________________|

DUMP_OPTIONS = TRUE;
GEM_ABORT_MAX_CRS = 0;
GEM_CACHE_WARMER_ARGS = "";
GEM_CACHE_WARMER_MID_CACHE_ARGS = "";
GEM_COMPRESS_TRANLOG_RECORDS = TRUE;
GEM_FREE_FRAME_CACHE_SIZE = -1;
GEM_FREE_FRAME_LIMIT = -1;
GEM_FREE_PAGEIDS_CACHE = 200;
GEM_HALT_ON_ERROR = -1;
GEM_KEEP_MIN_SOFTREFS = 0;
GEM_KERBEROS_KEYTAB_FILE = "";
GEM_KEYRING_DIRS = "";
GEM_MAX_SMALLTALK_STACK_DEPTH = 1000;
GEM_NATIVE_CODE_ENABLED = 2;
GEM_PRIVATE_PAGE_CACHE_KB = 960KB;
GEM_PGSVR_COMPRESS_PAGE_TRANSFERS = FALSE;
GEM_PGSVR_FREE_FRAME_CACHE_SIZE = -1;
GEM_PGSVR_FREE_FRAME_LIMIT = -1;
GEM_PGSVR_UPDATE_CACHE_ON_READ = FALSE;
GEM_PGSVR_USE_SSL = FALSE;
GEM_READ_AUTH_ERR_STUBS = FALSE;
GEM_REPOSITORY_IN_MEMORY = FALSE;
GEM_RPC_KEEPALIVE_INTERVAL = 0;
GEM_RPCGCI_TIMEOUT = 0;
GEM_RPC_USE_SSL = TRUE;
GEM_SOFTREF_CLEANUP_PERCENT_MEM = 50;
GEM_STATMONITOR_ARGS = "";
GEM_STATMONITOR_MID_CACHE_ARGS = "";
GEM_TEMPOBJ_AGGRESSIVE_STUBBING = TRUE;
GEM_TEMPOBJ_CACHE_SIZE = 50000KB;
GEM_TEMPOBJ_CONSECUTIVE_MARKSWEEP_LIMIT = 50;
GEM_TEMPOBJ_MESPACE_SIZE = 0;
GEM_TEMPOBJ_OOMSTATS_CSV = FALSE;
GEM_TEMPOBJ_OOPMAP_SIZE = 0;
GEM_TEMPOBJ_SCOPES_SIZE = 2000;
GEM_TEMPOBJ_POMGEN_SIZE = 0;
GEM_TEMPOBJ_POMGEN_PRUNE_ON_VOTE = 90;
GEM_TEMPOBJ_POMGEN_SCAVENGE_INTERVAL = 1800;
GEM_TEMPOBJ_START_ADDR not used on this platform
LOG_WARNINGS = TRUE;
SHR_NUM_FREE_FRAME_SERVERS = -1;
SHR_PAGE_CACHE_LARGE_MEMORY_PAGE_POLICY = 0;
SHR_PAGE_CACHE_LARGE_MEMORY_PAGE_SIZE_MB = 0;
SHR_PAGE_CACHE_LOCKED = FALSE;
SHR_PAGE_CACHE_NUM_PROCS = 1048569;
SHR_PAGE_CACHE_NUM_SHARED_COUNTERS = 1900;
SHR_PAGE_CACHE_PERMISSIONS = 660;
SHR_PAGE_CACHE_SIZE_KB = 500000KB;
SHR_TARGET_FREE_FRAME_COUNT = -1;
SHR_WELL_KNOWN_PORT_NUMBER = 0;
CONFIG_WARNINGS_FATAL = FALSE;
(vmGc spaceSizes: eden init 2048K max 9344K , survivor init 448K max 1600K,
 vmGc    old max 37440K, code max 10048K, perm max 5056K, pom 10 * 4224K = 42240K,
 vmGc    remSet 1156K, meSpace max 51568K oopMapSize 262144  max footprint 164M)
 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|                   Copyright (C) GemTalk Systems 1986-2017                   |
|                            All rights reserved.                             |
|                           Covered by U.S Patents:                           |
|            6,256,637 Transactional virtual machine architecture             |
|              6,360,219 Object queues with concurrent updating               |
|                  6,567,905 Generational Garbage Collector.                  |
| 6,681,226 Selective Pessimistic Locking for a Concurrently Updateable Database
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Linked Session)               |
|    VERSION: 3.4.0, Thu Oct 19 11:19:41 2017                                 |
|      BUILD: gss64_3_4_x_branch-42785                                        |
|  BUILT FOR: x86-64 (Linux)                                                  |
|       MODE: 64 bit                                                          |
| RUNNING ON: 8-CPU foos x86_64 (Linux 4.4.0-98-generic #121-Ubuntu SMP Tue Oct
| 10 14:24:03 UTC 2017) 18057MB                                               |
| PROCESS ID: 5694      DATE: 03/06/2018 11:52:54 PST                         |
|   USER IDS: REAL=dhenrich (562) EFFECTIVE=dhenrich (562) LOGIN=dhenrich (562)
+-----------------------------------------------------------------------------+
|   GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log                     |
|_____________________________________________________________________________|
Reading initialization file /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/.topazini
topaz> login
[Info]: LNK client/gem GCI levels = 34001/34001
--- 03/06/2018 11:52:55.713 PST Logging out
-----------------------------------------------------
GemStone: Error         Fatal
Error opening Repository. , could not open extent 0,  failed with errno=13,EACCES, Authorization failure (permission denied)
Error Category: [GemStone] Number: 4143  Arg Count: 1
Arg 1: 20

Login failed due to errors.
topaz> quit

presumably I need write permissions on the extent when I try to login linked ...

dalehenrich commented 6 years ago

... and I can get in logging in remote (because the netlid is owned by you):

foos:test_rowan_340>startTopaz test_rowan_340
=================
   GsDevKit script: startTopaz test_rowan_340
              path: /foos2/users/ewinger/GsDevKit_home/bin/startTopaz
=================
[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/product/lib/libgcirpc-3.4.0-64.so
 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|                   Copyright (C) GemTalk Systems 1986-2017                   |
|                            All rights reserved.                             |
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Remote Session)               |
|    VERSION: 3.4.0, Thu Oct 19 11:19:41 2017                                 |
|      BUILD: gss64_3_4_x_branch-42785                                        |
|  BUILT FOR: x86-64 (Linux)                                                  |
|       MODE: 64 bit                                                          |
| RUNNING ON: 8-CPU foos x86_64 (Linux 4.4.0-98-generic #121-Ubuntu SMP Tue Oct
| 10 14:24:03 UTC 2017) 18057MB                                               |
| PROCESS ID: 5775      DATE: 03/06/2018 11:58:37 PST                         |
|   USER IDS: REAL=dhenrich (562) EFFECTIVE=dhenrich (562) LOGIN=dhenrich (562)
+-----------------------------------------------------------------------------+
|   GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log                     |
|_____________________________________________________________________________|
Reading initialization file /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/.topazini
topaz> set gemnetid !tcp@foos#netldi:test_rowan_340_ldi#task!gemnetobject
topaz> login
[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/product/lib/libfloss-3.4.0-64.so
[03/06/2018 11:58:41.634 PST]
  gci login: currSession 1  rpc gem processId 5776 socket 6 
successful login
 fileformat is now utf8
sourcestringclass is now Unicode16 
topaz 1> 
dalehenrich commented 6 years ago

Hmmm, now when I run the same command that you ran above (project clone Tonel), it completes successfully for me:

foos:GsDevKit_home>todeIt test_rowan_340 project clone Tonel
=================
   GsDevKit script: todeIt test_rowan_340 project clone Tonel
              path: /foos2/users/ewinger/GsDevKit_home/bin/todeIt
=================
performing tode command: __project clone Tonel__
'Pharo cannot write to the changes file named /foos2/users/ewinger/GsDevKit_home/shared/pharo/gsDevKitCommandLine.changes.

Please check that you have write permission for this file.

You won''t be able to save this image correctly until you fix this.'

tode > project clone Tonel[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/shared/pharo/pharo-vm/libfloss-3.4.0-32.so
[03/06/2018 12:07:59.224 PST]
  gci login: currSession 1  rpc gem processId 6156 socket 10 

'set -e; cd $GS_HOME/shared/repos; git clone  --no-checkout git@github.com:GsDevKit/tonel.git'
Cloning into 'tonel'...

'set -e; cd $GS_HOME/shared/repos/tonel; git --git-dir $GS_HOME/shared/repos/tonel/.git --work-tree $GS_HOME/shared/repos/tonel checkout 3.5.0'
Switched to a new branch '3.5.0'
Branch 3.5.0 set up to track remote branch 3.5.0 from origin.

'set -e; cd $GS_HOME/shared/repos/tonel; git --git-dir $GS_HOME/shared/repos/tonel/.git --work-tree $GS_HOME/shared/repos/tonel symbolic-ref HEAD'
refs/heads/3.5.0

[216921601 sz:10 TDMetacelloTool] aTDMetacelloTool

...finished :: todeIt test_rowan_340 project clone Tonel

Soooo, can you try running $GS_HOME/bin/todeIt test_rowan_340 project clone Toneldirectly for me and record what happens ... there must be something funky in your environment?

dalehenrich commented 6 years ago

also try to get a timestamp so I can correlate your error with the log file ($GS_HOME/server/stones/<stone-name>/logs)

ericwinger commented 6 years ago

Does this help. Timestamp at end.

=================
   GsDevKit script: todeIt test_rowan_340 project clone Tonel
              path: /foos2/users/ewinger/GsDevKit_home/bin/todeIt
=================
performing tode command: __project clone Tonel__

tode > project clone Tonel[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/shared/pharo/pharo-vm/libfloss-3.4.0-32.so
Error: Unable to create a session, check netldi and gem log files.
 For further information about login failures, check the gem log file
TDTopezGemStoneClient>>loginUsing:
TDTopezGemStoneClient>>login
TDTopezGemStoneClient>>session
TDTopezGemStoneClient>>evaluateCommand:batchMode: in Block: [ ...
BlockClosure>>ensure:
TDTopezGemStoneClient>>evaluateCommand:batchMode:
TDShell>>evaluateCommand:batchMode:
TDShell>>evaluate:batchMode: in Block: [ :command | result := self evaluateCommand: comma...etc...
TDCommandLine class>>line:forEachCommand: in Block: [ :isolated | ...
OrderedCollection>>do:
TDCommandLine class>>line:forEachCommand:
TDCommandLine class>>fromStream:selectLine:forEachCommand: in Block: [ :cmdLine | ...
OrderedCollection>>do:
TDCommandLine class>>fromStream:selectLine:forEachCommand:
TDShell>>evaluate:batchMode: in Block: evaluate: aString batchMode: aBool...
BlockClosure>>on:do:
TDShell>>evaluate:batchMode:
TDShell>>evaluate:
GsDevKitTodeItCommandLineHandler>>evaluate: in Block: [ :line | ...
ByteString(String)>>linesDo: in Block: [ :start :endWithoutDelimiters :end | aBlock value...etc...
ByteString(String)>>lineIndicesDo:
ByteString(String)>>linesDo:
GsDevKitTodeItCommandLineHandler>>evaluate:
GsDevKitTodeItCommandLineHandler>>evaluate
GsDevKitTodeItCommandLineHandler>>activate in Block: [ self evaluate ]
BlockClosure>>ensure:
Author>>useAuthor:during:
Author class>>useAuthor:during:
GsDevKitTodeItCommandLineHandler>>activate
GsDevKitTodeItCommandLineHandler class(CommandLineHandler class)>>activateWith:
Error on or near line 99 :: devKitCommandLine todeIt test_rowan_340 :: devKitCommandLine todeIt test_rowan_340
Error on or near line 58 :: todeIt test_rowan_340 project clone Tonel :: todeIt test_rowan_340 project clone Tonel
ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/downloads/products/GemStone64Bit3.4.0-x86_64.Linux$ date
Tue Mar  6 13:20:35 PST 2018
ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/downloads/products/GemStone64Bit3.4.0-x86_64.Linux$ 
dalehenrich commented 6 years ago

The only log file that was changed at 13:20 was the netldi.log:

foos:logs>ls -altr
total 140
-rw-r-----  1 ewinger smalltalk  1228 Mar  6 09:30 test_rowan_340_1606pagemanager.log
drwxr-x---  4 ewinger smalltalk  4096 Mar  6 09:31 github-cache
drwxr-x--- 10 ewinger smalltalk  4096 Mar  6 09:46 ..
-rw-r-----  1 ewinger smalltalk  7814 Mar  6 09:46 test_rowan_340_1634reclaimgcgem.log
-rw-r-----  1 ewinger smalltalk  7562 Mar  6 09:46 test_rowan_340_1636admingcgem.log
-rw-r-----  1 ewinger smalltalk  5834 Mar  6 09:46 test_rowan_340_1608pcmon.log
-rw-r-----  1 ewinger smalltalk  3604 Mar  6 09:46 test_rowan_340_3755pgsvrff.log
-rw-r-----  1 ewinger smalltalk  3690 Mar  6 09:46 test_rowan_340_3759pgsvraio.log
-rw-r-----  1 ewinger smalltalk  7440 Mar  6 09:46 test_rowan_340_3776admingcgem.log
-rw-r-----  1 ewinger smalltalk 24381 Mar  6 09:47 test_rowan_340.log
-rw-r-----  1 ewinger smalltalk  7492 Mar  6 09:47 gemnetobject3838.log
-rw-r-----  1 ewinger smalltalk  7488 Mar  6 10:48 gemnetobject4811.log
-rw-r-----  1 ewinger smalltalk  4385 Mar  6 10:55 test_rowan_340_3781symbolgem.log
-rw-r-----  1 ewinger smalltalk  7946 Mar  6 10:55 test_rowan_340_3774reclaimgcgem.log
-rw-r-----  1 ewinger smalltalk  7488 Mar  6 10:59 gemnetobject4920.log
drwxr-x---  3 ewinger smalltalk  4096 Mar  6 12:00 .
-rw-r-----  1 ewinger smalltalk  8370 Mar  6 12:08 test_rowan_340_3748pcmon.log
-rw-r-----  1 ewinger smalltalk  1375 Mar  6 12:08 test_rowan_340_3746pagemanager.log
-rw-r-----  1 ewinger smalltalk  3933 Mar  6 13:20 netldi.log

in the netldi.log there are a series of error messages that I don't quite understand .. perhaps you'll understand?:

Entering Service Loop
EOF during readData, client may be using old version of libgci library.
    For client command: '!#encrypted:ewinger#netldi:test_rowan_340_ldi#dir:/export/foos1/users/ewinger/logs!gemnetobject'
    chdir(/export/foos1/users/ewinger/logs) failed in child process
    ERROR: errno=2,ENOENT, The file or directory specified cannot be found
EOF during readData, client may be using old version of libgci library.
    For client command: '!#encrypted:ewinger#netldi:test_rowan_340_ldi#dir:/export/foos1/users/ewinger/logs!gemnetobject'
    chdir(/export/foos1/users/ewinger/logs) failed in child process
    ERROR: errno=2,ENOENT, The file or directory specified cannot be found
    For client command: '!#encrypted:ewinger#netldi:test_rowan_340_ldi#dir:/export/foos1/users/ewinger/logs!gemnetobject'
    chdir(/export/foos1/users/ewinger/logs) failed in child process
    ERROR: errno=2,ENOENT, The file or directory specified cannot be found
    For client command: '!#encrypted:ewinger#netldi:test_rowan_340_ldi#dir:/export/foos1/users/ewinger/logs!gemnetobject'
    chdir(/export/foos1/users/ewinger/logs) failed in child process
    ERROR: errno=2,ENOENT, The file or directory specified cannot be found
    For client command: '!#encrypted:ewinger#netldi:test_rowan_340_ldi#dir:/export/foos1/users/ewinger/logs!gemnetobject'
    chdir(/export/foos1/users/ewinger/logs) failed in child process
    ERROR: errno=2,ENOENT, The file or directory specified cannot be found
    For client command: '!#encrypted:ewinger#netldi:test_rowan_340_ldi#dir:/export/foos1/users/ewinger/logs!gemnetobject'
    chdir(/export/foos1/users/ewinger/logs) failed in child process
    ERROR: errno=2,ENOENT, The file or directory specified cannot be found

I am able to run gems using your netldi without causing these failures in the netldi, so perhaps you have some environment variable in your personal login that is causing the netldi failure?

The directory /export/foos1/users/ewinger/logs does not exist:

foos:logs>ls /export/foos1/users/ewinger/logs
ls: cannot access '/export/foos1/users/ewinger/logs': No such file or directory
ericwinger commented 6 years ago

Yes, my .bashrc sets GEMSTONE_NRS_ALL to the hostname1/users/ewinger/logs.

I added that directory and changed the netldi port # to 38979 and it appears I'm logged in ok.

ericwinger commented 6 years ago

Hmm, odd. I am logged in to test_rowan_340 on foos with port 38979. However, I don't see any Rowan code. When I tried to load my code, it failed on a reference to RwMethodDefinition. User is DataCurator.

dalehenrich commented 6 years ago

Yes, the installRowan script failed without a fatal bash error ... so you need to run $GS_HOME/shared/repos/Rowan/src/platforms/gemstone/gsdevkit/bin/installRowan $rowan_stone_name again ...

ericwinger commented 6 years ago

It doesn't appear to have been successful.

=================
   GsDevKit script: todeIt test_rowan_340 project clone Tonel
              path: /foos2/users/ewinger/GsDevKit_home/bin/todeIt
=================
performing tode command: __project clone Tonel__

tode > project clone Tonel[Info]: Loaded /foos2/users/ewinger/GsDevKit_home/shared/pharo/pharo-vm/libfloss-3.4.0-32.so
[03/06/2018 15:54:32.992 PST]
  gci login: currSession 1  rpc gem processId 7393 socket 10 

TDInform(Registration is locked ... clone not performed for: Tonel)
[217646337 sz:10 TDMetacelloTool] aTDMetacelloTool

...finished :: todeIt test_rowan_340 project clone Tonel
/foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340/newBuild_rowan: line 2: defStone.env: No such file or directory
ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/downloads/products/GemStone64Bit3.4.0-x86_64.Linux$ 
ericwinger commented 6 years ago

"```ewinger@foos:/foos2/users/ewinger/GsDevKit_home/shared/downloads/products/GemStone64Bit3.4.0-x86_64.Linux$ $GS_HOME/shared/repos/Rowan/src/platforms/gemstone/gsdevkit/bin/installRowan $rowan_stone_name ================="

dalehenrich commented 6 years ago

The "clone not performed" is expected and should not have caused a problem ... it looks like the script expects to be in the stone directory to run correctly so there is a missing cd in there somewhere .... I must have been sitting in the right spot when I tested the script ... anyway, if you do the following:

cd $GS_HOME/server/stone/test_rowan_340
./newBuild_rowan

The installation should work correctly ... I'll patch the installRowan script

the \'\'\' needs to be on a line by itself ....

ericwinger commented 6 years ago

I'm not doing well. I found the typo in your cd command stones but I just get another error.


ewinger@foos:/foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340$ ./newBuild_rowan 
/foos2/users/ewinger/GsDevKit_home/sys/local/bin/newBuild_snapshot: line 13: newExtent: command not found
ewinger@foos:/foos2/users/ewinger/GsDevKit_home/server/stones/test_rowan_340$ 
dalehenrich commented 6 years ago

That error is because $GS_HOME/bin is not in your path ... the original script in the README does put $GS_HOME/bin in your path along with defining the stone name bash var ... so I assume that you've logged out and logged back in without doing the initital lines:

cd GsDevKit_home
. bin/defHOME_PATH.env 

... I will edit the other script to add $GS_HOME/bin so that putting $GS_HOME/bin isn't required ....

dalehenrich commented 6 years ago

we're getting close to the end of the script:) let's see what else is not quite right:)

ericwinger commented 6 years ago

My shoe is untied.

dalehenrich commented 6 years ago

I've got a pull reqest queued up for that as well ... but I thought it wasn't critical:)

ericwinger commented 6 years ago

Ok, I was able to filein my few classes without any compilation errors. I see many Rw* classes.

What is an easy way to verify I have your latest code?

dalehenrich commented 6 years ago
cd $GS_HOME/shared/repos/Rowan
git log -1

look at SHA of commit

git pull origin master
git log -1

if the SHA is not the same, you now have a newer version of Rowan ... logout of your stone and then:

cd $GS_HOME/server/stones/test_rowan_340
./newBuild_rowan

./newBuild_rowan does a fresh install of Rowan in the stone .... Cypress (used to do the load of Rowan) does not handle class changes correctly, so rebuilding from scratch is the only option until I get to the point where Rowan can update Rowan itself ... and I am not there yet ...

ericwinger commented 6 years ago

Got it. I think I'm setup enough to start trying some of the Rowan code tomorrow. Thanks for the help.

dalehenrich commented 6 years ago

Good, I appreciate your patience ...

BTW the following Smalltalk expression will also give you a string with the last 100 git log entries:

Rowan projectTools log commitLogSpecUrl: 'Rowan' limit: 100