Hi all,
i'm trying to configure handle server with Dspace. and i when i
create or add a document in Dspace i have problems with handle CNRI.
i received the confirm from dspace that i have a new item identifiy by :
http://hdl.handle.net/10508/77
But if i try to accces i have an error like
Error - System Error
The handle you requested --
*/10508/77/*
-- cannot be found.
****************************************************
I'm doing something wrong that does not entirely understand
I will try to explain briefly the configuration:
---------------------------------------------------------------------------------
* The dspace an server handle machine is a ubuntu 8.10 in a
virtual host. i access it with VMWARE.
* The mahine have a internal ip 172.16.1.145 on his network and a
public ip = 192.146.153.20.
* The firewall have opened connections for ports 2641 and ports
8000 , and some more. And access ip to ours IP and to CNRI IP.
* We have the handle prefix yet = 10508 . We execute the command:
# java -cp /hs/bin/handle.jar
net.handle.server.SimpleSetup /hs/svr_1
with this configuration options:
1 - Regular Handle Server
2.- Will this be a "primary" server (ie, not a mirror of another
server)?(y/n) > [y]:
3.- Through what IP address will this server be accessible?
[127.0.0.1]: -> In our case is: IP 193.146.153.20.
4.- Enter the (TCP/UDP) port number this server will listen to
[2641]: By defect -> 2641
5.- What port number will the HTTP interface be listening to? [8000]:
-> We change to 8080.
6.- Would you like to log all accesses to this server?(y/n) -> we
select yes
7.-etc...
* We edit the /hs/svr_1/config.dct and now the content is:
*
{
"hdl_http_config" = {
"bind_address" = "193.146.153.20"
"num_threads" = "15"
"bind_port" = "8080"
"backlog" = "5"
"log_accesses" = "yes"
}
"server_type" = "server"
"hdl_udp_config" = {
"bind_address" = "193.146.153.20"
"num_threads" = "15"
"bind_port" = "2641"
"log_accesses" = "yes"
}
"hdl_tcp_config" = {
"bind_address" = "193.146.153.20"
"num_threads" = "15"
"bind_port" = "2641"
"backlog" = "5"
"log_accesses" = "yes"
}
"log_save_config" = {
"log_save_interval" = "Weekly"
}
"no_udp_resolution" = "y"
"interfaces" = (
"hdl_udp"
"hdl_tcp"
"hdl_http"
)
"server_config" = {
"server_admins" = (
"300:0.NA/10508"
)
"replication_admins" = (
"300:0.NA/10508"
)
"max_session_time" = "86400000"
"this_server_id" = "1"
"max_auth_time" = "60000"
"backup_admins" = (
"300:0.NA/10508"
)
"case_sensitive" = "no"
"storage_type" = "CUSTOM"
"storage_class" = "org.dspace.handle.HandlePlugin"
}
}
* Now we start the server at 192.143.20 with command, in
background, with a connection over ssh and screen to :
# java -cp /hs/bin/handle.jar net.handle.server.Main /hs/svr_1
We introducce our password for autenticacion
* Next, start the Admin Tool using the following command.
java -cp /hs/bin/handle.jar net.handle.apps.gui.hadmin.HandleTool
Click on the 'Server Admin' button and choose 'Home Naming
Authority' from the menu that
pops up. You will be prompted for your authentication information.
The authentication type should be Public Key.
The ID Handle will be 0.NA/10508
The Index should be 300.
Browse to find private key file. It is is named 'admpriv.bin'.
We insert the secret
passphrase.
and appear a new form and add our ip *193.146.153.20,* port
*2641,* handle *0.NA/10508* and protocol *tcp* and then we have an
error connection,
This is the error:
sending HDL-TCP request (version=2.2; oc=1; rc=0; snId=0 crt caCrt noAuth expires:Thu Aug 13 01:03:49 CEST 2009 0.NA/10508 [ ] [300, ]) to 38.100.138.131:2641
received HDL-TCP response: version=2.2; oc=1; rc=1; snId=0 crt caCrt noAuth expires:Thu Aug 13 01:04:01 CEST 2009 0.NA/10508
index=300 type=HS_PUBKEY rwr- "0000000B4453415F5055425F4B4559000000000015009760508F15230BCCB292B982A2EB840BF0581CF50000008100FD7F53811D75122952DF4A9C2EECE4E7F611B7523CEF4400C31E3F80B6512669455D402251FB593D8D58FABFC5F5BA30F6CB9B556CD7813B801D346FF26660B76B9950A5A49F9FE8047B1022C24FBBA9D7FEB7C61BF83B57E7C6A8A6150F04FB83F6D3C51EC3023554135A169132F675F3AE2B61D72AEFF22203199DD14801C70000008100F7E1A085D69B3DDECBBCAB5C36B857B97994AFBBFA3AEA82F9574C0B3D0782675159578EBAD4594FE67107108180B449167123E84C281613B7CF09328CC8A6E13C167A8B547C8D28E0A3AE1E2BB3A675916EA37F0BFA213562F1FB627A01243BCCA4F1BEA8519089A883DFE15AE59F06928B665E807B552564014C3BFECF492A0000008100D9E6215F1A971E3D0C49331EA4956751C3F2728A7E7C9F29E96EEFA050259055DFC17C5DE03B66A26DC8A1E8F6F1CF502C7115072767EE15838057A74D765D1AF0B9F2BD903770E78D11D9E5639D99E36E8AC23322B0A682EE43BE47DCC9C6C2ADAB71D1361EC1CA618C4BBAF336F2766B7927B693432C50CA27499B349EC4D7"
sending HDL-TCP request (version=-1.-1; oc=2; rc=0; snId=0 crt caCrt noAuth expires:Thu Aug 13 01:05:53 CEST 2009 /) to 193.146.153.20:2641
HandleException (CANNOT_CONNECT_TO_SERVER) /193.146.153.20: java.net.ConnectException: Connection refused
at net.handle.hdllib.HandleResolver.sendHdlTcpRequest(HandleResolver.java:1823)
at net.handle.hdllib.HandleResolver.sendHdlTcpRequest(HandleResolver.java:1768)
at net.handle.apps.gui.hadmin.HomeNAWindow.homeNA(HomeNAWindow.java:144)
at net.handle.apps.gui.hadmin.HomeNAWindow.actionPerformed(HomeNAWindow.java:104)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
at java.awt.Component.processMouseEvent(Component.java:6108)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
tis is in my computer , if i esxecute this at the server where install
dspace an serverhandle , i have the same error or like it:
# java -cp /hs/bin/handle.jar net.handle.apps.gui.hadmin.HandleTool
sending HDL-TCP request (version=2.1; oc=1; rc=0; snId=0 crt caCrt noAuth expires:Thu Aug 13 01:09:34 CEST 2009 0.NA/10508 [ ] [300, ]) to 132.151.1.179:2641
received HDL-TCP response: version=2.1; oc=1; rc=1; snId=0 crt caCrt noAuth expires:Thu Aug 13 01:18:16 CEST 2009 0.NA/10508
index=300 type=HS_PUBKEY rwr- "0000000B4453415F5055425F4B4559000000000015009760508F15230BCCB292B982A2EB840BF0581CF50000008100FD7F53811D75122952DF4A9C2EECE4E7F611B7523CEF4400C31E3F80B6512669455D402251FB593D8D58FABFC5F5BA30F6CB9B556CD7813B801D346FF26660B76B9950A5A49F9FE8047B1022C24FBBA9D7FEB7C61BF83B57E7C6A8A6150F04FB83F6D3C51EC3023554135A169132F675F3AE2B61D72AEFF22203199DD14801C70000008100F7E1A085D69B3DDECBBCAB5C36B857B97994AFBBFA3AEA82F9574C0B3D0782675159578EBAD4594FE67107108180B449167123E84C281613B7CF09328CC8A6E13C167A8B547C8D28E0A3AE1E2BB3A675916EA37F0BFA213562F1FB627A01243BCCA4F1BEA8519089A883DFE15AE59F06928B665E807B552564014C3BFECF492A0000008100D9E6215F1A971E3D0C49331EA4956751C3F2728A7E7C9F29E96EEFA050259055DFC17C5DE03B66A26DC8A1E8F6F1CF502C7115072767EE15838057A74D765D1AF0B9F2BD903770E78D11D9E5639D99E36E8AC23322B0A682EE43BE47DCC9C6C2ADAB71D1361EC1CA618C4BBAF336F2766B7927B693432C50CA27499B349EC4D7"
sending HDL-TCP request (version=-1.-1; oc=2; rc=0; snId=0 crt caCrt noAuth expires:Thu Aug 13 01:10:48 CEST 2009 /) to 193.146.153.20:2641
HandleException (CANNOT_CONNECT_TO_SERVER) /193.146.153.20: java.io.InterruptedIOException: Connection timed out.
at net.handle.hdllib.HandleResolver.sendHdlTcpRequest(HandleResolver.java:1823)
at net.handle.hdllib.HandleResolver.sendHdlTcpRequest(HandleResolver.java:1768)
at net.handle.apps.gui.hadmin.HomeNAWindow.homeNA(HomeNAWindow.java:144)
at net.handle.apps.gui.hadmin.HomeNAWindow.actionPerformed(HomeNAWindow.java:104)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6216)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5981)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4583)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4413)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
please , need help...
The error Is like this process connect over self ip
, .. umm --
or like an error firewall , but we don't known what ip mus t be open
, etc.
We open , previusly, these ip and ports:
38.100.138.131:2641
38.100.138.131:8000
132.151.20.9:2641
132.151.20.9:8000
132.151.1.179:2641
132.151.1.179:8000
thanks in advance
<<< miguelangel.martin@XimetriX.com
<<< XimetriX network thoughts www.ximetrix.com
<<< Departamento de Operaciones
<<< tlf: +34 91 521 99 99
<<< fax: +34 91 521 99 74
---------------------------------------------------------------