[Glass] Problem starting GemStone

Mariano Martinez Peck marianopeck at gmail.com
Tue Nov 19 09:27:34 PST 2013


On Tue, Nov 19, 2013 at 2:10 PM, Dale K. Henrichs <
dale.henrichs at gemtalksystems.com> wrote:

> Mariano,
>
> There is a utility script called `startnet` in the seaside/bin directory
> (should be in your path if did `. defSeaside` that starts the netldi with
> the appropriate arguments ...
>
> `startnetldi -h` and `man startnetldi` (I think this should work) can be
> used for more information about the options being set ...
>
>
Thanks Dale. Running startnet fixed it.
So...just to undertand..is it ok that I have to manually run it or
startGemstone is supposed to do that?

What is weird is that it is the first time it happened to me (also, first
time I reboot the machine since I last installed gemstone).
So I guess it was run by the install script and then never again?

Or maybe the GemStoneApp did it for me...

Thanks Dale


> Dale
>
> ------------------------------
>
> *From: *"Mariano Martinez Peck" <marianopeck at gmail.com>
> *To: *"Dale K. Henrichs" <dale.henrichs at gemtalksystems.com>
> *Cc: *glass at lists.gemtalksystems.com
> *Sent: *Tuesday, November 19, 2013 9:00:21 AM
> *Subject: *Re: [Glass] Problem starting GemStone
>
>
> mmmm gemstone started but I cannot connect from GemClient.
>
> First, I got this error:
>
> 'Unable to create a GemStone session.
> NetLDI service ''50377'' not found on node ''localhost'' port 50377 :
> connect(11,::ffff:127.0.0.1,port=50377) failed with errno=22,EINVAL,
> Invalid argument (programmer error)'
>
>
> % cat /etc/services | grep Gemstone
> gs64ldi         50377/tcp        # Gemstone netldi
>
>
>
> % nmap -p 50377 localhost
>
> Starting Nmap 6.25 ( http://nmap.org ) at 2013-11-19 13:52 ART
> Nmap scan report for localhost (127.0.0.1)
> Host is up (0.00013s latency).
> PORT      STATE  SERVICE
> 50377/tcp closed unknown
>
> Nmap done: 1 IP address (1 host up) scanned in 0.08 seconds
>
>
>
> So...since netldi look like not started, I manually start it (should I do
> this or should be started automatically by startGemstone?)
>
> % startnetldi
>
> After that, the error from GemClient is now:
>
> 'Unable to create a GemStone session.
> Netldi ''gs64ldi'' on host ''MacBook-Pro-de-Mariano.local'' reports the
> request ''gemnetobject'' failed:
> You have supplied an incorrect password for user ''mariano''.'
>
> mmmm maybe I need to start startnetldi with some arguments....
>
> Thanks!
>
>
>
> On Tue, Nov 19, 2013 at 1:14 PM, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
>
>>
>>
>>
>> On Tue, Nov 19, 2013 at 12:56 PM, Dale K. Henrichs <
>> dale.henrichs at gemtalksystems.com> wrote:
>>
>>> Mariano,
>>>
>>> I think that your `kern.sysv.shmall: 8192` might be too small ... on my
>>> mac I've got `kern.sysv.shmall: 524288` and `kern.sysv.shmmax: 2147483648`,
>>> but I'm suspicious about the small value of shmall.
>>>
>>
>> Thanks DAle, that was it!!!
>>
>> Of course...
>>
>> getconf PAGE_SIZE
>>
>> gave me 4096.  shmall should be at least, shmmax/pageSize.  With yours 524288*4096
>> I get 2GB which is more than enough with  a shmmax of 1GB.
>>
>>
>> Thanks!
>>
>>
>>> Dale
>>> ------------------------------
>>>
>>> *From: *"Mariano Martinez Peck" <marianopeck at gmail.com>
>>> *To: *glass at lists.gemtalksystems.com
>>> *Sent: *Tuesday, November 19, 2013 7:22:20 AM
>>> *Subject: *[Glass] Problem starting GemStone
>>>
>>>
>>> Hi guys,
>>>
>>> I am trying to start GemStone and I have this error in
>>> the seaside_534pcmon.log.
>>>
>>>  GemStone could not retrieve the IPC identifier associated with the
>>> memory |
>>> |   key -234568194.  shmget() error = errno=12,ENOMEM, Not enough core
>>> (memory|
>>> | exhausted, or user quota exceeded).
>>>
>>> I have this:   SHR_PAGE_CACHE_SIZE_KB = 500000;
>>> And my kernel answers:
>>>
>>> kern.sysv.shmmax: 1073741824
>>> kern.sysv.shmmin: 1
>>> kern.sysv.shmmni: 256
>>> kern.sysv.shmseg: 64
>>> kern.sysv.shmall: 8192
>>>
>>> So I have set 1gb in shmmax and my SHR_PAGE_CACHE_SIZE_KB is 500 MB.
>>>
>>> I also trying removing the stuff in /opt/gemstone/locks/  but same
>>> problem.
>>>
>>> SHR_PAGE_CACHE_NUM_PROCS is 49.
>>>
>>> ipcs  shows:
>>>
>>>
>>> % ipcs -a
>>> dyld: DYLD_ environment variables being ignored because main executable
>>> (/usr/bin/ipcs) is setuid or setgid
>>> IPC status from <running system> as of Tue Nov 19 12:18:35 ART 2013
>>> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP
>>> CBYTES  QNUM QBYTES LSPID LRPID   STIME    RTIME    CTIME
>>> Message Queues:
>>> q  65536 0x000463c1 --rw-------  mariano    staff  mariano    staff
>>>  0      0   2048      0      0 no-entry no-entry 12:09:02
>>>
>>> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP
>>> NATTCH  SEGSZ  CPID  LPID   ATIME    DTIME    CTIME
>>> Shared Memory:
>>> m  65536 0x0052e2c1 --rw-------  mariano    staff  mariano    staff
>>>  5 32374784    321    321 12:09:01 12:09:01 12:09:01
>>>
>>> T     ID     KEY        MODE       OWNER    GROUP  CREATOR   CGROUP
>>> NSEMS   OTIME    CTIME
>>> Semaphores:
>>> s  65536 0x0052e2c1 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65537 0x0052e2c2 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65538 0x0052e2c3 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65539 0x0052e2c4 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65540 0x0052e2c5 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65541 0x0052e2c6 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65542 0x0052e2c7 --ra-------  mariano    staff  mariano    staff
>>> 17 12:09:01 12:09:01
>>> s  65543 0x000463c1 --ra-------  mariano    staff  mariano    staff
>>>  1 12:09:02 12:09:02
>>>
>>>
>>> I don't know much about ipcs but Shared Memory for the column QBYTES
>>> shows 32374784 (32MB)...
>>>
>>> I also attach logs just in case.
>>>
>>> Thanks for any help.
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.com
>>>
>>> _______________________________________________
>>> Glass mailing list
>>> Glass at lists.gemtalksystems.com
>>> http://lists.gemtalksystems.com/mailman/listinfo/glass
>>>
>>>
>>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20131119/9aee5f84/attachment-0001.html>


More information about the Glass mailing list