[Freeipa-devel] web ui error

Rob Crittenden rcritten at redhat.com
Wed Mar 28 19:14:15 UTC 2012


Michael Gregg wrote:
>
> I am trying to use the webui on a ipa machine I have here and I seem to
> be unable to make it work properly.
>
> I load a browser on the machine and head to the webui, in this case
> https://ipaqavmc.testrelm.com/ipa/ui
>
> I've kinited as admin, and I have run through the browser setup as per
> the instructions the webui gives me.
>
> When the ui is about to load I get a popup that says "internal server
> error"
>
> in /var/log/httd/error_log I get:
>
> [Wed Mar 28 15:05:44 2012] [error] [client 10.16.98.180] mod_wsgi
> (pid=18940): Exception occurred processing WSGI script
> '/usr/share/ipa/wsgi.py'.
> [Wed Mar 28 15:05:44 2012] [error] [client 10.16.98.180] Traceback (most
> recent call last):
> [Wed Mar 28 15:05:44 2012] [error] [client 10.16.98.180] File
> "/usr/share/ipa/wsgi.py", line 49, in application
> [Wed Mar 28 15:05:44 2012] [error] [client 10.16.98.180] return
> api.Backend.wsgi_dispatch(environ, start_response)
> [Wed Mar 28 15:05:44 2012] [error] [client 10.16.98.180] File
> "/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 229, in
> __call__
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] return
> self.route(environ, start_response)
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] File
> "/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 241, in
> route
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] return
> app(environ, start_response)
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] File
> "/usr/lib/python2.6/site-packages/ipaserver/rpcserver.py", line 792, in
> __call__
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] ipa_ccache_name
> = bind_ipa_ccache(ccache_data)
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] File
> "/usr/lib/python2.6/site-packages/ipalib/session.py", line 1228, in
> bind_ipa_ccache
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] dst =
> open(name, 'w')
> [Wed Mar 28 15:05:45 2012] [error] [client 10.16.98.180] IOError: [Errno
> 13] Permission denied: '/var/run/ipa_memcached/krbcc_18940'
>
> I'm not sure what is going on. I then set the permissions of
> /var/run/ipa_memcached to full open:
> drwxrwxrwx. 2 apache apache 4096 Mar 20 19:02 ipa_memcached
>
> Any ideas on what I can do to make the webui work?
>
> Michael-

See if SELinux is complaining about the file.

What version of ipa-server?

rob




More information about the Freeipa-devel mailing list