[Spacewalk-list] Spacewalk Admin Website Confusion with mrepo on same server?

Musayev, Ilya imusayev at webmd.net
Fri Jun 15 17:20:28 UTC 2012


Inspect the files in /etc/http/conf.d/zz-spacewalk-www.conf and others - including mrepo.conf

There is either an overlay of DocumentRoot configs between mrepo and spacewalk or some other misconfiguration - but high chance that you will find your issues there.

Good luck
ilya

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Boyd, Robert
Sent: Friday, June 15, 2012 1:03 PM
To: Spacewalk-list at redhat.com
Subject: [Spacewalk-list] Spacewalk Admin Website Confusion with mrepo on same server?

Someone before me installed mrepo and loaded several nice repos on the server.   Now I'm installing PostGreSQL and spacewalk.   I carefully followed the instructions and everything seemed to go just fine until I started interacting with the admin website interface.   When I go there I get things like this:

[cid:image002.jpg at 01CD4AF9.A1B92530]

As you can see it's having difficulty displaying images.   When I started searching through the logs I found these messages:
>From  /var/log/httpd/ssl_request_log:

tail ssl_request_log
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/icon_kickstart_session.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/icon_pending.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/rhn-listicon-error.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/rhn-listicon-ok.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/wrh-security.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/wrh-bug.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/wrh-product.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/rhn-icon-your_rhn.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/rhn-icon-help.gif HTTP/1.1" -
[15/Jun/2012:12:43:02 -0400] <client.ip> TLSv1 DHE-RSA-AES256-SHA "GET /img/favicon.ico HTTP/1.1" -

tail ssl_error_log
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/img, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/img, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/img, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/img, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors, referer: https://spacewalk.domain.com/rhn/YourRhn.do
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/img
[Fri Jun 15 12:43:02 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors
>From /var/log/httpd/error_log

[Thu Jun 14 23:32:45 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/itassistant
[Thu Jun 14 23:32:45 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors
[Thu Jun 14 23:44:43 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/itassistant
[Thu Jun 14 23:44:43 2012] [error] [client <client.ip>] File does not exist: /var/www/mrepo/errors
[
Of course these files don't exist under mrepo - they're here:  /var/www/html/img  and /var/www/html/errors


I'm trying to puzzle out why the spacewalk web pages are triggering a reference to the mrepo subtree instead of the correct subtree where the images are actually installed.   Does anyone have some suggestions how I can puzzle out what is causing the spacewalk website to jump tracks over to mrepo?


Robert Boyd
Senior Systems Engineer
Phone: 919-645-2972
Mobile: 919-306-4681
Peoplefluent
434 Fayetteville Street
Raleigh, NC  27601

robert.boyd at peoplefluent.com<mailto:michael.dileonardo at peoplefluent.com>

[cid:image003.png at 01CD4AF9.A1B92530]



This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120615/e992da1e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 13034 bytes
Desc: image002.jpg
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120615/e992da1e/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 4488 bytes
Desc: image003.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120615/e992da1e/attachment.png>


More information about the Spacewalk-list mailing list