My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

suse_register updates /etc/zmd/zmd.conf with unnecessary proxy information

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

Environment

SUSE Linux Enterprise Server 10 Service Pack 3

Situation

SLES10 SP3 is setup to register with a SMT server.
In /etc/sysconfig/proxy proxy settings are enabled and variable for all _PROXY are set, including NO_PROXY.

When clientSetup4SMT.sh is run, it invokes suse_register which updates proxy-url in /etc/zmd/zmd.conf.
ZMD does not honor the NO_PROXY settings if it is set. This causes problems when the client tries to contact the SMT server and the client doesn't find the SMT server and no updates are available.

Eventually you will see the following error messages in /var/log/zmd-messages.log:

2010-07-19 18:56:28 INFO  WebCache             Retrieval of 'http://host.domain.com/repo/repoindex.xml' (try 1) failed: The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:56:30 INFO  WebCache             Attempting to retrieve 'http://host.domain.com/repo/repoindex.xml' (try 2)
2010-07-19 18:57:45 INFO  WebCache             Retrieval of 'http://host.domain.com/repo/repoindex.xml' (try 2) failed: The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:57:47 INFO  WebCache             Attempting to retrieve 'http://host.domain.com/repo/repoindex.xml' (try 3)
2010-07-19 18:59:02 INFO  WebCache             Retrieval of 'http://host.domain.com/repo/repoindex.xml' (try 3) failed: The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:59:04 INFO  Progress             Progress.Stop Message: Download failed: (http://host.domain.com/repo/repoindex.xml) The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:59:04 INFO  Progress             Progress.Stop Message: Failed to download XML metadata: Download failed: (http://host.domain.com/repo/repoindex.xml) The remote server returned an error: (503) Service Unavailable.
2010-07-19 18:59:04 INFO  ServiceManager       Failed to add service 'http://host.domain.com' (keeping): Failed to download XML metadata: Download failed: (http://host.domain.com/repo/repoindex.xml) The remote server returned an error: (503) Service Unavailable.

Resolution

A workaround is to manually edit /etc/zmd/zmd.conf and remove the values for proxy_url, proxy-password and proxy_username.

Novell built a patch which evaluates the NO_PROXY variable and provides a proxy-excludes to ZMD. This will add a line to /etc/zmd/zmd.conf adding the NO_PROXY value from /etc/sysconfig/proxy.

The suseRegister update, suseRegister-1.2-9.48.2 released September 2010 includes the patch to resolve the problem. Please update the package with the latest available update.

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:7006462
  • Creation Date:16-JUL-10
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center