SUSE Support

Here When You Need Us

Registering of client against SUSE Manager Proxy fails with "ERROR 404: Not Found"

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

Environment

SUSE Manager 4.2 Server
SUSE Manager 4.2 Proxy

Situation

Registration of client against SUSE Manager Proxy using a bootstrap script fails with following error message:
https://susemanager.proxy.url/pub/repositories/sle/15/3/bootstrap/repodata/repomd.xml:
2023-02-16 17:09:50 ERROR 404: Not Found.
Bootstrap repo 'https://susemanager.proxy.url/pub/repositories/sle/15/3/bootstrap' does not exist.
Repository 'susemanager:bootstrap' not found by its alias, number, or URI.

Resolution

Check whether the /var/cache/rhn/ directory exists on top of SUSE Manager Proxy.

When there is no such directory, recreate the directory manually and set correct permissions and ownership:
mkdir /var/cache/rhn/
chmod -R 750 /var/cache/rhn/
chown -R wwwrun:root /var/cache/rhn/ 
restart spacewalk-proxy service:
spacewalk-proxy restart
and register the client once again using the bootstrap script.

Cause

Missing /var/cache/rhn/ directory on top of SUSE Manager Proxy. Following error message can be seen in apache2 error log (/var/log/apache2/error_log) within SUSE Manager Proxy system:
PermissionError: [Errno 13] Permission denied: '/var/cache/rhn'

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:000020982
  • Creation Date: 21-Feb-2023
  • Modified Date:20-Mar-2023
    • SUSE Manager Server
    • SUSE Manager
    • SUSE Manager Proxy

< 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.