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/ <http://0.na/>*YOUR_PREFIX*"
    )

    "replication_admins" = (
      "300:0.NA/ <http://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/ <http://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.
On Monday, March 20, 2023 at 11:40:11 PM UTC+3 Jorge Alberto Bonilla 
Castaneda wrote:

>
> 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:
> [image: 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?
>
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/7e218bbf-d131-4cb5-b3d2-72be3d4da6ean%40googlegroups.com.

Reply via email to