OHS Component Unable To Start When IP Addresses For Virtual Hosts Are Removed From NIC (Doc ID 2165263.1)

Last updated on JULY 28, 2016

Applies to:

Oracle HTTP Server - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3.0.0 version
Platform 64-bit Windows Server 2008 R2 Standard
O/S Version 6.1
Service Pack Service Pack 1

When attempting to startup OHS using "startComponent.cmd ohs1", the following error occurs:

Connecting to Node Manager ...
Successfully Connected to Node Manager.
Starting server ohs1 ...
Error Starting server ohs1: weblogic.nodemanager.NMException: Received error message from Node Manager Server: [Server start command for OHS server 'ohs1' failed due to: [Failed to start the server ohs1
Check log file DOMAIN_HOME\system_components\OHS\ohs_nm.log
Check log file DOMAIN_HOME\servers\ohs1\logs\ohs1.log]. Please check Node Manager log and/or server 'ohs1' log for detailed information.]. Please check Node Manager log for details.
Successfully disconnected from Node Manager.

Exiting WebLogic Scripting Tool.
Done

 

And, the DOMAIN_HOME/servers/ohs1/logs/OHS/ohs1.log shows these types of messages:

[2016-07-14T12:42:12.2820-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [mod_weblogic.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] WebLogic Server Plugin version 12.1.3 <WLSPLUGINS_12.1.3.0.0_WINDOWS.X64_140421.1459>
[2016-07-14T12:42:12.6876-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] Child 3644: Acquired the start mutex.
[2016-07-14T12:42:12.6876-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] Child 3644: Starting 150 worker threads.
[2016-07-14T12:42:12.7032-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 1648] [user: myuser] [VirtualHost: main] Child 3644: Starting thread to listen on port 4443.
[2016-07-14T12:42:12.7032-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 1672] [user: myuser] [VirtualHost: main] Child 3644: Starting thread to listen on port 4443.
[2016-07-14T12:42:12.7032-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 1656] [user: myuser] [VirtualHost: main] Child 3644: Starting thread to listen on port 9999.
[2016-07-14T12:42:12.7032-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 1704] [user: myuser] [VirtualHost: main] Child 3644: Starting thread to listen on port 7780.
[2016-07-14T12:42:12.7032-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 1716] [user: myuser] [VirtualHost: main] Child 3644: Starting thread to listen on port 7780.
...

[2016-07-14T13:44:58.7148-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 4268] [tid: 604] [user: myuser] [VirtualHost: main] Parent: Received shutdown signal -- Shutting down the server.
[2016-07-14T13:44:58.7616-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] Child 3644: Exit event signaled. Child process is ending.
[2016-07-14T13:44:59.8224-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] Child 3644: Released the start mutex
[2016-07-14T13:45:00.8364-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] Child 3644: All worker threads have exited.
[2016-07-14T13:45:02.0376-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 3644] [tid: 624] [user: myuser] [VirtualHost: main] Child 3644: Child process is exiting
[2016-07-14T13:45:03.0048-04:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: hostname] [host_addr: ip address] [pid: 4268] [tid: 604] [user: myuser] [VirtualHost: main] Parent: Child process exited successfully.

 


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. startComponent.cmd ohs1
2. SSL is enabled but not being used.


Changes

The ipconfig /all was run which showed the following:

Windows IP Configuration

Host Name . . . . . . . . . . . . : myhost
Primary Dns Suffix . . . . . . . : mydomain.com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : mydomain.com

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : vmxnet3 Ethernet Adapter
Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 111.22.3.555(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
IPv4 Address. . . . . . . . . . . : 111.22.3.441(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
IPv4 Address. . . . . . . . . . . : 111.22.3.442(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
IPv4 Address. . . . . . . . . . . : 111.22.3.443(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
IPv4 Address. . . . . . . . . . . : 111.22.3.444(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
IPv4 Address. . . . . . . . . . . : 111.22.3.445(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
IPv4 Address. . . . . . . . . . . : 111.22.3.446(Preferred)
Subnet Mask . . . . . . . . . . . : xxx.xxx.xxx.x
Default Gateway . . . . . . . . . : xxx.xx.x.xxx
DNS Servers . . . . . . . . . . . :
...
NetBIOS over Tcpip. . . . . . . . : Disabled

 

The Virtual Hosts were configured with IP Addresses 111.22.3.441 through 111.22.3.448.

Listen 111.22.3.441:7780
Listen 111.22.3.442:7780
Listen 111.22.3.443:7780
Listen 111.22.3.444:7780
Listen 111.22.3.445:7780
Listen 111.22.3.446:7780
Listen 111.22.3.447:7780
Listen 111.22.3.448:7780

<VirtualHost 111.22.3.441:7780>
ErrorLog logs/test1.log
DocumentRoot D:\test1
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.442:7780>
ErrorLog logs/test2.log
DocumentRoot D:\test2
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.443:7780>
ErrorLog logs/test3.log
DocumentRoot D:\test3
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.444:7780>
ErrorLog logs/test4.log
DocumentRoot D:\test4
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.445:7780>
ErrorLog logs/test5.log
DocumentRoot D:\test5
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.446:7780>
ErrorLog logs/test6.log
DocumentRoot D:\test6
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.447:7780>
ErrorLog logs/test7.log
DocumentRoot D:\test7
... additional directives
</VirtualHost>

<VirtualHost 111.22.3.448:7780>
ErrorLog logs/test8.log
DocumentRoot D:\test8
... additional directives
</VirtualHost>

 

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