Skip to main content
ExLibris
Ex Libris Knowledge Center

oclc_server: Address already in use; TCP/IP connection has been closed by the remote host

Description

* Library staff are seeing "TCP/IP connection has been closed by the remote host" errors in OCLC. 
* util w/1/7/9 doesn't show any oclc_server running; trying to start it (on port 5771) doesn't work.
* The oclc_server_5771.log has the message "binding stream socket: Address already in use".

Resolution


Though util w/1/7/9 was showing nothing, "ps -ef" showed this:  
> ps -ef |grep 5771 
aleph 4288 1 0 Nov14 ? 00:00:00 /exlibris/aleph/a22_1/aleph/exe/oclc_server 5771
aleph 5690 1 0 Nov14 ? 00:00:00 /exlibris/aleph/a22_1/aleph/exe/oclc_server 5771 
aleph 12647 1 0 Nov14 ? 00:00:00 /exlibris/aleph/a22_1/aleph/exe/oclc_server 5771 
aleph 19054 18282 0 10:44 pts/7 00:00:00 grep 7505 
aleph 22481 1 0 Nov14 ? 00:00:00 /exlibris/aleph/a22_1/aleph/exe/oclc_server 5771 

After doing the command: 
> kill -9 4288 5690 19054 22481
the above processes disappeared and oclc_server_5771 was successfully started.

The same thing happened with the sru_server -- which is *not* included in the util w/1 server_monitor function --, but grep-ing and killing the sru_server processes, likewise, worked.