[ome-users] Web interface on ubuntu
Alex Sossick
ajs17 at cam.ac.uk
Fri Aug 13 12:52:42 BST 2010
Hi Berhnard
Thanks for that,
so I checked mod-python installed and it is,
moved <Location "/"> to mod_python.conf restarted apache2
So still the problem persists, basically http://localhost/webadmin appears
fine, but with the correct log in details the log in page just reloads
itself
In OMEROweb.log
Fri, 13 Aug 2010 11:28:31 omero.util.UpgradeCheck INFO no update needed
Fri, 13 Aug 2010 11:28:31 webgateway INFO
getBlitzConnection(host=localhost, port=4064, ssl=True, username=root)
Fri, 13 Aug 2010 11:28:32 blitz_gateway INFO created connection
(uuid=dfe8afc0-3835-41ae-815e-536f70c4a11a)
This appears in the apache2 error.log file after restarting apache
[Fri Aug 13 11:38:31 2010] [notice] mod_python: Creating 8 session mutexes
based on 6 max processes and 25 max threads.
[Fri Aug 13 11:38:31 2010] [notice] mod_python: using mutex_directory /tmp
[Fri Aug 13 11:38:31 2010] [notice] Apache/2.2.14 (Ubuntu) mod_python/3.3.1
Python/2.6.5 configured -- resuming normal operations
No other errors appear!
I can send someone any log files etc if that helps
thanks
ALEX
Bernhard Holländer at bernhard.hollaender at gmail.com wrote on 12/8/10 11:31:
> Hi Alex!
>
> You need to install mod_python:
>
> $ sudo apt-get install libapache2-mod-python
>
>> Have put this into apache2.conf
>>
>> --==--
>> <Location "/">
>> SetHandler python-program
>> PythonHandler django.core.handlers.modpython
>> SetEnv DJANGO_SETTINGS_MODULE omeroweb.settings
>> PythonDebug On
>> PythonPath "['/home/omero/Desktop/omero/lib/python',
>> '/home/omero/Desktop/omero/var/lib',
>> '/home/omero/Desktop/omero/lib/python/omeroweb'] + sys.path"
>>
>> </Location>
>
> Put this in a file /etc/apach2/conf.d/mod_python.conf rather than in
> apache2.conf. Start apache2
> $ sudo service apache2 start
> Make sure the omeroweb log folder is writable for the apache2 user
> which is www-data on my system.
>
>> Have installed python-django
> Not required, django is included in the omero archive.
>
> If you can't access http://localhost/webadmin check out the apache
> logs in /var/log/apache2. If you get errors from django, check the
> omeroweb log files.
>
> Hope that helps! Bernhard
--
Alex Sossick
Wellcome Trust/Cancer Research UK Gurdon Institute
University of Cambridge
Tennis Court Rd
Cambridge CB2 1QN
UK
email ajs17 at cam.ac.uk
tel 01223 334082
More information about the ome-users
mailing list