Manually running the Red Hat download cacher.
NOTE: The Red Hat download cacher downloads from the regular Red Hat website. Red Hat satellite servers are currently unsupported by IEM.
Resolving the problem
Red Hat Download Cacher for those subscribed to the Patches for RHEL 3, Patches for RHEL 4, Patches for RHEL 5, RHEL 5 Dependency Resolution, RHEL 6 Dependency Resolution and Patches for RHEL 5 - Native Tools, Patches for RHEL 6 - Native Tools sites. These are the current Red Hat patching content sites and all new patching content for the Red Hat OS gets published to these sites.
Warning: The "Red Hat Enterprise Linux" site is now deprecated. New patch content for the Red Hat OS does not get published to this site anymore. You should seek to use the content from the current sites.
The tool can be downloaded from here.
To run this tool, you may wish to create a batch file with the following parameters. If you run the tool without specifying any parameters, you will be prompted to enter the parameters at the command line.
RHEDownloadCacher.exe redhat_user redhat_password cache C:\logs yes RHSA-2004:609 3 PROXY http://www.proxyserver.com:8080 proxy_user proxy_password x86 x86_64
RHEDownloadCacher.exe RHNUsername RHNPassword DirectoryPath/cache [Logfile Directory] [Increase Cache] [Bulletin Number(s)] [Red Hat OS Version(s)] [PROXY] [Proxy URL] [Proxy Username] [Proxy Password][Architectures]
Your Red Hat Network Username (used to log into https://rhn.redhat.com)
Your Red Hat Network Password (used to log into https://rhn.redhat.com)
The full path to the folder where downloaded files should be saved. The keyword 'cache' indicates that files should be downloaded to the TEM Server cache and should only be used when RHEDownloadCacher.exe is run on a TEM Server machine.
x86 and/or x86_64 defines which architecture of fixlets to cache. x86 includes all content relating to i386, i586 and i686. x86_64 includes all 64 bit architectures.
This option will build a repository of Red Hat packages, rather than asking for individual files to cache
Full path to the folder where you would like to create the log file. By default, the logfile is placed in the TEM Client Logs directory (ex: C:\Program Files\BigFix Enterprise\BES Client\__BESData\__Global\Logs)
This option is only available if the specified Directory Path is the keyword 'cache'. Enter 'yes' to increase the TEM Server cache automatically in the event that the size of the files being downloaded exceeds the current amount of free space in the cache. Enter 'no' or leave blank to be prompted to manually increase the cache.
Specify Red Hat Errata. Separate each Errata Number with a space (ex: RHSA-2004:609 RHBA-2005:104 RHBA-2005:109). Use this option when you wish to download files for specific errata. If you do not specify this parameter, the tool will cache all files for all published Fixlet messages in the Red Hat Enterprise Linux Fixlet site.
[Red Hat OS Version(s)]
BigFix currently supports Red Hat Enterprise Linux 3.0, 4.0,5.0 and 6.0. Enter a space-delimited list (e.g. "3", "3 4") to indicate the version(s) for which you would like to download files. If you do not specify this parameter, the tool will cache downloads for all versions.
[PROXY] [Proxy URL] [Proxy Username] [Proxy Password]
PROXY is a keyword used to indicate that downloads must go through a proxy server. If your network requires a proxy server for Internet access, you must specify this keyword and provide required parameters.
Proxy URL is the URL of your proxy server. This is usually the ip address or dns name of your proxy server, and its port, separated by a colon (ex: http://192.168.100.10:8080).
If your proxy server requires authentication, you must specify your Proxy Username and Proxy Password. Your Proxy Username is usually in the form of domain\username.
- --no-rename: Use this option if you wish to download RedHat patch files, but not rename them to their respective sha1 checksum values.
- --email [Internal SMTP Server] [login] [password] [email@example.com][firstname.lastname@example.org;email@example.com]: Use this option to send a notification email containing a summary of the execution of the download cacher.
- [Internal SMTP Server]: specify which email server you would like to use to send the notification
- [login]: username for the email server, or "none" if no login is required
- [password]: password for the email server, or "none" if no password is required
- [firstname.lastname@example.org]: the summary will be sent from this address
- [email@example.com;firstname.lastname@example.org;...]: specify as many recipients as are necessary, separated by semicolons
- --rpm-names [RPM filenames]: Use this option if you wish to specify the files you wish to download
- [RPM filenames]: specify the full filename of the package(s) you wish to download, separated by a space. (e.g. "psstack-1.2-3.EL.2.i386.rpm firefox-1.5-3.x86_64.rpm").
RHEDownloadCacher.exe redhat_user redhat_password cache C:\logs yes RHSA-2004:609 3 AS WS x86 x86_64 --email mailer.email.com none none email@example.com firstname.lastname@example.org
RHEDownloadCacher.exe --rpm-names redhat_user redhat_password cache C:\logs psstack-1.2.3.EL.2.i386.rpm firefox-1.5-3.x86_64.rpm
Please Note: If you are using a proxy server, but are not using authentication, you must still provide parameters for "Proxy Username" and "Proxy Password".
RHEDownloadCacher.exe redhat_user redhat_password cache C:\logs yes RHSA-2004:609 3 PROXY http://www.proxyserver.com:8080 dummy_user dummy_password x86 x86_64
For additional information about Red Hat Linux patching please refer to the following:
Patch Management - Redhat Linux User's Guide:
Linux RPM Patching Guide: