'Error Creating Socket (Cannot Assign Requested Address)' - Oracle iPlanet Web Server Fails to Start When IP Address is not Available (Doc ID 1364813.1)

Last updated on APRIL 03, 2017

Applies to:

Oracle iPlanet Web Server - Version 6.1 to 7.0 [Release 6.1 to 7.0]
Information in this document applies to any platform.
***Checked for relevance on 15-Aug-2013***

Symptoms

iPlanet Web Server fails to start if configured to listen on a specifc IP address and that address is not available. For example, if the instance's server.xml file is listening on a specific address:

<LS acceptorthreads="1" blocking="false" defaultvs="www.test.com" id="ls1" ip="1.2.3.4" port="80" security="false" servername="www.test.com"/>

and that address is not available, the following error will occur when starting the instance:

failure: HTTP3094: 1 listen sockets could not be created
failure: CORE3186: Failed to set configuration


The instance error log will contain:

[05/Oct/2011:15:32:27] failure (24099): HTTP3127: [LS ls1] http://1.2.3.4:80: Error creating socket (Cannot assign requested address)
[05/Oct/2011:15:32:27] failure (24099): HTTP3094: 1 listen sockets could not be created
[05/Oct/2011:15:32:27] failure (24099): CORE3186: Failed to set configuration

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms