[ome-users] omero web start without hang up
Bernhard Holländer
bernhard.hollaender at gmail.com
Thu Jul 29 08:22:40 BST 2010
Hi Bjoern!
Are you sure apache2 is running? In case your under Linux, check the
/var/log/apache2/access_log and error_log for messages when you point
your broswer to http://your-host. You must see some GET loging
statements in access_log otherwise there's something wrong with your
apache setup.
When I set up omeroweb under apache it did not work until I've copied
the custom_setttings.py to omero_dist/lib/python/omeroweb, somehow I
could not convince mod_python to include omero_dist/var/lib in
PYTHONPATH. However, this issue gave me an error message when I
accessed http://my-host/webadmin, so I knew apache/mod_python were
working but omeroweb had problems to load the custom_settings.py
file.
What port are you using in the configuration for omeroweb? You are
writing you can only access Omero.web when you've started omero web
via bin/omero web start, I wonder which url you are using, something
like http://localhost:8000/webadmin? Are you trying the same address
for accessing apache? Apache is listening on port 80 per default and
thus you'd only need http://localhost/webadmin or
http://your-host/webadmin. In case you've configured omero web to use
port 80, it might be the port is in use and apache can't start.
Hope that helps! Bernhard
On Thu, Jul 29, 2010 at 8:27 AM, Josh Moore <josh at glencoesoftware.com> wrote:
> Forwarding to the list. Also, Björn, is there anything in the log directory you specified?
>
> ~Josh
>
> On Jul 28, 2010, at 9:31 PM, Björn Quast wrote:
>
>> Hi Josh,
>>
>> I tried the instructions, but the server does not work without bin/omero web
>> start. So it may depends on my apache configuration. If I understand the
>> instructions right, i only have to:
>>
>> install OMERO.server to /home/omero/
>>
>> add a directory weblog to /home/omero/
>> grant all rights for /OMERO and /home/omero/ to my web server
>> run bin/omero web settings
>> add LOGDIR = '/home/omero/weblog/' to custom_settings.py
>>
>> add the location directive for mod_python to my http-configuration
>> restart apache
>>
>>
>> Is there anything missing?
>> I have done all that but I can access the server only if I start
>> bin/omero web start
>>
>>
>> Cheers Björn
>>
>>
>>
>>
>>
>>
>>
>>> Hi Björn,
>>>
>>> the bin/omero web start command uses the built in Django web-server which
>>> is quite limited and intended only for debugging and testing. Instructions
>>> on setting up OMERO.web for production use are available here:
>>>
>>> http://www.openmicroscopy.org/site/support/omero4/server/install_web
>>>
>>> If the single-threaded Django server suffices for your needs, you can use a
>>> utility like /usr/bin/screen to keep it running.
>>>
>>> Cheers,
>>> ~Josh.
>>>
>>> On Jul 28, 2010, at 2:01 PM, Björn Quast wrote:
>>>> Hello,
>>>>
>>>> I just installed the omero.server4.2, but I wonder how to start the
>>>> omero.web server, so that I can log out from the machine and the server
>>>> is still running. The bin/omero web start command does not go to
>>>> background and I have no idea if I can send it to background because I
>>>> will may loose control on it.
>>>>
>>>> Cheers Björn
>>
>>
>> --
>> Dr. Björn Quast
>> Universität Bonn
>> Institut für Evolutionsbiologie und Ökologie
>> An der Immenburg 1
>> 53121 Bonn
>> Tel.: 0228/735758 email: bquast at evolution.uni-bonn.de
>
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>
More information about the ome-users
mailing list