Environment
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 1
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Situation
Even if the only setting in the /etc/slp.conf file is:
net.slp.isDA = true
When the SLP daemon is stopped and started it is not coming up as a DA.
In the /var/log/slpd.log file, right before the line that says:
"Startup complete entering main run loop ..."
Are the following two lines:
Agent Interfaces = 10.10.1.2
Agent URL = service:service-agent://127.0.0.1
(Where the 10.10.1.2 address is an example. It should actually be an IP address that is bound on this server.)
There should be a line that says:
Agent URL = service:directory-agent://10.10.1.2
NOT
Agent URL = service:service-agent://127.0.0.1
The reason that slpd.log file shows:
Agent URL = service:service-agent://127.0.0.1
Instead of
Agent URL = service:directory-agent://10.10.1.2
can be because the /etc/hosts file has associated the server name with a loopback address. (Example:127.0.0.2)
It would make no sense at all for the DA to return to a UA, either the 127.0.0.1 or 127.0.0.2 address as the DA's address.
The UA would never be able to get to the DA on either of those addresses.
Therefore the DA chooses not to become a DA in this mis-configured state.
net.slp.isDA = true
When the SLP daemon is stopped and started it is not coming up as a DA.
In the /var/log/slpd.log file, right before the line that says:
"Startup complete entering main run loop ..."
Are the following two lines:
Agent Interfaces = 10.10.1.2
Agent URL = service:service-agent://127.0.0.1
(Where the 10.10.1.2 address is an example. It should actually be an IP address that is bound on this server.)
There should be a line that says:
Agent URL = service:directory-agent://10.10.1.2
NOT
Agent URL = service:service-agent://127.0.0.1
The reason that slpd.log file shows:
Agent URL = service:service-agent://127.0.0.1
Instead of
Agent URL = service:directory-agent://10.10.1.2
can be because the /etc/hosts file has associated the server name with a loopback address. (Example:127.0.0.2)
It would make no sense at all for the DA to return to a UA, either the 127.0.0.1 or 127.0.0.2 address as the DA's address.
The UA would never be able to get to the DA on either of those addresses.
Therefore the DA chooses not to become a DA in this mis-configured state.
Resolution
Fix the /etc/hosts file so that
- the first instance of the servers name (going from top to botom) is not associated with a loopback address
- and the first instance is associated with an IP address that is actually bound on the server.