[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Handle-info] handle (v6.2) - Unable to home a primary using batch operation command line



Hi All,

As suggested by Jane Euler, I rerun the setup, disable the UDP service, and sent the sitebl.zip file. 
After that I can home a primary using batch operation command line successfully.


Best regards,

Harry



-----Original Message-----
From: Scott Prater [mailto:prater@wisc.edu] 
Sent: Friday, 6 January 2012 2:13 AM
To: Harry Sidhunata; handle-info@cnri.reston.va.us
Subject: Re: [Handle-info] handle (v6.2) - Unable to home a primary using batch operation command line

I've had the same problem homing naming authorities with the batch command line tool (handles v 6.2) for years, also.  I try to debug it about once every six months, but I have yet to get it to work.  I'll be interested to hear if anyone has a solution, also.

-- Scott

On 01/05/12, Harry Sidhunata   wrote:
> Hi All,
> 
> Currently I am having problem to home a primary using batch operation command line.
> However I can home without any issues using the admin tool.
> Could someone let me know what I have done wrong?
> The TCP and UDP port number is 2641.
> 
> 
> Here is the batch file content that I use:
> 
> AUTHENTICATE PUBKEY:300:0.NA/19xx.x
> admpriv.bin|password
> 
> UNHOME 149.171.67.172:2641:TCP
> 0.NA/19xx.x
> 
> 
> And below is the log of the batch operation command line:
> 
> Batch(home) process started ...
> Batch process prints log on stdout ...
> Start Time: Thu Jan 05 14:46:50 EST 2012
>   sending HDL-TCP request (version=-1.-1; oc=2; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 02:46:50 EST 2012 /) to 149.171.67.172:2641
>   received HDL-TCP response: version=2.2; oc=2; rc=1; snId=0 crt caCrt noAuth expires:Fri Jan 06 02:46:51 EST 2012; siteInfo:version: 2.1; serial:1; primary:y; servers=[1 149.171.67.172 (TCP/2641,UDP/2641,HTTP/8081)]
>   sending HDL-UDP request (version=-1.-1; oc=301; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 02:46:50 EST 2012 0.NA/1959.4) to 149.171.67.172:2641
>   sending HDL-UDP request (version=-1.-1; oc=301; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 02:46:50 EST 2012 0.NA/1959.4) to 149.171.67.172:2641
>   sending HDL-UDP request (version=-1.-1; oc=301; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 02:46:50 EST 2012 0.NA/1959.4) to 149.171.67.172:2641
> ==>FAILURE[5]: home/unhome:0.NA/1959.4: /149.171.67.172: java.net.SocketTimeoutException: Receive timed out
> Successes/Total Entries: 0/1
> Batch File Lines: 5
> Finish Time: Thu Jan 05 14:47:03 EST 2012
> This batch took 12 seconds to complete at an average speed of 0.07785736530675802 operations/second
> Batch process finished
> 
> 
> From the log, it seems that UDP is blocked and when I open the UDP, I got different message. Here is the log:
> 
> Batch process prints log on stdout ...
> Start Time: Thu Jan 05 15:01:05 EST 2012
>   sending HDL-TCP request (version=-1.-1; oc=2; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 03:01:05 EST 2012 /) to 149.171.67.172:2641
>   received HDL-TCP response: version=2.2; oc=2; rc=1; snId=0 crt caCrt noAuth expires:Fri Jan 06 03:01:06 EST 2012; siteInfo:version: 2.1; serial:1; primary:y; servers=[1 149.171.67.172 (TCP/2641,UDP/2641,HTTP/8081)]
>   sending HDL-UDP request (version=-1.-1; oc=301; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 03:01:05 EST 2012 0.NA/1959.4) to 149.171.67.172:2641
>     received HDL-UDP response: Error(4): PROTOCOL ERROR: Received admin request on non-admin port 
> HandleException (MISSING_OR_INVALID_SIGNATURE) Verification failed.
>         at net.handle.hdllib.HandleResolver.verifyResponse(HandleResolver.java:1513)
>         at net.handle.hdllib.HandleResolver.sendHdlUdpRequest(HandleResolver.java:1725)
>         at net.handle.hdllib.HandleResolver.sendRequestToInterface(HandleResolver.java:1415)
>         at net.handle.hdllib.HandleResolver.sendRequestToServerByProtocol(HandleResolver.java:1143)
>         at net.handle.hdllib.HandleResolver.sendRequestToServer(HandleResolver.java:1006)
>         at net.handle.hdllib.HandleResolver.sendRequestToServer(HandleResolver.java:986)
>         at net.handle.apps.batch.GenericBatch.processHomeNA(GenericBatch.java:533)
>         at net.handle.apps.batch.GenericBatch.processBatch(GenericBatch.java:172)
>         at net.handle.apps.batch.GenericBatch.main(GenericBatch.java:946)
>   sending HDL-UDP request (version=-1.-1; oc=301; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 03:01:05 EST 2012 0.NA/1959.4) to 149.171.67.172:2641
>   received HDL-UDP response: Error(4): PROTOCOL ERROR: Received admin request on non-admin port 
> HandleException (MISSING_OR_INVALID_SIGNATURE) Verification failed.
>         at net.handle.hdllib.HandleResolver.verifyResponse(HandleResolver.java:1513)
>         at net.handle.hdllib.HandleResolver.sendHdlUdpRequest(HandleResolver.java:1725)
>         at net.handle.hdllib.HandleResolver.sendRequestToInterface(HandleResolver.java:1415)
>         at net.handle.hdllib.HandleResolver.sendRequestToServerByProtocol(HandleResolver.java:1143)
>         at net.handle.hdllib.HandleResolver.sendRequestToServer(HandleResolver.java:1006)
>         at net.handle.hdllib.HandleResolver.sendRequestToServer(HandleResolver.java:986)
>         at net.handle.apps.batch.GenericBatch.processHomeNA(GenericBatch.java:533)
>         at net.handle.apps.batch.GenericBatch.processBatch(GenericBatch.java:172)
>         at net.handle.apps.batch.GenericBatch.main(GenericBatch.java:946)
>   sending HDL-UDP request (version=-1.-1; oc=301; rc=0; snId=0 crt caCrt noAuth expires:Fri Jan 06 03:01:05 EST 2012 0.NA/1959.4) to 149.171.67.172:2641
>   received HDL-UDP response: Error(4): PROTOCOL ERROR: Received admin request on non-admin port
> HandleException (MISSING_OR_INVALID_SIGNATURE) Verification failed.
>         at net.handle.hdllib.HandleResolver.verifyResponse(HandleResolver.java:1513)
>         at net.handle.hdllib.HandleResolver.sendHdlUdpRequest(HandleResolver.java:1725)
>         at net.handle.hdllib.HandleResolver.sendRequestToInterface(HandleResolver.java:1415)
>         at net.handle.hdllib.HandleResolver.sendRequestToServerByProtocol(HandleResolver.java:1143)
>         at net.handle.hdllib.HandleResolver.sendRequestToServer(HandleResolver.java:1006)
>         at net.handle.hdllib.HandleResolver.sendRequestToServer(HandleResolver.java:986)
>         at net.handle.apps.batch.GenericBatch.processHomeNA(GenericBatch.java:533)
>         at net.handle.apps.batch.GenericBatch.processBatch(GenericBatch.java:172)
>         at net.handle.apps.batch.GenericBatch.main(GenericBatch.java:946)
> ==>FAILURE[5]: home/unhome:0.NA/1959.4: Unable to verify signature: 'Verification failed.' for message: Error(4): PROTOCOL ERROR: Received admin request on non-admin port
> Successes/Total Entries: 0/1
> Batch File Lines: 5
> Finish Time: Thu Jan 05 15:01:06 EST 2012
> This batch took 0 seconds to complete at an average speed of 1.2547051442910915
> operations/second
> Batch process finished
> 
> 
> 
> Harry 
> 
> 
> 
> 
> _______________________________________________
> Handle-Info mailing list
> Handle-Info@cnri.reston.va.us
> http://www.handle.net/mailman/listinfo/handle-info

--
-- 
Scott Prater
Library, Instructional, and Research Applications (LIRA)
Division of Information Technology (DoIT)
University of Wisconsin - Madison
prater@wisc.edu

_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info