[GemStone-Smalltalk] GemStone-Smalltalk Digest, Vol 63, Issue 7

ian ian at icjohnson.com
Wed Sep 11 13:17:29 PDT 2019


Okay Dale, that worked.

I had:

SET GEMSTONE devKit_343
set user SystemUser
#set user DataCurator
set password swordfish
# uncomment the following....
set gemnetid ....

This worked and then it didn't (it seems).

From what you say we are chocking on the '#' with no space set part of the file.

At any rate, fixed.

Thank you for helping me get going again...

Kindly,

Ian

Seems like the perl script is


On Wed, Sep 11, 2019 at 01:01:21PM -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. Re: GemStone-Smalltalk Digest, Vol 63, Issue 6 (ian)
>    2. Re: GemStone-Smalltalk Digest, Vol 63, Issue 6 (Dale Henrichs)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 11 Sep 2019 15:10:19 -0400
> From: ian <ian at icjohnson.com>
> To: gemstone-smalltalk at lists.gemtalksystems.com
> Subject: Re: [GemStone-Smalltalk] GemStone-Smalltalk Digest, Vol 63,
> 	Issue 6
> Message-ID: <20190911191019.GB809 at desktop.icjohnson.com>
> Content-Type: text/plain; charset=us-ascii
> 
> Hi Dale,
> 
> As per request, added set -x to line 11 of stopGemStone.
> 
> Gives:
> 
> ---
> 
> =================
>    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-11 15:05:16.997 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
> =================
> + '[' -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 '
> Error on or near line 23 :: stopGemstone  :: stopGemstone 
> ++ exit 1
> 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
> 
> -----
> 
> 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?
> > 
> > -----
> > 
> > =================
> >    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
> > 
> > 
> > ------------------------------
> > 
> > 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?
> > >
> > > -----
> > >
> > > =================
> > >    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
> > > 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
> > *************************************************
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 11 Sep 2019 13:01:13 -0700
> From: Dale Henrichs <dale.henrichs at gemtalksystems.com>
> To: gemstone-smalltalk at lists.gemtalksystems.com
> Subject: Re: [GemStone-Smalltalk] GemStone-Smalltalk Digest, Vol 63,
> 	Issue 6
> Message-ID: <cab28597-b55a-2eb1-e288-85ac9d765e30 at gemtalksystems.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> 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:
> >
> > ---
> >
> > =================
> >    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-11 15:05:16.997 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
> > =================
> > + '[' -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 '
> > Error on or near line 23 :: stopGemstone  :: stopGemstone 
> > ++ exit 1
> > 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
> >
> > -----
> >
> > 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?
> >>
> >> -----
> >>
> >> =================
> >>    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
> >>
> >>
> >> ------------------------------
> >>
> >> 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?
> >>>
> >>> -----
> >>>
> >>> =================
> >>>    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
> >>> 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.htm>
> 
> ------------------------------
> 
> 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 7
> *************************************************



More information about the GemStone-Smalltalk mailing list