Thank you for your patience.
I have try the hdl-genericbatch as "4.1 Create Handle Batch Format". I write the simple batch file "create.txt" (20.500.11886 is my prefix). CREATE 20.500.11886/hdl2 3 URL 86400 1110 UTF8 http://www.handle.net Then I use the hdl-genericbatch command: ./bin/hdl-genericbatch ./create.txt -verbose But , I see the command still search the other authenticated handle servers, not my local handle server. The console output as following: Batch(batchfile/create2.txt) process started ... Batch process prints log on stdout ... Start Time: Tue Aug 02 15:05:36 CST 2016 sending HDL-UDP request (version=2.10; oc=1; rc=0; snId=0 caCrt noAuth expires:Wed Aug 0 3 03:05:36 CST 2016 0.NA/20.500.11886 [HS_SITE, HS_SITE.6, HS_SERV, HS_NAMESPACE, ] [ ]) t o [2001:550:100:6::4]:2641 sending HDL-UDP request (version=2.10; oc=1; rc=0; snId=0 caCrt noAuth expires:Wed Aug 0 3 03:05:36 CST 2016 0.NA/20.500.11886 [HS_SITE, HS_SITE.6, HS_SERV, HS_NAMESPACE, ] [ ]) t o 132.151.1.179:2641 sending HDL-UDP request (version=2.10; oc=1; rc=0; snId=0 caCrt noAuth expires:Wed Aug 0 3 03:05:36 CST 2016 0.NA/20.500.11886 [HS_SITE, HS_SITE.6, HS_SERV, HS_NAMESPACE, ] [ ]) t o [2001:550:100:6::4]:2641 ................... received HDL-TCP response: Error(100): HANDLE NOT FOUND ==>FAILURE[0]: create:20.500.11886/hdl2: Unable to find service for prefix 0.NA/20.500.118 86; prefix resolution response: Error(100): HANDLE NOT FOUND Successes/Total Entries: 0/1 Batch File Lines: 0 Finish Time: Tue Aug 02 15:06:01 CST 2016 This batch took 25 seconds to complete at an average speed of 0.0395835807307129 operation s/second Batch process finished It still fail in the end . I'm confused that the hdl-genericbatch command do not specify the serverdir, how the command know "anonymous_admin_full_access" = "yes". ? Is there anything missing, or the command or create.txt has some error ? thx alot again. Subject: Re: [Handle-info] How to create a new admin handle without using DBTool From: schneck@cnri.reston.va.us Date: Mon, 1 Aug 2016 12:05:32 -0400 CC: handle-info@cnri.reston.va.us To: cpusoft@live.com Ah. I suspect the browser admin tool (https://.../admin/) doesn't admit the possibility of an unauthenticated admin request. I believe the hdl-genericbatch client tool does. See Chapter 4 of the Handle Technical Manual. Just send a CREATE block without any AUTHENTICATE block. Robert
|
_______________________________________________ Handle-Info mailing list Handle-Info@cnri.reston.va.us http://www.handle.net/mailman/listinfo/handle-info