Discussion:
[Freeipa-users] Unable to access web interface
Uzor Ide
2010-12-28 17:21:49 UTC
Permalink
Hi all

I just noticed that am unable to access the web interface for freeipa. I had
updated the server 2.0 alpha-5 and then beta version that came out some days
ago. but since I do not use that web interface I have not idea when I lost
the web interface ability.
Now, though when I try to get to the web interface from a kerberized account
all I get is an http error

"The requested URL /ipa/ui was not found on this server"

In the httpd error log, all that is there are

[Tue Dec 28 11:55:29 2010] [error] [client 192.168.17.13] File does not
exist: /var/www/html/favicon.ico
[Tue Dec 28 11:55:32 2010] [error] [client 192.168.17.13] File does not
exist: /var/www/html/favicon.ico

access_log shows:

192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1" 301
319 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209
Fedora/3.6.13-1.fc13 Firefox/3.6.13"
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1" 401
1164
192.168.17.13 - ***@MYDOMAIN [28/Dec/2010:11:56:36 -0500] "GET /ipa/ui
HTTP/1.1" 404 174

ssl_error_log is empty
ipa files version are:
ipa-python-2.0.0.pre1-0.fc13.
i686
ipa-admintools-2.0.0.pre1-0.fc13.i686
ipa-server-2.0.0.pre1-0.fc13.i686
ipa-client-2.0.0.pre1-0.fc13.i686

All my command line still works.

Thanks for you help

Ide
Miljan Karadzic
2010-12-28 22:09:09 UTC
Permalink
Hi Uzor,

I had the same problem. You need to add the following line to your
/etc/httpd/conf.d/ipa.conf file:

Alias /ipa/ui "/usr/share/ipa/static"

I added this line right before directory instructions for folder
/usr/share/ipa/static, on line 88.
Restart httpd server and you should have access to web interface.

Regards,
Miljan
Post by Uzor Ide
Hi all
I just noticed that am unable to access the web interface for freeipa.
I had updated the server 2.0 alpha-5 and then beta version that came
out some days ago. but since I do not use that web interface I have
not idea when I lost the web interface ability.
Now, though when I try to get to the web interface from a kerberized
account all I get is an http error
"The requested URL /ipa/ui was not found on this server"
In the httpd error log, all that is there are
[Tue Dec 28 11:55:29 2010] [error] [client 192.168.17.13] File does
not exist: /var/www/html/favicon.ico
[Tue Dec 28 11:55:32 2010] [error] [client 192.168.17.13] File does
not exist: /var/www/html/favicon.ico
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1"
301 319 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13)
Gecko/20101209 Fedora/3.6.13-1.fc13 Firefox/3.6.13"
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1"
401 1164
HTTP/1.1" 404 174
ssl_error_log is empty
ipa-python-2.0.0.pre1-0.fc13.
i686
ipa-admintools-2.0.0.pre1-0.fc13.i686
ipa-server-2.0.0.pre1-0.fc13.i686
ipa-client-2.0.0.pre1-0.fc13.i686
All my command line still works.
Thanks for you help
Ide
_______________________________________________
Freeipa-users mailing list
https://www.redhat.com/mailman/listinfo/freeipa-users
Uzor Ide
2010-12-29 16:15:06 UTC
Permalink
Thanks Miljan

out installation for some reason does not have have the entire Directory
definition for "/usr/share/ipa/static". I think something sinister happened
with the upgrade. I have managed to create the following for that block of
directory declarative

Alias /ipa/ui "/usr/share/ipa/static"
<Directory "/usr/share/ipa/static">
SetHandler None
AllowOverride None
Allow from all
</Directory>

I don't know if it is correct, but it is only able to display just the
https://aba.uzdomain.ca/ipa/ui/ (home) without any menu or anything.

If you help me correct this directory declaration for so that I'll modify my
configuration with it, I will be very grateful

thanks

_Ide
Post by Miljan Karadzic
Hi Uzor,
I had the same problem. You need to add the following line to your
Alias /ipa/ui "/usr/share/ipa/static"
I added this line right before directory instructions for folder /usr/share/ipa/static,
on line 88.
Restart httpd server and you should have access to web interface.
Regards,
Miljan
Hi all
I just noticed that am unable to access the web interface for freeipa. I
had updated the server 2.0 alpha-5 and then beta version that came out some
days ago. but since I do not use that web interface I have not idea when I
lost the web interface ability.
Now, though when I try to get to the web interface from a kerberized
account all I get is an http error
"The requested URL /ipa/ui was not found on this server"
In the httpd error log, all that is there are
[Tue Dec 28 11:55:29 2010] [error] [client 192.168.17.13] File does not
exist: /var/www/html/favicon.ico
[Tue Dec 28 11:55:32 2010] [error] [client 192.168.17.13] File does not
exist: /var/www/html/favicon.ico
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1" 301
319 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209
Fedora/3.6.13-1.fc13 Firefox/3.6.13"
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1" 401
1164
HTTP/1.1" 404 174
ssl_error_log is empty
ipa-python-2.0.0.pre1-0.fc13.
i686
ipa-admintools-2.0.0.pre1-0.fc13.i686
ipa-server-2.0.0.pre1-0.fc13.i686
ipa-client-2.0.0.pre1-0.fc13.i686
All my command line still works.
Thanks for you help
Ide
_______________________________________________
Miljan Karadzic
2010-12-31 08:27:14 UTC
Permalink
Hi,

The complete definition should look like this:

# webUI is now completely static, and served out of that directory
Alias /ipa/ui "/usr/share/ipa/static"
<Directory "/usr/share/ipa/static">
SetHandler None
AllowOverride None
Satisfy Any
Allow from all
</Directory>

I would suggest to replace both this file and ipa-rewrite.conf file with
files directly from the latest ipa-server package. Maybe there are some
additional things missing.

Regards,
Miljan
Post by Uzor Ide
Thanks Miljan
out installation for some reason does not have have the entire
Directory definition for "/usr/share/ipa/static". I think something
sinister happened with the upgrade. I have managed to create the
following for that block of directory declarative
Alias /ipa/ui "/usr/share/ipa/static"
<Directory "/usr/share/ipa/static">
SetHandler None
AllowOverride None
Allow from all
</Directory>
I don't know if it is correct, but it is only able to display just the
https://aba.uzdomain.ca/ipa/ui/ (home) without any menu or anything.
If you help me correct this directory declaration for so that I'll
modify my configuration with it, I will be very grateful
thanks
_Ide
Hi Uzor,
I had the same problem. You need to add the following line to your
Alias /ipa/ui "/usr/share/ipa/static"
I added this line right before directory instructions for folder
/usr/share/ipa/static, on line 88.
Restart httpd server and you should have access to web interface.
Regards,
Miljan
Post by Uzor Ide
Hi all
I just noticed that am unable to access the web interface for
freeipa. I had updated the server 2.0 alpha-5 and then beta
version that came out some days ago. but since I do not use that
web interface I have not idea when I lost the web interface ability.
Now, though when I try to get to the web interface from a
kerberized account all I get is an http error
"The requested URL /ipa/ui was not found on this server"
In the httpd error log, all that is there are
[Tue Dec 28 11:55:29 2010] [error] [client 192.168.17.13] File
does not exist: /var/www/html/favicon.ico
[Tue Dec 28 11:55:32 2010] [error] [client 192.168.17.13] File
does not exist: /var/www/html/favicon.ico
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui
HTTP/1.1" 301 319 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.2.13) Gecko/20101209 Fedora/3.6.13-1.fc13 Firefox/3.6.13"
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui
HTTP/1.1" 401 1164
/ipa/ui HTTP/1.1" 404 174
ssl_error_log is empty
ipa-python-2.0.0.pre1-0.fc13.
i686
ipa-admintools-2.0.0.pre1-0.fc13.i686
ipa-server-2.0.0.pre1-0.fc13.i686
ipa-client-2.0.0.pre1-0.fc13.i686
All my command line still works.
Thanks for you help
Ide
_______________________________________________
Freeipa-users mailing list
https://www.redhat.com/mailman/listinfo/freeipa-users
Dmitri Pal
2010-12-31 16:40:23 UTC
Permalink
Post by Uzor Ide
Thanks Miljan
out installation for some reason does not have have the entire
Directory definition for "/usr/share/ipa/static". I think something
sinister happened with the upgrade. I have managed to create the
following for that block of directory declarative
Alias /ipa/ui "/usr/share/ipa/static"
<Directory "/usr/share/ipa/static">
SetHandler None
AllowOverride None
Allow from all
</Directory>
I don't know if it is correct, but it is only able to display just the
https://aba.uzdomain.ca/ipa/ui/ (home) without any menu or anything.
If you help me correct this directory declaration for so that I'll
modify my configuration with it, I will be very grateful
thanks
Sorry for the slow response. The whole team is on a holiday break now.
We will get back to you in January.

However Beta you are trying to use is not an upgrade for an earlier
version and implies a new install presumably on a clean machine.
It should work on F13 & F14 however after the New Year we will rapidly
move all our effort to F14 support since the we will be using later
versions of Kerberos and certificate system that are not available or
portable to the earlier versions of Fedora.

Thank you
Dmitri
Post by Uzor Ide
_Ide
Hi Uzor,
I had the same problem. You need to add the following line to your
Alias /ipa/ui "/usr/share/ipa/static"
I added this line right before directory instructions for folder
/usr/share/ipa/static, on line 88.
Restart httpd server and you should have access to web interface.
Regards,
Miljan
Post by Uzor Ide
Hi all
I just noticed that am unable to access the web interface for
freeipa. I had updated the server 2.0 alpha-5 and then beta
version that came out some days ago. but since I do not use that
web interface I have not idea when I lost the web interface ability.
Now, though when I try to get to the web interface from a
kerberized account all I get is an http error
"The requested URL /ipa/ui was not found on this server"
In the httpd error log, all that is there are
[Tue Dec 28 11:55:29 2010] [error] [client 192.168.17.13] File
does not exist: /var/www/html/favicon.ico
[Tue Dec 28 11:55:32 2010] [error] [client 192.168.17.13] File
does not exist: /var/www/html/favicon.ico
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui
HTTP/1.1" 301 319 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.2.13) Gecko/20101209 Fedora/3.6.13-1.fc13 Firefox/3.6.13"
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui
HTTP/1.1" 401 1164
/ipa/ui HTTP/1.1" 404 174
ssl_error_log is empty
ipa-python-2.0.0.pre1-0.fc13.
i686
ipa-admintools-2.0.0.pre1-0.fc13.i686
ipa-server-2.0.0.pre1-0.fc13.i686
ipa-client-2.0.0.pre1-0.fc13.i686
All my command line still works.
Thanks for you help
Ide
_______________________________________________
Freeipa-users mailing list
https://www.redhat.com/mailman/listinfo/freeipa-users
------------------------------------------------------------------------
_______________________________________________
Freeipa-users mailing list
https://www.redhat.com/mailman/listinfo/freeipa-users
--
Thank you,
Dmitri Pal

Sr. Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
Simo Sorce
2010-12-31 09:54:18 UTC
Permalink
----- Original Message -----
Post by Uzor Ide
Hi all
I just noticed that am unable to access the web interface for freeipa.
I had
updated the server 2.0 alpha-5 and then beta version that came out
some days
ago. but since I do not use that web interface I have not idea when I
lost
the web interface ability.
Hi Uzor,
until the final version will come out we keep making changes to the directory tree that requires a full reinstall. You can probably get the web interface to work, but then most probably you will get weird errors or failures during use.

In particular we completely changed the way permissions/privileges/roles are stored/handled between the alphas and the beta.

HTH,
Simo.
Post by Uzor Ide
Now, though when I try to get to the web interface from a kerberized
account
all I get is an http error
"The requested URL /ipa/ui was not found on this server"
In the httpd error log, all that is there are
[Tue Dec 28 11:55:29 2010] [error] [client 192.168.17.13] File does
not
exist: /var/www/html/favicon.ico
[Tue Dec 28 11:55:32 2010] [error] [client 192.168.17.13] File does
not
exist: /var/www/html/favicon.ico
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1"
301
319 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13)
Gecko/20101209
Fedora/3.6.13-1.fc13 Firefox/3.6.13"
192.168.17.13 - - [28/Dec/2010:11:56:35 -0500] "GET /ipa/ui HTTP/1.1"
401
1164
HTTP/1.1" 404 174
ssl_error_log is empty
ipa-python-2.0.0.pre1-0.fc13.
i686
ipa-admintools-2.0.0.pre1-0.fc13.i686
ipa-server-2.0.0.pre1-0.fc13.i686
ipa-client-2.0.0.pre1-0.fc13.i686
All my command line still works.
Thanks for you help
Ide
_______________________________________________
Freeipa-users mailing list
https://www.redhat.com/mailman/listinfo/freeipa-users
--
---
Simo Sorce * Red Hat, Inc. * New York
Continue reading on narkive:
Loading...