<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Aleksandra,<br>
<br>
Thank you very much for your reply.<br>
<br>
I would like to avoid using Homebrew because it requires system
changes (e.g. changing permissions in /usr/local) that I'm not happy
with. As you might have seen, I've asked another question about
using 'bin/omero admin rewrite'. I've manually edited entries with
IceSSL:createIceSSL as mentioned in detail below based on
instructions from the ZeroC website (check out
<a class="moz-txt-link-freetext" href="https://doc.zeroc.com/display/Ice35/Using+the+OS+X+Binary+Distribution#UsingtheOSXBinaryDistribution-OverviewoftheOSXbinarydistribution">https://doc.zeroc.com/display/Ice35/Using+the+OS+X+Binary+Distribution#UsingtheOSXBinaryDistribution-OverviewoftheOSXbinarydistribution</a>).<br>
<br>
I had installed Ice-3.5.1 from the binary from
<a class="moz-txt-link-freetext" href="https://zeroc.com/downloads/ice/3.5/">https://zeroc.com/downloads/ice/3.5/</a>, which installs to
/Library/Developer/Ice-3.5.1 on my Mac.<br>
<br>
My current solution has been to include the path to the IceSSL
library in two files (from ~/omero/OMERO.server):<br>
<br>
<b>lib/python/omero/clients.py</b><br>
I've edited the line<br>
> 'self._optSetProp(id, "Ice.Plugin.IceSSL",
"IceSSL:createIceSSL")'<br>
to read<br>
> 'self._optSetProp(id, "Ice.Plugin.IceSSL",
"/Library/Developer/Ice-3.5/lib/IceSSL:createIceSSL")'<br>
<br>
and in<br>
<br>
<b>etc/templates/grid/tempates.xml</b><br>
I've changed all instances (there were three) of
"IceSSL:createIceSSL" to
"/Library/Developer/Ice-3.5/lib/IceSSL:createIceSSL"<br>
<br>
Thereafter, I restarted my Mac and OMERO.server.<br>
<br>
With kind regards,<br>
<br>
Paul<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/11/2015 13:11, Aleksandra
Tarkowska (Staff) wrote:<br>
</div>
<blockquote
cite="mid:58DA069A-5E74-4F92-9091-DB4DBA76389A@dundee.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Hi Paul
<div class=""><br class="">
</div>
<div class="">As I already pointed to you on our forum, your
openssl lib may be outdated. Please follow our Mac walk through
documentation and install python and Romero dependences using
brew <a moz-do-not-send="true" class="postlink"
href="https://www.openmicroscopy.org/site/support/omero5.2/sysadmins/unix/server-install-homebrew.html">https://www.openmicroscopy.org/site/sup
… brew.html</a>. </div>
<div class=""><br class="">
</div>
<div class="">You can check which version you are using, for
example:</div>
<div class=""><br class="">
</div>
<div class="">$ otool -L
/Library/Developer/Ice-3.5.1/lib/libIceSSL.35.dylib</div>
<div class="">
<div style="margin: 0px; line-height: normal; min-height: 14px;"
class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; min-height: 14px;"
class="">We are about to update our Mac OS X documentation and
remove part that use build in python as this is invalid.</div>
<div style="margin: 0px; line-height: normal; min-height: 14px;"
class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; min-height: 14px;"
class="">I hope it will help.</div>
<div style="margin: 0px; line-height: normal; min-height: 14px;"
class=""><br class="">
</div>
<div apple-content-edited="true" class=""><span style="color:
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; display: inline !important;
float: none;" class="">Ola</span> </div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 12 Nov 2015, at 12:22, Paul Kibet Korir
<<a moz-do-not-send="true"
href="mailto:pkorir@ebi.ac.uk" class="">pkorir@ebi.ac.uk</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div bgcolor="#FFFFFF" text="#000000" class="">Hi
OMERO-Users,<br class="">
<br class="">
I'd be really grateful to receive any assistance on
getting OMERO.web for OMERO 5.2 to work on Yosemite.
When I try to log in I get "Error: Server is not
responding, please contact administrator." I can log in
using OMERO.insight.<br class="">
<br class="">
The following error appears in var/log/OMEROweb.log:<br
class="">
<br class="">
2015-11-12 12:05:04,699 ERROR [
omeroweb.connector] (proc.00202)
create_guest_connection:190 Cannot create a guest
connection.<br class="">
Traceback (most recent call last):<br class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omeroweb/connector.py",
line 184, in create_guest_connection<br class="">
connection = self.create_gateway(useragent, guest,
guest, None)<br class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omeroweb/connector.py",
line 149, in create_gateway<br class="">
useragent=useragent, anonymous=<a
moz-do-not-send="true" href="http://self.is" class="">self.is</a>_public,
userip=userip)<br class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omero/__init__.py",
line 62, in client_wrapper<br class="">
return omero.gateway.BlitzGateway(*args, **kwargs)<br
class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omeroweb/webclient/webclient_gateway.py",
line 130, in __init__<br class="">
super(OmeroWebGateway, self).__init__(*args,
**kwargs)<br class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omero/gateway/__init__.py",
line 1479, in __init__<br class="">
self._resetOmeroClient()<br class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omero/gateway/__init__.py",
line 1921, in _resetOmeroClient<br class="">
args=['--Ice.Config='+','.join(self.ice_config)])<br
class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omero/__init__.py",
line 67, in client<br class="">
return omero.clients.BaseClient(*args, **kwargs)<br
class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omero/clients.py",
line 140, in __init__<br class="">
self._initData(id)<br class="">
File
"/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/lib/python/omero/clients.py",
line 255, in _initData<br class="">
self.__ic = Ice.initialize(id)<br class="">
File "/Library/Python/2.7/site-packages/Ice.py", line
647, in initialize<br class="">
communicator = IcePy.Communicator(args, data)<br
class="">
PluginInitializationException: exception
::Ice::PluginInitializationException<br class="">
{<br class="">
reason = unable to load entry point
`IceSSL:createIceSSL': dlopen(libIceSSL.35.dylib, 10):
image not found; dlopen(libIceSSL.35.so, 10): image not
found; dlopen(libIceSSL.35.bundle, 10): image not found<br
class="">
}<br class="">
<br class="">
I'm surprised by this given that I have the following
environment variables:<br class="">
$ echo $LD_LIBRARY_PATH <br class="">
/Library/Developer/Ice-3.5.1/lib:/Library/Developer/Ice-3.5.1/lib/c++11:<br
class="">
<br class="">
$ echo $DYLD_LIBRARY_PATH <br class="">
/Library/Developer/Ice-3.5.1/lib:/Library/Developer/Ice-3.5.1/lib/c++11:/Applications/IMOD/lib::/usr/local/bsoft/lib<br
class="">
<br class="">
The above first entry of the above paths contain
IceSSL.35.dyld. I've added the c++11 libraries just in
case.<br class="">
<br class="">
Here is the output of bin/omero admin diagnostics:<br
class="">
================================================================================<br
class="">
OMERO Diagnostics 5.2.0-ice35-b12<br class="">
================================================================================<br
class="">
<br class="">
Commands: java -version 1.8.0
(/usr/bin/java)<br class="">
Commands: python -V 2.7.10
(/usr/bin/python)<br class="">
Commands: icegridnode --version 3.5.1
(/Library/Developer/Ice-3.5/bin/icegridnode)<br class="">
Commands: icegridadmin --version 3.5.1
(/Library/Developer/Ice-3.5/bin/icegridadmin)<br
class="">
Commands: psql --version 9.4.5
(/Applications/Postgres.app/Contents/Versions/9.4/bin/psql)<br
class="">
<br class="">
Server: icegridnode running<br
class="">
Server: Blitz-0 active (pid =
4860, enabled)<br class="">
Server: DropBox active (pid =
4861, enabled)<br class="">
Server: FileServer active (pid =
4862, enabled)<br class="">
Server: Indexer-0 active (pid =
4863, enabled)<br class="">
Server: MonitorServer active (pid =
4864, enabled)<br class="">
Server: OMERO.Glacier2 active (pid =
4865, enabled)<br class="">
Server: OMERO.IceStorm active (pid =
4866, enabled)<br class="">
Server: PixelData-0 active (pid =
4867, enabled)<br class="">
Server: Processor-0 active (pid =
4868, enabled)<br class="">
Server: Tables-0 active (pid =
4869, enabled)<br class="">
Server: TestDropBox inactive
(enabled)<br class="">
<br class="">
Log dir:
/Users/pkorir/omero/OMERO.server-5.2.0-ice35-b12/var/log
exists<br class="">
Log files: Blitz-0.log 2.0 MB
errors=64 warnings=0 <br class="">
Log files: DropBox.log 8.0 KB
errors=0 warnings=3 <br class="">
Log files: FileServer.log 1.0 KB
<br class="">
Log files: Indexer-0.log 10.0 KB
<br class="">
Log files: MonitorServer.log 4.0 KB
<br class="">
Log files: OMEROweb.lock 0.0 KB
<br class="">
Log files: OMEROweb.log 48.0 KB
errors=22 warnings=4 <br class="">
Log files: OMEROweb_brokenrequest.lock 0.0 KB
<br class="">
Log files: OMEROweb_brokenrequest.log 0.0 KB
<br class="">
Log files: PixelData-0.log 12.0 KB
<br class="">
Log files: Processor-0.log 228.0 KB
errors=64 warnings=3 <br class="">
Log files: Tables-0.log 6.0 KB
errors=0 warnings=3 <br class="">
Log files: TestDropBox.log n/a<br
class="">
Log files: master.err 0.0 KB
errors=0 warnings=1 <br class="">
Log files: master.out 0.0 KB
<br class="">
Log files: Total size 2.89 MB<br
class="">
<br class="">
<br class="">
Environment:OMERO_HOME=(unset) <br class="">
Environment:OMERO_NODE=(unset) <br class="">
Environment:OMERO_MASTER=(unset) <br class="">
Environment:OMERO_USERDIR=(unset) <br class="">
Environment:OMERO_TMPDIR=(unset) <br class="">
Environment:PATH=/Library/Developer/Ice-3.5/bin:/Applications/IMOD/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/bsoft/bin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/Users/pkorir/Code
<br class="">
Environment:PYTHONPATH=:/Users/pkorir/omero/OMERO.server/lib/python
<br class="">
Environment:ICE_HOME=/Library/Developer/Ice-3.5 <br
class="">
Environment:LD_LIBRARY_PATH=/Library/Developer/Ice-3.5.1/lib:/Library/Developer/Ice-3.5.1/lib/c++11:
<br class="">
Environment:DYLD_LIBRARY_PATH=/Library/Developer/Ice-3.5.1/lib:/Library/Developer/Ice-3.5.1/lib/c++11:/Applications/IMOD/lib::/usr/local/bsoft/lib
<br class="">
<br class="">
OMERO SSL port:4064 <br
class="">
OMERO TCP port:4063 <br
class="">
OMERO data dir:'/OMERO' Exists?
True Is writable? True<br class="">
OMERO temp dir:'/Users/pkorir/omero/tmp' Exists?
True Is writable? True (Size: 0)<br class="">
<br class="">
JVM settings: Blitz-${index} -Xmx2576m
-XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions<br
class="">
JVM settings: Indexer-${index} -Xmx1717m
-XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions<br
class="">
JVM settings: PixelData-${index} -Xmx2576m
-XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions<br
class="">
JVM settings: Repository-${index} -Xmx1717m
-XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions<br
class="">
<br class="">
OMERO.web status... [NOT STARTED]<br class="">
Django version: 1.8.6<br class="">
<br class="">
As you can see OMERO.web status is [NOT STARTED]. <br
class="">
<br class="">
Any pointers will be gratefully received.<br class="">
<br class="">
<div class="moz-signature">-- <br class="">
With kind regards,<br class="">
<br class="">
<strong class="">Paul K Korir, PhD</strong><br
class="">
<i class="">Scientific Programmer</i><br class="">
EMBL-EBI<br class="">
Main Building, A2-35,<br class="">
WTGC, Hinxton, Cambridge CB10 1SD<br class="">
P: +44 1223 49 44 22<br class="">
F: +44 1223 49 44 68</div>
</div>
_______________________________________________<br
class="">
ome-users mailing list<br class="">
<a moz-do-not-send="true"
href="mailto:ome-users@lists.openmicroscopy.org.uk"
class="">ome-users@lists.openmicroscopy.org.uk</a><br
class="">
<a class="moz-txt-link-freetext"
href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a
registered Scottish Charity, No: SC015096</span> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ome-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
With kind regards,<br>
<br>
<strong>Paul K Korir, PhD</strong><br>
<i>Scientific Programmer</i><br>
EMBL-EBI<br>
Main Building, A2-35,<br>
WTGC, Hinxton, Cambridge CB10 1SD<br>
P: +44 1223 49 44 22<br>
F: +44 1223 49 44 68</div>
</body>
</html>