Problems starting my stone.

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

Problems starting my stone.

Gemstone/S mailing list
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
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
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
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
I am getting this again on a fresh install.  Not sure why.  On createStone
the process doesn't complete with FATAL ERRORS.

with set -x written to the stopStone script on line 11 I stop and try to
start the stone as seen here:

ian@desktop:~/Apps/Gemstone/GsDevKit_home$ startStone devKit_343
=================
   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
is in startup.

Starting stone: devKit_343
HostAllocateFromReservedMemory: mmap() failed, address 0x7f776efe8000, size
65536, errno 1
  Operation not permitted

+--------------------------------------------------------------------+
|       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
| Syntax errors, or values that are out of range are listed above,   |
| preceding the summary of non-default values.                       |
|                                                                    |
| Also check your configuration files for proper location and        |
| and values.  Consult your System Administrator's Guide             |
| for more information.                                              |
+--------------------------------------------------------------------+
startstone[Info]: GemStone version '3.4.3'
startstone[Info]: Server 'devKit_343' is already running.

...finished :: startStone devKit_343
ian@desktop:~/Apps/Gemstone/GsDevKit_home$ stopStone devKit_343
=================
   GsDevKit script: stopStone devKit_343
              path: /home/ian/Apps/Gemstone/GsDevKit_home/bin/stopStone
=================

HostAllocateFromReservedMemory: mmap() failed, address 0x7fcdb3a80000, size
65536, errno 1
  Operation not permitted

+--------------------------------------------------------------------+
|       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
| Syntax errors, or values that are out of range are listed above,   |
| preceding the summary of non-default values.                       |
|                                                                    |
| Also check your configuration files for proper location and        |
| and values.  Consult your System Administrator's Guide             |
| for more information.                                              |
+--------------------------------------------------------------------+

...finished :: stopStone devKit_343
ian@desktop:~/Apps/Gemstone/GsDevKit_home$

And I am pooched.

Any help would be great...




--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list

It looks like you may have run out of shared memory on your mac ... there are two ways this can happen:

  1. you've got too many stones running and consuming shared memory or you've got some "orphaned" gems or other processes attached to shared memory --- the shared memory segments are not released until all of the processes terminate
    • take a look at the number of stones  that you are running and determine if you need them all and make sure that all of the $GEMSTONE processes are accounted for
  2. on the mac, I recall that there used to be a bug where shared memory was not properly cleaned up and that one had to reboot to set things right ...
    • if you have no other stones running then this might be the issue
  3. you could have other programs that are not related to GemStone consuming shared memory ...
    1. `ipcs -mp` (at least on Ubunutu 18.04) lists the creator PIDS, so you should be able to determine which process is responsible for creating the shared memory and deal with it appropriately

As a last resort (in case you are plagued by item 2) a reboot should get you going again ...

Dale

On 10/21/19 8:11 AM, ian via GemStone-Smalltalk wrote:
I am getting this again on a fresh install.  Not sure why.  On createStone
the process doesn't complete with FATAL ERRORS.

with set -x written to the stopStone script on line 11 I stop and try to
start the stone as seen here:

ian@desktop:~/Apps/Gemstone/GsDevKit_home$ startStone devKit_343
=================
   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
is in startup.

Starting stone: devKit_343
HostAllocateFromReservedMemory: mmap() failed, address 0x7f776efe8000, size
65536, errno 1
  Operation not permitted

+--------------------------------------------------------------------+
|       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
| Syntax errors, or values that are out of range are listed above,   |
| preceding the summary of non-default values.                       |
|                                                                    |
| Also check your configuration files for proper location and        |
| and values.  Consult your System Administrator's Guide             |
| for more information.                                              |
+--------------------------------------------------------------------+
startstone[Info]: GemStone version '3.4.3'
startstone[Info]: Server 'devKit_343' is already running.

...finished :: startStone devKit_343
ian@desktop:~/Apps/Gemstone/GsDevKit_home$ stopStone devKit_343
=================
   GsDevKit script: stopStone devKit_343
              path: /home/ian/Apps/Gemstone/GsDevKit_home/bin/stopStone
=================

HostAllocateFromReservedMemory: mmap() failed, address 0x7fcdb3a80000, size
65536, errno 1
  Operation not permitted

+--------------------------------------------------------------------+
|       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
| Syntax errors, or values that are out of range are listed above,   |
| preceding the summary of non-default values.                       |
|                                                                    |
| Also check your configuration files for proper location and        |
| and values.  Consult your System Administrator's Guide             |
| for more information.                                              |
+--------------------------------------------------------------------+

...finished :: stopStone devKit_343
ian@desktop:~/Apps/Gemstone/GsDevKit_home$ 

And I am pooched.

Any help would be great...




--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
Hi Dale,

Thanks.  This seems to be the problem.  I find it odd tho as using the sys
admin guide I set shared mem to 75% of total real mem in the system.conf
file.

The machine I have now (a dell box with 8GB RAM) is running with a single
stone and nothing else (as in only system services and rsync.

The output of ipcs -mp is:

ian@desktop:~$ ipcs

------ Message Queues --------
key        msqid      owner      perms      used-bytes   messages    

------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 4          ian        600        524288     2          dest        
0x9c02000a 5          ian        660        126713856  4                      
0x00000000 6          ian        600        6778880    2          dest        
0x00000000 7          ian        600        6778880    2          dest        
0x00000000 17         ian        600        1540096    2          dest        
0x00000000 27         ian        600        1540096    2          dest        
0x00000000 36         ian        600        1703936    2          dest        
0x00000000 44         ian        600        1568768    2          dest        
0x00000000 45         ian        600        7057408    2          dest        
0x00000000 46         ian        600        7057408    2          dest        
0x00000000 49         ian        600        86016      2          dest        
0x00000000 50         ian        600        86016      2          dest        
0x00000000 51         ian        600        184320     2          dest        
0x00000000 52         ian        600        184320     2          dest        

------ Semaphore Arrays --------
key        semid      owner      perms      nsems    
0x9c02000a 0          ian        660        105      

It seems that upon startup of the netldi and the stone all is fine.  As soon
as I try to stop the stone I get the error:

ian@desktop:~$ stopstone                                                            
HostAllocateFromReservedMemory: mmap() failed, address 0x7f881245c000, size
65536, e
rrno 1                                                                              
  Operation not permitted                                                          
om::AllocateMemory failed for 50000KBytes, cannot login                        

+--------------------------------------------------------------------+
|       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
| Syntax errors, or values that are out of range are listed above,   |
| preceding the summary of non-default values.                       |
|                                                                    |
| Also check your configuration files for proper location and        |
| and values.  Consult your System Administrator's Guide             |
| for more information.                                              |
+--------------------------------------------------------------------+

My shared mem as per sysctl.conf is:

ernel.shmmax=6289096704
kernel.shmall=1572274

Is there a setting in the gemstone system.conf file that you know of that
would resole this so a reboot is not necessary (seems clumsy).

Thanks!





--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
Does the `HostAllocateFromReservedMemory` error happen every time you
stop the stone?

The problem that I remember is that the error would show up after using
the system for awhile. It's been a couple of years since I had a Mac
laptop and it was several years before that that I recall seeing the
issue of "sticky shared memory".

What version of the mac os are you using?

Dale

On 10/21/19 3:11 PM, ian via GemStone-Smalltalk wrote:

> Hi Dale,
>
> Thanks.  This seems to be the problem.  I find it odd tho as using the sys
> admin guide I set shared mem to 75% of total real mem in the system.conf
> file.
>
> The machine I have now (a dell box with 8GB RAM) is running with a single
> stone and nothing else (as in only system services and rsync.
>
> The output of ipcs -mp is:
>
> ian@desktop:~$ ipcs
>
> ------ Message Queues --------
> key        msqid      owner      perms      used-bytes   messages
>
> ------ Shared Memory Segments --------
> key        shmid      owner      perms      bytes      nattch     status
> 0x00000000 4          ian        600        524288     2          dest
> 0x9c02000a 5          ian        660        126713856  4
> 0x00000000 6          ian        600        6778880    2          dest
> 0x00000000 7          ian        600        6778880    2          dest
> 0x00000000 17         ian        600        1540096    2          dest
> 0x00000000 27         ian        600        1540096    2          dest
> 0x00000000 36         ian        600        1703936    2          dest
> 0x00000000 44         ian        600        1568768    2          dest
> 0x00000000 45         ian        600        7057408    2          dest
> 0x00000000 46         ian        600        7057408    2          dest
> 0x00000000 49         ian        600        86016      2          dest
> 0x00000000 50         ian        600        86016      2          dest
> 0x00000000 51         ian        600        184320     2          dest
> 0x00000000 52         ian        600        184320     2          dest
>
> ------ Semaphore Arrays --------
> key        semid      owner      perms      nsems
> 0x9c02000a 0          ian        660        105
>
> It seems that upon startup of the netldi and the stone all is fine.  As soon
> as I try to stop the stone I get the error:
>
> ian@desktop:~$ stopstone
> HostAllocateFromReservedMemory: mmap() failed, address 0x7f881245c000, size
> 65536, e
> rrno 1
>    Operation not permitted
> om::AllocateMemory failed for 50000KBytes, cannot login
>
> +--------------------------------------------------------------------+
> |       !!! FATAL ERRORS IN GemStone CONFIGURATION FILES !!!         |
> | Syntax errors, or values that are out of range are listed above,   |
> | preceding the summary of non-default values.                       |
> |                                                                    |
> | Also check your configuration files for proper location and        |
> | and values.  Consult your System Administrator's Guide             |
> | for more information.                                              |
> +--------------------------------------------------------------------+
>
> My shared mem as per sysctl.conf is:
>
> ernel.shmmax=6289096704
> kernel.shmall=1572274
>
> Is there a setting in the gemstone system.conf file that you know of that
> would resole this so a reboot is not necessary (seems clumsy).
>
> Thanks!
>
>
>
>
>
> --
> Sent from: http://forum.world.st/Gemstone-S-f1461796.html
> _______________________________________________
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
Dale,

Yes, every time without fail.

I am using Debian on a Dell box.

Thx



--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list

I saw Apps in your path and figured (wrongly) that you were running on a mac with the known problem .... I've never seen a problem with shared memory on a linux system that wasn't caused by anything but "not enough shared memory" ..

In this particular case it seems that the `AllocateMemory` error is likely that there isn't enough swap space for the stopStone gem to run .. this is the analysis of our vm engineer:

GemStone has done an mmap( MAP_NORESERVE ) of a large memory region (perhaps 100MB)
A subsequent mmap( MAP_PRIVATE | MAP_FIXED )  to bring into
use a small part (64KB) of that region has failed.

Check the memory summary as shown by /usr/bin/top
and possibly sort the output of top by memory usage (interactive top, M key )
to find unexpected old processes holding a lot of memory .

How much swap do you have configured ?   check with  /sbin/swapon - s  .
We recommend at least 1GB swap for 8GB Ram.  mmap can fail prematurely
if there is no swap configured.

If you don't have any swap partitions,
you can create a swap file on a filesystem
  fallocate --length 1GiB swapfile
  mkswap  swapfile
  swapon  swapfile
Then add an entry /etc/fstab  , sequenced after mounting the file system of swapfile
to automatically mount the swap file at next reboot.
Dale

On 10/22/19 2:23 AM, ian via GemStone-Smalltalk wrote:
Dale,

Yes, every time without fail.

I am using Debian on a Dell box.

Thx



--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
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
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
Hi Dale and Dev,

Sorry for the late response.

Here we go:

Details:  

1. System is Gemstone only.

Process (Synopses):

1. Reboot
2. Prompt: top (picture attached)
3. Swapon -s (picture attached)
4. Start Gemstone processes:
            i. startnetldi (starts with no issues)
           ii. startstone  (starts with no issues)
5. Prompt: top (picture attached)
6. Prompt: stopstone (picture attached)

Process: (Complete)

2. Prompt: top:  SystemMemUseAtReboot.PNG
<http://forum.world.st/file/t372241/SystemMemUseAtReboot.PNG>  
3. prompt: sudo swapon -s:  sbin.PNG
<http://forum.world.st/file/t372241/sbin.PNG>  
4. Start Gemstone:  ProcessesAfter.PNG
<http://forum.world.st/file/t372241/ProcessesAfter.PNG>  
5. prompt: top:  TopAfter.PNG
<http://forum.world.st/file/t372241/TopAfter.PNG>  
6. prompt: stopstone:   stopstone.PNG
<http://forum.world.st/file/t372241/stopstone.PNG>  

As a side note I am unable to login to the stone using rpc and having the
sticky bit set on netldid.  It errors with:  NetldiLoginError.PNG
<http://forum.world.st/file/t372241/NetldiLoginError.PNG>  

I am not sure if the two are related.  Could be a PAM issue although I
believe I have it configured properly. As per:

/etc/pam.d/gemstone.netldi:

auth    required    pam_usnix.so
session    required    pam_unix.so

When this didn't work I tried adding the same lines to
/etc/pam.d/gemstone.gem resulting in the same connection error.

I include this as a possible red herring but do so because it does not look
like the allocation of memory happens upon start netldi and startstone even
thought hey look like they start without issues.

Hopefully all this helps you help me :)



--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Problems starting my stone.

Gemstone/S mailing list
Okay, I rebuild the whole system from scratch.

Netldi starts and stops correctly
storestone starts and stops correctly

Upon topaz login I get:

|             GemStone/S64 Object-Oriented Data Management System            
|
|                   Copyright (C) GemTalk Systems 1986-2019                  
|
|                            All rights reserved.                            
|
+-----------------------------------------------------------------------------+
|    PROGRAM: topaz, Linear GemStone Interface (Remote Session)              
|
|    VERSION: 3.5.0, Thu May 30 19:20:23 2019                                
|
|      BUILD: 64bit-46205                                                    
|
|  BUILT FOR: x86-64 (Linux)                                                
|
| RUNNING ON: 4-CPU debian x86_64 (Linux 4.19.0-6-amd64 #1 SMP Debian
4.19.67-2+deb10u1
| (2019-09-20))                                                              
|
|  PROCESSOR: 4-core Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz (Ivy Bridge)  
|
|     MEMORY: 7933 MB                                                        
|
| PROCESS ID: 10030     DATE: 2019-10-30 20:27:36 EDT  (UTC -4:00)          
|
|   USER IDS: REAL=ian (1000) EFFECTIVE=ian (1000) LOGIN=ian (1000)          
|
+-----------------------------------------------------------------------------+
| DATEFORMAT: %Y-%m-%d %H:%M:%S %Z                                          
|
|_____________________________________________________________________________|
neither .topazini nor $HOME/.topazini were found
topaz> set username DataCurator
topaz> set password swordfish
topaz> set gemnetid gemnetobject
topaz> set gemstone gs64stone
topaz> login
-----------------------------------------------------
GemStone: Error         Fatal
Unable to create a session, check netldi and gem log files.

Error Category: [GemStone] Number: 4042 ssl call to netldi failed, ; Netldi
'gs64ldi' on host 'debian' reports the request 'gemnetobject' failed:
Password validation failed for user ian, pam_authenticate error:7,
Authentication failure Arg Count: 0

Login failed due to errors.
topaz>
─────────────────────────────────────────

The following is the only thing I can see that may be a problem in the logs
is: $GEMSTONE/data/gs64stone.log:
    ...
    Started AIO page server, processId 9742

    :: (wildcard) found in listening addresses, ignoring other addresses
    listening on loopback 127.0.0.1
    Created listening socket for :: on :: port 43013
Warning: listen on 127.0.0.1 port 43013 failed, bind(21, 127.0.0.1,
port=43013)
Failed to listen on 127.0.0.1

    Opened page manager thread log
/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/data/gs64stone_9731pagemanager.log

    Opened a transaction log file for log_read_nolocks.
       filename = /GS_LOGS/tranlog2.dbf


Help!!


Help!!



--
Sent from: http://forum.world.st/Gemstone-S-f1461796.html
_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk