Here it is:forgot to ask you about apache.conf.tmp config
- Code: Select all
- ###
 ### Apache 2.4+ stanza for OMERO.web created 2016-04-28 11:58:34.994110
 ###
 <VirtualHost _default_:80>
 WSGIDaemonProcess omeroweb processes=5 threads=1 maximum-requests=0 display-name=%{GROUP} user=omero python-path=/usr/lib/python2.7/dist-packages:/home/omero/OMERO.server/lib/python:/home/omero/OMERO.server/lib/fallback:/home/omero/OMERO.server/lib/python/omeroweb
 WSGIScriptAlias / /home/omero/OMERO.server/lib/python/omeroweb/wsgi.py process-group=omeroweb
 <Directory "/home/omero/OMERO.server/lib/python/omeroweb">
 WSGIProcessGroup omeroweb
 WSGIApplicationGroup %{GLOBAL}
 Require all granted
 </Directory>
 Alias /static /home/omero/OMERO.server/lib/python/omeroweb/static
 <Directory "/home/omero/OMERO.server/lib/python/omeroweb/static">
 Options -Indexes -FollowSymLinks
 Require all granted
 </Directory>
 </VirtualHost>
 # see https://code.google.com/p/modwsgi/wiki/ConfigurationIssues
 WSGISocketPrefix run/wsgi
 # Use this on Ubuntu/Debian/MacOSX systems:
 # WSGISocketPrefix /var/run/wsgi
# Use this on Ubuntu/Debian/MacOSX systems:
# WSGISocketPrefix /var/run/wsgi
means nor what I am supposed to do...

I modified the "apache.conf.tmp" to:
- Code: Select all
- ###
 ### Apache 2.4+ stanza for OMERO.web created 2016-04-28 11:58:34.994110
 ###
 <VirtualHost _default_:80>
 WSGIDaemonProcess omeroweb processes=5 threads=1 maximum-requests=0 display-name=%{GROUP} user=omero python-path=/usr/lib/python2.7/dist-packages:/home/omero/OMERO.server/lib/python:/home/omero/OMERO.server/lib/fallback:/home/omero/OMERO.server/lib/python/omeroweb
 WSGIScriptAlias / /home/omero/OMERO.server/lib/python/omeroweb/wsgi.py process-group=omeroweb
 <Directory "/home/omero/OMERO.server/lib/python/omeroweb">
 WSGIProcessGroup omeroweb
 WSGIApplicationGroup %{GLOBAL}
 Require all granted
 </Directory>
 Alias /static /home/omero/OMERO.server/lib/python/omeroweb/static
 <Directory "/home/omero/OMERO.server/lib/python/omeroweb/static">
 Options -Indexes -FollowSymLinks
 Require all granted
 </Directory>
 </VirtualHost>
 # see https://code.google.com/p/modwsgi/wiki/ConfigurationIssues
 #WSGISocketPrefix run/wsgi
 # Use this on Ubuntu/Debian/MacOSX systems:
 WSGISocketPrefix /var/run/wsgi
- Code: Select all
- cp ~omero/OMERO.server/apache.conf.tmp /etc/apache2/sites-available/omero-web.conf
 a2dissite 000-default.conf
 a2ensite omero-web.conf
 service apache2 start
- Code: Select all
- OMERO.server/bin/omero web start
- Code: Select all
- omero@pc5944:~$ OMERO.server/bin/omero web start
 Post-processed 'omeroweb.viewer.min.css' as 'omeroweb.viewer.min.css'
 Post-processed 'omeroweb.viewer.min.js' as 'omeroweb.viewer.min.js'
 0 static files copied to '/home/omero/OMERO.server/lib/python/omeroweb/static', 618 unmodified, 2 post-processed.
 Clearing expired sessions. This may take some time... [OK]
 You are deploying OMERO.web using apache and mod_wsgi. Generate apache config using 'omero web config apache' and reload web server.
 omero@pc5944:~$
"You are deploying OMERO.web using apache and mod_wsgi. Generate apache config using 'omero web config apache' and reload web server"
and still no web connection. I rebooted the server just in case, but to no avail.

EDIT: I just tried with "WSGISocketPrefix /var/run/apache2/wsgi" instead of " WSGISocketPrefix /var/run/wsgi" in "apache.conf.tmp" file. Same exact result.
 
    

