I'm trying to run tODE on a recently installed server in the same host (an Ubuntu 14 vm)
After installing it everything run perfectly, but I rebooted the OS and now I can't access the stone from within tODE tode 1 > project list Topez ERROR: Error: Unable to create a GemStone session, check netldi log file. service not found, on gemstone getaddrinfo(host 'gemstone', service 'devKit_329_ldi') failed ; service devKit_329_ldi not found ; NetLDI service 'devKit_329_ldi' is not running on 'gemstone' For further information about login failures, check the gem log file I ran startNetldi and then I got the following ouput: tode 1 > project install --url=http://gsdevkit.github.io/GsDevKit_home/Seaside3.ston Topez ERROR: Error: The given Stone Repository monitor cannot be reached, could not find server 'devKit_329' on host 'gemstone' because file not found: /opt/gemstone/locks/devKit_329..LCK; service devKit_329 not found ; NetLDI service 'gs64ldi' not found on node 'gemstone' port 50377 : For further information about login failures, check the gem log file This is the netldi.log content: +-----------------------------------------------------------------------------+ | GemStone/S64 Object-Oriented Data Management System | | Copyright (C) GemTalk Systems 1986-2015 | | All rights reserved. | +-----------------------------------------------------------------------------+ | PROGRAM: NETLDI, GemStone Network Daemon | | VERSION: 3.2.12, Tue Dec 8 15:13:39 2015 | | BUILD: gss64_3_2_x_branch-38236 | | BUILT FOR: x86-64 (Linux) | | MODE: 64 bit | | RUNNING ON: 1-CPU gemstone x86_64 (Linux 3.16.0-57-generic #77~14.04.1-Ubuntu | SMP Thu Dec 17 23:20:00 UTC 2015) 2001MB | | PROCESS ID: 2719 DATE: 23/12/15 17:27:54 ART | | USER IDS: REAL=emaringolo (1000) EFFECTIVE=emaringolo (1000) LOGIN=emaringolo | (1000) | +-----------------------------------------------------------------------------+ | DATEFORMAT: %d/%m/%y %H:%M:%S %Z | | GEMSTONE_NRS_ALL = #dir:$GEMSTONE_LOGDIR#log:%N%P.log | |_____________________________________________________________________________| synthesizing :: , listening on wildcard created listening socket for :: on :: port 43778 Internal tables are configured for 1359 concurrent clients. Server socket devKit_329_ldi (protocol TCP) is created, with a delay of 30 seconds. Summary of netldi parameters: The host name is 'gemstone'. GEMSTONE is: '/home/emaringolo/GsDevKit_home/server/stones/devKit_329/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 'emaringolo'. The default directory for log files is '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'. The command line is: /home/emaringolo/GsDevKit_home/shared/downloads/products/GemStone64Bit3.2.12-x86_64.Linux/sys/netldid \ -g -aemaringolo -l "/home/emaringolo/GsDevKit_home/server/stones/devKit_329/logs/netldi.log " \ devKit_329_ldi Entering Service Loop |
Esteban, I would do the following: 1) stopStone -b yourStone 2) startStone -b yourStone 3) do a "ps - fea | grep netldi" and search for a possible netldi process of yourStone 4) Using some unix tool, check which port or name has been open by that netldi process (could be in netldi process argument itself). Better...paste us here the line containing that netldi. Try to see if it has set either a port or a netldi name. For example: 501 21301 1 0 Mon11PM ?? 0:02.29 /Users/mariano/gemstone/GsDevKit_home/shared/downloads/products/GemStone64Bit3.2.9-i386.Darwin/sys/netldid netldimariano -g -n -amariano -A ::1 -l /quuve/sites/mariano/gemstone/log/netldimariano.log In that case my netldi name is "netldimariano" and I am using a name rather than a port. 5) Paste us here you "session" file for tODE for that stone (yourStone file in $GS_HOME/sys/local/sessions). From that file, we are interested in the lines: #netLDI : '40001', #netLDIPort : '40001', #stoneHost : 'localhost', If you are using a port, then you must put the port there. If name, then the name. Check also that the stoneHost IP or host name is correct. 6) Finally, tell us if you have a netldi entry in /etc/services (cat /etc/services | grep netldi). If you are using a netldi name, then you MUST manually add an entry in /etc/services like this: netldimariano 40001/tcp # GemStone netldi On Wed, Dec 23, 2015 at 5:23 PM, Esteban A. Maringolo via Glass <[hidden email]> wrote: I'm trying to run tODE on a recently installed server in the same host (an _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
In reply to this post by Esteban A. Maringolo
On 12/23/15 12:23 PM, Esteban A. Maringolo via Glass wrote: > I'm trying to run tODE on a recently installed server in the same host (an > Ubuntu 14 vm) > > After installing it everything run perfectly, but I rebooted the OS and now > I can't access the stone from within tODE > Neither the stone nor the netldi automatically restarts after a reboot ... as Mariano has mentioned, `startStone -b <stone-name>` will restart the stone and the netldi (after a reboot) ... Arranging for stone and netldi to restart on reboot is on the todo list ... Dale _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |