Hi All,

 

I am running DSpace 1.7.2 on Fedora 8 with  jdk1.6.0_25 and apache tomcat
-7.0.14. I am having problems with my handle server. When I start it, it is
not giving any error. However, if I do a netstat -tnlp, it is clear that it
is not running. When I look at the error logs in the
/home/dspace/dspace/handle-server, the error log reads:

 

"2011/05/30 04:38:09 CAT" 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:43:09 CAT" 100 class net.handle.server.HdlHttpInterface:
Error setting up server socket: java.net.BindException: Address already in
use

"2011/05/30 04:43:09 CAT" 100 class net.handle.server.HdlHttpInterface:
Error setting up server socket: java.net.BindException: Address already in
use

"2011/05/30 04:43:09 CAT" 100 class net.handle.server.HdlUdpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:43:09 CAT" 100 class net.handle.server.HdlUdpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:43:09 CAT" 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:43:09 CAT" 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:48:09 CAT" 100 class net.handle.server.HdlHttpInterface:
Error setting up server socket: java.net.BindException: Address already in
use

"2011/05/30 04:48:09 CAT" 100 class net.handle.server.HdlHttpInterface:
Error setting up server socket: java.net.BindException: Address already in
use

"2011/05/30 04:48:09 CAT" 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:48:09 CAT" 100 class net.handle.server.HdlTcpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:48:09 CAT" 100 class net.handle.server.HdlUdpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:48:09 CAT" 100 class net.handle.server.HdlUdpInterface: Error
setting up server socket: java.net.BindException: Address already in use

"2011/05/30 04:52:47 CAT" 25 Shutting down server at Mon May 30 16:52:47 CAT
2011

"2011/05/30 04:52:47 CAT" 100 Error sleeping!: java.lang.ThreadDeath

"2011/05/30 04:52:47 CAT" 100 Error sleeping!: java.lang.ThreadDeath

"2011/05/30 04:52:47 CAT" 100 Error sleeping!: java.lang.ThreadDeath

"2011/05/30 04:52:47 CAT" 100 Error sleeping!: java.lang.ThreadDeath

"2011/05/30 04:52:47 CAT" 100 Error sleeping!: java.lang.ThreadDeath

"2011/05/30 04:52:47 CAT" 100 Error sleeping!: java.lang.ThreadDeath

"2011/05/30 04:52:47 CAT" 25 Shutting down server at Mon May 30 16:52:47 CAT
2011

"2011/05/30 04:52:47 CAT" 75 class net.handle.server.HdlUdpInterface: Error
handling request: java.net.SocketException: Socket closed

java.net.SocketException: Socket closed

        at java.net.PlainDatagramSocketImpl.receive0(Native Method)

        at
java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145)

        at java.net.DatagramSocket.receive(DatagramSocket.java:725)

        at
net.handle.server.HdlUdpInterface.serveRequests(HdlUdpInterface.java:156)

        at net.handle.server.NetworkInterface.run(NetworkInterface.java:150)

        at java.lang.Thread.run(Thread.java:662)

"2011/05/30 04:52:47 CAT" 75 class net.handle.server.HdlTcpInterface: Error
handling request: java.net.SocketException: Socket closed

java.net.SocketException: Socket closed

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)

        at java.net.ServerSocket.implAccept(ServerSocket.java:462)

        at java.net.ServerSocket.accept(ServerSocket.java:430)

        at
net.handle.server.HdlTcpInterface.serveRequests(HdlTcpInterface.java:155)

        at net.handle.server.NetworkInterface.run(NetworkInterface.java:150)

        at java.lang.Thread.run(Thread.java:662)

"2011/05/30 04:52:47 CAT" 75 class net.handle.server.HdlHttpInterface: Error
handling request: java.net.SocketException: Socket closed

java.net.SocketException: Socket closed

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)

        at java.net.ServerSocket.implAccept(ServerSocket.java:462)

        at java.net.ServerSocket.accept(ServerSocket.java:430)

        at
net.handle.server.HdlHttpInterface.serveRequests(HdlHttpInterface.java:217)

        at net.handle.server.NetworkInterface.run(NetworkInterface.java:150)

        at java.lang.Thread.run(Thread.java:662)

 

However, my netstat -talnp produces

 

Active Internet connections (only servers)

Proto Recv-Q Send-Q Local Address               Foreign Address
State       PID/Program name   

tcp        0      0 0.0.0.0:3306                0.0.0.0:*
LISTEN      1782/mysqld         

tcp        0      0 0.0.0.0:111                 0.0.0.0:*
LISTEN      1601/rpcbind        

tcp        0      0 127.0.0.1:5432              0.0.0.0:*
LISTEN      1867/postmaster     

tcp        0      0 127.0.0.1:25                0.0.0.0:*
LISTEN      1891/sendmail: acce 

tcp        0      0 ::ffff:127.0.0.1:8005       :::*
LISTEN      1970/java           

tcp        0      0 :::8009                     :::*
LISTEN      1970/java           

tcp        0      0 :::8080                     :::*
LISTEN      1970/java           

tcp        0      0 :::80                       :::*
LISTEN      1922/httpd          

tcp        0      0 :::22                       :::*
LISTEN      1696/sshd           

tcp        0      0 :::443                      :::*
LISTEN      1922/httpd  

 

An leads to the problem,

 

Regards,

 

Admire Mutsikiwa

Unuversity of Zimbabwe

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to