SUSE Support

Here When You Need Us

SMT sync fails using HTTP Proxy - Exiting subroutine via last line 1313

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

Environment

SUSE Linux Enterprise Server 11
Subscription Management Tool (SMT) for SUSE Linux Enterprise 11


Situation

SMT server is configured to use an HTTP proxy and running the command smt-ncc-sync terminates with the following error message:

Exiting subroutine via last at
/usr/lib/perl5/vendor_perl/5.10.0/SMT/CLI.pm line 1313

Resolution

Missing http protocol definition in /etc/smt.conf file. The smt.conf file had the following incorrect entries:

HTTPProxy = proxy.com:80
HTTPSProxy = proxy.com:80

These proxy entries need to be changed by adding http:// as follows:

HTTPProxy = http://proxy.com:80
HTTPSProxy = http://proxy.com.80

Once the changes have been made to the smt.conf file, restart the SMT service with rcsmt restart and issue the command smt-ncc-sync.

Disclaimer

This Support Knowledgebase provides a valuable tool for 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:7006741
  • Creation Date: 27-Aug-2010
  • Modified Date:18-Oct-2022
    • Subscription Management Tool
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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