handle server 7.4

213 views
Skip to first unread message

Jorge Alberto Bonilla Castaneda

unread,
Mar 20, 2023, 4:40:11 PM3/20/23
to DSpace Technical Support

hi , i wanted to configure a handle server on my dspace 7.4 , so i went to consult the documentation
https://wiki.lyrasis.org/display/DSDOC7x/Handle.Net+Registry+Support

Within the first section, to locate the handle server on the same dspace machine, use the first command, that is:

[dspace]/bin/make-handle-config

and I get the following errors:
Captura de pantalla 2023-03-20 142824.png

if it is a question of permissions, when installing dspace use
chown -R tomcat:tomcat /dspace

but it still fails, what could it be?

Mohammad S. AlMutairi

unread,
Mar 21, 2023, 8:21:34 AM3/21/23
to DSpace Technical Support
Hi Jorge,

These is clear instructions to start a new installation of the handle server.


# Take a backup of the handle-server folder first if you already had a handle-server previously and do:.
1) /dspace/bin/dspace make-handle-config /dspace/handle-server/
Through what network-accessible IP address should clients connect to this server? [127.0.1.1]: x.x.x.x          <--- Server Public IP
If different, enter the IP address to which the server should bind. [159.10.178.1]: 192.168.100.x                       <--- Server Private IP
Would you like to encrypt your private key?(y/n) [y]: no                                                                                                <-- You should say no but you can say yes if you do, you have to enter this passphrase every time the handle server needs to be started (DSpace recommends not to encrypt it).

3) vi /dspace/handle-server/config.dct
# Add the handle storage plugin you see in red below and replace every occurrence of YOUR_PREFIX with your allotted prefix you have in dspace.cfg/local.cfg.
  "server_config" = {
    "storage_type" = "CUSTOM"
    "storage_class" = "org.dspace.handle.HandlePlugin"
    "enable_txn_queue" = "no"

    "server_admins" = (
      "300:0.NA/YOUR_PREFIX"
    )

    "replication_admins" = (
      "300:0.NA/YOUR_PREFIX"
    )

    "max_session_time" = "86400000"
    "this_server_id" = "1"
    "max_auth_time" = "60000"
    "server_admin_full_access" = "yes"
    "case_sensitive" = "no"
    "auto_homed_prefixes" = (
      "0.NA/YOUR_PREFIX"
    )

4) chown -R tomcat:tomcat /dspace/handle-server

5) /dspace/bin/start-handle-server

6) ss -nlp | grep ":8000\|:2641"

7) Make sure port 2641/udp, 2641/tcp and 8000/tcp are opend on the public firewall and the server firewall if you have one running.

8) Send the generated /dspace/handle-server/sitebndl.zip to CNRI ... You should include your name, organization name, and your prefix that needs to be updated in the email.

Hope it help.

Mo.

Jorge Alberto Bonilla Castaneda

unread,
Mar 21, 2023, 1:26:48 PM3/21/23
to DSpace Technical Support
hello, it worked

thank you very much for your exact help
Reply all
Reply to author
Forward
0 new messages