SUSE Support

Here When You Need Us

Unable to register clients to RMT server - Your Registration Proxy server doesn't support this function. Please update it and try again.

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

Environment

SUSE Linux Enterprise Server 15 SP2

Situation

When trying to register a client to RMT server following error message occurs:

Your Registration Proxy server doesn't support this function. Please update it and try again.

Log file /var/log/nginx/rmt_https_error.log shows following error message:

2020/12/08 10:25:44 [error] 13913#13913: *22 connect() failed (111: Connection refused) while connecting to upstream, client: <rmt-server-ip>, server: <rmt-server-name>, request: "POST /connect/subscriptions/systems HTTP/1.1", upstream: "http://127.0.0.1:4224/connect/subscriptions/systems", host: "<rmt-server-name>"

Following command 'journalctl -u rmt-server' shows:
Dec 08 10:50:33 <server-name> systemd[1]: Started RMT API server.
Dec 08 10:50:34 <server-name> rails[26817]: => Booting Puma
Dec 08 10:50:34 <server-name> rails[26817]: => Rails 6.0.3.4 application starting in production Dec 08 10:50:34 <server-name> rails[26817]: => Run `rails server --help` for more startup options
Dec 08 10:50:34 <server-name> rails[26817]: A server is already running. Check /usr/share/rmt/tmp/pids/server.pid.
Dec 08 10:50:34 <server-name> rails[26817]: Exiting

Checking rails process, the pid is always differently:
ps auxf|grep rails _rmt 27230 100 3.1 202836 57360 ? Rsl 11:09 0:01 /usr/bin/ruby.ruby2.5 /usr/share/rmt/bin/rails db:create db:migrate RAILS_ENV=production From service definition the service is type simple and restart always: /usr/lib/systemd/system/rmt-server.service

Resolution

systemctl stop rmt-server

Remove the pid file if there is no running process:

rm /usr/share/rmt/tmp/pids/server.pid

then restart service:

systemctl start rmt-server
 

Cause

Pid file still exists while no running process.

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:000019806
  • Creation Date: 08-Dec-2020
  • Modified Date:05-Jan-2021
    • 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.