Cannot Start OHS 12c When Node Manager is Started From a Windows Service (Doc ID 1963705.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle HTTP Server - Version 12.1.2.0.0 and later
Oracle Fusion Middleware - Version 12.1.2.0.0 and later
Microsoft Windows x64 (64-bit)

Symptoms


Following Oracle Documentation to start Node Manager as a Windows Service (overall goal to automatically start on reboot):

1.3.1 Registering Node Manager as a Windows Service
http://docs.oracle.com/middleware/1213/core/RNINF/install.htm#RNINF465

- Note that it is not supported to start OHS as a Service, see <Note 1946552.1> "Is it Possible to Automatically Start OHS 12c Instance via Microsoft Windows Service? ".    

 

When attempting to start the OHS using "startcomponent.cmd ohs1", it fails with the following errors, when nodemanager was already started via services.msc:

 

ohs_nm.log shows:

<2015-01-22 12:28:54> <INFO> <OHS-0> <Domain initialized for C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain>
<2015-01-22 12:29:41> <INFO> <OHS-4018> <Starting server ohs1>
<2015-01-22 12:29:41> <INFO> <OHS-0> <Running C:\Oracle\Middleware\Oracle_Home\bin\launch.exe C:\Oracle\Middleware\Oracle_Home\bin\httpd.exe -f C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs1\httpd.conf>
<2015-01-22 12:29:41> <INFO> <OHS-0> <C:\Oracle\Middleware\Oracle_Home\bin\launch.exe: ERROR: C:\Oracle\Middleware\Oracle_Home\bin\httpd.exe No such file or directory>
<2015-01-22 12:29:42> <INFO> <OHS-0> <C:\Oracle\Middleware\Oracle_Home\bin\launch.exe C:\Oracle\Middleware\Oracle_Home\bin\httpd.exe -f C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs1\httpd.conf: exit status = 1>
<2015-01-22 12:29:42> <INFO> <OHS-4005> <Check the instance log file for more information: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\servers\ohs1\logs\ohs1.log>
<2015-01-22 12:29:42> <SEVERE> <OHS-0> <Failed to start the server ohs1> 



No recent information will be logged in ohs1.log because it has not reached the startup process of OHS, yet.

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