SUSE Support

Here When You Need Us

SUSEConnect error: SUSE::Connect::CannotDetectBaseProduct

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


SUSE Linux Enterprise Server for SAP Applications 12 Service Pack 2
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)


The following debug logs are printed when trying to register a server using the SUSEConnect command.
For example:
# SUSEConnect -r <ActivationCode> -e <EmailAddress> --debug
Output: 'Warning: The /etc/products.d/baseproduct symlink is dangling or missing!
The link must point to your core products .prod file in /etc/products.d.'
Executing: 'zypper --no-remote --no-refresh --xmlout --non-interactive products -i' Quiet: false
Output: '<?xml version='1.0'?>
<message type="warning">The /etc/products.d/baseproduct symlink is dangling or missing!
The link must point to your core products .prod file in /etc/products.d.
<message type="info">Loading repository data...</message>
<message type="info">Reading installed packages...</message>
<product name="SLES_SAP" version="12.2" release="0" epoch="0" arch="x86_64" vendor="SUSE" summary="SUSE Linux Enterprise Server for SAP Applications 12 SP2" repo="@System" productline="sles" registerrelease="" shortname="SLE-12-SP2-SAP" flavor="DVD" isbase="false" installed="true"><endoflife time_t="1730332800" text="2024-10-31T11:00:00+11"/><registerflavor/><description>SUSE LINUX Enterprise Server 12 SP2 for SAP Applications</description></product>
SUSEConnect error: SUSE::Connect::CannotDetectBaseProduct: SUSE::Connect::CannotDetectBaseProduct
/usr/lib64/ruby/gems/2.1.0/gems/suse-connect-0.2.41/lib/suse/connect/zypper.rb:59:in `base_product'
/usr/lib64/ruby/gems/2.1.0/gems/suse-connect-0.2.41/lib/suse/connect/client.rb:27:in `register!'
/usr/lib64/ruby/gems/2.1.0/gems/suse-connect-0.2.41/lib/suse/connect/cli.rb:47:in `execute!'
/usr/lib64/ruby/gems/2.1.0/gems/suse-connect-0.2.41/bin/SUSEConnect:11:in `<top (required)>'
/usr/sbin/SUSEConnect:23:in `load'
/usr/sbin/SUSEConnect:23:in `<main>'


Run the following command to create the link to the base product.
For example:
In this case, as the product is "SLES for SAP", the following soft link should be created:
#  ln -s /etc/products.d/baseproduct


The soft link "/etc/products.d/baseproduct" is missing in the "/etc/products.d/" directory.

Additional Information

For "SLES" product, create the following soft link instead:
#  ln -s /etc/products.d/baseproduct


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:7022153
  • Creation Date: 23-Oct-2017
  • Modified Date:09-Sep-2021
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

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

SUSE Support Forums

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

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.

Open an Incident

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