Login  Register

Re: Problems starting my stone.

Posted by Gemstone/S mailing list on Sep 10, 2019; 10:47pm
URL: https://forum.world.st/Problems-starting-my-stone-tp5103610p5103612.html

Interesting ... I've not seen something like this before ...

To get more information please cd to:

     $GS_HOME/server/bin/gs

and edit the stopGemstone script there, adding a `set -x` command on
line 11 ...

Then rerun your startStone command .... and we should have more
information about what might be wrong with the command line ...

Dale

On 9/10/19 3:16 PM, ian via GemStone-Smalltalk wrote:

> Hello All,
>
> Having trouble starting gemstone as per the following.
>
> Any ideas?
>
> -----
>
> =================
>    GsDevKit script: startStone devKit_343
>               path: /home/ian/Apps/Gemstone/GsDevKit_home/bin/startStone
> =================
> /home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/product/bin/waitstone[Info]: GemStone version '3.4.3'
> waitstone[Error]: Network service !#dir:/home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/logs#log:%N%P.log#server!devKit_343 was not found.
> Network lookup failure; could not find server 'devKit_343' on host 'desktop' because file not found: /opt/gemstone/locks/devKit_343..LCK;  service devKit_343 not found ; NetLDI service 'gs64ldi' not found on node 'localhost6' port 50377 :
>
>
>
> Error running shell command: '/home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone'
> with args:
> STDOUT: 'Starting stone: devKit_343
> --- 2019-09-10 18:13:28.804 EDT ---
> stopstone[Info]: GemStone version ''3.4.3''
> '
> STDERR: =================
>    GsDevKit script: startGemstone 
>               path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone
> =================
> =================
>    GsDevKit script: stopGemstone 
>               path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/stopGemstone
> =================
> stopstone[Error]: Unexpected argument 'swordfish'.
> Usage: stopstone [-h] [-i] [-t timeout] [name [account [password]]]
>    where -h       prints usage information and exits.
>          -i       stops the stone immediately even if others are logged in.
>          -t       specifies how long to wait for other processes to detach the cache.
>                   Default is -1 which means wait forever.
>          name     is the name of the stone to stop (default is gs64stone).
>          account  a privileged GemStone user ID, typically DataCurator.
>          password for the specified account (default will be prompted for).
> Error on or near line 22 :: stopGemstone  :: stopGemstone 
> Error on or near line 21 :: startGemstone  :: startGemstone 
> Error: Shell command: '/home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone' failed.
> GsDevKitStartstoneCommandLineHandler class(Object)>>error:
> GsDevKitStartstoneCommandLineHandler class(GsDevKitAbstractCommandLineHandler class)>>runShellCommand:args:noError:
> GsDevKitStartstoneCommandLineHandler(GsDevKitAbstractCommandLineHandler)>>runShellCommand:args:
> GsDevKitStartstoneCommandLineHandler>>activate
> GsDevKitStartstoneCommandLineHandler class(CommandLineHandler class)>>activateWith:
> PharoCommandLineHandler(BasicCommandLineHandler)>>activateSubCommand: in Block: [ aCommandLinehandler activateWith: commandLine ]
> BlockClosure>>on:do:
> PharoCommandLineHandler(BasicCommandLineHandler)>>activateSubCommand:
> PharoCommandLineHandler(BasicCommandLineHandler)>>handleSubcommand
> PharoCommandLineHandler(BasicCommandLineHandler)>>handleArgument:
> PharoCommandLineHandler(BasicCommandLineHandler)>>activate in Block: [ self handleArgument: (self arguments ifEmpty: [ ...etc...
> BlockClosure>>on:do:
> PharoCommandLineHandler(BasicCommandLineHandler)>>activate
> PharoCommandLineHandler>>activate
> PharoCommandLineHandler class(CommandLineHandler class)>>activateWith:
> PharoCommandLineHandler class>>activateWith: in Block: [ super activateWith: aCommandLine ]
> WorldState>>runStepMethodsIn:
> WorldMorph>>runStepMethods
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> WorldMorph>>doOneCycle
> MorphicUIManager>>spawnNewProcess in Block: [ ...
> BlockClosure>>newProcess in Block: [ ...
> Error on or near line 99 :: devKitCommandLine startstone devKit_343 :: devKitCommandLine startstone devKit_343
> Error on or near line 116 :: startStone devKit_343 :: startStone devKit_343
>
> -----
>
> Kindly in advance,
>
> Ian
> _______________________________________________
> GemStone-Smalltalk mailing list
> [hidden email]
> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk