Gemtools login error on Mac Hyper Server stone

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

Gemtools login error on Mac Hyper Server stone

dario trussardi
Hi,

i have a MAC with GemStone version '2.3.1' started as Hyper Server:


topaz> topaz> overwriting /opt/gemstone/log/Hyper_server-50081_43.log
topaz> Warning: GemStone is clearing the previous GemStone password.
topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 830/830
[Info]: User ID: DataCurator
[Info]: Repository: dtr
[Info]: Session ID: 2
[Info]: GCI Client Host: <Linked>
[Info]: Page server PID: -1
[Info]: Login Time: 05/05/10 22:32:42.326 CEST
gci login: currSession 1 rpc gem processId -1
successful login
topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
topaz 1> topaz 1> Hyper Server started on port 50081


If i have the ethernet connection link all work fine.

When from Pharo image with Gemtools i do login i open a new session.


The problem is erase if i don't have the ethernet cable connected.

When i do the login from gemtools i found the error :

'Unable to create a GemStone session.
NetLDI service ''gs64ldi'' not found on node ''192.168.1.222'':
connect(15,192.168.1.222,port=50377) failed with errno=65,EHOSTUNREACH, Host is unreachable'


The starnet command answer:

         GemStone version '2.3.1'
        startnetldi[Info]: Server 'gs64ldi' is already running


What is wrong ?

Thanks,

        Dario
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

SeanTAllen
Does your ip address change when you move from ethernet to wireless/no ethernet?

Is your gemtools setup to access by ip? by hostname?

If it is by ip, are you sure that ip is still up and running on your machine?

On Wed, May 5, 2010 at 4:52 PM, Dario Trussardi
<[hidden email]> wrote:

> Hi,
>
> i have a MAC with GemStone version '2.3.1' started as Hyper Server:
>
>
> topaz> topaz> overwriting /opt/gemstone/log/Hyper_server-50081_43.log
> topaz> Warning: GemStone is clearing the previous GemStone password.
> topaz> topaz> topaz> topaz> topaz> [Info]: LNK client/gem GCI levels = 830/830
> [Info]: User ID: DataCurator
> [Info]: Repository: dtr
> [Info]: Session ID: 2
> [Info]: GCI Client Host: <Linked>
> [Info]: Page server PID: -1
> [Info]: Login Time: 05/05/10 22:32:42.326 CEST
> gci login: currSession 1 rpc gem processId -1
> successful login
> topaz 1> topaz 1> [268 sz:0 cls: 68097 Boolean] true
> topaz 1> topaz 1> Hyper Server started on port 50081
>
>
> If i have the ethernet connection link all work fine.
>
> When from Pharo image with Gemtools i do login i open a new session.
>
>
> The problem is erase if i don't have the ethernet cable connected.
>
> When i do the login from gemtools i found the error :
>
> 'Unable to create a GemStone session.
> NetLDI service ''gs64ldi'' not found on node ''192.168.1.222'':
> connect(15,192.168.1.222,port=50377) failed with errno=65,EHOSTUNREACH, Host is unreachable'
>
>
> The starnet command answer:
>
>         GemStone version '2.3.1'
>        startnetldi[Info]: Server 'gs64ldi' is already running
>
>
> What is wrong ?
>
> Thanks,
>
>        Dario
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

dario trussardi
Hi,


> Does your ip address change when you move from ethernet to wireless/no ethernet?

No my Mac ip is fixed: 192.168.1.222

>
> Is your gemtools setup to access by ip? by hostname?

Case A)
 
OGStandardSessionDescription new
        name: 'MacDtr';
        stoneHost: '192.168.1.222';
        stoneName: 'dtr';
        gemHost: '192.168.1.222';
        netLDI: 'gs64ldi';
        userId: 'DataCurator';
        password: 'dario';
        backupDirectory: '';
        yourself.

with this configuration and ethernet cable disconnected at login

i found the error:

        'Unable to create a GemStone session
        NetLDI service ''gs64ldi'' not found on node ''192.168.1.222''
        connect(15,192.168.1.222,port=50377) failed with errno=65,EHOSTUNREACH, Host is unreachable'

The telnet   192.168.1.222 50377  d'ont answer at this time.

If i do cable connection the telnet   192.168.1.222 50377  answer well
        and login go.

Case B)

OGStandardSessionDescription new
        name: 'MacDtr';
        stoneHost: 'localhost
        stoneName: 'dtr';
        gemHost: 'localhost';
        netLDI: 'gs64ldi';
        userId: 'DataCurator';
        password: 'dario';
        backupDirectory: '';
        yourself.

with this configuration and ethernet cable disconected at login

i found the error :

                'Stone couldn''t start its PageServer and/or SharedPageCache on this machine.
                See Page Manager''s log for more information. , , '



See Page Manager''s log report:

        --- 05/06/10 12:49:10.443 CEST :
Timeout waiting for response from cache pgsvr on host localhost
All gems on this remote cache will now be stopped.
Warning: PageSetLostOt didn't find session 6
Warning: PageSetLostOt didn't find session 6
    A remote shared page cache is being created on host: localhost
PageServer net connection error:
    Nonblocking connect(127.0.0.1,port=62885) failed to complete.
pageMgrCreateRemoteSharedCache: RDbfFinishCreateCacheServer failure,
 
 

>
> If it is by ip, are you sure that ip is still up and running on your machine?

No , because when cable is disconnected the :

        case A) telnet  192.168.1.222 50377

        case B ( i think )  telnet  192.168.1.222 62885

        don't answer connection.



This is my test.

Any idea ?

Thanks

        Dario
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

SeanTAllen
With your ethernet cable plugged and unplugged, open up a terminal and do:

ifconfig

and send the results back here.


On Thu, May 6, 2010 at 7:03 AM, Dario Trussardi
<[hidden email]> wrote:

> Hi,
>
>
>> Does your ip address change when you move from ethernet to wireless/no ethernet?
>
> No my Mac ip is fixed:           192.168.1.222
>
>>
>> Is your gemtools setup to access by ip? by hostname?
>
> Case A)
>
> OGStandardSessionDescription new
>        name: 'MacDtr';
>        stoneHost: '192.168.1.222';
>        stoneName: 'dtr';
>        gemHost: '192.168.1.222';
>        netLDI: 'gs64ldi';
>        userId: 'DataCurator';
>        password: 'dario';
>        backupDirectory: '';
>        yourself.
>
> with this configuration and ethernet cable disconnected at login
>
> i found the error:
>
>        'Unable to create a GemStone session
>        NetLDI service ''gs64ldi'' not found on node ''192.168.1.222''
>        connect(15,192.168.1.222,port=50377) failed with errno=65,EHOSTUNREACH, Host is unreachable'
>
> The telnet   192.168.1.222 50377  d'ont answer at this time.
>
> If i do cable connection the telnet   192.168.1.222 50377  answer well
>        and login go.
>
> Case B)
>
> OGStandardSessionDescription new
>        name: 'MacDtr';
>        stoneHost: 'localhost
>        stoneName: 'dtr';
>        gemHost: 'localhost';
>        netLDI: 'gs64ldi';
>        userId: 'DataCurator';
>        password: 'dario';
>        backupDirectory: '';
>        yourself.
>
> with this configuration and ethernet cable disconected at login
>
> i found the error :
>
>                'Stone couldn''t start its PageServer and/or SharedPageCache on this machine.
>                See Page Manager''s log for more information. , , '
>
>
>
> See Page Manager''s log report:
>
>        --- 05/06/10 12:49:10.443 CEST :
> Timeout waiting for response from cache pgsvr on host localhost
> All gems on this remote cache will now be stopped.
> Warning: PageSetLostOt didn't find session 6
> Warning: PageSetLostOt didn't find session 6
>    A remote shared page cache is being created on host: localhost
> PageServer net connection error:
>    Nonblocking connect(127.0.0.1,port=62885) failed to complete.
> pageMgrCreateRemoteSharedCache: RDbfFinishCreateCacheServer failure,
>
>
>
>>
>> If it is by ip, are you sure that ip is still up and running on your machine?
>
> No , because when cable is disconnected the :
>
>        case A) telnet  192.168.1.222 50377
>
>        case B ( i think )  telnet  192.168.1.222 62885
>
>        don't answer connection.
>
>
>
> This is my test.
>
> Any idea ?
>
> Thanks
>
>        Dario
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

dario trussardi


> With your ethernet cable plugged

romano:~ dtr$ ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:26:bb:5b:75:bc
        inet6 fe80::226:bbff:fe5b:75bc%en0 prefixlen 64 scopeid 0x4
        inet 192.168.1.222 netmask 0xffffff00 broadcast 192.168.1.255
        media: autoselect (100baseTX <full-duplex,flow-control>)
        status: active
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:26:bb:10:9e:4e
        media: <unknown subtype> (<unknown type>)
        status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
        lladdr 00:26:bb:ff:fe:5b:75:bc
        media: autoselect <full-duplex>
        status: inactive
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:26:08:d9:f2:bf
        media: autoselect
        status: inactive
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1440
        inet 10.100.27.253 --> 10.64.64.64 netmask 0xff000000
romano:~ dtr$



> and unplugged

romano:~ dtr$ ifconfig

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:26:bb:5b:75:bc
        media: autoselect
        status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:26:bb:10:9e:4e
        media: <unknown subtype> (<unknown type>)
        status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
        lladdr 00:26:bb:ff:fe:5b:75:bc
        media: autoselect <full-duplex>
        status: inactive
en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:26:08:d9:f2:bf
        media: autoselect
        status: inactive
romano:~ dtr$

Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

SeanTAllen
Dario,

Do you know how to read those results?

What it says it that when your ethernet cable is unplugged, your
machine no longer has
the 192.168.1.222 ip address and that is why it doesnt work.

IP Addresses only exist when the network interface is working. If you
unplug from the ethernet
and don't have wireless, you arent going to have an ip address other
than localhost.

On Thu, May 6, 2010 at 7:23 AM, Dario Trussardi
<[hidden email]> wrote:

>
>
>> With your ethernet cable plugged
>
> romano:~ dtr$ ifconfig
>
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet6 ::1 prefixlen 128
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>        inet 127.0.0.1 netmask 0xff000000
> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> stf0: flags=0<> mtu 1280
> en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        ether 00:26:bb:5b:75:bc
>        inet6 fe80::226:bbff:fe5b:75bc%en0 prefixlen 64 scopeid 0x4
>        inet 192.168.1.222 netmask 0xffffff00 broadcast 192.168.1.255
>        media: autoselect (100baseTX <full-duplex,flow-control>)
>        status: active
> en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        ether 00:26:bb:10:9e:4e
>        media: <unknown subtype> (<unknown type>)
>        status: inactive
> fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
>        lladdr 00:26:bb:ff:fe:5b:75:bc
>        media: autoselect <full-duplex>
>        status: inactive
> en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        ether 00:26:08:d9:f2:bf
>        media: autoselect
>        status: inactive
> ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1440
>        inet 10.100.27.253 --> 10.64.64.64 netmask 0xff000000
> romano:~ dtr$
>
>
>
>> and unplugged
>
> romano:~ dtr$ ifconfig
>
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>        inet6 ::1 prefixlen 128
>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>        inet 127.0.0.1 netmask 0xff000000
> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
> stf0: flags=0<> mtu 1280
> en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        ether 00:26:bb:5b:75:bc
>        media: autoselect
>        status: inactive
> en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        ether 00:26:bb:10:9e:4e
>        media: <unknown subtype> (<unknown type>)
>        status: inactive
> fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
>        lladdr 00:26:bb:ff:fe:5b:75:bc
>        media: autoselect <full-duplex>
>        status: inactive
> en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        ether 00:26:08:d9:f2:bf
>        media: autoselect
>        status: inactive
> romano:~ dtr$
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

dario trussardi
Sean

> Dario,
>
> Do you know how to read those results?
>

No.

> What it says it that when your ethernet cable is unplugged, your
> machine no longer has
> the 192.168.1.222 ip address and that is why it doesnt work.
>
> IP Addresses only exist when the network interface is working. If you
> unplug from the ethernet
> and don't have wireless, you arent going to have an ip address other
> than localhost.
>

I can change this for solve my problem ?

Can you help me in this ?

Thanks

        Dario


Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

SeanTAllen
On Thu, May 6, 2010 at 7:39 AM, Dario Trussardi
<[hidden email]> wrote:

> Sean
>
>> Dario,
>>
>> Do you know how to read those results?
>>
>
> No.
>
>> What it says it that when your ethernet cable is unplugged, your
>> machine no longer has
>> the 192.168.1.222 ip address and that is why it doesnt work.
>>
>> IP Addresses only exist when the network interface is working. If you
>> unplug from the ethernet
>> and don't have wireless, you arent going to have an ip address other
>> than localhost.
>>
>
> I can change this for solve my problem ?
>
> Can you help me in this ?
>

Well I cant help you have an internet connection when you dont.

What are you doing when the ethernet connection is unplugged?
Do you only want to connect to gemstone on the Mac from the Mac?
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

dario trussardi
Sean

> On Thu, May 6, 2010 at 7:39 AM, Dario Trussardi
> <[hidden email]> wrote:
>> Sean
>>
>>> Dario,
>>>
>>> Do you know how to read those results?
>>>
>>
>> No.
>>
>>> What it says it that when your ethernet cable is unplugged, your
>>> machine no longer has
>>> the 192.168.1.222 ip address and that is why it doesnt work.
>>>
>>> IP Addresses only exist when the network interface is working. If you
>>> unplug from the ethernet
>>> and don't have wireless, you arent going to have an ip address other
>>> than localhost.
>>>
>>
>> I can change this for solve my problem ?
>>
>> Can you help me in this ?
>>
>
> Well I cant help you have an internet connection when you dont.

I think was a Mac configuration problem.

>
> What are you doing when the ethernet connection is unplugged?
> Do you only want to connect to gemstone on the Mac from the Mac?

For work when i have standalone Mac with no connection.

Thank,

        Dario
Reply | Threaded
Open this post in threaded view
|

Re: Gemtools login error on Mac Hyper Server stone

SeanTAllen
>> What are you doing when the ethernet connection is unplugged?
>> Do you only want to connect to gemstone on the Mac from the Mac?
>
> For work when i have standalone Mac with no connection.

Configured gemstone to run on localhost instead of the .222 and setup
gemtools to connect to it on localhost instead of the ip address that
isn't always going to exist.

gemstone works by binding to the ip address for your machine's hostname so...

open up terminal and do

hostname

whatever that returns, 'dario' or whatever is used to get the ip
address that gemstone will bind to.

so, get your hostname then modify

/etc/hosts

so that it answers 127.0.0.1 for that name.

then update your gemtools setup to use the hostname as well.