SUSE Support

Here When You Need Us

SLES11 does not work as an SLP Directory Agent

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

Environment

SUSE Linux Enterprise Server 11
Service Location Protocol (SLP)

Situation

SLES11 does not work as an SLP Directory Agent

The /var/log/slpd.log shows:

Agent URL = service:service-agent://127.0.0.2

but should show:

Agent URL = service:directory-agent://192.168.143.130

Additionally, the output of '# slptool findsrvs service' should show the directory agent URL below, but instead shows nothing.

service:directory-agent://192.168.143.130,65535

Resolution

Remove the 127.0.0.2 line from /etc/hosts and restart the SLP daemon (rcslpd restart). You can also move the 127.0.0.2 line below the local hostname entry for the static local IP address. Just make sure the first IP address found for your local hostname is a bound IP address.

Additional Information

The slpd looks at the first entry in the name service switch for the local hostname. If the local hostname is node1 for example, slpd will lookup node1. If an unbound local loopback address is returned, the SLP directory agent will fail. The address must be bound to the local server. So 127.0.0.1 or the local static IP address will work.

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:7005104
  • Creation Date: 06-Jan-2010
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

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

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.