Hi Elliot,
My responses are below...
On Jun 27, 2006, at 10:32 PM, Elliot Metsger wrote:
Hi Everyone,
I looked in the archives but they were pretty lean so here's my question.
I'm using Sun Java 1.4.2 on Linux Handle 6.2, and I'm trying to get my Handle Server running locally without contacting the Local Registry.
I'm assuming this is just for testing/setup purposes.
Here's what I did: 1. Went through the Simple Setup.
Performed the required client side steps 2. Copied siteinfo.bin to ~/.handle/resolver_site 3. Created ~/.handle/local_nas with a single entry in it: "0.NA/1234"
The client side setup seems to work. Based on the output from the Handle Tool it seems that all messages are being sent to my local handle server.
Performed the required servers side steps
4. Modified the config.dct file (question: do these parameters sit inside the server_config = { ... } block, or do they sit by themselves in the main body of the config file? I've tried both.)
They should be inside the server_config block.
5. Fired up DB Tool and added the Naming Authority "0.NA/1234"
6. Used DB Tool to add the Handle "1234/ADMIN", with a data of "admin". Relative TTL of 86400 and (well, this is odd to me) a timestamp of Monday Jan 05 07:15:57 EST 1970. Checked permissions are AR, PR, and AW. PW is unchecked. The Refs box is empty.
Here are all the parameters -
+ index=300
+ type=HS_ADMIN
+ rwr-
+ "admin"
Instead of HS_ADMIN you will need to set the type to "HS_SECKEY" and use "admin" as the secret key (password) when authenticating. Values with type "HS_ADMIN" are contained in handles in order to specify who can modify them. In this case the 1234/ADMIN handle is only being used to identify a single administrator.
I can sucessfully list the naming authority and the 1234/ADMIN handle using DB Tool.
7. Edited config.dct and replaced each occurance of "0.NA/ADMIN" with "0.NA/1234/ADMIN".
That should be "1234/ADMIN". All handles that begin with "0." are only located on the root/global servers. By adding the 0.NA/1234 prefix handle to your server you are telling the server that it is responsible for handles under the 1234/ namespace.
Yes, this is the expected result if step 6 has the wrong handle value type. I think that changing that will solve the problem, but please let me know if it doesn't!
Thanks, Sean
-- Sean Reilly CNRI/Reilly Technologies Location this week: Edinburgh, Scotland hdl:200/0
_______________________________________________ Handle-Info mailing list Handle-Info@cnri.reston.va.us http://www.handle.net/mailman/listinfo/handle-info
_______________________________________________ Handle-Info mailing list Handle-Info@cnri.reston.va.us http://www.handle.net/mailman/listinfo/handle-info