Operating System - HP-UX
1833758 Members
2694 Online
110063 Solutions
New Discussion

Exception creating the server socket: java.net.BindException: Can't assign requested address

 
Song Yun Keun
New Member

Exception creating the server socket: java.net.BindException: Can't assign requested address

I had a problem once and I worry that it will happen later.

The Ploblem is Apache Jserv is not executed with bellow messages in log.

"AacheJServ/1.1.2: Exception creating the server socket: java.net.BindException: Can't assign requested address"

After server rebooted, It worked.

In addition to this ploblem, There had been a case several times that Apache Process is not killed.
It is also workded after rebooting.

Does anyone have any solution for this kind of ploblem?

OS version is HP-UX 11.11
netsong@hanmail.net
3 REPLIES 3
Janssens Sven
New Member

Re: Exception creating the server socket: java.net.BindException: Can't assign requested address

Hi,

Did you ever find the solution to this problem (except rebooting) ?
If so, could you please provide us with an answer, because we've got the same problem.

Thanks
Song Yun Keun
New Member

Re: Exception creating the server socket: java.net.BindException: Can't assign requested address

No.
We have not find any solution to this ploblem. But, This problem accurs very little. I have seen only twice last 2 years.
netsong@hanmail.net
KapilRaj
Honored Contributor

Re: Exception creating the server socket: java.net.BindException: Can't assign requested address

It will be a good idea to see the netstat -an o/p. Are there too many sockets in CLOSE_WAIT state ?. If there are , then there is a chance to run out of number of sockets ! so that it is not able to create more sockets.

Also try increasing "nfile" parameter to a higher value. It has a direct relatios as unix treats a sopcket as an open file.

Regds,

Kaps
Nothing is impossible