<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sure!<div><br></div><div><div>root@isin09 ~&gt; hostname</div><div>isin09</div><div><br></div><div><div>root@isin09 ~&gt; cat /etc/hosts</div><div># Do not remove the following line, or various programs</div><div># that require network functionality will fail.</div><div>127.0.0.1<span class="Apple-tab-span" style="white-space:pre">                </span>xenserver-isin00 localhost.localdomain localhost</div><div>::1<span class="Apple-tab-span" style="white-space:pre">                </span>localhost6.localdomain6 localhost6</div></div><div><br></div><div><br></div><div>Thank you,</div><div>Vanni</div><div><br></div><div><div><div>On Dec 7, 2010, at 3:36 PM, Chris Allan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Vanni,<br><br>I suspect you've got something very odd with your hostnames and general name resolution. Could you let us know what the output of the following commands is?<br><br>$ hostname<br>$ cat /etc/hosts<br><br>Thanks.<br><br>-Chris<br><br>On 1 Dec 2010, at 12:19, Galli Vanni wrote:<br><br><blockquote type="cite">Dear All,<br></blockquote><blockquote type="cite">I've just upgraded my OMERO installation to 4.2.1, but it seems something went wrong. Actually, I'm not really able to understand if my installation is working correctly or not.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I can normally start the OMERO admin:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">omerouser@isin09 /home/OMERO/OMERO.server-Beta-4.2.1/bin&gt; ./omero admin start<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Creating /home/OMERO/OMERO.server-Beta-4.2.1/var/master<br></blockquote><blockquote type="cite">Creating /home/OMERO/OMERO.server-Beta-4.2.1/var/registry<br></blockquote><blockquote type="cite">No descriptor given. Using etc/grid/default.xml<br></blockquote><blockquote type="cite">Waiting on startup. Use CTRL-C to exit<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">This seem to work fine (no errors on the console), but if I look at the Blitz-0-log I notice some errors:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">omerouser@isin09 /home/OMERO/OMERO.server-Beta-4.2.1/var/log&gt; tail -500f Blitz-0.log <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2010-12-01 12:53:30,641 INFO &nbsp;[ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ome.services.blitz.Entry] ( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;main) Creating OMERO.blitz. Please wait...<br></blockquote><blockquote type="cite">2010-12-01 12:53:44,756 INFO &nbsp;[ng.ShutdownSafeEhcacheManagerFactoryBean] ( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;main) Initializing EHCache CacheManager<br></blockquote><blockquote type="cite">2010-12-01 12:53:44,981 ERROR [ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;net.sf.ehcache.Cache] ( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;main) Unable to set localhost. This prevents creation of a GUID. Cause was: isin09: isin09<br></blockquote><blockquote type="cite">java.net.UnknownHostException: isin09: isin09<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at java.net.InetAddress.getLocalHost(InetAddress.java:1354)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at net.sf.ehcache.Cache.&lt;clinit&gt;(Cache.java:126)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:418)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:334)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at net.sf.ehcache.CacheManager.configure(CacheManager.java:306)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at net.sf.ehcache.CacheManager.init(CacheManager.java:226)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at net.sf.ehcache.CacheManager.&lt;init&gt;(CacheManager.java:213)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:115)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)<br></blockquote><blockquote type="cite"><span class="Apple-tab-span" style="white-space:pre">        </span>at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1400)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What is the meaning of "unable to set localhost"?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">In any case, after this error, OMERO seems correctly working:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2010-12-01 12:54:03,748 INFO &nbsp;[ &nbsp;&nbsp;&nbsp;ome.services.util.ServerVersionCheck] ( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;main) -------------------------------------------------<br></blockquote><blockquote type="cite">2010-12-01 12:54:03,748 INFO &nbsp;[ &nbsp;&nbsp;&nbsp;ome.services.util.ServerVersionCheck] ( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;main) OMERO Version: Beta4.2.1-r8614-Beta4.2-b41 Ready.<br></blockquote><blockquote type="cite">2010-12-01 12:54:03,748 INFO &nbsp;[ &nbsp;&nbsp;&nbsp;ome.services.util.ServerVersionCheck] ( &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;main) -------------------------------------------------<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I'm able to start the django server:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">omerouser@isin09 /home/OMERO/OMERO.server-Beta-4.2.1/bin&gt; ./omero web start<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Starting OMERO.web... Validating models...<br></blockquote><blockquote type="cite">0 errors found<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Django version 1.1.1, using settings 'omeroweb.settings'<br></blockquote><blockquote type="cite">Development server is running at <a href="http://0.0.0.0:4080/">http://0.0.0.0:4080/</a><br></blockquote><blockquote type="cite">Quit the server with CONTROL-C.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">But, as soon as a client connects, this message is printed on the console:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Traceback (most recent call last):<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/servers/basehttp.py", line 279, in run<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;self.result = application(self.environ, self.start_response)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/servers/basehttp.py", line 651, in __call__<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;return self.application(environ, start_response)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/handlers/wsgi.py", line 241, in __call__<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;response = self.get_response(request)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/handlers/base.py", line 73, in get_response<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;response = middleware_method(request)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/middleware/common.py", line 56, in process_request<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;if (not _is_valid_path(request.path_info) and<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/middleware/common.py", line 142, in _is_valid_path<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;urlresolvers.resolve(path)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 303, in resolve<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;return get_resolver(urlconf).resolve(path)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 218, in resolve<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;sub_match = pattern.resolve(new_path)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 216, in resolve<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;for pattern in self.url_patterns:<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 245, in _get_url_patterns<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/core/urlresolvers.py", line 240, in _get_urlconf_module<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;self._urlconf_module = import_module(self.urlconf_name)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/django/utils/importlib.py", line 35, in import_module<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;__import__(name)<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/omeroweb/webadmin/urls.py", line 30, in ?<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;from omeroweb.webadmin import views<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/omeroweb/webadmin/views.py", line 71, in ?<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;from webclient.webclient_gateway import OmeroWebGateway<br></blockquote><blockquote type="cite"> &nbsp;File "/home/OMERO/OMERO.server-Beta-4.2.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 36, in ?<br></blockquote><blockquote type="cite"> &nbsp;&nbsp;&nbsp;logger.error("You need to install the Python Imaging Library. Get it at <a href="http://www.pythonware.com/products/pil/">http://www.pythonware.com/products/pil/</a>")<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Can anyone help me?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you very much for your help!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Best,<br></blockquote><blockquote type="cite">Vanni<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">Scuola Universitaria Professionale della Svizzera Italiana<br></blockquote><blockquote type="cite">Dipartimento Tecnologie Innovative<br></blockquote><blockquote type="cite">Istituto Sistemi Informativi e Networking<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Vanni Galli<br></blockquote><blockquote type="cite">Ricercatore<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Galleria 2<br></blockquote><blockquote type="cite">CH - 6928 Manno<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">T +41 (0)58 666 65 92<br></blockquote><blockquote type="cite"><a href="mailto:vanni.galli@supsi.ch">vanni.galli@supsi.ch</a><br></blockquote><blockquote type="cite"><a href="http://www.supsi.ch/dti">www.supsi.ch/dti</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">ome-devel mailing list<br></blockquote><blockquote type="cite"><a href="mailto:ome-devel@lists.openmicroscopy.org.uk">ome-devel@lists.openmicroscopy.org.uk</a><br></blockquote><blockquote type="cite"><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel</a><br></blockquote><br></div></blockquote></div><br><div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--&nbsp;<br>Scuola Universitaria Professionale della Svizzera Italiana<br>Dipartimento Tecnologie Innovative<br><b>Istituto Sistemi Informativi e Networking</b></div><div><b><br></b>Vanni Galli<br>Ricercatore</div><div><br>Galleria 2<br>CH - 6928 Manno<br><br></div><div>T +41 (0)58 666 65 92</div><div><a href="mailto:vanni.galli@supsi.ch">vanni.galli@supsi.ch</a><br><a href="http://www.supsi.ch/dti">www.supsi.ch/dti</a></div></div></span></div></span></div></span></div></div>
</div>
<br></div></div></body></html>