Novell Home

My Favorites

Close

Please to see your favorites.

Getting the SLES 10 / SLED 10 Software Updater to work if you use a Proxy Server

This document (3132246) is provided subject to the disclaimer at the end of this document.

Environment

Novell SUSE Linux Enterprise Desktop 10
Novell SUSE Linux Enterprise Server 10

A proxy server is required or used to have access to the Internet

Situation

ERROR: Could not add 'https://update.novell.com': Failed to download XML metadata: Download failed: (https://update.novell.com/repo/repoindex.xml) Error: ConnectFailure
or
Curl error 35
or
Curl error 28

Installing SUSE Linux Enterprise Server 10 or installing SUSE Linux Enterprise Desktop 10.

A
proxy server exists in the network environment and needs to be used to access the Internet.

Prompted to activate the product
During the installation, a prompt is provided to activate a registration in order to receive notification of patches and updated packages, but an attempt to perform registration at this point fails with the error message listed above.


Configuring an installed system with Novell Customer Center (NCC), Yast2 | Software | Novell Customer Center configuration, where a direct connection to the Internet exists, works correctly while the same process fails where a Proxy Server is required for Internet access.


Resolution

In network environments where the use of a proxy server is necessary to access the Internet, additional configuration is needed to make the software updater and web browsers use the proxy, before the Novell Customer Center configuration can be done successfully.

SLE 10 Service Pack 1
  1. Configure the proxy settings through YaST2 | Network Services | Proxy.
  2. Configure the proxy settings for Firefox (or default browser) Firefox | Edit | Preferences | Advanced | Network | Connections - Settings. Select "Auto-detect proxy settings for this network."
  3. Add pertinent proxy information to /etc/zmd/zmd.conf
  4. Restart the machine to allow proxy services to be detected.
  5. Run Yast2 | Software | Novell Customer Center configuration to complete the setup of the NCC.
SLE 10 GA

If circumstances prevent you from using SLE 10 SP1 media for your installation, the following steps can be used to use the proxy for software updates with SLE 10 GA:
  1. Right-click on the software updater icon in the task bar (the globe icon)
  2. Select Configure
  3. Select the Preferences tab
  4. Options for the Software Updater will be visible including those related to proxy information. The proxy-url field needs to be populated and in some in cases two other fields proxy-username and proxy-password also need to be populated.
    proxy-url - The URL for the proxy Server.
    proxy-username - The username for the proxy if required
    proxy-password - The password for the proxy if required
  5. Open up a terminal and switch user ( su) to root
  6. Therug command is used to set up the proxy information for the software updater. Enter the following commands at the prompt:
  7. Verify that the proxy information settings for the software updater have been picked up properly by checking the preferences on the software updater (steps 1 through 3). The proxy-url andproxy-username should list the values entered above (step 5). The proxy-passwordvalue will not be visible. It is recorded in the file/etc/zmd/zmd.conf.
  8. Now the proxy settings for use by the web browser need to be made. Run Yast2 | Network Services | Proxy, flag Enable Proxy, put in the HTTP Proxy URL and Finish.
  9. To activate the changed proxy setting for the web browser, log out and log in again.
  10. RunYast2 | Software | Novell Customer Center configurationto complete the setup of the NCC.

Additional Information

Root cause


The Novell Customer Center (NCC) provides a single location to manage products, subscriptions, and installed system(s). When configuring an installed system for the Novell Customer Center (NCC), Yast2 | Software | Novell Customer Center configuration, an Internet based installation source will be added to the software updater. This allows all product updates to be received through the software updater. Configuring an installed system that has a direct connection to the Internet works correctly. If there is a proxy server required in the network environment, then the configuration process fails as the proxy server information is not setup. The proxy server information has to be pre-configured before the NCC configuration is executed, both for the software updater and for the web browser that is used during the NCC configuration.


Note:
To clear the proxy server values that are set using the above process complete the following steps:
  1. Open up a terminal and switch user (su) to root. Enter the following commands at the prompt:
    • rug set-prefs proxy-url
    • rug set-prefs proxy-username
    • rug set-prefs proxy-password
    This clears the proxy settings for the software updater.
  2. Run Yast2 | Network Settings | Proxy, unflag Enable Proxy andFinish.
  3. Log out and log in again.
    Now the proxy settings for the browser are cleared as well.
Part of the information in this TID was originally available in a CoolSolutions article:http://www.novell.com/coolsolutions/feature/17682.html

Change Log

24 Dec jchristensen1 - added what pertinent proxy info needs to be added to the /etc/zmd/zmd.conf file in section SLES 10 sp1 bullet point #3.  Also added space between Proxy-URL and the address.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3132246
  • Creation Date:28-MAR-07
  • Modified Date:10-JUN-13
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback