Error when trying to upload RPM using rhnpush from remote RHEL Workstation.
Issue
$ rhnpush --server=http://cloud01.drives.rta.nsw.gov.au/APP RPMS/noarch/release_version-0.1.3-1.noarch.rpm
Red Hat Network username: Normal_login
Red Hat Network password:
error: cannot open Packages database in /var/cache/rhn/rhnpush-rpmdb
is displayed on the workstation.
On the RHNS server the httpd/access_log file shows the connection details as shown below:
10.49.31.241 - - [21/Dec/2012:09:57:35 +1100] "POST /APP HTTP/1.1" 200 99 "-" "rhn.rpclib.py/$Revision$"
10.49.31.241 - - [21/Dec/2012:09:57:35 +1100] "GET /PACKAGE-PUSH HTTP/1.1" 200 - "-" "-"
10.49.31.241 - - [21/Dec/2012:09:57:35 +1100] "POST /APP HTTP/1.1" 200 99 "-" "rhn.rpclib.py/$Revision$"
10.49.31.241 - - [21/Dec/2012:09:57:35 +1100] "POST /APP HTTP/1.1" 200 202 "-" "rhn.rpclib.py/$Revision$"
10.49.31.241 - - [21/Dec/2012:09:57:35 +1100] "POST /APP HTTP/1.1" 200 99 "-" "rhn.rpclib.py/$Revision$"
10.49.31.241 - - [21/Dec/2012:09:57:35 +1100] "POST /APP HTTP/1.1" 200 99 "-" "rhn.rpclib.py/$Revision$"
Environment
- Red Hat Network Satellite 5.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.