Problems with Omeroweb on 5.2.4 on Mac Install
Posted: Mon Jul 25, 2016 8:27 pm
Hi: I've been having a lot of trouble with omeroweb after an upgrade to omero 5.2.4
(on a Mac after an upgrade to 10.11)
Initially, I was trying to move from a 5.1 to a 5.2.4 install and it just wasn't working.
I kept getting errors in the /var/log/apache like this...
error_log
Fatal Python error: PyThreadState_Get: no current thread
Truncated or oversized response headers received from daemon process 'omeroweb' /usr/local/Cellar/omero52/5.2.4/lib/python/omeroweb/wsgi.py
AH00052: child pid 66761 exit signal Abort trap (6)
I could connect via omero.insight and command line just fine.
So, thinking I probably missed some sort of python library, I started fresh on an old MacBook Pro.
I followed the Mac/Homebrew instructions as precisely as I could, taking notes when anything deviated from the norm at all.*
* (Happy to provide those too...pytables install broke, but I found a work around.)
I set up apache, and was able to see a "it works" page in both localhost and a different computer.
I was able to write a simple wsgi "hello world" script in another place and get it working. WSGI is working okay.
I was able to switch to /var/run for the wsgi.
But I'm still getting the same errors when it comes to omero's wsgi running on Apache2.4 on a Mac running 10.11.
Something isn't working when it comes to Apache omeroweb using mod_wsgi.
Maybe doing something again and expecting different results is crazy, but I'm out of options. Something isn't right here.
omero admin diag
********************************
================================================================================
OMERO Diagnostics 5.2.4-ice35
================================================================================
Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.12 (/usr/local/bin/python -- 2 others)
Commands: icegridnode --version 3.5.1 (/usr/local/bin/icegridnode)
Commands: icegridadmin --version 3.5.1 (/usr/local/bin/icegridadmin)
Commands: psql --version 9.3.13 (/usr/local/bin/psql)
Server: icegridnode running
Server: Blitz-0 active (pid = 6607, enabled)
Server: DropBox active (pid = 6609, enabled)
Server: FileServer active (pid = 6608, enabled)
Server: Indexer-0 active (pid = 6610, enabled)
Server: MonitorServer active (pid = 6611, enabled)
Server: OMERO.Glacier2 active (pid = 6612, enabled)
Server: OMERO.IceStorm active (pid = 6613, enabled)
Server: PixelData-0 active (pid = 6614, enabled)
Server: Processor-0 active (pid = 6615, enabled)
Server: Tables-0 active (pid = 6616, enabled)
Server: TestDropBox inactive (enabled)
Log dir: /usr/local/Cellar/omero52/5.2.4/var/log exists
Log files: --encoding=UTF8 14.0 MB
Log files: Blitz-0.log 124.0 MB errors=1331 warnings=1678
Log files: DropBox.log 100.0 KB errors=104 warnings=50
Log files: FileServer.log 17.0 KB
Log files: Indexer-0.log 1.0 MB errors=618 warnings=0
Log files: MonitorServer.log 31.0 KB errors=30 warnings=0
Log files: OMEROweb.lock 0.0 KB
Log files: OMEROweb.log 792.0 KB errors=0 warnings=348
Log files: OMEROweb_brokenrequest.lock 0.0 KB
Log files: OMEROweb_brokenrequest.log 10.0 KB errors=0 warnings=67
Log files: PixelData-0.log 1.0 MB errors=619 warnings=9
Log files: Processor-0.log 2.0 MB errors=745 warnings=223
Log files: Tables-0.log 10.0 KB errors=0 warnings=4
Log files: TestDropBox.log n/a
Log files: master.err 8.0 MB errors=4106 warnings=4269
Log files: master.out 0.0 KB
Log files: nginx_access.log 0.0 KB
Log files: nginx_error.log 0.0 KB
Log files: omero_06272016_omero.db.dump 14.0 MB
Log files: Total size 168.29 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=(unset)
Environment:PATH=/usr/local/bin:/usr/local/sbin:/usr/local/lib/node_modules:/usr/local/Cellar/postgresql/9.5.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
Environment:PYTHONPATH=/usr/local/lib/python2.7:/usr/local/opt/omero52/lib/python
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/Volumes/Pegasus/omero/OMERO.data' Exists? True Is writable? True
OMERO temp dir:'/Users/gilroylab/omero/tmp' Exists? True Is writable? True (Size: 0)
JVM settings: Blitz-${index} -Xmx17179m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx5153m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
OMERO.web status... [NOT STARTED]
Django version: 1.8.13
================================================================================
OMERO Diagnostics 5.2.4-ice35
================================================================================
Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.12 (/usr/local/bin/python -- 2 others)
Commands: icegridnode --version 3.5.1 (/usr/local/bin/icegridnode)
Commands: icegridadmin --version 3.5.1 (/usr/local/bin/icegridadmin)
Commands: psql --version 9.3.13 (/usr/local/bin/psql)
Server: icegridnode running
Server: Blitz-0 active (pid = 6607, enabled)
Server: DropBox active (pid = 6609, enabled)
Server: FileServer active (pid = 6608, enabled)
Server: Indexer-0 active (pid = 6610, enabled)
Server: MonitorServer active (pid = 6611, enabled)
Server: OMERO.Glacier2 active (pid = 6612, enabled)
Server: OMERO.IceStorm active (pid = 6613, enabled)
Server: PixelData-0 active (pid = 6614, enabled)
Server: Processor-0 active (pid = 6615, enabled)
Server: Tables-0 active (pid = 6616, enabled)
Server: TestDropBox inactive (enabled)
Log dir: /usr/local/Cellar/omero52/5.2.4/var/log exists
Log files: --encoding=UTF8 14.0 MB
Log files: Blitz-0.log 124.0 MB errors=1331 warnings=1678
Log files: DropBox.log 100.0 KB errors=104 warnings=50
Log files: FileServer.log 17.0 KB
Log files: Indexer-0.log 1.0 MB errors=618 warnings=0
Log files: MonitorServer.log 31.0 KB errors=30 warnings=0
Log files: OMEROweb.lock 0.0 KB
Log files: OMEROweb.log 792.0 KB errors=0 warnings=348
Log files: OMEROweb_brokenrequest.lock 0.0 KB
Log files: OMEROweb_brokenrequest.log 10.0 KB errors=0 warnings=67
Log files: PixelData-0.log 1.0 MB errors=619 warnings=9
Log files: Processor-0.log 2.0 MB errors=745 warnings=223
Log files: Tables-0.log 10.0 KB errors=0 warnings=4
Log files: TestDropBox.log n/a
Log files: master.err 8.0 MB errors=4106 warnings=4269
Log files: master.out 0.0 KB
Log files: nginx_access.log 0.0 KB
Log files: nginx_error.log 0.0 KB
Log files: omero_06272016_omero.db.dump 14.0 MB
Log files: Total size 168.29 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=(unset)
Environment:PATH=/usr/local/bin:/usr/local/sbin:/usr/local/lib/node_modules:/usr/local/Cellar/postgresql/9.5.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
Environment:PYTHONPATH=/usr/local/lib/python2.7:/usr/local/opt/omero52/lib/python
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/Volumes/Pegasus/omero/OMERO.data' Exists? True Is writable? True
OMERO temp dir:'/Users/gilroylab/omero/tmp' Exists? True Is writable? True (Size: 0)
JVM settings: Blitz-${index} -Xmx17179m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx5153m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
OMERO.web status... [NOT STARTED]
Django version: 1.8.13
(on a Mac after an upgrade to 10.11)
Initially, I was trying to move from a 5.1 to a 5.2.4 install and it just wasn't working.
I kept getting errors in the /var/log/apache like this...
error_log
Fatal Python error: PyThreadState_Get: no current thread
Truncated or oversized response headers received from daemon process 'omeroweb' /usr/local/Cellar/omero52/5.2.4/lib/python/omeroweb/wsgi.py
AH00052: child pid 66761 exit signal Abort trap (6)
I could connect via omero.insight and command line just fine.
So, thinking I probably missed some sort of python library, I started fresh on an old MacBook Pro.
I followed the Mac/Homebrew instructions as precisely as I could, taking notes when anything deviated from the norm at all.*
* (Happy to provide those too...pytables install broke, but I found a work around.)
I set up apache, and was able to see a "it works" page in both localhost and a different computer.
I was able to write a simple wsgi "hello world" script in another place and get it working. WSGI is working okay.
I was able to switch to /var/run for the wsgi.
But I'm still getting the same errors when it comes to omero's wsgi running on Apache2.4 on a Mac running 10.11.
Something isn't working when it comes to Apache omeroweb using mod_wsgi.
Maybe doing something again and expecting different results is crazy, but I'm out of options. Something isn't right here.
omero admin diag
********************************
================================================================================
OMERO Diagnostics 5.2.4-ice35
================================================================================
Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.12 (/usr/local/bin/python -- 2 others)
Commands: icegridnode --version 3.5.1 (/usr/local/bin/icegridnode)
Commands: icegridadmin --version 3.5.1 (/usr/local/bin/icegridadmin)
Commands: psql --version 9.3.13 (/usr/local/bin/psql)
Server: icegridnode running
Server: Blitz-0 active (pid = 6607, enabled)
Server: DropBox active (pid = 6609, enabled)
Server: FileServer active (pid = 6608, enabled)
Server: Indexer-0 active (pid = 6610, enabled)
Server: MonitorServer active (pid = 6611, enabled)
Server: OMERO.Glacier2 active (pid = 6612, enabled)
Server: OMERO.IceStorm active (pid = 6613, enabled)
Server: PixelData-0 active (pid = 6614, enabled)
Server: Processor-0 active (pid = 6615, enabled)
Server: Tables-0 active (pid = 6616, enabled)
Server: TestDropBox inactive (enabled)
Log dir: /usr/local/Cellar/omero52/5.2.4/var/log exists
Log files: --encoding=UTF8 14.0 MB
Log files: Blitz-0.log 124.0 MB errors=1331 warnings=1678
Log files: DropBox.log 100.0 KB errors=104 warnings=50
Log files: FileServer.log 17.0 KB
Log files: Indexer-0.log 1.0 MB errors=618 warnings=0
Log files: MonitorServer.log 31.0 KB errors=30 warnings=0
Log files: OMEROweb.lock 0.0 KB
Log files: OMEROweb.log 792.0 KB errors=0 warnings=348
Log files: OMEROweb_brokenrequest.lock 0.0 KB
Log files: OMEROweb_brokenrequest.log 10.0 KB errors=0 warnings=67
Log files: PixelData-0.log 1.0 MB errors=619 warnings=9
Log files: Processor-0.log 2.0 MB errors=745 warnings=223
Log files: Tables-0.log 10.0 KB errors=0 warnings=4
Log files: TestDropBox.log n/a
Log files: master.err 8.0 MB errors=4106 warnings=4269
Log files: master.out 0.0 KB
Log files: nginx_access.log 0.0 KB
Log files: nginx_error.log 0.0 KB
Log files: omero_06272016_omero.db.dump 14.0 MB
Log files: Total size 168.29 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=(unset)
Environment:PATH=/usr/local/bin:/usr/local/sbin:/usr/local/lib/node_modules:/usr/local/Cellar/postgresql/9.5.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
Environment:PYTHONPATH=/usr/local/lib/python2.7:/usr/local/opt/omero52/lib/python
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/Volumes/Pegasus/omero/OMERO.data' Exists? True Is writable? True
OMERO temp dir:'/Users/gilroylab/omero/tmp' Exists? True Is writable? True (Size: 0)
JVM settings: Blitz-${index} -Xmx17179m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx5153m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
OMERO.web status... [NOT STARTED]
Django version: 1.8.13
================================================================================
OMERO Diagnostics 5.2.4-ice35
================================================================================
Commands: java -version 1.8.0 (/usr/bin/java)
Commands: python -V 2.7.12 (/usr/local/bin/python -- 2 others)
Commands: icegridnode --version 3.5.1 (/usr/local/bin/icegridnode)
Commands: icegridadmin --version 3.5.1 (/usr/local/bin/icegridadmin)
Commands: psql --version 9.3.13 (/usr/local/bin/psql)
Server: icegridnode running
Server: Blitz-0 active (pid = 6607, enabled)
Server: DropBox active (pid = 6609, enabled)
Server: FileServer active (pid = 6608, enabled)
Server: Indexer-0 active (pid = 6610, enabled)
Server: MonitorServer active (pid = 6611, enabled)
Server: OMERO.Glacier2 active (pid = 6612, enabled)
Server: OMERO.IceStorm active (pid = 6613, enabled)
Server: PixelData-0 active (pid = 6614, enabled)
Server: Processor-0 active (pid = 6615, enabled)
Server: Tables-0 active (pid = 6616, enabled)
Server: TestDropBox inactive (enabled)
Log dir: /usr/local/Cellar/omero52/5.2.4/var/log exists
Log files: --encoding=UTF8 14.0 MB
Log files: Blitz-0.log 124.0 MB errors=1331 warnings=1678
Log files: DropBox.log 100.0 KB errors=104 warnings=50
Log files: FileServer.log 17.0 KB
Log files: Indexer-0.log 1.0 MB errors=618 warnings=0
Log files: MonitorServer.log 31.0 KB errors=30 warnings=0
Log files: OMEROweb.lock 0.0 KB
Log files: OMEROweb.log 792.0 KB errors=0 warnings=348
Log files: OMEROweb_brokenrequest.lock 0.0 KB
Log files: OMEROweb_brokenrequest.log 10.0 KB errors=0 warnings=67
Log files: PixelData-0.log 1.0 MB errors=619 warnings=9
Log files: Processor-0.log 2.0 MB errors=745 warnings=223
Log files: Tables-0.log 10.0 KB errors=0 warnings=4
Log files: TestDropBox.log n/a
Log files: master.err 8.0 MB errors=4106 warnings=4269
Log files: master.out 0.0 KB
Log files: nginx_access.log 0.0 KB
Log files: nginx_error.log 0.0 KB
Log files: omero_06272016_omero.db.dump 14.0 MB
Log files: Total size 168.29 MB
Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_USERDIR=(unset)
Environment:OMERO_TMPDIR=(unset)
Environment:PATH=/usr/local/bin:/usr/local/sbin:/usr/local/lib/node_modules:/usr/local/Cellar/postgresql/9.5.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
Environment:PYTHONPATH=/usr/local/lib/python2.7:/usr/local/opt/omero52/lib/python
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)
OMERO SSL port:4064
OMERO TCP port:4063
OMERO data dir:'/Volumes/Pegasus/omero/OMERO.data' Exists? True Is writable? True
OMERO temp dir:'/Users/gilroylab/omero/tmp' Exists? True Is writable? True (Size: 0)
JVM settings: Blitz-${index} -Xmx17179m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Indexer-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: PixelData-${index} -Xmx5153m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
JVM settings: Repository-${index} -Xmx3435m -XX:MaxPermSize=1g -XX:+IgnoreUnrecognizedVMOptions
OMERO.web status... [NOT STARTED]
Django version: 1.8.13