Handle.Net Server Set up

18 views
Skip to first unread message

Ayuka Phanuel

unread,
Dec 6, 2019, 11:52:39 AM12/6/19
to DSpace Technical Support
Our handle server has been working fine then stop after we changed the database name.
We have reconfigured the handle server but it can not start. I am getting the error below:

Shutting down...
"2019/12/06 03:08:12 WAT" 100 class net.handle.server.HdlUdpInterface: Error setting up server socket: java.net.BindException: Address already in use (Bind failed)
"2019/12/06 03:08:12 WAT" 100 class net.handle.server.HdlUdpInterface: Error setting up server socket: java.net.BindException: Address already in use (Bind failed)
"2019/12/06 03:08:12 WAT" 100 class net.handle.server.HdlTcpInterface: Error setting up server socket: java.net.BindException: Address already in use (Bind failed)
"2019/12/06 03:08:12 WAT" 100 class net.handle.server.HdlTcpInterface: Error setting up server socket: java.net.BindException: Address already in use (Bind failed)
"2019/12/06 03:08:12 WAT" 100 class net.handle.server.HdlHttpInterface: Error setting up server socket: java.net.BindException: Address already in use (Bind failed)

Kindly assist.
Kind Regards, 
Phanuel Ayuka.

Ayuka Phanuel

unread,
Dec 9, 2019, 12:12:23 PM12/9/19
to DSpace Technical Support
Anyone with a solution to my problem?

Kind Regards, 
Phanuel Ayuka.


Alan Orth

unread,
Dec 12, 2019, 5:39:01 AM12/12/19
to Ayuka Phanuel, DSpace Technical Support
Dear Phanuel,

"Address already in use" means that some program is already listening on the IP:port that your handle service is configured for. Could be TCP ports 2641 or 8000, or UDP port 2641. Check on Linux with:

$ sudo lsof -i -n -P | grep -E '(2641|8000)'

Regards,

Ayuka Phanuel

unread,
Dec 13, 2019, 4:21:47 AM12/13/19
to Alan Orth, DSpace Technical Support
Thanks Alan,
With the above command I was able to identify the processes  using the two ports and killed them. Handle server is now running fine.

Kind Regards, 
Phanuel Ayuka.
Systems Developer - Android | Django | Java EE | ODK Aggregate | PHP

Reply all
Reply to author
Forward
0 new messages