[Glass] Jadeite not connecting
James Foster
Smalltalk at JGFoster.net
Wed Dec 3 10:29:23 PST 2025
Did you see Norm’s comment about how to start NetLDI? The "Incorrect password for user 'tariq' error indicates that NetLDI is rtrying to start a new process (Gem) as a specific user and it doesn’t have that user’s password. What you want to do is start netldi with `-g -a tariq` so that all gems are automatically started as you without a password needed.
James
> On Dec 3, 2025, at 4:25 AM, Tariq Hamid <tariq at hamid.com> wrote:
>
> I have the same error on Linux using Gemstone 3.7.5.1 beta:
>
> $ cat /opt/gemstone/log/gs64ldi.log
> ________________________________________________________________________________
> | GemStone/S64 Object-Oriented Data Management System |
> | Copyright (C) GemTalk Systems 1986-2025 |
> | All rights reserved. |
> +--------------------------------------------------------------------------------+
> | PROGRAM: NETLDI, GemStone Network Daemon |
> | VERSION: 3.7.5, Sat Sep 13 10:48:20 2025 (branch 3.7.5) |
> | COMMIT: 2025-09-12T22:38:32-07:00 8c7200a3ff43af0406ed34c053372f2914ed84ad |
> | BUILT FOR: x86-64 (Linux) |
> | RUNNING ON: 8-CPU debian x86_64 (Linux 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC
> | Debian 6.12.57-1 (2025-11-05)) |
> | PROCESSOR: Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz (Ice Lake) |
> | MEMORY: 15778 MB |
> | PROCESS ID: 156532 DATE: 12/03/25 12:03:37 GMT (UTC +0:00) |
> | USER IDS: REAL=tariq (1000) EFFECTIVE=tariq (1000) LOGIN=tariq (1000) |
> +--------------------------------------------------------------------------------+
> | GEMSTONE_NRS_ALL = !#netldi:gs64ldi |
> |________________________________________________________________________________|
>
> synthesizing :: , listening on wildcard
> Using OS translation of service name gs64ldi to port 50377
> Created listening socket on :: port 50377
>
> Server socket gs64ldi created
> Summary of netldi parameters:
> The host name is 'debian'.
> GEMSTONE is '/home/tariq/gemstone/3.7.5'.
> GEMSTONE_NRS_ALL is: '!#netldi:gs64ldi'.
> Authentication is required only to create processes.
> Process creation is permitted through user's HOME directory.
> Created processes belong to client's account.
> The command line is:
> /home/tariq/gemstone/3.7.5/sys/netldid -d gs64ldi
> current directory is /home/tariq
> --- 12/03/25 12:03:37.397 GMT Entering Service Loop
>
> --- 12/03/25 12:16:10.132 GMT Client 1: Finished reading client request:
> Client is a rpc application on localhost
> '!#encrypted:tariq!gemnetobject'
> Status byte to client: ok=1, useKerberos=0.
> Shutting down SSL connection
> 12/03/25 12:16:10 GMT Authorization Warning:
> Incorrect password for user 'tariq'.
> error =
> hostpw decryption failed
> --- 12/03/25 12:16:10.133 GMT Client 1: Reply to client started:
> 'ERROR Netldi 'gs64ldi' on host 'debian' reports the request 'gemnetobject' failed: '
> --- 12/03/25 12:16:10.134 GMT Client 1: Disposed. elapsed time = 2ms
>
> --- 12/03/25 12:17:36.070 GMT Client 2: Finished reading client request:
> Client is a rpc application on localhost
> '!#encrypted:tariq at password!gemnetobject'
> Status byte to client: ok=1, useKerberos=0.
> Shutting down SSL connection
>
> <Screenshot_20251203_121957.png>
>
>
> On Mon, 1 Dec 2025 at 18:31, Tariq Hamid <tariq at hamid.com <mailto:tariq at hamid.com>> wrote:
>> Dear James
>>
>> The log file: /opt/gemstone/log/gs64ldi.log
>> shows the error:
>> --- 12/01/25 18:23:41.186 GMT Client 1: Finished reading client request:
>> Client is a rpc application on localhost
>> '!#encrypted:tariq!gemnetobject'
>> Status byte to client: ok=1, useKerberos=0.
>> Shutting down SSL connection
>> 12/01/25 18:23:41 GMT Authorization Warning:
>> Incorrect password for user 'tariq'.
>> error =
>> hostpw decryption failed
>>
>> But I am using the Gemstone user SystemUser or DataCurator with the default password, swordfish
>> I have not supplied my MacBook username, tariq or password.
>>
>>
>> Here is more output:
>>
>> topaz> set user DataCurator pass swordfish gems gs64stone gemn gemnetobject
>> Warning: clearing the previous GemStone password.
>> topaz> login
>> [01/12/2025 18:07:33.259 GMT]
>> gci login: currSession 1 rpc gem processId 7008 socket 4
>> successful login
>> topaz 1> printit
>> 1+1
>> %
>> 2
>>
>> % stopnetldi
>> stopnetldi[Info]: GemStone version '3.7.4.3'
>> stopnetldi[Info]: GemStone server 'gs64ldi' has been stopped.
>> tariq at Tariqs-MacBook-Pro-2 64bit % rm /opt/gemstone/log/gs64ldi.log
>> tariq at Tariqs-MacBook-Pro-2 64bit % startnetldi -d
>> startnetldi[Info]: setting GEMSTONE_NRS_ALL='!#netldi:gs64ldi'
>> startnetldi[Info]: GemStone version '3.7.4.3'
>> startnetldi[Info]: Starting GemStone network server 'gs64ldi'.
>> startnetldi[Info]: GEMSTONE is: '/Users/tariq/GemStone64Bit3.7.4.3-arm64.Darwin'
>> startnetldi[Info]: Log file is '/opt/gemstone/log/gs64ldi.log'.
>> startnetldi[Info]: GemStone server 'gs64ldi' has been started, process 7465
>>
>>
>>
>> <image.png>
>>
>> % more /opt/gemstone/log/gs64ldi.log
>> Server socket gs64ldi created
>> Summary of netldi parameters:
>> The host name is 'Tariqs-MacBook-Pro-2.local'.
>> GEMSTONE is '/Users/tariq/GemStone64Bit3.7.4.3-arm64.Darwin'.
>> GEMSTONE_NRS_ALL is: '!#netldi:gs64ldi'.
>> Authentication is required only to create processes.
>> Process creation is permitted through user's HOME directory.
>> Created processes belong to client's account.
>> The command line is:
>> /Users/tariq/GemStone64Bit3.7.4.3-arm64.Darwin/sys/netldid -d gs64ldi
>> current directory is /Users/tariq/gemstone/src/clientLibs/3.7.4.3/64bit <http://3.7.4.3/64bit>
>> --- 12/01/25 18:22:35.797 GMT Entering Service Loop
>>
>> --- 12/01/25 18:23:41.186 GMT Client 1: Finished reading client request:
>> Client is a rpc application on localhost
>> '!#encrypted:tariq!gemnetobject'
>> Status byte to client: ok=1, useKerberos=0.
>> Shutting down SSL connection
>> 12/01/25 18:23:41 GMT Authorization Warning:
>> Incorrect password for user 'tariq'.
>> error =
>> hostpw decryption failed
>> --- 12/01/25 18:23:41.188 GMT Client 1: Reply to client started:
>> 'ERROR Netldi 'gs64ldi' on host 'Tariqs-MacBook-Pro-2.local' reports the request 'gemnetobject' failed: '
>> --- 12/01/25 18:23:41.189 GMT Client 1: Disposed. elapsed time = 3ms
>>
>> Many thanks !
>> Tariq
>>
>>
>> On Mon, 1 Dec 2025 at 18:06, James Foster <Smalltalk at jgfoster.net <mailto:Smalltalk at jgfoster.net>> wrote:
>>> Dear Tariq,
>>>
>>> Well, that covered the easy possible problems. From there, I would be inclined to restart the NetLDI process in debug mode (add `-d` to the command line), then look at the NetLDI log file to see if it received a connection request and whether it has any details. Next, I would try `topaz -r` to see if you can connect that way (`set user DataCurator pass swordfish gems gs64stone gemn gemnetobject` followed by `login`).
>>>
>>> I realize that these suggestions are a bit vague. I’m about to board a plane so can’t same much more now. At this point I should probably leave it to someone with more expertise in Jadeite.
>>>
>>> James
>>>
>>>> On Dec 1, 2025, at 10:46 AM, Tariq Hamid <tariq at hamid.com <mailto:tariq at hamid.com>> wrote:
>>>>
>>>> Dear James
>>>>
>>>> Yes, Jadeite Pharo is running on the same host as Gemstone.
>>>>
>>>> As requested:
>>>>
>>>> % gslist -cvl
>>>> Status Version Owner Pid Port Started Type Name
>>>> ------- --------- --------- -------- ----- ------------ ------ ----
>>>> OK 3.7.4.3 tariq 977 50377 Nov 26 13:50 Netldi gs64ldi
>>>> OK 3.7.4.3 tariq 831 51054 Nov 26 13:44 Stone gs64stone
>>>> OK 3.7.4.3 tariq 832 51052 Nov 26 13:44 cache gs64stone~e65467ac4c061631
>>>>
>>>> % tail /etc/services
>>>> # 48130-48555 Unassigned
>>>> com-bardac-dw 48556/udp # com-bardac-dw
>>>> com-bardac-dw 48556/tcp # com-bardac-dw
>>>> # Nicholas J Howes <nick at ghostwood.org <mailto:nick at ghostwood.org>>
>>>> # 48557-49150 Unassigned
>>>> # 49151 IANA Reserved
>>>>
>>>> gs64ldi 50377/tcp #GemStone/S 64 Bit 3.7.4.3
>>>>
>>>>
>>>> Many thanks
>>>> Tariq
>>>>
>>>> On Mon, 1 Dec 2025 at 16:52, James Foster <Smalltalk at jgfoster.net <mailto:Smalltalk at jgfoster.net>> wrote:
>>>>> What do you get from `gslist -cvl`? Is `gs64ldi` in your `/etc/services` file? Is Jadeite on the same host?
>>>>>
>>>>> James
>>>>>
>>>>>> On Dec 1, 2025, at 9:41 AM, Tariq Hamid via Glass <glass at lists.gemtalksystems.com <mailto:glass at lists.gemtalksystems.com>> wrote:
>>>>>>
>>>>>> Dear Gemstoners
>>>>>>
>>>>>> My Jadeite does not connect.
>>>>>>
>>>>>> Gemstone is running locally on my MacBook:
>>>>>> % gslist
>>>>>> Status Version Owner Started Type Name
>>>>>> ------- --------- --------- ------------ ------ ----
>>>>>> exists 3.7.4.3 tariq Nov 26 13:50 Netldi gs64ldi
>>>>>> exists 3.7.4.3 tariq Nov 26 13:44 Stone gs64stone
>>>>>> exists 3.7.4.3 tariq Nov 26 13:44 cache gs64stone~e65467ac4c061631
>>>>>>
>>>>>> I have unzipped the client libraries:
>>>>>> % pwd
>>>>>> /Users/tariq/gemstone/src/clientLibs/3.7.4.3/64bit <http://3.7.4.3/64bit>
>>>>>> % ls
>>>>>> libgbjts320.dylib libgcits-3.7.4.3-64.dylib libssl-3.7.4.3-64.dylib
>>>>>> libgcirpc-3.7.4.3-64.dylib libkrb5-3.7.4.3-64.dylib
>>>>>>
>>>>>> <image.png>
>>>>>>
>>>>>> I click connect:
>>>>>> <image.png>
>>>>>> error contacting GemService, ssl call to netldi failed, ; Netldi 'gs64ldi' on host 'Tariqs-MacBook-Pro-2.local' reports the request 'gemnetobject' failed:
>>>>>>
>>>>>> Any suggestions?
>>>>>>
>>>>>> Muchas Gracias Amigos
>>>>>> _______________________________________________
>>>>>> Glass mailing list
>>>>>> Glass at lists.gemtalksystems.com <mailto:Glass at lists.gemtalksystems.com>
>>>>>> https://lists.gemtalksystems.com/mailman/listinfo/glass
>>>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/archives/glass/attachments/20251203/8d36f166/attachment-0001.htm>
More information about the Glass
mailing list