[Spacewalk-list] Error uploading packages

Vishal Patil vishalspatil at gmail.com
Thu Mar 11 13:28:08 UTC 2010


Hi ,

The Spacewalk version is 0.8, and the user apache has write permission on
the directory tree.

attached apache logs fore reference

[root at Spacewalk-test httpd]# tailf /var/log/httpd/ssl_request_log
</snip>
[11/Mar/2010:14:24:09 +0100] 127.0.0.1 TLSv1 DHE-RSA-AES256-SHA "POST /APP/
HTTP/1.1" 9
[11/Mar/2010:14:24:39 +0100] 10.212.83.251 TLSv1 DHE-RSA-AES256-SHA "GET
/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=98c132e7b080&node_id=2&role=lead&version=1.0
HTTP/1.1" 23
[11/Mar/2010:14:25:39 +0100] 10.212.83.251 TLSv1 DHE-RSA-AES256-SHA "GET
/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=98c132e7b080&node_id=2&role=lead&version=1.0
HTTP/1.1" 23
[11/Mar/2010:14:26:40 +0100] 10.212.83.251 TLSv1 DHE-RSA-AES256-SHA "GET
/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=98c132e7b080&node_id=2&role=lead&version=1.0
HTTP/1.1" 23
</snip>

[root at Spacewalk-test httpd]# tailf /var/log/httpd/access_log
10.212.83.251 - - [11/Mar/2010:14:24:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"
10.212.83.251 - - [11/Mar/2010:14:25:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"
10.212.83.251 - - [11/Mar/2010:14:25:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"
10.212.83.251 - - [11/Mar/2010:14:26:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"
10.212.83.251 - - [11/Mar/2010:14:26:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"
10.212.83.251 - - [11/Mar/2010:14:27:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"
10.212.83.251 - - [11/Mar/2010:14:27:00 +0100] "POST /cobbler_api HTTP/1.1"
200 129 "-" "Java/1.6.0"

[root at Spacewalk-test httpd]# tailf /var/log/httpd/error_log
    ret = f(req)
  File "/usr/share/rhn/server/apacheHandler.py", line 198, in handler
    ret = self._req_processor.process()
  File "/usr/share/rhn/server/apacheRequest.py", line 465, in process
    params, method = self.decode(_body)
  File "/usr/share/rhn/server/apacheRequest.py", line 389, in decode
    self.parser.feed(data)
  File "/usr/lib/python2.4/xmlrpclib.py", line 527, in feed
    self._parser.Parse(data, 0)
Exp

[root at Spacewalk-test httpd]# tailf /var/log/httpd/ssl_
ssl_access_log   ssl_error_log    ssl_request_log
[root at Spacewalk-test httpd]# tailf /var/log/httpd/ssl_access_log
127.0.0.1 - - [11/Mar/2010:14:24:07 +0100] "POST /APP HTTP/1.1" 301 290
localhost.localdomain - - [11/Mar/2010:14:24:08 +0100] "POST /APP/ HTTP/1.1"
200 99
127.0.0.1 - - [11/Mar/2010:14:24:08 +0100] "GET /PACKAGE-PUSH HTTP/1.1" 301
299
localhost.localdomain - - [11/Mar/2010:14:24:08 +0100] "POST /APP/ HTTP/1.1"
200 137
127.0.0.1 - - [11/Mar/2010:14:24:08 +0100] "POST /APP/ HTTP/1.1" 500 9
127.0.0.1 - - [11/Mar/2010:14:24:09 +0100] "POST /APP/ HTTP/1.1" 500 9
10.212.83.251 - - [11/Mar/2010:14:26:40 +0100] "GET
/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=98c132e7b080&node_id=2&role=lead&version=1.0
HTTP/1.1" 200 23
10.212.83.251 - - [11/Mar/2010:14:27:40 +0100] "GET
/satconfig/cgi-mod-perl/fetch_commands.cgi?cluster_id=98c132e7b080&node_id=2&role=lead&version=1.0
HTTP/1.1" 200 23





On Thu, Mar 11, 2010 at 6:17 PM, James Hogarth <james.hogarth at gmail.com>wrote:

> Reply with the error in the apache logs...
>
> Is this spacewalk 0.7 or 0.8?
>
> Gut instinct (based on previous experience) check ownership within the
> tree of /var/satellite to ensure apache can write to the relevant
> directories in it that it needs to.
>
> James
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>



-- 

Regards
Vishal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100311/c287dee4/attachment.htm>


More information about the Spacewalk-list mailing list