Stuart,

Thanks so much! I changed those lines in config.dct and it now works perfectly.

Also, thanks for the high quality training modules you guys developed for 
DSpace!

Jason Fowler, CA
Archives and Special Collections Librarian
The Southern Baptist Theological Seminary
502-897-4573
[EMAIL PROTECTED]
________________________________________
From: Stuart Lewis [EMAIL PROTECTED]
Sent: Saturday, October 11, 2008 2:56 AM
To: DSpace Tech
Subject: Re: [Dspace-tech] Two more questions regarding handles

Hi Jason,

> First, and most important, Handle.net is not resolving my prefix. I know it's
> probably a problem on my end. My firewall is open for incoming and outgoing on
> the appropriate ports. However, I keep getting this error in my handle server
> error log:
>
> "2008/10/08 11:41:54 CDT" 100 class net.handle.server.HdlHttpInterface: Error
> setting up server socket: java.net.BindException: Cannot assign requested
> address
>
> Any ideas as to what might be causing this?

My understanding of that error message is that it occurs when you are trying
to bind to an IP address locally that the machine does not know about. Have
you got the IP address correct in your handle configuration files, or do you
have public and private IP addresses and you are trying to bind to the
public IP which the machine itself doesn't know about?

> Second, when I first set up my handle configuration, I accidentally had a
> small bit of whitespace after the prefix in dspace.cfg. Now, every item i add
> has a handle prefix that looks like this: handle/10392 /11
>
> Any ideas as to how I should go about correcting this?

You said in a subsequent email that you'd tried using update-handle-prefix.
You could instead try running the two SQL commands directly:

UPDATE handle SET handle = 'NEW' || '/' || handle_id
WHERE handle LIKE 'OLD/%';

(substitute OLD and NEW as appropriate)

UPDATE metadatavalue SET text_value =
(SELECT 'http://hdl.handle.net/' || handle FROM handle WHERE
handle.resource_id=item_id AND handle.resource_type_id=2) WHERE
text_value LIKE 'http://hdl.handle.net/%';

2 things though:

 - MAKE SURE YOU TAKE A DB BACKUP FIRST

 - Afterwards you need to reindex DSpace, so either run
[dspace]/bin/index-all or [dspace]/bin/index-update (depending on which
version of DSpace you have)

Thanks,


Stuart
_________________________________________________________________

Gwasanaethau Gwybodaeth                      Information Services
Prifysgol Aberystwyth                      Aberystwyth University

            E-bost / E-mail: [EMAIL PROTECTED]
                 Ffon / Tel: (01970) 622860
_________________________________________________________________


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to