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
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
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
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
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com