[Glass] tode / pharo errors

Jon Paynter via Glass glass at lists.gemtalksystems.com
Wed Oct 21 12:52:07 PDT 2015


So after the server install finally finished, I followed instructions to
get tode client installed on my local PC here at the office.  but when I
tried to log in, I got a gci version mismatch error.  It seems my attempt
to install gemstone 3.2.8 only went partially through, but everything used
the old 3.1.x version that was already installed.
So I re-ran the installGemstone.sh script to install 3.2.8.  but when I
tried to start the stone, it gave an error about a wrong keyfile because
/opt/gemstone/product still pointed to 3.1.x.   but when I changed the
symlink to point to the 3.2.8 install, and then i could not find
seaside/system.conf.  So I copied the seaside folder to the new install
dir, but then gemstone crashed on startup.

Since there really wasnt anything I needed to save, I stopped all the gs
related processes, and removed the /opt/gemstone folder to try and start
from scratch.  after re-cloning GsDevKit_home and re-running installServer
it said gemstone was running, but 'gslist' and the regular start/stop cmds
would not work because all the gemstone files were under GsDevKit_home
instead of /opt/gemstone/product.  When I tried to run the binaries from
GsDevKit/shared/downloads/products ..... it gave me an error about the
$GEMSTONE var not being set.

So I re-ran the installGemstone.sh script again.  That created the folders
under /opt/gemstone/product, and the usual stop/start/status commands work.

but now when I do a testLogin from the tode client, it tells me both tode
and seaside are not installed on my server.
Seaside I installed on the server by following this:
https://github.com/GsDevKit/Seaside31/blob/gs_master/README.md

And now it shows glass/seaside installed.
but why does it not find tode on the server?


On Tue, Oct 20, 2015 at 4:35 PM, Jon Paynter <kittle31 at gmail.com> wrote:

> The local unix guy here at the office helped me with that one.  The clock
> on my VM was 6months behind the times, once we fixed that, the copydbf ran
> without errors, but I cant get the installer to pickup where it left off.
> So I fall back to removing $GS_HOME , re-cloning and re-running the
> installer.
>
> And after waiting long enough that worked.
>
>
> So really the only issue is how to get installServer to pickup where it
> left off when one of the steps fails.
>
> On Tue, Oct 20, 2015 at 3:59 PM, Dale Henrichs via Glass <
> glass at lists.gemtalksystems.com> wrote:
>
>> YOu are getting the following error during the coydbf operation:
>>
>>     When writing rootPage with pageId = 17 ,
>>     Found current operating system clock = 1413493436 ,
>>     more than 10 seconds PRIOR to stone''s startup time = 1440187046.
>>     GemStone cannot continue running in the presence of a corrupted
>>     operating system clock.
>>
>> I will see if I can find out what's up with this error ...
>>
>> On 10/20/2015 03:54 PM, Jon Paynter via Glass wrote:
>>
>> So after re-running the 32bit lib install a 2nd time, I was able to get
>> the pharo part of the installServer to complete, but now I get a new error:
>>
>>    GsDevKit GemStone script: stopGemstone
>> =================
>> cmdLine= stopstone -i seaside DataCurator swordfish
>> --- 10/16/2014 21:03:56.480 UTC ---
>> stopstone[Info]: GemStone version '3.2.8'
>> stopstone[Info]: Server 'seaside' is not running.
>>
>> ...finished stopStone
>> Copy snapshot and remove tranlogs
>>
>> New extent for seaside
>>         Copying extent file:
>> '/home/gemstone/GsDevKit_home/shared/downloads/products/GemStone64Bit3.2.8-x86_64.Linux/bin/extent0.seaside.dbf'
>>
>> Error running shell command:
>> '/home/gemstone/GsDevKit_home/server/stones/seaside/product/bin/copydbf'
>> with args:
>>
>> /home/gemstone/GsDevKit_home/shared/downloads/products/GemStone64Bit3.2.8-x86_64.Linux/bin/extent0.seaside.dbf
>>
>> /home/gemstone/GsDevKit_home/server/stones/seaside/extents/extent0.dbf
>> STDOUT: '
>> Source file:
>> /home/gemstone/GsDevKit_home/shared/downloads/products/GemStone64Bit3.2.8-x86_64.Linux/bin/extent0.seaside.dbf
>>    File type: extent  fileId: 0
>>    ByteOrder: Intel (LSB first)  compatibilityLevel: 844
>>    Last checkpoint written at: 08/21/2015 19:58:34 UTC.
>> Destination file:
>> /home/gemstone/GsDevKit_home/server/stones/seaside/extents/extent0.dbf
>>    ByteOrder: Intel (LSB first)
>>     When writing rootPage with pageId = 17 ,
>>     Found current operating system clock = 1413493436 ,
>>     more than 10 seconds PRIOR to stone''s startup time = 1440187046.
>>     GemStone cannot continue running in the presence of a corrupted
>>     operating system clock.
>> write error on page 17
>> DBF error is not available.
>> '
>> STDERR: Error: Shell command:
>> '/home/gemstone/GsDevKit_home/server/stones/seaside/product/bin/copydbf'
>> failed.
>> GsDevKitNewExtentCommandLineHandler class(Object)>>error:
>> GsDevKitNewExtentCommandLineHandler
>> class(GsDevKitAbstractCommandLineHandler
>> class)>>runShellCommand:args:noError:
>>
>> GsDevKitNewExtentCommandLineHandler(GsDevKitAbstractCommandLineHandler)>>runShellCommand:args:
>>
>> GsDevKitNewExtentCommandLineHandler(GsDevKitAbstractStoneCommandLineHandler)>>copySnapshotExtent:
>> GsDevKitNewExtentCommandLineHandler>>newExtent
>> GsDevKitNewExtentCommandLineHandler>>activate
>> GsDevKitNewExtentCommandLineHandler 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: [ ...
>>
>> Also, on the chance that something got corrupted during my attempts to
>> fix things, I deleted /home/gemstone/GsDevKit_home and started with a fresh
>> clone.   I still get the same error.
>>
>> ideas anyone?
>>
>>
>> On Tue, Oct 20, 2015 at 3:05 PM, Jon Paynter <kittle31 at gmail.com> wrote:
>>
>>> As per Dale's advice im starting a new thread on this one.
>>>
>>> I run "installServer seaside 3.2.8
>>>
>>> and eventually receive this error:
>>>    GsDevKit script: create_gs_server_image -d
>>> /home/gemstone/GsDevKit_home/shared/pharo gsDevKitCommandLine
>>>               path:
>>> /home/gemstone/GsDevKit_home/shared/bin/create_gs_server_image
>>> =================
>>> create gsDevKitCommandLine.image image using
>>> /home/gemstone/GsDevKit_home/sys/default/pharo/gsDevKitCommandLineLoad.st
>>> ++ readlink /home/gemstone/GsDevKit_home/shared/pharo/pharo
>>> + DIR=
>>> + DIR=/home/gemstone/GsDevKit_home/shared/pharo/pharo
>>> ++ dirname /home/gemstone/GsDevKit_home/shared/pharo/pharo
>>> + DIR=/home/gemstone/GsDevKit_home/shared/pharo
>>> + cd /home/gemstone/GsDevKit_home/shared/pharo
>>> ++ pwd
>>> + DIR=/home/gemstone/GsDevKit_home/shared/pharo
>>> + cd -
>>> + set -f
>>> + /home/gemstone/GsDevKit_home/shared/pharo/pharo-vm/pharo --nodisplay
>>> /home/gemstone/GsDevKit_home/shared/pharo/Pharo.image save gsDevKitTmp
>>> /home/gemstone/GsDevKit_home/shared/pharo/pharo: line 12:
>>> /home/gemstone/GsDevKit_home/shared/pharo/pharo-vm/pharo: No such file or
>>> directory
>>>
>>> The file actually exists, but I cannot run it.  So either it is corrupt,
>>> or some dependent library is missing.
>>> gemstone at ubuntu:~/GsDevKit_home/shared/pharo/pharo-vm$ ls -l
>>> total 36176
>>>     .......
>>> -rwxrwxr-x 1 gemstone gemstone  1121206 May 15 16:29 pharo
>>>      ......
>>> gemstone at ubuntu:~/GsDevKit_home/shared/pharo/pharo-vm$ ./pharo
>>> -bash: ./pharo: No such file or directory
>>> gemstone at ubuntu:~/GsDevKit_home/shared/pharo/pharo-vm$ chmod +x pharo
>>> gemstone at ubuntu:~/GsDevKit_home/shared/pharo/pharo-vm$ ./pharo
>>> -bash: ./pharo: No such file or directory
>>>
>>>
>>> I attempted to follow the directions here:
>>> <http://pharo.org/gnu-linux-installation#64-bit-System-Setup>
>>> http://pharo.org/gnu-linux-installation#64-bit-System-Setup
>>> Since this is an ubuntu 12.04 VM, I tried the instructions to install
>>> via ppa, but that failed:
>>> gemstone at ubuntu:~$ sudo add-apt-repository ppa:pharo/stable
>>> [sudo] password for gemstone:
>>> sudo: add-apt-repository: command not found
>>>
>>>
>>> I previously installed the 32bit libraries, so everything should be
>>> present.   So im confused as to what is wrong.
>>>
>>> Aside from completely rebuilding my VM from scratch, any ideas on how to
>>> fix this?
>>>
>>>
>>
>>
>> _______________________________________________
>> Glass mailing listGlass at lists.gemtalksystems.comhttp://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>>
>> _______________________________________________
>> Glass mailing list
>> Glass at lists.gemtalksystems.com
>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20151021/bbbc1b14/attachment.html>


More information about the Glass mailing list