[Glass] Ubuntu 14.04 ethernet static ip and GemTools login

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

[Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario


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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list

Dale,

Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Yes, after setup-change the file:  interfaces i restart the system.


Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.


The problem is not resolved, and i don't have some idea about resolved it.

Ciao,

Dario

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Dario,

You didn't mention if you can ssh to the machine. If so, I'd say it's very likely to be a gemstone problem...

J.



Am 24.03.2015 um 17:37 schrieb Dario Trussardi via Glass <[hidden email]>:


Dale,

Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Yes, after setup-change the file:  interfaces i restart the system.


Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.


The problem is not resolved, and i don't have some idea about resolved it.

Ciao,

Dario

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Joachim,

Dario,

You didn't mention if you can ssh to the machine. If so, I'd say it's very likely to be a gemstone problem...

Yes i can manage the ssh on the machine with static IP  without problem.

Thanks,

Dario

J.



Am 24.03.2015 um 17:37 schrieb Dario Trussardi via Glass <[hidden email]>:


Dale,

Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Yes, after setup-change the file:  interfaces i restart the system.


Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.


The problem is not resolved, and i don't have some idea about resolved it.

Ciao,

Dario

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

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

I think in this case the best course of action is for you to give me the list of commands that you executed to set up you static ip address (I told you I am not an expert:). I've got a 14.04 vm here that I can try ...

BTW, you mention that GemTools doesn't work, but in the gslist output it looks like the netldi is frozen?

Have you restarted your netldi after changing the ip address ... Also, you don't mention whether you are running GemTools as a remote/local client.

Anyway, if you give me the list of things that you did to set the ip address, I'll see if I can reproduce the problem here...

Dale

On 03/24/2015 09:37 AM, Dario Trussardi via Glass wrote:

Dale,

Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Yes, after setup-change the file:  interfaces i restart the system.


Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.


The problem is not resolved, and i don't have some idea about resolved it.

Ciao,

Dario

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
In reply to this post by GLASS mailing list
On 03/24/2015 09:54 AM, Dario Trussardi via Glass wrote:
> Joachim,
>
>> Dario,
>>
>> You didn't mention if you can ssh to the machine. If so, I'd say it's
>> very likely to be a gemstone problem...
>
> Yes i can manage the ssh on the machine with static IP  without problem.

Dario,

It might help us understand what's going on if you send the output of
these two commands:

ip addr show


netstat -ltpn


Regards,

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Martin,

> On 03/24/2015 09:54 AM, Dario Trussardi via Glass wrote:
>> Joachim,
>>
>>> Dario,
>>>
>>> You didn't mention if you can ssh to the machine. If so, I'd say it's
>>> very likely to be a gemstone problem...
>>
>> Yes i can manage the ssh on the machine with static IP  without problem.
>
> Dario,
>
> It might help us understand what's going on if you send the output of these two commands:
>
> ip addr show
       
        report:

        scandella@scandella:/etc$ ip addr show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: p2p1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 74:d4:35:f4:a2:99 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.10/24 brd 192.168.1.255 scope global p2p1
       valid_lft forever preferred_lft forever
    inet6 fe80::76d4:35ff:fef4:a299/64 scope link
       valid_lft forever preferred_lft forever

>
>
> netstat -ltpn

        report:

        scandella@scandella:/etc$ netstat -ltpn

(Non tutti i processi potrebbero essere identificati, le informazioni sui processi non propri
 non saranno mostrate, per visualizzarle tutte bisogna avere privilegi di root.)
Connessioni Internet attive (solo server)
Proto CodaRic CodaInv Indirizzo locale        Indirizzo remoto       Stato       PID/Program name
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -              
tcp        0      0 0.0.0.0:9060            0.0.0.0:*               LISTEN      1983/topaz      
tcp        0      0 0.0.0.0:9061            0.0.0.0:*               LISTEN      1985/topaz      
tcp        0      0 0.0.0.0:9062            0.0.0.0:*               LISTEN      1987/topaz      
tcp        0      0 0.0.0.0:9063            0.0.0.0:*               LISTEN      1993/topaz      
tcp        0      0 0.0.0.0:9064            0.0.0.0:*               LISTEN      1997/topaz      
tcp        0      0 0.0.0.0:9065            0.0.0.0:*               LISTEN      2012/topaz      
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -              
tcp6       0      0 :::22                   :::*                    LISTEN      -              
tcp6       0      0 ::1:40279               :::*                    LISTEN      1900/netldid    
tcp6       0      0 :::25                   :::*                    LISTEN      -              
tcp6       0      0 :::36288                :::*                    LISTEN      1915/stoned    
tcp6       0      0 :::50377                :::*                    LISTEN      1900/netldid    
tcp6       0      0 127.0.0.1:34027         :::*                    LISTEN      1917/shrpcmonitor
tcp6       0      0 ::1:34027               :::*                    LISTEN      1917/shrpcmonitor

        Dario
>
>
> Regards,
>
> -Martin

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

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

i note this when  the GemTools is into: login loop.

If i stop the gemstone with the command:   ./gemstone_stop

the GemTools open the dialog error:

Error: Unable to create a GemStone session. Network partner has disconnected. For further information about login failures, check the gem log file.

Dario

Joachim,

Dario,

You didn't mention if you can ssh to the machine. If so, I'd say it's very likely to be a gemstone problem...

Yes i can manage the ssh on the machine with static IP  without problem.

Thanks,

Dario

J.



Am 24.03.2015 um 17:37 schrieb Dario Trussardi via Glass <[hidden email]>:


Dale,

Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Yes, after setup-change the file:  interfaces i restart the system.


Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.


The problem is not resolved, and i don't have some idea about resolved it.

Ciao,

Dario

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

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

Dale,

Dario,

I think in this case the best course of action is for you to give me the list of commands that you executed to set up you static ip address (I told you I am not an expert:). I've got a 14.04 vm here that I can try ...

BTW, you mention that GemTools doesn't work, but in the gslist output it looks like the netldi is frozen?

gslist is not a valid command in my system; because?


Have you restarted your netldi after changing the ip address ... Also, you don't mention whether you are running GemTools as a remote/local client.

GemTools is into LAN.


Anyway, if you give me the list of things that you did to set the ip address, I'll see if I can reproduce the problem here...

I change the /etc/network/interfaces to:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#auto p2p1
#iface p2p1 inet dhcp
######
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

and restart the system.

And update the /etc/hosts file  ( on all the system into LAN ) with the entry:

192.168.1.10 scandella

where scandella  is used into GemTools session:

OGCustomSessionDescription new name: 'Scandella3106 gestionale'; stoneHost: 'scandella'; stoneName: 'gestionale'; gemHost: 'scandella'; netLDI: '50377'; gemTask: 'gemnetobject'; userId: 'DataCurator'; password: 'mypassword'; osUserId: ''; osPassword: ''; backupDirectory: ''; dataDirectory: ''; yourself.


Thanks,

Dario


Dale

On 03/24/2015 09:37 AM, Dario Trussardi via Glass wrote:

Dale,

Dario,

I am not a network configuration expert either ...

You don't mention whether or not you have shutdown the stone before adding the static ip...and restart after changing the ip address..

Once you've monkeyed with the network addresses, I would think that you need to restart the whole system.

Yes, after setup-change the file:  interfaces i restart the system.


Give that a try (you might have to kill the stoned process to bring things down) and let me know if you are still seeing the problem.


The problem is not resolved, and i don't have some idea about resolved it.

Ciao,

Dario

Dale

On 03/24/2015 09:09 AM, Dario Trussardi via Glass wrote:
Ciao,

i'm not expert about ethernet configuration, and maybe I've got it all wrong.

The system setup:

I have a Ubuntu 14.04 -server where i run tODE 3.1.0.6 environment with Daemontools service.


Case A) With this /etc/network/interfaces  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

the GemTools login work fine.

The gemstone_status  report:

Status   Version    Owner    Pid   Port   Started     Type       Name
------- --------- --------- ----- ----- ------------ ------      ----
  OK    3.1.0.6   scandella  1441 53933 mar 24 16:04 Stone       gestionale
  OK    3.1.0.6   scandella  1443 47743 mar 24 16:04 cache       gestionale~9af495ccd1149d82
  OK    3.1.0.6   scandella  1478 50377 mar 24 16:04 Netldi      gs64ldi

[sudo] password for scandella: 
/etc/service/gs_maintenance: up (pid 667) 2971 seconds
/etc/service/gs_seaside-9060: up (pid 665) 2971 seconds
/etc/service/gs_seaside-9061: up (pid 671) 2971 seconds
/etc/service/gs_seaside-9062: up (pid 668) 2971 seconds
/etc/service/gs_seaside-9063: up (pid 672) 2971 seconds
/etc/service/gs_seaside-9064: up (pid 666) 2971 seconds
/etc/service/gs_seaside-9065: up (pid 669) 2971 seconds
/etc/service/gs_statmon-1: up (pid 1598) 2951 seconds
/etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Case B) With this /etc/network/interfaces  ( i need to set a static ip )

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet static
address 192.168.1.10
netmask 255.255.255.0
network 192.168.1.0
brodcast 192.168.1.255
gateway 192.168.1.254

the GemTools login go into loop and i need to restart the GemTools image. 


The gemstone_status after the first GemTools attempt  login report:
Status Version Owner Pid Port Started Type Name
------- --------- --------- ----- ----- ------------ ------ ----
OK 3.1.0.6 scandella 1441 53933 mar 24 16:04 Stone gestionale
OK 3.1.0.6 scandella 1443 47743 mar 24 16:04 cache gestionale~9af495ccd1149d82
******* frozen  3.1.0.6 scandella 1478 50377 mar 24 16:04 Netldi gs64ldi
[sudo] password for scandella: /etc/service/gs_maintenance: up (pid 667) 2971 seconds /etc/service/gs_seaside-9060: up (pid 665) 2971 seconds /etc/service/gs_seaside-9061: up (pid 671) 2971 seconds /etc/service/gs_seaside-9062: up (pid 668) 2971 seconds /etc/service/gs_seaside-9063: up (pid 672) 2971 seconds /etc/service/gs_seaside-9064: up (pid 666) 2971 seconds /etc/service/gs_seaside-9065: up (pid 669) 2971 seconds /etc/service/gs_statmon-1: up (pid 1598) 2951 seconds /etc/service/gs_statmon-60: up (pid 673) 2971 seconds


Someone can help me out on how to configure the network card ( with a static address  IP ) so Gemtools works well?

Thanks,

Dario



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Martin, Dale,

> On 03/24/2015 11:00 AM, Dario Trussardi via Glass wrote:
>>
>> Dale,
>>
>>> Dario,
>>>
>>> I think in this case the best course of action is for you to give me
>>> the list of commands that you executed to set up you static ip address
>>> (I told you I am not an expert:). I've got a 14.04 vm here that I can
>>> try ...
>>>
>>> BTW, you mention that GemTools doesn't work, but in the gslist output
>>> it looks like the netldi is frozen?
>>
>> gslist is not a valid command in my system; because?
>>
>>>
>>> Have you restarted your netldi after changing the ip address ... Also,
>>> you don't mention whether you are running GemTools as a remote/local
>>> client.
>>
>> GemTools is into LAN.
>>
>>>
>>> Anyway, if you give me the list of things that you did to set the ip
>>> address, I'll see if I can reproduce the problem here...
>>
>> I change the /etc/network/interfacesto:
>>
>>    # This file describes the network interfaces available on your system
>>    # and how to activate them. For more information, see interfaces(5).
>>    # The loopback network interface
>>    auto lo
>>    iface lo inet loopback
>>    # The primary network interface
>>    #auto p2p1
>>    #iface p2p1 inet dhcp
>>    ######
>>    auto p2p1
>>    iface p2p1 inet static
>>    address 192.168.1.10
>>    netmask 255.255.255.0
>>    network 192.168.1.0
>>    brodcast 192.168.1.255
>>    gateway 192.168.1.254
>>
>> and restart the system.
>>
>> And update the /etc/hostsfile  ( on all the system into LAN ) with the
>> entry:
>>
>> 192.168.1.10 scandella
>>
>> where scandella is used into GemTools session:
>>
>> OGCustomSessionDescription new name: 'Scandella3106 gestionale';
>> stoneHost: 'scandella'; stoneName: 'gestionale'; gemHost: 'scandella';
>> netLDI: '50377'; gemTask: 'gemnetobject'; userId: 'DataCurator';
>> password: 'mypassword'; osUserId: ''; osPassword: ''; backupDirectory:
>> ''; dataDirectory: ''; yourself.
>>
>
> Dario, did this fix it for you? If not, using the -A option to netldi
> might help.

What do you intend with:  did this fix it for you?

For now i don't resolve the problem.

Considerations?

Thanks,

        Dario


>
> Regards,
>
> -Martin
>

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:
>
> What do you intend with:  did this fix it for you?
>
> For now i don't resolve the problem.

OK, thanks. From your previous message I wasn't sure whether you were
still seeing the problem.

>
> Considerations?

The netldi is only listening on the IPv6 localhost address. If you want
to use GemTools from another machine, it must also listen on the
192.168.1.10 address. I'm not sure why it isn't already listening on
that address, but you should be able to fix it by adding -A192.168.1.10
to your startnetldi command line (see the man page for startnetldi).

Once you've started netldi with that option, netstat -ltpn should show
netldi listening on that address.

Regards,

-Martin

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Martin,

> On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:
>>
>> What do you intend with:  did this fix it for you?
>>
>> For now i don't resolve the problem.
>
> OK, thanks. From your previous message I wasn't sure whether you were
> still seeing the problem.
>
>>
>> Considerations?
>
> The netldi is only listening on the IPv6 localhost address. If you want
> to use GemTools from another machine, it must also listen on the
> 192.168.1.10 address. I'm not sure why it isn't already listening on
> that address, but you should be able to fix it by adding -A192.168.1.10
> to your startnetldi command line

> (see the man page for startnetldi).  

        What i found it and relative indications - informations?

I do some test changing the  /gsDevKitHome/bin$  startnetldi

        $GS_HOME/bin/tode startnetldi -A $stoneName

        but without found right solution.

What i wrong?

        Ciao, thanks,

                Dario
>
> Once you've started netldi with that option, netstat -ltpn should show
> netldi listening on that address.
>
> Regards,
>
> -Martin
>

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list

On 03/24/2015 03:03 PM, Dario Trussardi via Glass wrote:

>
>> The netldi is only listening on the IPv6 localhost address. If you want
>> to use GemTools from another machine, it must also listen on the
>> 192.168.1.10 address. I'm not sure why it isn't already listening on
>> that address, but you should be able to fix it by adding -A192.168.1.10
>> to your startnetldi command line
>> (see the man page for startnetldi).
> What i found it and relative indications - informations?
>
> I do some test changing the  /gsDevKitHome/bin$  startnetldi
>
> $GS_HOME/bin/tode startnetldi -A $stoneName
>
> but without found right solution.
>
> What i wrong?
>
>
I think that you should be starting the netldi with the something more
like the following:

   $GEMSTONE/bin/startnetldi -g -a <linux-user-name> -A192.168.1.10 -l
$GEMSTONE_LOGDIR/gs64ldi.log ${stoneName}_ldi

Martin, is this what you were thinking?

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
On 03/24/2015 03:29 PM, Dale Henrichs via Glass wrote:
> I think that you should be starting the netldi with the something more
> like the following:
>
>   $GEMSTONE/bin/startnetldi -g -a <linux-user-name> -A192.168.1.10 -l
> $GEMSTONE_LOGDIR/gs64ldi.log ${stoneName}_ldi
>
> Martin, is this what you were thinking?

Yes. You need to include the specific address(es) after -A.

Regards,

-Martin

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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
In reply to this post by GLASS mailing list
Dale, Martin,

On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:

What do you intend with:  did this fix it for you?

For now i don't resolve the problem.

OK, thanks. From your previous message I wasn't sure whether you were
still seeing the problem.


Considerations?

The netldi is only listening on the IPv6 localhost address. If you want
to use GemTools from another machine, it must also listen on the
192.168.1.10 address. I'm not sure why it isn't already listening on
that address, but you should be able to fix it by adding -A192.168.1.10
to your startnetldi command line (see the man page for startnetldi).

Once you've started netldi with that option, netstat -ltpn should show
netldi listening on that address.

First: my environment is based on tODE and i think to change the file  startNetldi

adding some parameter to the last line.

#! /bin/bash
#=========================================================================
# Copyright (c) 2014 GemTalk Systems, LLC <[hidden email]>.
#=========================================================================

usage() {
  cat <<HELP
USAGE: $(basename $0) [-h] <stone-name>
 Start the netldi process for the given stone.

OPTIONS
  -h display help

EXAMPLES
  $(basename $0) -h
  $(basename $0) kit

HELP
}

set -e # exit on error
if [ "${GS_HOME}x" = "x" ] ; then
  echo "the GS_HOME environment variable needs to be defined"; exit 1
fi
source ${GS_HOME}/bin/shFunctions
getOpts_help $@

if [ $# -ne 1 ]; then
  usage; exit 1
fi
stoneName=$1

echo "starting netldi $stoneName"

# set up stone environment
stonePath=$GS_HOME/gemstone/stones/$stoneName
pushd $stonePath >& /dev/null
source $stonePath/stone.env
popd >& /dev/null

$GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

But with this information when i do the command :   startNetlidi gestionale   i don't solve the problem.

The  netstat -ltpn    don't report  netldi listening on that address.


Second: in addition  the service are  started with Daemontools Gemstone service and  i don't know where i need add the -A parameter.

Anyone know informations about it ?

Thanks,

Dario



Regards,

-Martin


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

Re: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Dario,

Replace the line:

  $GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

with a direct call to the startnetldi as described in my last email:

  $GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
                                              $GEMSTONE_LOGDIR/${stoneName}_ldi.log \
                                              ${stoneName}_ldi

BUUUUUUT,

before we get to the point where we are trying to debug the startNetldi script, let's verify that you can start a netldi that works with your remote GemTools. So:

  1. login in as the user that is running your stone processes
  2. cd $GS_HOME/gemstone/stones/<stone-name>
  3. execute the following bash script:
      .  defStone.env
  4. then manually start the netldi:
      $GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
                                                  $GEMSTONE_LOGDIR/${GEMSTONE_NAME}_ldi.log \
                                                   ${GEMSTONE_NAME}_ldi
  5. test your remote GemTools

When we get GemTools working with a manually started netldi, then you can try changing the startNetldi script.

Dale

On 03/24/2015 04:02 PM, Dario Trussardi via Glass wrote:
Dale, Martin,

On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:

What do you intend with:  did this fix it for you?

For now i don't resolve the problem.

OK, thanks. From your previous message I wasn't sure whether you were
still seeing the problem.


Considerations?

The netldi is only listening on the IPv6 localhost address. If you want
to use GemTools from another machine, it must also listen on the
192.168.1.10 address. I'm not sure why it isn't already listening on
that address, but you should be able to fix it by adding -A192.168.1.10
to your startnetldi command line (see the man page for startnetldi).

Once you've started netldi with that option, netstat -ltpn should show
netldi listening on that address.

First: my environment is based on tODE and i think to change the file  startNetldi

adding some parameter to the last line.

#! /bin/bash
#=========================================================================
# Copyright (c) 2014 GemTalk Systems, LLC <[hidden email]>.
#=========================================================================

usage() {
  cat <<HELP
USAGE: $(basename $0) [-h] <stone-name>
 Start the netldi process for the given stone.

OPTIONS
  -h display help

EXAMPLES
  $(basename $0) -h
  $(basename $0) kit

HELP
}

set -e # exit on error
if [ "${GS_HOME}x" = "x" ] ; then
  echo "the GS_HOME environment variable needs to be defined"; exit 1
fi
source ${GS_HOME}/bin/shFunctions
getOpts_help $@

if [ $# -ne 1 ]; then
  usage; exit 1
fi
stoneName=$1

echo "starting netldi $stoneName"

# set up stone environment
stonePath=$GS_HOME/gemstone/stones/$stoneName
pushd $stonePath >& /dev/null
source $stonePath/stone.env
popd >& /dev/null

$GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

But with this information when i do the command :   startNetlidi gestionale   i don't solve the problem.

The  netstat -ltpn    don't report  netldi listening on that address.


Second: in addition  the service are  started with Daemontools Gemstone service and  i don't know where i need add the -A parameter.

Anyone know informations about it ?

Thanks,

Dario



Regards,

-Martin



_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
Dale,
 
Dario,

Replace the line:

  $GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

with a direct call to the startnetldi as described in my last email:

  $GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
                                              $GEMSTONE_LOGDIR/${stoneName}_ldi.log \
                                              ${stoneName}_ldi

BUUUUUUT,


OK i do this test, i report what i do:


before we get to the point where we are trying to debug the startNetldi script, let's verify that you can start a netldi that works with your remote GemTools. So:

  1. login in as the user that is running your stone processes
I login as  scandella
  2. cd $GS_HOME/gemstone/stones/<stone-name>
i go to my  gestionale  stone   directory
  3. execute the following bash script:
      .  defStone.env
i do the command:     . defStone.env ( with a blank after the. )

  4. then manually start the netldi:
      $GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
                                                  $GEMSTONE_LOGDIR/${GEMSTONE_NAME}_ldi.log \
                                                   ${GEMSTONE_NAME}_ldi
i do the command :
    $GEMSTONE/bin/startnetldi -g -a scandella -A192.168.1.10 -l $GEMSTONE_LOGDIR/gestionale_ldi.log \gestionale_ldi 
It Report: 

GemStone version '3.1.0.6'
startnetldi[Info]: Starting GemStone network server 'gestionale_ldi'.
startnetldi[Info]: GEMSTONE is: '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/product'.
startnetldi[Info]: GEMSTONE_NRS_ALL is: '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'.
startnetldi[Info]: Log file is '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/logs/gestionale_ldi.log'.
startnetldi[Info]: GemStone server 'gestionale_ldi' has been started, process 4336 .


Now the scandella@scandella:~$ netstat -ltpn

command report :

(Non tutti i processi potrebbero essere identificati, le informazioni sui processi non propri
 non saranno mostrate, per visualizzarle tutte bisogna avere privilegi di root.)
Connessioni Internet attive (solo server)
Proto CodaRic CodaInv Indirizzo locale        Indirizzo remoto       Stato       PID/Program name
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::22                   :::*                    LISTEN      -               
tcp6       0      0 :::25                   :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:57858         :::*                    LISTEN      4336/netldid    
tcp6       0      0 ::1:57858               :::*                    LISTEN      4336/netldid    
tcp6       0      0 192.168.1.10:57858      :::*                    LISTEN      4336/netldid    
tcp6       0      0 127.0.0.1:54660         :::*                    LISTEN      4248/shrpcmonitor
tcp6       0      0 ::1:54660               :::*                    LISTEN      4248/shrpcmonitor
tcp6       0      0 :::57323                :::*                    LISTEN      4246/stoned  

  5. test your remote GemTools

I update the GemTools session:

  OGCustomSessionDescription new
name: 'Scandella3106 gestionale';
stoneHost: 'scandella';
stoneName: 'gestionale';
gemHost: 'scandella';
netLDI: '57858';
.............
...........

It don't work, when i do the GemTools login the system go into loop

 until i stoped the: gestionale_ldi 4336 process

Thanks,

Dario

When we get GemTools working with a manually started netldi, then you can try changing the startNetldi script.

Dale

On 03/24/2015 04:02 PM, Dario Trussardi via Glass wrote:
Dale, Martin,

On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:

What do you intend with:  did this fix it for you?

For now i don't resolve the problem.

OK, thanks. From your previous message I wasn't sure whether you were
still seeing the problem.


Considerations?

The netldi is only listening on the IPv6 localhost address. If you want
to use GemTools from another machine, it must also listen on the
192.168.1.10 address. I'm not sure why it isn't already listening on
that address, but you should be able to fix it by adding -A192.168.1.10
to your startnetldi command line (see the man page for startnetldi).

Once you've started netldi with that option, netstat -ltpn should show
netldi listening on that address.

First: my environment is based on tODE and i think to change the file  startNetldi

adding some parameter to the last line.

#! /bin/bash
#=========================================================================
# Copyright (c) 2014 GemTalk Systems, LLC <[hidden email]>.
#=========================================================================

usage() {
  cat <<HELP
USAGE: $(basename $0) [-h] <stone-name>
 Start the netldi process for the given stone.

OPTIONS
  -h display help

EXAMPLES
  $(basename $0) -h
  $(basename $0) kit

HELP
}

set -e # exit on error
if [ "${GS_HOME}x" = "x" ] ; then
  echo "the GS_HOME environment variable needs to be defined"; exit 1
fi
source ${GS_HOME}/bin/shFunctions
getOpts_help $@

if [ $# -ne 1 ]; then
  usage; exit 1
fi
stoneName=$1

echo "starting netldi $stoneName"

# set up stone environment
stonePath=$GS_HOME/gemstone/stones/$stoneName
pushd $stonePath >& /dev/null
source $stonePath/stone.env
popd >& /dev/null

$GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

But with this information when i do the command :   startNetlidi gestionale   i don't solve the problem.

The  netstat -ltpn    don't report  netldi listening on that address.


Second: in addition  the service are  started with Daemontools Gemstone service and  i don't know where i need add the -A parameter.

Anyone know informations about it ?

Thanks,

Dario



Regards,

-Martin



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

GLASS mailing list
In reply to this post by GLASS mailing list
Dale, Martin,

i restart the system with  /etc/network/interfaces file  set to:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto p2p1
iface p2p1 inet dhcp

Now the  scandella@scandella:~$ netstat -ltpn

command report:

(Non tutti i processi potrebbero essere identificati, le informazioni sui processi non propri
 non saranno mostrate, per visualizzarle tutte bisogna avere privilegi di root.)
Connessioni Internet attive (solo server)
Proto CodaRic CodaInv Indirizzo locale        Indirizzo remoto       Stato       PID/Program name
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:9060            0.0.0.0:*               LISTEN      830/topaz       
tcp        0      0 0.0.0.0:9061            0.0.0.0:*               LISTEN      838/topaz       
tcp        0      0 0.0.0.0:9062            0.0.0.0:*               LISTEN      833/topaz       
tcp        0      0 0.0.0.0:9063            0.0.0.0:*               LISTEN      835/topaz       
tcp        0      0 0.0.0.0:9064            0.0.0.0:*               LISTEN      832/topaz       
tcp        0      0 0.0.0.0:9065            0.0.0.0:*               LISTEN      834/topaz       
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::22                   :::*                    LISTEN      -               
tcp6       0      0 :::25                   :::*                    LISTEN      -               
tcp6       0      0 :::50377                :::*                    LISTEN      1479/netldid    
tcp6       0      0 :::52490                :::*                    LISTEN      1438/stoned     
tcp6       0      0 127.0.0.1:34671         :::*                    LISTEN      1440/shrpcmonitor
tcp6       0      0 ::1:34671               :::*                    LISTEN      1440/shrpcmonitor

The GemTools open on 50377  works fine.
Some considerations?

Thanks,
Dario

On 03/24/2015 03:29 PM, Dale Henrichs via Glass wrote:
I think that you should be starting the netldi with the something more
like the following:

 $GEMSTONE/bin/startnetldi -g -a <linux-user-name> -A192.168.1.10 -l
$GEMSTONE_LOGDIR/gs64ldi.log ${stoneName}_ldi

Martin, is this what you were thinking?

Yes. You need to include the specific address(es) after -A.

Regards,

-Martin

_______________________________________________
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: [Glass] Ubuntu 14.04 ethernet static ip and GemTools login

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

I'll have to wait for Martin to chime in with what he thinks may be going on now ...

but, I'm inclined to take a different tack to address your GemTools remote login problem.

You have ssh installed and you can log into the remote machine using ssh, so you should be able to setup ssh port forwarding for GemTools.

I've done a writeup on this as part of the soon to be released gsDevKitHome 1.0.0[1].

In a nutshell you do the following (after setting up the static ip address):

ssh scandella -l scandella -L 57858:localhost:57858  -L 57860:localhost:57860
# cd to your gestionale directory                                        
. defStone.env                                                                    
$GEMSTONE/bin/startnetldi -a scandella -g -p 57860:57860 -P 57858 gestionale

The use localhost in your session description, :

  OGCustomSessionDescription new
name: 'Scandella3106 gestionale';
stoneHost: 'localhost';
stoneName: 'gestionale';
gemHost: 'localhost';
netLDI: '57858';

Dale

[1] https://github.com/GsDevKit/gsDevKitHome/blob/dev/docs/portForwardingForRemoteLogins.md
On 3/25/15 3:07 AM, Dario Trussardi via Glass wrote:
Dale,
 
Dario,

Replace the line:

  $GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

with a direct call to the startnetldi as described in my last email:

  $GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
                                              $GEMSTONE_LOGDIR/${stoneName}_ldi.log \
                                              ${stoneName}_ldi

BUUUUUUT,


OK i do this test, i report what i do:


before we get to the point where we are trying to debug the startNetldi script, let's verify that you can start a netldi that works with your remote GemTools. So:

  1. login in as the user that is running your stone processes
I login as  scandella
  2. cd $GS_HOME/gemstone/stones/<stone-name>
i go to my  gestionale  stone   directory
  3. execute the following bash script:
      .  defStone.env
i do the command:     . defStone.env ( with a blank after the. )

  4. then manually start the netldi:
      $GEMSTONE/bin/startnetldi -g -a $USER -A192.168.1.10 -l \
                                                  $GEMSTONE_LOGDIR/${GEMSTONE_NAME}_ldi.log \
                                                   ${GEMSTONE_NAME}_ldi
i do the command :
    $GEMSTONE/bin/startnetldi -g -a scandella -A192.168.1.10 -l $GEMSTONE_LOGDIR/gestionale_ldi.log \gestionale_ldi 
It Report: 

GemStone version '3.1.0.6'
startnetldi[Info]: Starting GemStone network server 'gestionale_ldi'.
startnetldi[Info]: GEMSTONE is: '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/product'.
startnetldi[Info]: GEMSTONE_NRS_ALL is: '#dir:$GEMSTONE_LOGDIR#log:%N%P.log'.
startnetldi[Info]: Log file is '/opt/oodb/gsDevKitHome/gemstone/stones/gestionale/logs/gestionale_ldi.log'.
startnetldi[Info]: GemStone server 'gestionale_ldi' has been started, process 4336 .


Now the scandella@scandella:~$ netstat -ltpn

command report :

(Non tutti i processi potrebbero essere identificati, le informazioni sui processi non propri
 non saranno mostrate, per visualizzarle tutte bisogna avere privilegi di root.)
Connessioni Internet attive (solo server)
Proto CodaRic CodaInv Indirizzo locale        Indirizzo remoto       Stato       PID/Program name
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      -               
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -               
tcp6       0      0 :::22                   :::*                    LISTEN      -               
tcp6       0      0 :::25                   :::*                    LISTEN      -               
tcp6       0      0 127.0.0.1:57858         :::*                    LISTEN      4336/netldid    
tcp6       0      0 ::1:57858               :::*                    LISTEN      4336/netldid    
tcp6       0      0 192.168.1.10:57858      :::*                    LISTEN      4336/netldid    
tcp6       0      0 127.0.0.1:54660         :::*                    LISTEN      4248/shrpcmonitor
tcp6       0      0 ::1:54660               :::*                    LISTEN      4248/shrpcmonitor
tcp6       0      0 :::57323                :::*                    LISTEN      4246/stoned  

  5. test your remote GemTools

I update the GemTools session:

  OGCustomSessionDescription new
name: 'Scandella3106 gestionale';
stoneHost: 'scandella';
stoneName: 'gestionale';
gemHost: 'scandella';
netLDI: '57858';
.............
...........

It don't work, when i do the GemTools login the system go into loop

 until i stoped the: gestionale_ldi 4336 process

Thanks,

Dario

When we get GemTools working with a manually started netldi, then you can try changing the startNetldi script.

Dale

On 03/24/2015 04:02 PM, Dario Trussardi via Glass wrote:
Dale, Martin,

On 03/24/2015 01:02 PM, Dario Trussardi via Glass wrote:

What do you intend with:  did this fix it for you?

For now i don't resolve the problem.

OK, thanks. From your previous message I wasn't sure whether you were
still seeing the problem.


Considerations?

The netldi is only listening on the IPv6 localhost address. If you want
to use GemTools from another machine, it must also listen on the
192.168.1.10 address. I'm not sure why it isn't already listening on
that address, but you should be able to fix it by adding -A192.168.1.10
to your startnetldi command line (see the man page for startnetldi).

Once you've started netldi with that option, netstat -ltpn should show
netldi listening on that address.

First: my environment is based on tODE and i think to change the file  startNetldi

adding some parameter to the last line.

#! /bin/bash
#=========================================================================
# Copyright (c) 2014 GemTalk Systems, LLC <[hidden email]>.
#=========================================================================

usage() {
  cat <<HELP
USAGE: $(basename $0) [-h] <stone-name>
 Start the netldi process for the given stone.

OPTIONS
  -h display help

EXAMPLES
  $(basename $0) -h
  $(basename $0) kit

HELP
}

set -e # exit on error
if [ "${GS_HOME}x" = "x" ] ; then
  echo "the GS_HOME environment variable needs to be defined"; exit 1
fi
source ${GS_HOME}/bin/shFunctions
getOpts_help $@

if [ $# -ne 1 ]; then
  usage; exit 1
fi
stoneName=$1

echo "starting netldi $stoneName"

# set up stone environment
stonePath=$GS_HOME/gemstone/stones/$stoneName
pushd $stonePath >& /dev/null
source $stonePath/stone.env
popd >& /dev/null

$GS_HOME/bin/tode startnetldi $stoneName -A192.168.1.10

But with this information when i do the command :   startNetlidi gestionale   i don't solve the problem.

The  netstat -ltpn    don't report  netldi listening on that address.


Second: in addition  the service are  started with Daemontools Gemstone service and  i don't know where i need add the -A parameter.

Anyone know informations about it ?

Thanks,

Dario



Regards,

-Martin



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass



_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass


_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass
123