Any help appreciated:
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!! -- Sent from: http://forum.world.st/Gemstone-S-f1461796.html _______________________________________________ GemStone-Smalltalk mailing list [hidden email] https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk |
Hi Ian,
What command did you use to start netldi? What is the output from ‘gslist -x’? Did you use guest mode or are you expecting OS authentication as well? James > On Oct 30, 2019, at 6:18 PM, ian via GemStone-Smalltalk <[hidden email]> wrote: > > Any help appreciated: > > 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!! > > > > > -- > 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 |
Hi James,
Thanks for your response. I used the startnetldi - selects the default gs64ldi. The stick bit is set for root on the netldid daemon so that would be unix auth. Correct? STDOUT gets the following on startnetldi: ian@debian:/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux$ startnetldi startnetldi[Info]: GemStone version '3.5.0' startnetldi[Info]: Starting GemStone network server 'gs64ldi'. startnetldi[Info]: GEMSTONE is: '/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux'. [Info]: Loaded /opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/lib/libnetldi-3.5.0-64.so startnetldi[Info]: Log file is '/opt/gemstone/log/gs64ldi.log'. startnetldi[Info]: GemStone server 'gs64ldi' has been started, process 12491 ian@debian:/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux$ The output for gslist -x is: ian@debian:/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux$ gslist -x gs64ldi status= exists type= Netldi version= 3.5.0 owner= ian started= Oct 31 20:50 pid= 12491 port= 50377 logfile= /opt/gemstone/log/gs64ldi.log GEMSTONE=/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux exe=/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/sys/netldid gs64stone status= exists type= Stone version= 3.5.0 owner= ian started= Oct 30 20:15 pid= 9731 port= 43013 options= gs64stone logfile= /opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/data/gs64stone.log sysconf= /opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/data/system.conf GEMSTONE=/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux exe=/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/sys/stoned gs64stone~b45385a4f1abf101 status= exists type= cache version= 3.5.0 owner= ian started= Oct 30 20:15 pid= 9733 port= 40091 options= numPages=4687, maxClients=52, spinCount=5000, targetFreeFrameCount=585, numFFThreads=1, numSharedCounters=1900, monitorPort=0, LargePagePolicy=0, LargePageSizeMb=0 logfile= /opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/data/gs64stone_9733pcmon.log GEMSTONE=/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux exe=/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux/sys/shrpcmonitor ian@debian:/opt/gemstone/app/GemStone64Bit3.5.0-x86_64.Linux$ The error that I get when attempting to login via topaz seem to suggest that there is an ssl connection error. SSL seems to work everywhere else so this seems to point to PAM. I have not explicitly setup /etc/pam.d/gemstone.netldi as per the admin manual (I did try this though - same result) and am attempting to use vanilla pam. If it is PAM I fail to see why? (Although I am by no means a PAM expert. Does this info 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 |
Hi Ian,
Let’s take a look at the documentation on version 3.5 (https://gemtalksystems.com/products/gs64/versions35x/). In the System Administration Guide, chapter 4 covers NetLDI and related issues. Starting on page 73 is a discussion of “who will own spawned processes?” The “Default mode” specifies that "In default mode, an ordinary user such as the administrative user, starts and owns the NetLDI process. Regardless of authentication level, all logins must provide the UNIX userId and password of the account that started the NetLDI” (emphasis added). Looking at the Topaz Manual, page 12 begins a discussion of “Logging In to GemStone.” Among the parameters to be established to log in to GemStone through Topaz are “host user name and password”: "These are configured using the set command: set hostusername osUserName and set hostpassword osPassword.” Note that these "are needed only for RPC sessions.” So, I’d suggest that you try a linked login (topaz -l) or set the hostusername and hostpassword before the login attempt. Alternatively, you could start NetLDI in “captive account mode” (startnetldi -g -a ian). James
_______________________________________________ GemStone-Smalltalk mailing list [hidden email] https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk |
Thanks James,
Of course you are correct. Thank kindly you for pointing out my idiocy. -- Sent from: http://forum.world.st/Gemstone-S-f1461796.html _______________________________________________ GemStone-Smalltalk mailing list [hidden email] https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk |
I certainly didn’t intend to imply any idiocy! If anything, the detail and references were intended to provide background and documentation for alternatives, especially for others who might come along later and find this discussion when searching for a solution to the same problem. I’m glad it was easy to solve and am glad that you feel comfortable asking questions on the mailing list. I don’t want anyone to feel that they are being called an idiot!
James > On Oct 31, 2019, at 6:50 PM, ian via GemStone-Smalltalk <[hidden email]> wrote: > > Thanks James, > > Of course you are correct. > > Thank kindly you for pointing out my idiocy. > > > > -- > 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 |
No poke intended James.
I should have gotten there myself and feel foolish is all. Thank you for your patience. -- Sent from: http://forum.world.st/Gemstone-S-f1461796.html _______________________________________________ GemStone-Smalltalk mailing list [hidden email] https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk |
Free forum by Nabble | Edit this page |