My Oracle Support Banner

Admin Server Is Not Starting Up After Creating Softlink Of OHS Document_Root (htdocs) Directory Pointing To NAS Mount Point. (Doc ID 2461196.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.2.0.0 version, WLS Core Components

Using Forms & Reports 12.2.1.2

WLS 12.2.1.2
F&R 12.2.1.2
OHS 12.2.1.2
JDK 1.8.0_121

Actual Issue : Using F&R 12.2.1.2 with collocated OHS.
And created softlink of OHS Document_Root (htdocs) directory pointing to NAS mount point.

For Ex:
/icesapp/apps/documents -> htdocs

Above “documents” directory have around 3Lac files and when we start the WLS AdminServer or any other managed server, it starts reading/opening files from “documents” directory and doesn’t come up.
Thereafter we copied 1Lac files from “documents” directory to htdocs directory after removing softlink (NAS to SAN) and then it took around 8-9 minutes to come up in RUNNING state.

Strace output shows like below:
-----------------
12978 19:31:25.902647 open("/FORMICES_DOMAIN/Middleware/Oracle_Home/user_projects/domains/fricesdomain/config/fmwconfig/components/OHS/instances/ohsn1/htdocs/imphtm/6824269.out", O_RDONLY) = 804
12978 19:31:25.928021 open("/FORMICES_DOMAIN/Middleware/Oracle_Home/user_projects/domains/fricesdomain/config/fmwconfig/components/OHS/instances/ohsn1/htdocs/imphtm/6824269.err", O_RDONLY) = 804
12978 19:31:25.940183 open("/FORMICES_DOMAIN/Middleware/Oracle_Home/user_projects/domains/fricesdomain/config/fmwconfig/components/OHS/instances/ohsn1/htdocs/imphtm/6872766exm.lst", O_RDONLY) = 804
12978 19:31:25.954301 open("/FORMICES_DOMAIN/Middleware/Oracle_Home/user_projects/domains/fricesdomain/config/fmwconfig/components/OHS/instances/ohsn1/htdocs/imphtm/6872766_proc_execd", O_RDONLY) = 804
12978 19:31:25.962969 open("/FORMICES_DOMAIN/Middleware/Oracle_Home/user_projects/domains/fricesdomain/config/fmwconfig/components/OHS/instances/ohsn1/htdocs/imphtm/6824269.junk", O_RDONLY) = 804
12978 19:31:25.984811 open("/FORMICES_DOMAIN/Middleware/Oracle_Home/user_projects/domains/fricesdomain/config/fmwconfig/components/OHS/instances/ohsn1/htdocs/imphtm/6824269", O_RDONLY) = 804

Were completely STUCK until came SR # 3-13832807741 where customer resolved this by creating Alias directive mapping the URL alias with the physical directory. Worked perfectly as a workaround!
However, customer does not accept this workaround and wants to know why WLS starts reading and opening files from document_root(htdocs) folder and doesn’t come up.


Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.