SUSE Support

Here When You Need Us

Registration to SMT server fails with "login failed"

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

Environment

SUSE Linux Enterprise Server 12 SP5

Situation

Register a client to SMT reports following error:

command 'zypper --non-interactive refs SMT-<url>' failed
Error: zypper returned () with 'terminate called after throwing an instance of 'zypp::media::MediaUnauthorizedException' what(): Login failed.' SUSEConnect error: TypeError: no implicit conversion from nil to integer curl: (22) The requested URL returned error: 403
 

Resolution

Prior running registration check and remove custom ssl library from LD_LIBRARY_PATH.

If following command shows a result:
echo $LD_LIBRARY_PATH

Remove for running bash:
unset LD_LIBRARY_PATH
 

Cause

LD_LIBRARY_PATH contains reference to a custom ssl/curl library which causes zypper commands to fail, because those are not compatible.

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:000019791
  • Creation Date: 20-Nov-2020
  • Modified Date:03-Dec-2020
    • 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.