Error while starting Hyper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error while starting Hyper

Thelliez
Hello,

I have GemStone/S 2.4.4.1 installed on CentOS 5.5. I can access it
with GemTools -b8. But I do not see the Seaside code.

I ran the script installGemstone.sh found at:
http://seaside.gemstone.com/userguide.html#Linux-installation  This
successfully completed.

But the next step described at:
http://seaside.gemstone.com/userguide.html#starting-gemstone fails.

Inspecting the code with GemTools, I do not see the seaside code that
I can see in the Appliance.

Are the instructions missing a step. Or did I miss a step?


Thanks,
Thierry



$ gslist -lcv
Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
  OK   2.4.4.1   gemstone  30416 36341 Sep 20 11:57 cache
[hidden email]
  OK   2.4.4.1   gemstone  30395 50377 Sep 20 11:57 Netldi gs64ldi
  OK   2.4.4.1   gemstone  30415 42324 Sep 20 11:57 Stone  seaside

$ startSeaside_Hyper 50081
 _____________________________________________________________________________
|                             Configuration Files                             |
|                                                                             |
| System File: /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux//seaside/data/system.conf
|                                                                             |
| Executable File:
/opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux//seaside/data/gem.conf
|_____________________________________________________________________________|
Using GEM_TEMPOBJ_CACHE_SIZE 50000 from -T command line option
 _____________________________________________________________________________
|                Gem Configuration Options for process id 1402                |
|_____________________________________________________________________________|

DUMP_OPTIONS = TRUE;
GEM_GCI_LOG_ENABLED = FALSE;
GEM_FREE_FRAME_CACHE_SIZE = -1;
GEM_FREE_FRAME_LIMIT = -1;
GEM_HALT_ON_ERROR = 0;
GEM_IO_LIMIT = 5000;
GEM_KEEP_MIN_SOFTREFS = 0;
GEM_MAX_SMALLTALK_STACK_DEPTH = 1000;
GEM_PRIVATE_PAGE_CACHE_KB = 1000;
GEM_PGSVR_FREE_FRAME_CACHE_SIZE = -1;
GEM_PGSVR_FREE_FRAME_LIMIT = -1;
GEM_PGSVR_UPDATE_CACHE_ON_READ = FALSE;
GEM_RPCGCI_TIMEOUT = 0;
GEM_SOFTREF_CLEANUP_PERCENT_MEM = 50;
GEM_TEMPOBJ_AGGRESSIVE_STUBBING = TRUE;
GEM_TEMPOBJ_CACHE_SIZE = 50000;
GEM_TEMPOBJ_INITIAL_SIZE not used on this platform
GEM_TEMPOBJ_MESPACE_SIZE = 0;
GEM_TEMPOBJ_OOPMAP_SIZE = 0;
GEM_TEMPOBJ_POMGEN_SIZE = 0;
GEM_TEMPOBJ_POMGEN_PRUNE_ON_VOTE = 50;
GEM_TEMPOBJ_POMGEN_SCAVENGE_INTERVAL = 1800;
LOG_WARNINGS = TRUE;
SHR_NUM_FREE_FRAME_SERVERS = 1;
SHR_PAGE_CACHE_NUM_SHARED_COUNTERS = 1900;
SHR_PAGE_CACHE_SIZE_KB = 500000;
SHR_PAGE_CACHE_NUM_PROCS = 1017;
SHR_TARGET_FREE_FRAME_COUNT = -1;
(vmGc spaceSizes: eden init 2000K max 9368K , survivor init 400K max 1568K,
 vmGc    old max 37496K, code max 10000K, perm max 5000K, pom 10 *
4168K = 41680K,
 vmGc    remSet 1008K, meSpace max 47800K oopMapSize 262144 )
 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|               Copyright (C) GemStone Systems, Inc. 1986-2010                |
|                            All rights reserved.                             |
|     covered by Patent Number 6,567,905 Generational Garbage Collector.      |
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Linked Session)               |
|    VERSION: 2.4.4.1, Tue Jul 13 15:19:49 2010                               |
|      BUILD: gss64_2_4_4_x_branch-23813                                      |
|  BUILT FOR: x86-64 (Linux)                                                  |
|       MODE: 64 bit                                                          |
| RUNNING ON: 1-CPU ccms-2-dev.local x86_64 (Linux 2.6.18-194.11.3.el5 #1 SMP |
| Mon Aug 30 16:19:16 EDT 2010) 1002MB                                        |
| PROCESS ID: 1402      DATE: 09/21/2010 12:14:47 PM MDT                      |
|   USER IDS: REAL=gemstone (501) EFFECTIVE=gemstone (501)                    |
|_____________________________________________________________________________|
topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> [Info]: LNK
client/gem GCI levels = 844/844
[Info]: User ID: DataCurator
[Info]: Repository: seaside
[Info]: Session ID: 6
[Info]: GCI Client Host: <Linked>
[Info]: Page server PID: -1
[Info]: Login Time: 09/21/2010 12:14:47 PM.577 MDT
[09/21/2010 12:14:47 PM.631 MDT] gci login: currSession 1 rpc gem processId -1
successful login
topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1> topaz 1> GemStone Smalltalk Compiler Errors:
   | service server site |
   true "enable for remote breakpoints and profiling"
     ifTrue: [
       GemToGemAnnouncement installStaticHandler.
       Exception
         installStaticException:
           [:ex :cat :num :args |
             BreakpointNotification signal.
             "needed to avoid infinite loop when resuming from a breakpoint"
             ex _incrementBreakpointsToIgnore. ]
         category: GemStoneError
         number: 6005
         subtype: nil.
      System commitTransaction ifFalse: [ nil error: 'Could not commit
for GemToGemSignaling' ]].

   System transactionMode: #manualBegin.

   Exception
     installStaticException:
       [:ex :cat :num :args |
         "Run the abort in a lowPriority process, since we must acquire the
          transactionMutex."
         [
           SeasidePlatformSupport transactionMutex
 *         ^1                                                         *******
             critical: [
               SeasidePlatformSupport doAbortTransaction ].
           System enableSignaledAbortError.
         ] forkAt: Processor lowestPriority.
       ]
     category: GemStoneError
     number: 6009
     subtype: nil.
   System enableSignaledAbortError.
   "This thread is needed to handle the SigAbort exception, when the primary
    thread is blocked on an accept. Assuming default 60 second
    STN_GEM_ABORT_TIMEOUT, wake up at 30 second intervals."
   [
     [ true ] whileTrue: [ (Delay forSeconds: 30) wait ].
   ] forkAt: Processor lowestPriority.


   service := SeasideHTTPService onPort: 50081 acceptInForeground:
true multiThreading: false.
 *            ^2
   GsFile gciLogServer: 'Hyper Server started on port ', 50081 printString.
   service start.
   "does not return, unless there's an error"

1: [1031] undefined symbol
2: [1031] undefined symbol

Now executing the following command saved from "iferr 1":
   where
Stack is not active
topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1>
[Info]: Logging out at 09/21/2010 12:14:47 PM MDT
Reply | Threaded
Open this post in threaded view
|

Re: Error while starting Hyper

Thelliez
Ok, it looks like the documentation needs consolidation.


Under http://code.google.com/p/glassdb/wiki/OptionalGLASSMetacelloProjects
I found

Gofer project load: 'Seaside28'.


I think that http://seaside.gemstone.com/userguide.html#Linux-installation
 should be updated to contain the above instructions.



Thierry
Reply | Threaded
Open this post in threaded view
|

Re: Error while starting Hyper

Dale Henrichs
Thierry,

Yes it was pointed out at ESUG that the userguide page was out of synch
with the latest documentation in glassdb
(http://code.google.com/p/glassdb/issues/detail?id=177 and
http://code.google.com/p/glassdb/issues/detail?id=178).

I'll add an additional comment about Hyper ...

Thanks,

Dale

Thierry Thelliez wrote:

> Ok, it looks like the documentation needs consolidation.
>
>
> Under http://code.google.com/p/glassdb/wiki/OptionalGLASSMetacelloProjects
> I found
>
> Gofer project load: 'Seaside28'.
>
>
> I think that http://seaside.gemstone.com/userguide.html#Linux-installation
>  should be updated to contain the above instructions.
>
>
>
> Thierry

Reply | Threaded
Open this post in threaded view
|

Re: Error while starting Hyper

Michael Atkisson
I installed Gemstone/S 2.4.4.1 on Mac OSX 10.5.6.  I loaded Seaside 3.0 using the GemTools-1.0-beta.8-244x
Pharo image with instructions provided for doing so.  Updated everything.  Started up
startnet and startGemstone.  Created a custom session. But when I try to run

startSeaside_Hyper 50081
 It gives me the same error

arkhons-mbp13a:~ arkhon$ startSeaside_Hyper 50081
 _____________________________________________________________________________
|                             Configuration Files                             |
|                                                                             |
| System File: /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.MacOSX/seaside/data/system.conf
|                                                                             |
| Executable File: /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.MacOSX/seaside/data/gem.conf
|_____________________________________________________________________________|
Using GEM_TEMPOBJ_CACHE_SIZE 50000 from -T command line option
 _____________________________________________________________________________
|                Gem Configuration Options for process id 987                 |
|_____________________________________________________________________________|

DUMP_OPTIONS = TRUE;
GEM_GCI_LOG_ENABLED = FALSE;
GEM_FREE_FRAME_CACHE_SIZE = -1;
GEM_FREE_FRAME_LIMIT = -1;
GEM_HALT_ON_ERROR = 0;
GEM_IO_LIMIT = 5000;
GEM_KEEP_MIN_SOFTREFS = 0;
GEM_MAX_SMALLTALK_STACK_DEPTH = 1000;
GEM_PRIVATE_PAGE_CACHE_KB = 1000;
GEM_PGSVR_FREE_FRAME_CACHE_SIZE = -1;
GEM_PGSVR_FREE_FRAME_LIMIT = -1;
GEM_PGSVR_UPDATE_CACHE_ON_READ = FALSE;
GEM_RPCGCI_TIMEOUT = 0;
GEM_SOFTREF_CLEANUP_PERCENT_MEM = 50;
GEM_TEMPOBJ_AGGRESSIVE_STUBBING = TRUE;
GEM_TEMPOBJ_CACHE_SIZE = 50000;
GEM_TEMPOBJ_INITIAL_SIZE = 25000;
GEM_TEMPOBJ_MESPACE_SIZE = 0;
GEM_TEMPOBJ_OOPMAP_SIZE = 0;
GEM_TEMPOBJ_POMGEN_SIZE = 0;
GEM_TEMPOBJ_POMGEN_PRUNE_ON_VOTE = 50;
GEM_TEMPOBJ_POMGEN_SCAVENGE_INTERVAL = 1800;
LOG_WARNINGS = TRUE;
SHR_NUM_FREE_FRAME_SERVERS = 1;
SHR_PAGE_CACHE_NUM_SHARED_COUNTERS = 1900;
SHR_PAGE_CACHE_SIZE_KB = 500000;
SHR_PAGE_CACHE_NUM_PROCS = 10233;
SHR_TARGET_FREE_FRAME_COUNT = -1;
(vmGc spaceSizes: eden init 2000K max 4688K , survivor init 400K max 784K,
 vmGc    old max 18744K, code max 10000K, perm max 5008K, pom 10 * 2088K = 20880K,
 vmGc    remSet 576K, meSpace max 27280K oopMapSize 131072 )
 _____________________________________________________________________________
|             GemStone/S64 Object-Oriented Data Management System             |
|               Copyright (C) GemStone Systems, Inc. 1986-2010                |
|                            All rights reserved.                             |
|     covered by Patent Number 6,567,905 Generational Garbage Collector.      |
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Linked Session)               |
|    VERSION: 2.4.4.1, Tue Jul 13 15:19:59 2010                               |
|      BUILD: gss64_2_4_4_x_branch-23813                                      |
|  BUILT FOR: Darwin (Apple Macintosh x86)                                    |
|       MODE: 64 bit                                                          |
| RUNNING ON: 2-CPU arkhons-mbp13a.local i386 (Darwin 10.5.0 ) 2260MHz MacBookPro5,5
| 1792MB                                                                      |
| PROCESS ID: 987       DATE: 12/09/2010 08:12:59 PST                         |
|   USER IDS: REAL=arkhon (501) EFFECTIVE=arkhon (501)                        |
|   DATEFORMAT: %m/%d/%Y %H:%M:%S                                             |
|_____________________________________________________________________________|
topaz> topaz> topaz> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 844/844
[Info]: User ID: DataCurator
[Info]: Repository: seaside
[Info]: Session ID: 6
[Info]: GCI Client Host: <Linked>
[Info]: Page server PID: -1
[Info]: Login Time: 12/09/2010 08:12:59.721 PST
[12/09/2010 08:12:59.738 PST] gci login: currSession 1 rpc gem processId -1
successful login
topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1> topaz 1> GemStone Smalltalk Compiler Errors:
   | service server site |
   true "enable for remote breakpoints and profiling"
     ifTrue: [
       GemToGemAnnouncement installStaticHandler.
       Exception
         installStaticException:
           [:ex :cat :num :args |
             BreakpointNotification signal.
             "needed to avoid infinite loop when resuming from a breakpoint"
             ex _incrementBreakpointsToIgnore. ]
         category: GemStoneError
         number: 6005
         subtype: nil.
      System commitTransaction ifFalse: [ nil error: 'Could not commit for GemToGemSignaling' ]].
   
   System transactionMode: #manualBegin.
   
   Exception
     installStaticException:
       [:ex :cat :num :args |
         "Run the abort in a lowPriority process, since we must acquire the
          transactionMutex."
         [
           SeasidePlatformSupport transactionMutex
 *         ^1                                                         *******
             critical: [
               SeasidePlatformSupport doAbortTransaction ].
           System enableSignaledAbortError.
         ] forkAt: Processor lowestPriority.
       ]
     category: GemStoneError
     number: 6009
     subtype: nil.
   System enableSignaledAbortError.
   "This thread is needed to handle the SigAbort exception, when the primary
    thread is blocked on an accept. Assuming default 60 second
    STN_GEM_ABORT_TIMEOUT, wake up at 30 second intervals."
   [
     [ true ] whileTrue: [ (Delay forSeconds: 30) wait ].
   ] forkAt: Processor lowestPriority.
   
   
   service := SeasideHTTPService onPort: 50081 acceptInForeground: true multiThreading: false.
 *            ^2                                                                              
   GsFile gciLogServer: 'Hyper Server started on port ', 50081 printString.
   service start.
   "does not return, unless there's an error"

1: [1031] undefined symbol
2: [1031] undefined symbol

Now executing the following command saved from "iferr 1":
   where
Stack is not active
topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1>
[Info]: Logging out at 12/09/2010 08:13:00 PST


Thanks for your help!

Reply | Threaded
Open this post in threaded view
|

Re: Error while starting Hyper

Michael Atkisson
In reply to this post by Thelliez
Nevermind.  I decided to use Swazoo with Aida and it seems to
be working.

Thanks!