Opmnctl Command Fails With Error "A file or directory in the path name does not exist." or "LPX-00202:" (Doc ID 756573.1)

Last updated on JANUARY 12, 2017

Applies to:

Oracle Fusion Middleware - Version 10.1.2.0.0 to 10.1.3.4.0 [Release AS10gR2 to AS10gR3]
Oracle Applications Technology Stack - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
Oracle Application Server 10g Enterprise Edition - Version: 10.1.2.0.0 to 10.1.3.4.0
***Checked for relevance on 02-Dec-2013***

Symptoms

The scope of this note applies to Oracle Application Server 10g installations only and does not cover layered products such as EBS where multiple opmn.xml files exists.

 

When attempting to run an opmnctl command, opmnctl reports errors relevant to opmn.xml. Errors are similar to examples below:

% $ORACLE_HOME/opmnctl status

Error reading opmn.xml
Message:{ORACLE_HOME/opmn/conf/opmn.xml (A file or directory in the path name does not exist.)}
Filename:{ORACLE_HOME/opmn/conf/opmn.xml}
FileContent:{}

 

or

% $ORACLE_HOME/opmn/bin/opmnctl start

LPX-00202: could not open "ORACLE_HOME/opmn/conf/opmn.xml" (error 200)
XML parse failed: error 202.
opmnctl: opmn.xml validation failed.


Command opmnctl is trying to read opmn.xml file from different path instead of Oracle AS10g (10.1.3) ORACLE_HOME from where this command is being  executed.

Note:

1. If the directory or opmn.xml does not exist, opmnctl command will returns error as shown above.

2. If opmn.xml does exist in that directory (a different Oracle Application Server installation), opmn startup uses that opmn.xml and will yield unexpected results.

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