[Spacewalk-list] Why cannot install rpm from spacewalk server ?

Andreas Dijkman andreas.dijkman at cygnis.nl
Mon Feb 1 10:46:14 UTC 2021


Have you looked in the webserver access-logging and error-logging? How about AVC-errors in audit-log?

The error points in the direction that the webserver cannot read the file or the file isn’t available. Have a look in /var/satellite/redhat/1/56b/python2-osad/5.11.110-1.el7/noarch/56b67101a58dbd01318b3a6baf5e1d578d0960cba3aaf6fbd4d24add1eed60d8/python2-osad-5.11.110-1.el7.noarch.rpm to check if the file exists and the user apache can access the file.

Regards,

Andreas Dijkman


On 1 Feb 2021, at 11:39, tommy <sz_cuitao at 163.com<mailto:sz_cuitao at 163.com>> wrote:

And the download button of any package is disabled:

<image001.jpg>

From: spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com> <spacewalk-list-bounces at redhat.com<mailto:spacewalk-list-bounces at redhat.com>> On Behalf Of tommy
Sent: Monday, February 1, 2021 4:49 PM
To: Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
Subject: [Spacewalk-list] Why cannot install rpm from spacewalk server ?

1.     I have installed the spacewalk server and created the channel and synced the local with the internet.

2.     I have create the channel and registerd the channel from the client. Then I install some software using yum:

[root at olms1 ~]# yum repolist
Loaded plugins: rhnplugin
This system is receiving updates from Spacewalk server.
repo id                                                                        repo name                                                                      status
ol7_oracle-linux-manager210_client                                             ol7_oracle-linux-manager210_client                                                 58
oraclelinux7-x86_64                                                            Oracle_Linux_7                                                                 30,595
repolist: 30,653
[root at olms1 ~]#
[root at olms1 ~]#
[root at olms1 ~]# yum search osad
Loaded plugins: rhnplugin
This system is receiving updates from Spacewalk server.
======================================================================== N/S matched: osad =========================================================================
osad.noarch : Open Source Architecture Daemon
python2-osad.noarch : Open Source Architecture Daemon

  Name and summary matches only, use "search all" for everything.
[root at olms1 ~]#
[root at olms1 ~]# yum install osad
Loaded plugins: rhnplugin
This system is receiving updates from Spacewalk server.
Resolving Dependencies
--> Running transaction check
---> Package osad.noarch 0:5.11.110-1.el7 will be installed
--> Processing Dependency: python2-osad = 5.11.110-1.el7 for package: osad-5.11.110-1.el7.noarch
--> Running transaction check
---> Package python2-osad.noarch 0:5.11.110-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================
Package                           Arch                        Version                                Repository                                               Size
====================================================================================================================================================================
Installing:
osad                              noarch                      5.11.110-1.el7                         ol7_oracle-linux-manager210_client                       23 k
Installing for dependencies:
python2-osad                      noarch                      5.11.110-1.el7                         ol7_oracle-linux-manager210_client                       31 k

Transaction Summary
====================================================================================================================================================================
Install  1 Package (+1 Dependent package)

Total download size: 54 k
Installed size: 97 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for ol7_oracle-linux-manager210_client


Error downloading packages:
  python2-osad-5.11.110-1.el7.noarch: failed to retrieve getPackage/python2-osad-5.11.110-1.el7.noarch.rpm from ol7_oracle-linux-manager210_client
error was [Errno 14] HTTPS Error 404 - Not Found
  osad-5.11.110-1.el7.noarch: failed to retrieve getPackage/osad-5.11.110-1.el7.noarch.rpm from ol7_oracle-linux-manager210_client
error was [Errno 14] HTTPS Error 404 - Not Found


3.     But the files are all on the server:

Details
Description:
Python 2 specific files for osad
Package Architecture:
noarch
Available Architectures:
noarch
Available From:
ol7_oracle-linux-manager210_client<https://192.168.10.113/rhn/channels/ChannelDetail.do?cid=142>
Vendor:
Oracle America
Signing Key:
72f97b74ec551f03
SHA256sum:
56b67101a58dbd01318b3a6baf5e1d578d0960cba3aaf6fbd4d24add1eed60d8
File System Path:
redhat/1/56b/python2-osad/5.11.110-1.el7/noarch/56b67101a58dbd01318b3a6baf5e1d578d0960cba3aaf6fbd4d24add1eed60d8/python2-osad-5.11.110-1.el7.noarch.rpm
Package Size:
31.1 KB

Details
Description:
OSAD agent receives commands over jabber protocol from Spacewalk Server and
commands are instantly executed.

This package effectively replaces the behavior of rhnsd/rhn_check that
only poll the Spacewalk Server from time to time.
Package Architecture:
noarch
Available Architectures:
noarch
Available From:
ol7_oracle-linux-manager210_client<https://192.168.10.113/rhn/channels/ChannelDetail.do?cid=142>
Vendor:
Oracle America
Signing Key:
72f97b74ec551f03
SHA256sum:
b6e5f866dee1af1143d9c58f0fd5a0e84c5e4d271c849765b794442fb6d7bb9f
File System Path:
redhat/1/b6e/osad/5.11.110-1.el7/noarch/b6e5f866dee1af1143d9c58f0fd5a0e84c5e4d271c849765b794442fb6d7bb9f/osad-5.11.110-1.el7.noarch.rpm
Package Size:
22.9 KB


Why cannot download ????????



_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

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


More information about the Spacewalk-list mailing list