Error while connecting to Gemstone

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

Error while connecting to Gemstone

Bart Veenstra
Hi,

I am taking my first steps towards using gemstone as my OODB, but I
can't connect from my Pharo 1.1 image to the gemstone 2.4.4.1
installation I have installed using the installGemstone.sh script.

I installed the gemstone server on a the latest Ubuntu Server in a
virtual machine.

All systems seems to be running on the ubuntu machine:

Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
  OK   2.4.4.1   bveenstra  1135 56885 Sep 25 11:06 cache
[hidden email]
  OK   2.4.4.1   bveenstra  1389 50377 Sep 25 11:53 Netldi gs64ldi
  OK   2.4.4.1   bveenstra  1134 53828 Sep 25 11:06 Stone  seaside

But When I connect from my pharo image using the latest gemtools
client i get the following error:

'Unable to create a GemStone session.
Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
''gemnetobject'' failed:
Server is unable to create the requested task:
Server is unable to read the password file entry for user ''Bart'': '

I am using Pharo on a Win 7 64 platform as the user Bart.

I can connect the virtual appliance with the oneclick gemstone image,
but I require Seaside 3.0 for my projects.

Could someone point me in the right direction?

Kind regards,

Bart Veenstra
Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

SeanTAllen
You want to connect as the user DataCurator. 

On Mon, Sep 27, 2010 at 1:04 PM, Bart Veenstra <[hidden email]> wrote:
Hi,

I am taking my first steps towards using gemstone as my OODB, but I
can't connect from my Pharo 1.1 image to the gemstone 2.4.4.1
installation I have installed using the installGemstone.sh script.

I installed the gemstone server on a the latest Ubuntu Server in a
virtual machine.

All systems seems to be running on the ubuntu machine:

Status  Version    Owner    Pid   Port   Started     Type  Name
------ --------- --------- ----- ----- ------------ ------ ----
 OK   2.4.4.1   bveenstra  1135 56885 Sep 25 11:06 cache
[hidden email]
 OK   2.4.4.1   bveenstra  1389 50377 Sep 25 11:53 Netldi gs64ldi
 OK   2.4.4.1   bveenstra  1134 53828 Sep 25 11:06 Stone  seaside

But When I connect from my pharo image using the latest gemtools
client i get the following error:

'Unable to create a GemStone session.
Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
''gemnetobject'' failed:
Server is unable to create the requested task:
Server is unable to read the password file entry for user ''Bart'': '

I am using Pharo on a Win 7 64 platform as the user Bart.

I can connect the virtual appliance with the oneclick gemstone image,
but I require Seaside 3.0 for my projects.

Could someone point me in the right direction?

Kind regards,

Bart Veenstra

Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

Bart Veenstra
This is how I try to connect:

OGStandardSessionDescription new
        name: 'Standard';
        stoneHost: 'ubuntu';
        stoneName: 'seaside';
        gemHost: 'glass';
        netLDI: '50377';
        userId: 'DataCurator';
        password: 'swordfish';
        backupDirectory: '';
        yourself.

But I don't know why it wants to connect as Bart..

2010/9/27 Sean Allen <[hidden email]>:

> You want to connect as the user DataCurator.
>
> On Mon, Sep 27, 2010 at 1:04 PM, Bart Veenstra <[hidden email]>
> wrote:
>>
>> Hi,
>>
>> I am taking my first steps towards using gemstone as my OODB, but I
>> can't connect from my Pharo 1.1 image to the gemstone 2.4.4.1
>> installation I have installed using the installGemstone.sh script.
>>
>> I installed the gemstone server on a the latest Ubuntu Server in a
>> virtual machine.
>>
>> All systems seems to be running on the ubuntu machine:
>>
>> Status  Version    Owner    Pid   Port   Started     Type  Name
>> ------ --------- --------- ----- ----- ------------ ------ ----
>>  OK   2.4.4.1   bveenstra  1135 56885 Sep 25 11:06 cache
>> [hidden email]
>>  OK   2.4.4.1   bveenstra  1389 50377 Sep 25 11:53 Netldi gs64ldi
>>  OK   2.4.4.1   bveenstra  1134 53828 Sep 25 11:06 Stone  seaside
>>
>> But When I connect from my pharo image using the latest gemtools
>> client i get the following error:
>>
>> 'Unable to create a GemStone session.
>> Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
>> ''gemnetobject'' failed:
>> Server is unable to create the requested task:
>> Server is unable to read the password file entry for user ''Bart'': '
>>
>> I am using Pharo on a Win 7 64 platform as the user Bart.
>>
>> I can connect the virtual appliance with the oneclick gemstone image,
>> but I require Seaside 3.0 for my projects.
>>
>> Could someone point me in the right direction?
>>
>> Kind regards,
>>
>> Bart Veenstra
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

James Foster-8
In reply to this post by Bart Veenstra
On Sep 27, 2010, at 10:04 AM, Bart Veenstra wrote:

> 'Unable to create a GemStone session.
> Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
> ''gemnetobject'' failed:
> Server is unable to create the requested task:
> Server is unable to read the password file entry for user ''Bart'': '

Bart,

How did you start the NetLDI? In my experience, this error typically means that NetLDI was started without specifying " -g -a <userId> " as arguments. Can you try a gslist -x so we can see the arguments to the startnetldi command?

James

Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

Bart Veenstra
bveenstra@ubuntu:~$ gslist -x
[hidden email]
  status=  exists
  type=    cache
  version= 2.4.4.1
  owner=   bveenstra
  started= Sep 25 11:06
  pid=     1135
  port=    56885
  options=  maxPages=31250, maxClients=49, spinCount=5000
targetFreeFrameCount=3906 numFFPgsvrs=1 numSharedCounters=1900
  logfile= /opt/gemstone/log/seaside_1135pcmon.log
  GEMSTONE=/opt/gemstone/product
gs64ldi
  status=  exists
  type=    Netldi
  version= 2.4.4.1
  owner=   bveenstra
  started= Sep 27 12:42
  pid=     6048
  port=    50377
  logfile= /opt/gemstone/log/gs64ldi.log
  GEMSTONE=/opt/gemstone/product
seaside
  status=  exists
  type=    Stone
  version= 2.4.4.1
  owner=   bveenstra
  started= Sep 25 11:06
  pid=     1134
  port=    53828
  logfile= /opt/gemstone/log/seaside.log
  sysconf= /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
  GEMSTONE=/opt/gemstone/product

I did not create a seperate user for the glass installation because
this is only a test machine. Should that matter?


2010/9/27 James Foster <[hidden email]>:

> On Sep 27, 2010, at 10:04 AM, Bart Veenstra wrote:
>
>> 'Unable to create a GemStone session.
>> Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
>> ''gemnetobject'' failed:
>> Server is unable to create the requested task:
>> Server is unable to read the password file entry for user ''Bart'': '
>
> Bart,
>
> How did you start the NetLDI? In my experience, this error typically means that NetLDI was started without specifying " -g -a <userId> " as arguments. Can you try a gslist -x so we can see the arguments to the startnetldi command?
>
> James
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

James Foster-8
On my machine I get the following:

gs64ldi
  status=    OK  
  type=    Netldi
  version= 2.4.4.1
  owner=   jfoster
  started= Sep 27 12:46
  pid=     3158
  port=    50377
  options=  -g -a jfoster
  logfile= /opt/gemstone/log/gs64ldi.log
  GEMSTONE=/opt/gemstone/product

Note the additional line for the 'options' that doesn't exist in your output. I'd suggest that you add '-g -a bveenstra' to your startnetldi command.

James

On Sep 27, 2010, at 12:42 PM, Bart Veenstra wrote:

> bveenstra@ubuntu:~$ gslist -x
> [hidden email]
>  status=  exists
>  type=    cache
>  version= 2.4.4.1
>  owner=   bveenstra
>  started= Sep 25 11:06
>  pid=     1135
>  port=    56885
>  options=  maxPages=31250, maxClients=49, spinCount=5000
> targetFreeFrameCount=3906 numFFPgsvrs=1 numSharedCounters=1900
>  logfile= /opt/gemstone/log/seaside_1135pcmon.log
>  GEMSTONE=/opt/gemstone/product
> gs64ldi
>  status=  exists
>  type=    Netldi
>  version= 2.4.4.1
>  owner=   bveenstra
>  started= Sep 27 12:42
>  pid=     6048
>  port=    50377
>  logfile= /opt/gemstone/log/gs64ldi.log
>  GEMSTONE=/opt/gemstone/product
> seaside
>  status=  exists
>  type=    Stone
>  version= 2.4.4.1
>  owner=   bveenstra
>  started= Sep 25 11:06
>  pid=     1134
>  port=    53828
>  logfile= /opt/gemstone/log/seaside.log
>  sysconf= /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
>  GEMSTONE=/opt/gemstone/product
>
> I did not create a seperate user for the glass installation because
> this is only a test machine. Should that matter?
>
>
> 2010/9/27 James Foster <[hidden email]>:
>> On Sep 27, 2010, at 10:04 AM, Bart Veenstra wrote:
>>
>>> 'Unable to create a GemStone session.
>>> Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
>>> ''gemnetobject'' failed:
>>> Server is unable to create the requested task:
>>> Server is unable to read the password file entry for user ''Bart'': '
>>
>> Bart,
>>
>> How did you start the NetLDI? In my experience, this error typically means that NetLDI was started without specifying " -g -a <userId> " as arguments. Can you try a gslist -x so we can see the arguments to the startnetldi command?
>>
>> James
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

Bart Veenstra
That did the trick! Can't wait to start using Gemstone! Hopefully, it
will give me a lot more freedom and less fuss than Glorp...

2010/9/27 James Foster <[hidden email]>:

> On my machine I get the following:
>
> gs64ldi
>  status=    OK
>  type=    Netldi
>  version= 2.4.4.1
>  owner=   jfoster
>  started= Sep 27 12:46
>  pid=     3158
>  port=    50377
>  options=  -g -a jfoster
>  logfile= /opt/gemstone/log/gs64ldi.log
>  GEMSTONE=/opt/gemstone/product
>
> Note the additional line for the 'options' that doesn't exist in your output. I'd suggest that you add '-g -a bveenstra' to your startnetldi command.
>
> James
>
> On Sep 27, 2010, at 12:42 PM, Bart Veenstra wrote:
>
>> bveenstra@ubuntu:~$ gslist -x
>> [hidden email]
>>  status=  exists
>>  type=    cache
>>  version= 2.4.4.1
>>  owner=   bveenstra
>>  started= Sep 25 11:06
>>  pid=     1135
>>  port=    56885
>>  options=  maxPages=31250, maxClients=49, spinCount=5000
>> targetFreeFrameCount=3906 numFFPgsvrs=1 numSharedCounters=1900
>>  logfile= /opt/gemstone/log/seaside_1135pcmon.log
>>  GEMSTONE=/opt/gemstone/product
>> gs64ldi
>>  status=  exists
>>  type=    Netldi
>>  version= 2.4.4.1
>>  owner=   bveenstra
>>  started= Sep 27 12:42
>>  pid=     6048
>>  port=    50377
>>  logfile= /opt/gemstone/log/gs64ldi.log
>>  GEMSTONE=/opt/gemstone/product
>> seaside
>>  status=  exists
>>  type=    Stone
>>  version= 2.4.4.1
>>  owner=   bveenstra
>>  started= Sep 25 11:06
>>  pid=     1134
>>  port=    53828
>>  logfile= /opt/gemstone/log/seaside.log
>>  sysconf= /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
>>  GEMSTONE=/opt/gemstone/product
>>
>> I did not create a seperate user for the glass installation because
>> this is only a test machine. Should that matter?
>>
>>
>> 2010/9/27 James Foster <[hidden email]>:
>>> On Sep 27, 2010, at 10:04 AM, Bart Veenstra wrote:
>>>
>>>> 'Unable to create a GemStone session.
>>>> Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
>>>> ''gemnetobject'' failed:
>>>> Server is unable to create the requested task:
>>>> Server is unable to read the password file entry for user ''Bart'': '
>>>
>>> Bart,
>>>
>>> How did you start the NetLDI? In my experience, this error typically means that NetLDI was started without specifying " -g -a <userId> " as arguments. Can you try a gslist -x so we can see the arguments to the startnetldi command?
>>>
>>> James
>>>
>>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Error while connecting to Gemstone

SeanTAllen
Much less fuss indeed. 

On Mon, Sep 27, 2010 at 4:16 PM, Bart Veenstra <[hidden email]> wrote:
That did the trick! Can't wait to start using Gemstone! Hopefully, it
will give me a lot more freedom and less fuss than Glorp...

2010/9/27 James Foster <[hidden email]>:
> On my machine I get the following:
>
> gs64ldi
>  status=    OK
>  type=    Netldi
>  version= 2.4.4.1
>  owner=   jfoster
>  started= Sep 27 12:46
>  pid=     3158
>  port=    50377
>  options=  -g -a jfoster
>  logfile= /opt/gemstone/log/gs64ldi.log
>  GEMSTONE=/opt/gemstone/product
>
> Note the additional line for the 'options' that doesn't exist in your output. I'd suggest that you add '-g -a bveenstra' to your startnetldi command.
>
> James
>
> On Sep 27, 2010, at 12:42 PM, Bart Veenstra wrote:
>
>> bveenstra@ubuntu:~$ gslist -x
>> [hidden email]
>>  status=  exists
>>  type=    cache
>>  version= 2.4.4.1
>>  owner=   bveenstra
>>  started= Sep 25 11:06
>>  pid=     1135
>>  port=    56885
>>  options=  maxPages=31250, maxClients=49, spinCount=5000
>> targetFreeFrameCount=3906 numFFPgsvrs=1 numSharedCounters=1900
>>  logfile= /opt/gemstone/log/seaside_1135pcmon.log
>>  GEMSTONE=/opt/gemstone/product
>> gs64ldi
>>  status=  exists
>>  type=    Netldi
>>  version= 2.4.4.1
>>  owner=   bveenstra
>>  started= Sep 27 12:42
>>  pid=     6048
>>  port=    50377
>>  logfile= /opt/gemstone/log/gs64ldi.log
>>  GEMSTONE=/opt/gemstone/product
>> seaside
>>  status=  exists
>>  type=    Stone
>>  version= 2.4.4.1
>>  owner=   bveenstra
>>  started= Sep 25 11:06
>>  pid=     1134
>>  port=    53828
>>  logfile= /opt/gemstone/log/seaside.log
>>  sysconf= /opt/gemstone/GemStone64Bit2.4.4.1-x86_64.Linux/seaside/data/system.conf
>>  GEMSTONE=/opt/gemstone/product
>>
>> I did not create a seperate user for the glass installation because
>> this is only a test machine. Should that matter?
>>
>>
>> 2010/9/27 James Foster <[hidden email]>:
>>> On Sep 27, 2010, at 10:04 AM, Bart Veenstra wrote:
>>>
>>>> 'Unable to create a GemStone session.
>>>> Netldi ''gs64ldi'' on host ''ubuntu'' reports the request
>>>> ''gemnetobject'' failed:
>>>> Server is unable to create the requested task:
>>>> Server is unable to read the password file entry for user ''Bart'': '
>>>
>>> Bart,
>>>
>>> How did you start the NetLDI? In my experience, this error typically means that NetLDI was started without specifying " -g -a <userId> " as arguments. Can you try a gslist -x so we can see the arguments to the startnetldi command?
>>>
>>> James
>>>
>>>
>
>