We're Hiring!

Ldap authentication

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Re: Ldap authentication

Postby joshBC » Fri Feb 19, 2010 1:03 pm

the new weblog file says:
2010-02-19 13:49:03,937 omero.util.UpgradeCheck: INFO no update needed
2010-02-19 12:49:04,062 views-feedback: ERROR handler404: Page not found
2010-02-19 12:49:04,106 views-feedback: ERROR Traceback (most recent call last):
File "/srv/omero/omero_dist/lib/python/django/core/handlers/base.py", line 77, in get_response
request.path_info)
File "/srv/omero/omero_dist/lib/python/django/core/urlresolvers.py", line 191, in resolve
raise Resolver404, {'tried': tried, 'path': new_path}
Resolver404: {'path': u'error/HTTP_SERVICE_UNAVAILABLE.html.var', 'tried': ['^admin/(.*)', '^admin_static/(?P<path>.*)$', '^webgateway/appmedia/(?P<path>.*)$', '(?i)^webadmin/', '(?i)^webclient/', '(?i)^feedback/', '(?i)^webgateway/', '^favicon\\.ico$']}

2010-02-19 12:49:04,400 views-admin : INFO INIT '6892'
2010-02-19 12:49:04,415 views-web : INFO INIT '6892'
2010-02-19 12:49:15,719 views-feedback: ERROR handler404: Page not found
2010-02-19 12:49:15,722 views-feedback: ERROR Traceback (most recent call last):
File "/srv/omero/omero_dist/lib/python/django/core/handlers/base.py", line 77, in get_response
request.path_info)
File "/srv/omero/omero_dist/lib/python/django/core/urlresolvers.py", line 191, in resolve
raise Resolver404, {'tried': tried, 'path': new_path}
Resolver404: {'path': u'error/HTTP_SERVICE_UNAVAILABLE.html.var', 'tried': ['^admin/(.*)', '^admin_static/(?P<path>.*)$', '^webgateway/appmedia/(?P<path>.*)$', '(?i)^webadmin/', '(?i)^webclient/', '(?i)^feedback/', '(?i)^webgateway/', '^favicon\\.ico$']}
Attachments
screen.jpg
screen.jpg (59.35 KiB) Viewed 3506 times
joshBC
 
Posts: 16
Joined: Tue Feb 16, 2010 3:46 pm

Re: Ldap authentication

Postby cxallan » Fri Feb 19, 2010 1:17 pm

Thanks. That's quite a weird one. What do your Apache directives for the mod_python configuration look like?
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Ldap authentication

Postby joshBC » Fri Feb 19, 2010 1:30 pm

The mod_python config file is located in /etc/apache2/conf.d/
Any files from this directory are included in the default-server.conf
joshBC
 
Posts: 16
Joined: Tue Feb 16, 2010 3:46 pm

Re: Ldap authentication

Postby cxallan » Fri Feb 19, 2010 2:15 pm

Hrm. If you do sudo -u wwwrun ls -alR /srv/omero/omero_dist do you have any permission denied errors?
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Ldap authentication

Postby joshBC » Fri Feb 19, 2010 2:59 pm

Okay i got omero running! But i had to change the mod_python settings:
<Location "/omero/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE omeroweb.settings
PythonOption django.root /omero
PythonDebug On
PythonPath "['/srv/omero/omero_dist/lib/python', '/srv/omero/omero_dist/lib/python/omeroweb'] + sys.path"
</Location>

don't aks me why this actually works but it works. unfortunately this workaround leads to another small error:
when logging into webadmin or webclient (http://myserver/omero/webadmin) omero redirects me to http://myserver/webadmin where nothing is found (because as i defined in the mod_python omero should be found under myserver/omero/..)

EDIT:
The error with the wrong redirection does only occure when logging into webclient. webadmin works fine
joshBC
 
Posts: 16
Joined: Tue Feb 16, 2010 3:46 pm

Re: Ldap authentication

Postby cxallan » Fri Feb 19, 2010 3:52 pm

There may already be some default handlers for the "/" location in your Apache configuration. OMERO Beta 4.1.x may have some issues with redirects if you have the application attached to the "/omero" location so you'll want to get it off of there as soon as you can.
cxallan
Site Admin
 
Posts: 509
Joined: Fri May 01, 2009 8:07 am

Re: Ldap authentication

Postby joshBC » Fri Feb 19, 2010 4:04 pm

Ahhh! Thank you. :)
There was another config file which wanted to use the same address as omero. So now everything should work.
Thanks for your support.
joshBC
 
Posts: 16
Joined: Tue Feb 16, 2010 3:46 pm

Previous

Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest