Ticket #242 (closed defect: fixed)

Opened 1 year ago

Last modified 5 months ago

ip address detection failing on opensolaris 2009.6

Reported by: bendunk Assigned to: dev
Priority: major Milestone:
Component: Core Version:
Keywords: Cc:

Description

After install following http://coherence-project.org/wiki/SolarisInstallation on OpenSolaris? 2009.6 coherence fails to start fully/correctly, with the following log message:

WARN  coherence  Jul 15 21:16:26  Coherence UPnP framework version 0.6.4 starting... (coherence/base.py:281)
WARN  coherence  Jul 15 21:16:26  detection of own ip failed, using 127.0.0.1 as own address, functionality will be limited (coherence/base.py:306)

(In theory it should be detecting interface rge0 with IP address 192.168.1.5)

Change History

13.09.2009 09:52:57 changed by deesh

I have also encountered this, and it basically prevents coherence from working, I have a couple of suggestions.

1. rather than fallback to 127.0.0.1, fallback to the host name, this means if clients can resolve the hostname, coherence will actually work.

2. there must be some portable way of detecting ip, I know socket.getsockname() will return the outgoing address used to make the connection, there must be something more portable than resorting to system calls in python...

13.09.2009 10:55:23 changed by deesh

actually, I've found a resolution to this.

easy_install netifaces

14.09.2009 18:49:04 changed by dev

  • status changed from new to closed.
  • resolution set to fixed.

yep, this ticket is a duplicate of #194 - the best solution on non-Linux platforms is indeed netifaces.

The dependency will be handled by the respective platform specific package, but we should add it to setup.py when doing the install on OpenSolaris?.

14.09.2009 18:58:12 changed by dev

(In [1408]) add netifaces as a dependency when doing a setuptools install on OpenSolaris? and Windows, addresses #242

14.02.2010 23:48:57 changed by nielsgoossens

  • status changed from closed to reopened.
  • resolution deleted.

I have netifaces installed, but still have this problem.

14.02.2010 23:52:22 changed by nielsgoossens

  • status changed from reopened to closed.
  • resolution set to fixed.

never mind, that was stupid. i changed DNS shortly before installing coherence and resolv.conf wasn't properly updated on the solaris box. it's fixed now.