Unable to create a session - check netldi and gem log files

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

Unable to create a session - check netldi and gem log files

GLASS mailing list
Hi,

A GemStone/S 3.4.1 was working good until a few minutes ago.
Now is not possible to login but the stone and netldi is running.
Running Stones:
        Status       Version    Owner    Pid   Port   Started     Type      
Name
        -------     --------- --------- ----- ----- ------------ ------    
----
        exists       3.4.1     gemstone      4228 40162 Jun 27 16:26 Stone      
devKit_34
Running Netldis:
        Status       Version    Owner    Pid   Port   Started     Type      
Name
        -------     --------- --------- ----- ----- ------------ ------    
----
        exists       3.4.1     gemstone      4194 50378 Jun 27 16:26 Netldi    
devKit_34_ldi

But it seems that a session can not be created: "Unable to create a session
- check netldi and gem log files".

The logs file only have the following errors (a RAR is attached with all
logs GS.rar <http://forum.world.st/file/t111409/GS.rar>  ):
Error: listen on ::ffff:127.0.0.1 (127.0.0.1) port 43189 failed, bind(21,
::ffff:127.0.0.1, port=43189) failed with errno=98,EADDRINUSE, Address is
already in use
Error: listen on ::ffff:127.0.0.1 port 43189 failed, bind(21,
::ffff:127.0.0.1, port=43189) failed with errno=98,EADDRINUSE, Address is
already in use
Failed to listen on ::ffff:127.0.0.1

Any help is appreciated...

regards,
bruno




--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
Hi,

More information, this is from topaz status command:
Connection Information:
UserName___________ 'DataCurator'
Password __________ (set)
HostUserName_______ ''
HostPassword_______ (not set)
NRSdefaults________ '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'
GemStone___________ 'devKit_34'
GemStone NRS_______
'!#dir:/home/gemstone/GsDevKit_home/server/stones/devKit_34/logs#log:%N%P.log#server!devKit_34'
GemNetId___________ 'gemnetobject'
GemNetId NRS_______
'!#dir:/home/gemstone/GsDevKit_home/server/stones/devKit_34/logs#log:%N%P.log!gemnetobject'
CacheName___________ 'Topaz'
SessionInit          On

And after topaz login the following error is displayed:
topaz> login
[Info]: Loaded
/home/gemstone/GsDevKit_home/server/stones/devKit_34/product/lib/libfloss-3.4.1-64.so
-----------------------------------------------------
GemStone: Error         Fatal
Unable to create a session, check netldi and gem log files.
service not found, on localhost.localdomain getaddrinfo(host 'localhost6',
service 'gs64ldi') failed
file not found: /opt/gemstone/locks/gs64ldi..LCK;  service gs64ldi not found
; NetLDI service 'gs64ldi' is not running on 'localhost6'
Error Category: [GemStone] Number: 4042  Arg Count: 0

Login failed due to errors.

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
Hi,

Well i think something odd just happened because i have two stones installed
on my Centos and both have the same problem.

Still working on this issue ...

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
In reply to this post by GLASS mailing list
This is good to get confirmation from a topaz login, since it does
eliminate a couple of extraneous variables ...

The suggest from our engineer is to "stop any running netldi and
restart", but I've just forwarded him your mail, so you might wait a
bit  since the topaz output does have additional information ​...

Dale


On 06/27/2018 03:19 PM, BrunoBB via Glass wrote:

> Hi,
>
> More information, this is from topaz status command:
> Connection Information:
> UserName___________ 'DataCurator'
> Password __________ (set)
> HostUserName_______ ''
> HostPassword_______ (not set)
> NRSdefaults________ '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'
> GemStone___________ 'devKit_34'
> GemStone NRS_______
> '!#dir:/home/gemstone/GsDevKit_home/server/stones/devKit_34/logs#log:%N%P.log#server!devKit_34'
> GemNetId___________ 'gemnetobject'
> GemNetId NRS_______
> '!#dir:/home/gemstone/GsDevKit_home/server/stones/devKit_34/logs#log:%N%P.log!gemnetobject'
> CacheName___________ 'Topaz'
> SessionInit          On
>
> And after topaz login the following error is displayed:
> topaz> login
> [Info]: Loaded
> /home/gemstone/GsDevKit_home/server/stones/devKit_34/product/lib/libfloss-3.4.1-64.so
> -----------------------------------------------------
> GemStone: Error         Fatal
> Unable to create a session, check netldi and gem log files.
> service not found, on localhost.localdomain getaddrinfo(host 'localhost6',
> service 'gs64ldi') failed
> file not found: /opt/gemstone/locks/gs64ldi..LCK;  service gs64ldi not found
> ; NetLDI service 'gs64ldi' is not running on 'localhost6'
> Error Category: [GemStone] Number: 4042  Arg Count: 0
>
> Login failed due to errors.
>
> regards,
> bruno
>
>
>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
In reply to this post by GLASS mailing list

Bruno,

the topaz session is running with a topaz -r (or a gemnetid entry is present in .topazini file for your stone)....

comment out the `set gemnetid` entry (if present) in your .topazini file and then start topaz with an explict `-l` option and before logging in do the following:

set gemnet gcilnkobj
login 
This sequence will ensure that you are doing a linked login (note this needs to be done on the same machine that your stone is on). If the login is successful, then the stone _is_ definitely healthy and running.

If the login works, then the netldi is either not running or unhealthy (or another process is on the port), so first try to kill the pid associated with the netldi, then restart the netldi and let us know what happens.

Dale

On 06/27/2018 03:32 PM, BrunoBB via Glass wrote:
Hi,

Well i think something odd just happened because i have two stones installed
on my Centos and both have the same problem.

Still working on this issue ...

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
Dale,

After update the .topazini with:
set gemnet gcilnkobj
login

I can login with Topaz.

To be able to login with Jade i have to add the following to .topazini:
 set gemnetid
![hidden email]#netldi:devKit_34_ldi#task!gemnetobject
 set gemnet gcilnkobj

Not sure why this is happening because i think i do not change anything.

Thanks for your help !

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
Bruno,

You should not need to set anything in .topazini in order to log in with Jade. Topaz and Jade are entirely unrelated.

James

> On Jun 27, 2018, at 6:33 PM, BrunoBB via Glass <[hidden email]> wrote:
>
> Dale,
>
> After update the .topazini with:
> set gemnet gcilnkobj
> login
>
> I can login with Topaz.
>
> To be able to login with Jade i have to add the following to .topazini:
> set gemnetid
> ![hidden email]#netldi:devKit_34_ldi#task!gemnetobject
> set gemnet gcilnkobj
>
> Not sure why this is happening because i think i do not change anything.
>
> Thanks for your help !
>
> regards,
> bruno
>
>
>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
James,

Without the changes that Dale told me i'm unable to login with Jade (also
with Topaz).
After apply these changes i can login to both. If i comment the changes -->
no login.
(i commented and uncommented these change several times and the result is
the same).

Maybe is something related to Netldi... i do not know..

Tomorrow i will resume testing this.

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
Bruno,

If you don’t have NetLDI running then you can’t log in with Jade and you can’t do an RPC login with Topaz. But the values in .topazini (or even the existence of the file) has no impact on Jade.

James

> On Jun 27, 2018, at 6:58 PM, BrunoBB via Glass <[hidden email]> wrote:
>
> James,
>
> Without the changes that Dale told me i'm unable to login with Jade (also
> with Topaz).
> After apply these changes i can login to both. If i comment the changes -->
> no login.
> (i commented and uncommented these change several times and the result is
> the same).
>
> Maybe is something related to Netldi... i do not know..
>
> Tomorrow i will resume testing this.
>
> regards,
> bruno
>
>
>
> --
> Sent from: http://forum.world.st/GLASS-f1460844.html
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
Reply | Threaded
Open this post in threaded view
|

Re: Unable to create a session - check netldi and gem log files

GLASS mailing list
James/Dale,

The error was strange because stone and netldi were running (stones command
used here).

Yesterday i related Topaz and Jade because after applying Dale's change to
.topaz ini --> i was able to login with Jade. BUT ... I also changed my net
connection in my computer and this was the problem !!!

The Huawei wireless internet connector was my problem.
Now using a wifi connection i can login to Jade (no problems).

The Huawei connector was working well until yesterday so i think some update
or patch is causing the problem or maybe VMWare is not able to work with
Huawei anymore.

Anyway is no related to GemStone :) Thanks for your help ...

regards,
bruno



--
Sent from: http://forum.world.st/GLASS-f1460844.html
_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass