I looked in my dspace handle-server log and the following is there:
class net.handle.server.HdTcpInterface: Error setting up server socket: 
java.net.BindException: Cannot assign requested address: JVM_Bind

I have ports 2641 and 8000 both open. Any ideas?

Jewel

Christopher Steven Yates [csy] wrote:
> Hi Jewel,
>
> You should be able to test the handle server is working correctly
> (dspace-handle.bat) without having to wait for a response from
> handle.net.
>
> In terms of ports, disabling UDP won't be a problem. It will just mean
> that handles resolve slightly slower using TCP. The protocols are
> stackable, the handle will initially try to resolve using UDP, if this
> fails, it will fall back to TCP.
>
> In theory, there shouldn't be a problem as long as there are no errors
> in the configuration. I've set up the handle service on a number of
> Windows Server 2003 machine with no major issues. If there's a problem
> with the handle server accessing the network through the specified
> ports, you'll more than likely get an error like:
>
> WrapperManager Error: Unexpected exception opening backend socket:
> java.net.SocketException: Network is unreachable: connect
>
> I hope all goes well, let me know if your still having issues,
>
> Regards,
> Chris
>
> -----Original Message-----
> From: Jewel [mailto:[email protected]] 
> Sent: 08 January 2009 20:10
> To: Christopher Steven Yates [csy]
> Subject: Re: [Dspace-tech] Handle Setup on Windows 2003
>
> I re-ran the setup and resubmitted the sitebndl.  I hope this fixes it.
>
> I also had a questions about UDP.  I was told to turn it off so when i 
> submitted the sitebndl questions I said "y" yes to turn it off.  Is this
>
> going to be a problem?  I have ports 2641 and 8000 open for tcp.
>
> Christopher Steven Yates [csy] wrote:
>   
>> Hi Jewel,
>>
>> The example on the DSpace wiki is using an unencrypted handle so
>>     
> output
>   
>> will be slightly different to when using an encrypted handle. 
>>
>> I would suggest in the first instance using an unencrypted handle
>> initially. Probably the easiest way to achieve this would be to back
>>     
> up
>   
>> the [dspace]/handle-server directory. Clear out the existing files and
>> then re-run [dspace]/bin/dsrun net.handle.server.SimpleSetup
>> [dspace]/handle-server. 
>>
>> Once the handle server service is working correctly, you can either
>> re-send the sitebndl.zip to handle.net (keeping the handle
>>     
> unencrypted)
>   
>> or then replace the files in [dspace]/handle-server with the
>>     
> previously
>   
>> backed up files (encrypting the handle).
>>
>> If the dspace-handle.bat runs correctly, the output should show the
>> ports listening. You will need to ensure your firewall allows access
>>     
> for
>   
>> ports 8000 and 2641 (TCP and UDP).
>>
>> Regards,
>> Chris
>>
>> -----Original Message-----
>> From: Jewel [mailto:[email protected]] 
>> Sent: 08 January 2009 15:51
>> To: Christopher Steven Yates [csy]
>> Cc: [email protected] Tech
>> Subject: Re: [Dspace-tech] Handle Setup on Windows 2003
>>
>> I don't have to have them encrypted.  I just took the defaults when 
>> asked the questions to register for a handle.  How can I make these 
>> unencrypted? And something I really don't understand is when I go to 
>> test my handle service is even asks me for the passphrase while the 
>> example on the wiki has totally different output, it shows the ports 
>> listening.
>>
>> Jewel
>>
>> Christopher Steven Yates [csy] wrote:
>>   
>>     
>>> Hi Jewel,
>>>
>>> Is there anything in the [dspace]/log/wrapper.log? I've just
>>>       
> encrypted
>   
>>>     
>>>       
>> the keys on a test server to try and re-create your error and the
>>     
> handle
>   
>> server starts ok once the passphrase is entered, so it could be a
>> configuration error.
>>   
>>     
>>> Do you need to encrypt your keys? Using the service wrapper to run
>>>       
> the
>   
>>>     
>>>       
>> handle as a windows service means the handle service can start
>> automatically on server boot. If your keys are encrypted, you will be
>> prompted to enter your passphrase each time before the handle server
>>     
> can
>   
>> start.
>>   
>>     
>>> I'm not currently aware of being able to pass the passphrase as an
>>>     
>>>       
>> application parameter directly on start-up.
>>   
>>     
>>> I hope this is of some use,
>>>
>>> Regards
>>> Chris
>>>
>>>
>>>     
>>>       
> ------------------------------------------------------------------------
>   
>> ------
>>   
>>     
>>> Chris Yates
>>> Technical Repository Support Officer
>>>
>>> Gwasanaethau Gwybodaeth       Information Services
>>> Prifysgol Aberystwyth         Aberystwyth University
>>>
>>> E-bost / E-mail [email protected]
>>> Ffon / Tel: (01970 62) 8489
>>>
>>>
>>>     
>>>       
> ------------------------------------------------------------------------
>   
>> ------
>>   
>>     
>>>  
>>>
>>> -----Original Message-----
>>> From: Jewel [mailto:[email protected]] 
>>> Sent: 07 January 2009 19:43
>>> To: [email protected] Tech
>>> Subject: [Dspace-tech] Handle Setup on Windows 2003
>>>
>>> I have successfully installed DSpace on a Windows 2003 server.  I
>>>       
> have
>   
>>>     
>>>       
>>   
>>     
>>> obtained my handle and am in the process of setting up the handle 
>>> service. I have followed the instructions listed on the dspace wiki 
>>> tying to install the handle as a service on Windows 
>>>
>>>     
>>>       
> (http://wiki.dspace.org/index.php/Handle_Server_Setup_as_Windows_Service
>   
>> _(using_Tanuki)#Installing_the_Handle_Server_as_a_Windows_Service).  
>>   
>>     
>>> Once I run the dspace-handle.bat file it asks me for my passphrase.  
>>> When I enter it it just hangs and doesn't do anything.  Does anyone 
>>> recognize what might be wrong? Enabling the debug options in the 
>>> wrapper.conf file isn't displaying anything. Please help!
>>>       

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to