slptool findsrvs gives blank out put slp 2.0
Brought to you by:
jcalcote
I have installed the Open slp 2.0 on Windows Xp and tried registering a service using slptool. The registrations went fine but when I query to find the service using spltool it gives blank out put.
Attached are the slpd traces collected for same operation.
The register and findsrvs query used are:
>slptool register service:myserv111.x://myhost.com "(attr1=val1),(attr2=val2)"
>slptool.exe findsrvs service:myservVikram111.x
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
The trace shows two things:
1) The service service:myserv111.x is registered correctly, then de-registered by the watch pid mechanism almost immediately. This is what you would expect using slptool with watch pid functionality enabled - the daemon notices that the registering process (slptool) is no longer running, so automatically removes the registration. To use slptool to register, you need to disable the watch pid functionality in the configuration file.
2) You are searching for a different service (myservVikram111.x) from the one you registered (myserv111.x), so you shouldn't get any output in this case, anyway.
closing as the original issue was answered by a community responder.