My Oracle Support Banner

"Cannot run program "adrci": error=2, No such file or directory" Error When Starting Agile Application Server on Linux Server with Root User (Doc ID 2862619.1)

Last updated on APRIL 14, 2022

Applies to:

Oracle Agile PLM Framework - Version 9.3.6.0 and later
Generic Linux
Linux x86

Symptoms

After installing Agile Application Server on Linux server with user Administrator, fails to start up Agile Application Server with root user with below error in nohup log:

Error

SEVERE: failure initializing ADR
oracle.dfw.common.DiagnosticsException: failure loading adrci binary under Oracle Home "/home/administrator/Oracle/Middleware/Oracle_Home/oracle_common/adr" and from the system path: null
Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "Cannot run program "adrci": error=2, No such file or directory"
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.(ADRHelper.java:282)
at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.(DiagnosticsDataExtractorImpl.java:187)
at oracle.dfw.spi.portable.PortableDiagnosticsFrameworkProvider.init(PortableDiagnosticsFrameworkProvider.java:400)
at oracle.dfw.framework.DiagnosticsFramework.(DiagnosticsFramework.java:44)
at oracle.dfw.incident.IncidentDetectionLogFilter.(IncidentDetectionLogFilter.java:63)
..
Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands ""
Cause: There was an error executing adrci commands; the following errors have been found "Cannot run program "adrci": error=2, No such file or directory"
Action: Ensure that command line tool "adrci" can be executed from the command line.
at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1660)
at oracle.dfw.impl.incident.ADRHelper.(ADRHelper.java:264)
... 76 more


What Is Working

The error does not happen when starting Agile Application Server as administrator user



Steps

The issue can be reproduced at will with the following steps:

  1. Log into Linux server with Administrator user, and install Agile Application Server.
  2. Change to root user (This is because Note:753329.1 explains that WebLogic 12c need to be started as root user if the normal port number for web servers is port 80 and 443)
  3. Start Agile Application Server using nohup command:
  4. Check the nohup log generated. See the error.

Changes

 

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
Changes
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.