[Spacewalk-list] 0.8.37-1 , rhnreg_ks fails (Target WSGI script not found or unable to stat: /usr/share/rhn/server/wsgi)

Bushby, Bruce (London)(c) bbushby at maninvestments.com
Thu Jan 28 11:05:09 UTC 2010


 
Some additional log information:

[root at space12 httpd]# pwd
/var/log/httpd
[root at space12 httpd]#
[root at space12 httpd]# cat ssl_access_log
10.44.79.80 - - [28/Jan/2010:10:50:25 +0000] "GET /XMLRPC HTTP/1.1" 404
2832
10.44.79.80 - - [28/Jan/2010:10:50:25 +0000] "GET
/javascript/prototype-1.js HTTP/1.1" 404 2832
10.44.79.80 - - [28/Jan/2010:10:50:27 +0000] "GET /XMLRPC HTTP/1.1" 404
2832
10.44.79.80 - - [28/Jan/2010:10:50:27 +0000] "GET
/javascript/prototype-1.js HTTP/1.1" 404 2832
10.44.79.80 - - [28/Jan/2010:10:50:29 +0000] "GET /XMLRPC HTTP/1.1" 404
2832
10.44.79.80 - - [28/Jan/2010:10:50:29 +0000] "GET
/javascript/prototype-1.js HTTP/1.1" 404 2832
10.44.79.52 - - [28/Jan/2010:10:54:43 +0000] "POST /XMLRPC HTTP/1.1" 404
2832
[root at space12 httpd]#
[root at space12 httpd]# cat ssl_error_log
[Thu Jan 28 10:50:25 2010] [error] [client 10.44.79.80] Target WSGI
script not found or unable to stat: /usr/share/rhn/server/wsgi
[Thu Jan 28 10:50:25 2010] [error] [client 10.44.79.80] File does not
exist: /var/www/html/javascript/prototype-1.js, referer:
https://space12.xxxxxxxxxxxx.com/XMLRPC
<https://space12.xxxxxxxxxxxx.com/XMLRPC> 
[Thu Jan 28 10:50:27 2010] [error] [client 10.44.79.80] Target WSGI
script not found or unable to stat: /usr/share/rhn/server/wsgi
[Thu Jan 28 10:50:27 2010] [error] [client 10.44.79.80] File does not
exist: /var/www/html/javascript/prototype-1.js, referer:
https://space12.xxxxxxxxxxxx.com/XMLRPC
<https://space12.xxxxxxxxxxxx.com/XMLRPC> 
[Thu Jan 28 10:50:29 2010] [error] [client 10.44.79.80] Target WSGI
script not found or unable to stat: /usr/share/rhn/server/wsgi
[Thu Jan 28 10:50:29 2010] [error] [client 10.44.79.80] File does not
exist: /var/www/html/javascript/prototype-1.js, referer:
https://space12.xxxxxxxxxxxx.com/XMLRPC
<https://space12.xxxxxxxxxxxx.com/XMLRPC> 
[Thu Jan 28 10:54:43 2010] [error] [client 10.44.79.52] Target WSGI
script not found or unable to stat: /usr/share/rhn/server/wsgi
[root at space12 httpd]#
 
[root at space12 httpd]# ls -l /usr/share/rhn/server/wsgi*
ls: cannot access /usr/share/rhn/server/wsgi*: No such file or directory
[root at space12 httpd]#
 
 
Seems I am missing /usr/share/rhn/server/wsgi ?
 
Bruce
 
 
 

________________________________

From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Bushby, Bruce
(London)(c)
Sent: 28 January 2010 10:06
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] 0.8.37-1 , rhnreg_ks fails


Hi
 
Nightly build 0.8.37-1 installed on fresh install of Fedora 12.
Installation and setup worked 100%.....probably just me but the UI
appears a little quicker then other versions.
 
I have a problem registering clients (rhnreg_ks). I tried from a rhel
5.3 client and a Fedora 12 client, although they use different versions
of rhnreg_ks, both fail
with the same error.
 
I then pointed my browser to http[s]://space12/XMLRPC and I received a
"404 - File Not Found"  ... rather then the expected "Method Not
Allowed"
 
 
RHEL 5.3:
[root at tloninzerotouch rhn]# uname -a
Linux tloninzerotouch.maninvestments.com 2.6.18-128.2.1.el5 #1 SMP Wed
Jul 8 11:54:47 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
[root at tloninzerotouch rhn]# rpm -qf /usr/sbin/rhnreg_ks
rhn-setup-0.4.19-17.el5
[root at tloninzerotouch rhn]# rhnreg_ks --profilename=`hostname`
--activationkey="1-a2dbebcedb7ae8841623cc30bbe8d63c" --force
An error has occurred:
Not Found
See /var/log/up2date for more information
[root at tloninzerotouch rhn]#
[root at tloninzerotouch rhn]#
[root at tloninzerotouch rhn]# cat /var/log/up2date
[Thu Jan 28 09:51:22 2010] up2date A protocol error occurred: Not Found
, attempt #1,
[Thu Jan 28 09:51:22 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:51:22 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:51:27 2010] up2date A protocol error occurred: Not Found
, attempt #2,
[Thu Jan 28 09:51:27 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:51:27 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:51:32 2010] up2date A protocol error occurred: Not Found
, attempt #3,
[Thu Jan 28 09:51:32 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:51:32 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:51:37 2010] up2date A protocol error occurred: Not Found
, attempt #4,
[Thu Jan 28 09:51:37 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:51:37 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:51:42 2010] up2date A protocol error occurred: Not Found
, attempt #5,
[Thu Jan 28 09:51:42 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:51:42 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:51:42 2010] up2date Error communicating with server. The
message was:
Not Found
[Thu Jan 28 09:51:42 2010] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 266, in ?
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 90, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 329, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 156, in
__get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in
__call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 267, in doCall
    raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Error communicating
with server. The message was:
Not Found
 
[root at tloninzerotouch rhn]#
 
 
 
 
FEDORA 12:
[root at tlonxeng rhn]#
[root at tlonxeng rhn]# uname -a
Linux tlonxeng.maninvestments.ad.man.com 2.6.31.5-127.fc12.x86_64 #1 SMP
Sat Nov 7 21:11:14 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
[root at tlonxeng rhn]# rpm -qf /usr/sbin/rhnreg_ks
rhn-setup-0.8.5-1.fc12.x86_64
[root at tlonxeng rhn]# rhnreg_ks --profilename=`hostname`
--activationkey="1-a2dbebcedb7ae8841623cc30bbe8d63c" --force
An error has occurred:
Not Found
See /var/log/up2date for more information
[root at tlonxeng rhn]#
[root at tlonxeng rhn]# cat /var/log/up2date
[Thu Jan 28 09:50:33 2010] up2date A protocol error occurred: Not Found
, attempt #1,
[Thu Jan 28 09:50:33 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:50:33 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:50:38 2010] up2date A protocol error occurred: Not Found
, attempt #2,
[Thu Jan 28 09:50:38 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:50:38 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:50:43 2010] up2date A protocol error occurred: Not Found
, attempt #3,
[Thu Jan 28 09:50:43 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:50:43 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:50:48 2010] up2date A protocol error occurred: Not Found
, attempt #4,
[Thu Jan 28 09:50:48 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:50:48 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:50:53 2010] up2date A protocol error occurred: Not Found
, attempt #5,
[Thu Jan 28 09:50:53 2010] up2date Could not find URL, space12 /XMLRPC
[Thu Jan 28 09:50:53 2010] up2date Check server name and/or URL, then
retry
 
[Thu Jan 28 09:50:53 2010] up2date Error communicating with server. The
message was:
Not Found
[Thu Jan 28 09:50:53 2010] up2date
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 218, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 66, in run
    sys.exit(self.main() or 0)
  File "/usr/sbin/rhnreg_ks", line 92, in main
    rhnreg.getCaps()
  File "/usr/share/rhn/up2date_client/rhnreg.py", line 281, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 156, in
__get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in
__call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 276, in doCall
    raise up2dateErrors.CommunicationError(e.errmsg)
up2date_client.up2dateErrors.CommunicationError: Error communicating
with server. The message was:
Not Found
 
[root at tlonxeng rhn]#
 
 
 
 
 
 
 
Bruce Bushby
Unix Engineering
Technology Group
Man Investments, 100 Lower Thames Street, London,EC3R 6DL
Desk: +44 (0) 207 144 3903
Mobile: +44 (0) 7887711769
 

**********************************************************************

Please consider the environment before printing this email or its
attachments.

The contents of this email are for the named addressees only. It
contains information which may be confidential and privileged. If you
are not the intended recipient, please notify the sender immediately,
destroy this email and any attachments and do not otherwise disclose or
use them. Email transmission is not a secure method of communication and
Man Investments cannot accept responsibility for the completeness or
accuracy of this email or any attachments. Whilst Man Investments makes
every effort to keep its network free from viruses, it does not accept
responsibility for any computer virus which might be transferred by way
of this email or any attachments. This email does not constitute a
request, offer, recommendation or solicitation of any kind to buy,
subscribe, sell or redeem any investment instruments or to perform other
such transactions of any kind. Man Investments reserves the right to
monitor, record and retain all electronic communications through its
network to ensure the integrity of its systems, for record keeping and
regulatory purposes. 

Visit us at: www.maninvestments.com 

TG0908

**********************************************************************

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100128/1b898880/attachment.htm>


More information about the Spacewalk-list mailing list