Error trying to resolve '': [Errno -2] Name or service not known

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


Suse Manager Proxy 4.2


Customer can restart the salt-broker service with no issue, but its status remains in failed:
# systemctl restart salt-broker
# systemctl status salt-broker
 salt-broker.service - Salt ZeroMQ Proxy (broker)
     Loaded: loaded (/usr/lib/systemd/system/salt-broker.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2022-03-10 08:25:40 CET; 1s ago
    Process: 4852 ExecStart=/usr/bin/salt-broker (code=exited, status=1/FAILURE)
   Main PID: 4852 (code=exited, status=1/FAILURE)

Mar 10 08:25:40 sumaproxy4new systemd[1]: Started Salt ZeroMQ Proxy (broker).
Mar 10 08:25:40 sumaproxy4new salt-broker[4852]: [PubChannelProxy] Error trying to resolve '': [Errno -2] Name or service not known
Mar 10 08:25:40 sumaproxy4new systemd[1]: salt-broker.service: Main process exited, code=exited, status=1/FAILURE
Mar 10 08:25:40 sumaproxy4new systemd[1]: salt-broker.service: Failed with result 'exit-code'.
Salt-broker message logs:
# tail -f /var/log/salt/broker 
2022-03-10 08:41:16,244 DEBUG Using 'rhn_parent' from /etc/rhn/rhn.conf as 'master'
2022-03-10 08:41:16,247 DEBUG [SaltBroker] Readed config: {'publish_port': '4505', 'ret_port': '4506', 'interface': '', 'tcp_keepalive': True, 'tcp_keepalive_idle': 300, 'tcp_keepalive_cnt': -1, 'tcp_keepalive_intvl': -1, 'master': ''}
2022-03-10 08:41:16,247 INFO [SaltBroker] Starting Salt ZeroMQ Proxy [PID: 5163]
2022-03-10 08:41:16,296 ERROR [SaltBroker] [PubChannelProxy] Error trying to resolve '': [Errno -2] Name or service not known



1) Go to /etc/rhn/rhn.conf and edit parent hostname 
proxy.rhn_parent =

proxy.rhn_parent = sumahostname

2) Go to /etc/sysconfig/rhn/up2date and edit server hostname 
serverURL[comment]=Remote server URL (use FQDN)

serverURL[comment]=Remote server URL (use FQDN)

3) Restart salt-broker service
systemctl restart salt-broker

4) Double check salt-broker service status
systemctl status salt-broker


This Suse proxy server has registered to Redhat Server before. But parent's hostname does not update to configuration automatically.


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:000020610
  • Creation Date: 15-Mar-2022
  • Modified Date:15-Mar-2022
    • SUSE Manager Proxy

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact:

SUSE Support Forums

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

Join Our Community

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.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

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

Go to Customer Center