[GemStone-Smalltalk] GemStone-Smalltalk Digest, Vol 63, Issue 6
Dale Henrichs
dale.henrichs at gemtalksystems.com
Wed Sep 11 13:01:13 PDT 2019
Thanks....
It looks like the usernames are getting doubled up on the command line:
/home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/product/bin/stopstone -i devKit_343 SystemUser DataCurator swordfish
Which means that there is something in your .topazini file
(/home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/.topazini)
that is causing the perl script to choke ...
As a short term workaround, remove the extra `set user` in the .topazini
file and the scripts should work again ...
Dale
On 9/11/19 12:10 PM, ian via GemStone-Smalltalk wrote:
> Hi Dale,
>
> As per request, added set -x to line 11 of stopGemStone.
>
> Gives:
>
> ---
>
> [96;1m=================[0m
> [96;1m GsDevKit script: startStone devKit_343[0m
> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/bin/startStone[0m
> [96;1m=================[0m
> /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-11 15:05:16.997 EDT ---
> stopstone[Info]: GemStone version ''3.4.3''
> '
> STDERR: [96;1m=================[0m
> [96;1m GsDevKit script: startGemstone [0m
> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone[0m
> [96;1m=================[0m
> [96;1m=================[0m
> [96;1m GsDevKit script: stopGemstone [0m
> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/stopGemstone[0m
> [96;1m=================[0m
> + '[' -s /home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/product/seaside/etc/gemstone.secret ']'
> + . /home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/product/seaside/etc/gemstone.secret
> ++ GEMSTONE_CURATOR_PASS=swordfish
> ++ GEMSTONE_CONFIG_PASS=swordfish
> ++ perl '-nleprint $& if m{(?<=user )[^ ]+}' /home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/.topazini
> ++ perl '-nleprint $& if m{(?<=password )[^ ]+}' /home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/.topazini
> + /home/ian/Apps/Gemstone/GsDevKit_home/server/stones/devKit_343/product/bin/stopstone -i devKit_343 SystemUser DataCurator swordfish
> 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 23
> ++ local lineno=23
> +++ basename /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/stopGemstone
> ++ exit_1_banner 'Error on or near line 23 :: stopGemstone '
> +++ basename /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/stopGemstone
> ++ printf '\033[91;1m%s :: stopGemstone \033[0m\n' 'Error on or near line 23 :: stopGemstone '
> [91;1mError on or near line 23 :: stopGemstone :: stopGemstone [0m
> ++ exit 1
> [91;1mError on or near line 21 :: startGemstone :: startGemstone [0m
> [31mError: Shell command: '/home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone' failed.
> [0mGsDevKitStartstoneCommandLineHandler 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: [ ...
> [0m[91;1mError on or near line 99 :: devKitCommandLine startstone devKit_343 :: devKitCommandLine startstone devKit_343[0m
> [91;1mError on or near line 116 :: startStone devKit_343 :: startStone devKit_343[0m
>
> -----
>
> Hope this helps?
>
> Thanks
>
>
>
>
>
>
> On Wed, Sep 11, 2019 at 12:00:03PM -0700, gemstone-smalltalk-request at lists.gemtalksystems.com wrote:
>> Send GemStone-Smalltalk mailing list submissions to
>> gemstone-smalltalk at lists.gemtalksystems.com
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>> or, via email, send a message with subject or body 'help' to
>> gemstone-smalltalk-request at lists.gemtalksystems.com
>>
>> You can reach the person managing the list at
>> gemstone-smalltalk-owner at lists.gemtalksystems.com
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of GemStone-Smalltalk digest..."
>>
>>
>> Today's Topics:
>>
>> 1. Problems starting my stone. (ian)
>> 2. Re: Problems starting my stone. (Dale Henrichs)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Tue, 10 Sep 2019 18:16:01 -0400
>> From: ian <ian at icjohnson.com>
>> To: gemstone-smalltalk at lists.gemtalksystems.com
>> Subject: [GemStone-Smalltalk] Problems starting my stone.
>> Message-ID: <20190910221601.GA809 at desktop.icjohnson.com>
>> Content-Type: text/plain; charset=us-ascii
>>
>> Hello All,
>>
>> Having trouble starting gemstone as per the following.
>>
>> Any ideas?
>>
>> -----
>>
>> [96;1m=================[0m
>> [96;1m GsDevKit script: startStone devKit_343[0m
>> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/bin/startStone[0m
>> [96;1m=================[0m
>> /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: [96;1m=================[0m
>> [96;1m GsDevKit script: startGemstone [0m
>> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone[0m
>> [96;1m=================[0m
>> [96;1m=================[0m
>> [96;1m GsDevKit script: stopGemstone [0m
>> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/stopGemstone[0m
>> [96;1m=================[0m
>> 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).
>> [91;1mError on or near line 22 :: stopGemstone :: stopGemstone [0m
>> [91;1mError on or near line 21 :: startGemstone :: startGemstone [0m
>> [31mError: Shell command: '/home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone' failed.
>> [0mGsDevKitStartstoneCommandLineHandler 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: [ ...
>> [0m[91;1mError on or near line 99 :: devKitCommandLine startstone devKit_343 :: devKitCommandLine startstone devKit_343[0m
>> [91;1mError on or near line 116 :: startStone devKit_343 :: startStone devKit_343[0m
>>
>> -----
>>
>> Kindly in advance,
>>
>> Ian
>>
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Tue, 10 Sep 2019 15:47:52 -0700
>> From: Dale Henrichs <dale.henrichs at gemtalksystems.com>
>> To: gemstone-smalltalk at lists.gemtalksystems.com
>> Subject: Re: [GemStone-Smalltalk] Problems starting my stone.
>> Message-ID: <9991bc3f-92d1-ec4f-f676-92ab24228354 at gemtalksystems.com>
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>> 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?
>>>
>>> -----
>>>
>>> [96;1m=================[0m
>>> [96;1m GsDevKit script: startStone devKit_343[0m
>>> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/bin/startStone[0m
>>> [96;1m=================[0m
>>> /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: [96;1m=================[0m
>>> [96;1m GsDevKit script: startGemstone [0m
>>> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone[0m
>>> [96;1m=================[0m
>>> [96;1m=================[0m
>>> [96;1m GsDevKit script: stopGemstone [0m
>>> [96;1m path: /home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/stopGemstone[0m
>>> [96;1m=================[0m
>>> 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).
>>> [91;1mError on or near line 22 :: stopGemstone :: stopGemstone [0m
>>> [91;1mError on or near line 21 :: startGemstone :: startGemstone [0m
>>> [31mError: Shell command: '/home/ian/Apps/Gemstone/GsDevKit_home/server/bin/gs/startGemstone' failed.
>>> [0mGsDevKitStartstoneCommandLineHandler 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: [ ...
>>> [0m[91;1mError on or near line 99 :: devKitCommandLine startstone devKit_343 :: devKitCommandLine startstone devKit_343[0m
>>> [91;1mError on or near line 116 :: startStone devKit_343 :: startStone devKit_343[0m
>>>
>>> -----
>>>
>>> Kindly in advance,
>>>
>>> Ian
>>> _______________________________________________
>>> GemStone-Smalltalk mailing list
>>> GemStone-Smalltalk at lists.gemtalksystems.com
>>> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> GemStone-Smalltalk mailing list
>> GemStone-Smalltalk at lists.gemtalksystems.com
>> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
>>
>>
>> ------------------------------
>>
>> End of GemStone-Smalltalk Digest, Vol 63, Issue 6
>> *************************************************
> _______________________________________________
> GemStone-Smalltalk mailing list
> GemStone-Smalltalk at lists.gemtalksystems.com
> https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gemtalksystems.com/mailman/private/gemstone-smalltalk/attachments/20190911/2ee0b12f/attachment-0001.htm>
More information about the GemStone-Smalltalk
mailing list