OEM Agent Deploy....
OEM Agent Deploy....
OEM Agent Deploy....
SR 310841157541 : Make sure the ownership and permissions of the agent base directory and all the parent directories
History
ODM Knowledge Content Oracle Support Jun 2, 2015 3:04 PM (27 days ago)
Followed the below
1517731.1 12c Agent installation Failed with base directory not being owned by root or installation user
ODM Solution/Action Plan Oracle Support Jun 2, 2015 3:04 PM (27 days ago)
Issue is very clear
either u01 should be owned by applprod or root
Check the below, it is from Oracle documentation
For example, if the agent base directory is /scratch/OracleHomes/agent, and oracle is the install user, then the
/scratch/OracleHomes/agent directory must be owned by oracle, directories scratch and OracleHomes must be owned by either oracle or
the root user, and the root directory (/) must be owned by the root user.
If you don't want to try the above, then follow the below, while providing other parameters for agent installation like port, Agent Base
Directory etc
Add Host Target => section Optional Details => field "Additional parameters": enter the value ignoreDirPrereq
ODM Proposed Solution Justif Oracle Support Jun 2, 2015 3:04 PM (27 days ago)
Directory u01 owned by user applcrp but actual owner is applprod
ODM Proposed Solution(s) Oracle Support Jun 2, 2015 3:03 PM (27 days ago)
Issue is very clear
either u01 should be owned by applprod or root
Check the below, it is from Oracle documentation
For example, if the agent base directory is /scratch/OracleHomes/agent, and oracle is the install user, then the
/scratch/OracleHomes/agent directory must be owned by oracle, directories scratch and OracleHomes must be owned by either oracle or
the root user, and the root directory (/) must be owned by the root user.
If you don't want to try the above, then follow the below, while providing other parameters for agent installation like port, Agent Base
Directory etc
Add Host Target => section Optional Details => field "Additional parameters": enter the value ignoreDirPrereq
ODM Cause Justification Oracle Support Jun 2, 2015 3:02 PM (27 days ago)
[applprod@vebsprdap2 emagent]$ ls ld /
drwxrxrx 27 root root 4096 Apr 2 08:00 /
[applprod@vebsprdap2 emagent]$ ls ld /u01
drwxrwxrx 11 applcrp oinstall 4096 Jun 2 10:38 /u01
[applprod@vebsprdap2 emagent]$ ls ld /u01/emagent
drwxrwxrwx 3 applprod oinstall 4096 Jun 2 10:51 /u01/emagent
ODM Cause Determination Oracle Support Jun 2, 2015 3:02 PM (27 days ago)
Directory u01 owned by user applcrp but actual owner is applprod
ODM Issue Verification Oracle Support Jun 2, 2015 3:01 PM (27 days ago)
Verified the below
Reason for failure of this prereq could be one of the following:1. Agent Base Directory is not owned by install user. 2. All or one of the
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=255373691893878&srNumber=310841157541&print=true&sortBy=Newest+on… 1/5
6/30/2015 SR Detail
parent directories of agent base directory is not owned by install user or root user. 3. The root directory (that is '/') is not owned by root
user. 4. The parent directory of the agent base directory does not have read and execute permissions for group and other users.
ODM Issue Clarification Oracle Support Jun 2, 2015 3:00 PM (27 days ago)
Installing 12.1.0.4 agent failed with the below
Reason for failure of this prereq could be one of the following:1. Agent Base Directory is not owned by install user. 2. All or one of the
parent directories of agent base directory is not owned by install user or root user. 3. The root directory (that is '/') is not owned by root
user. 4. The parent directory of the agent base directory does not have read and execute permissions for group and other users.
Close Requested By Customer [email protected] Jun 2, 2015 2:54 PM (27 days ago)
Reason for Closing : Cust Closesolution provided
Closing Remarks : Thanks for your support.
ODM Action Plan Oracle Support Jun 2, 2015 2:00 PM (27 days ago)
Hi,
Issue is very clear
either u01 should be owned by applprod or root
Check the below, it is from Oracle documentation
For example, if the agent base directory is /scratch/OracleHomes/agent, and oracle is the install user, then the
/scratch/OracleHomes/agent directory must be owned by oracle, directories scratch and OracleHomes must be owned by either oracle or
the root user, and the root directory (/) must be owned by the root user.
If you don't want to try the above, then follow the below, while providing other parameters for agent installation like port, Agent Base
Directory etc
Add Host Target => section Optional Details => field "Additional parameters": enter the value ignoreDirPrereq
Let me know the status.
Thanks
Venkat Boddeti
Update from Customer [email protected] Jun 2, 2015 1:38 PM (27 days ago)
user is applprod
Update from Customer [email protected] Jun 2, 2015 1:37 PM (27 days ago)
[applprod@vebsprdap2 emagent]$ ls ld /
drwxrxrx 27 root root 4096 Apr 2 08:00 /
[applprod@vebsprdap2 emagent]$ ls ld /u01
drwxrwxrx 11 applcrp oinstall 4096 Jun 2 10:38 /u01
[applprod@vebsprdap2 emagent]$ ls ld /u01/emagent
drwxrwxrwx 3 applprod oinstall 4096 Jun 2 10:51 /u01/emagent
ODM Action Plan Oracle Support Jun 2, 2015 1:36 PM (27 days ago)
Hi,
+ Need the below command outputs from agent machine
ls ld /
ls ld /u01
ls ld /u01/emagent
+ With which user you are going to install this agent?
Thanks
Venkat Boddeti
Update from Customer [email protected] Jun 2, 2015 1:34 PM (27 days ago)
/u01/emagent
ODM Action Plan Oracle Support Jun 2, 2015 1:33 PM (27 days ago)
Hi,
Can you please provide me your complete agent base directory path.
With which user you are going to install this agent?
Thanks
Venkat Boddeti
Update from Customer [email protected] Jun 2, 2015 1:26 PM (27 days ago)
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=255373691893878&srNumber=310841157541&print=true&sortBy=Newest+on… 2/5
6/30/2015 SR Detail
+ Are you installing agent using Agent deployment or silent installation?
i am Deploying from the EM
+ Seems like your agent directory or its parent directories are owned by multiple users, please check the agent base directory
requirements
================================================================================
Ensure that the agent base directory you provide is empty and has at least 1 GB of free space.
If a previously run deployment session had failed for some reason, then you might see an ADATMP_<timestamp> subdirectory in the agent
base directory. In this case, either delete the subdirectory and start a new deployment session, or retry the failed session from the Add
Host Status page.
i have done with this .
Ensure that the directory name does not contain any spaces.
yes
The install user owns the agent base directory. The agent base directory and the parent directories of the agent base directory have read,
write, and execute permissions for the install user. Ensure that the install user or the root user owns all the parent directories of the agent
base directory, and that the parent directories have read and execute permissions for the install user group and all the other users. Also,
ensure that the root user owns the root directory.
i have given full rights.
ODM Action Plan Oracle Support Jun 2, 2015 1:20 PM (27 days ago)
Hi Shaik,
I had been assigned with this SR. I will assist you for further details.
+ Are you installing agent using Agent deployment or silent installation?
+ Seems like your agent directory or its parent directories are owned by multiple users, please check the agent base directory
requirements
================================================================================
Ensure that the agent base directory you provide is empty and has at least 1 GB of free space.
If a previously run deployment session had failed for some reason, then you might see an ADATMP_<timestamp> subdirectory in the agent
base directory. In this case, either delete the subdirectory and start a new deployment session, or retry the failed session from the Add
Host Status page.
Ensure that the directory name does not contain any spaces.
The install user owns the agent base directory. The agent base directory and the parent directories of the agent base directory have read,
write, and execute permissions for the install user. Ensure that the install user or the root user owns all the parent directories of the agent
base directory, and that the parent directories have read and execute permissions for the install user group and all the other users. Also,
ensure that the root user owns the root directory.
For example, if the agent base directory is /scratch/OracleHomes/agent, and oracle is the install user, then the
/scratch/OracleHomes/agent directory must be owned by oracle, directories scratch and OracleHomes must be owned by either oracle or
the root user, and the root directory (/) must be owned by the root user.
(For Microsoft Windows hosts) Ensure that the agent base directory name does not exceed 68 characters.
If the agent base directory is mounted, then ensure that it is mounted with the setuid turned on.
================================================================================
Thanks
Venkat Boddeti
Update from Customer [email protected] Jun 2, 2015 10:52 AM (27 days ago)
while installing agent i am getting this error .
Customer Problem Description [email protected] Jun 2, 2015 10:52 AM (27 days ago)
Severity 1 Contact Information
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=255373691893878&srNumber=310841157541&print=true&sortBy=Newest+on… 3/5
6/30/2015 SR Detail
** Customer's Management 24x7 contact name: Shaik Abbas
** Customer's Management 24x7 contact number: 00965 66676362
** Customer's Management Email Address: [email protected]
** Primary Customer 24x7 contact name: Shaik s
** Primary Customer 24x7 contact number: 00965 66676362
** Primary Customer Email Address: [email protected]
** Primary Customer Contact Method: Email
** Secondary Customer 24x7 contact name: Thoubeek Ali
** Secondary Customer 24x7 contact number: 00965 23851606
** Alternate 24x7 Contact Number: 00965 66676362
** Secondary Customer Email Address: [email protected]
Customer Problem Description
Problem Summary
Make sure the ownership and permissions of the agent base directory and all the parent directories
Problem Description
Reason for failure of this prereq could be one of the following:1. Agent Base Directory is not owned by install user. 2. All or one of the
parent directories of agent base directory is not owned by install user or root user. 3. The root directory (that is '/') is not owned by root
user. 4. The parent directory of the agent base directory does not have read and execute permissions for group and other users.
Error Codes
Problem Category/Subcategory
EM Agent & OMS Installation Install, Upgrade, Patching, Plugin Deployment and Certification/Agent Installation, Upgrade, Patching
Uploaded Files
Interactive Solution Details
Question: Select the topic of your inquiry into EM Agent installation, upgrade and patching.
Answer: EM Agent installation problems
Question: Select the method revealing the error.
Answer: Silent Agent install failure (agentDeploy.sh method)
Question: Select the location of the error.
Answer: Agent deployment (check CfmLogger*.log file for errors)
Question: Select from these common errors.
Answer: None of the above
Diagnosis: Review the following general troubleshooting document for known issues that are not as common as those already presented:
Read Note:1396675.1 EM 12c: Known Issues and Troubleshooting 12c Management Agent Installation
If the solutions suggested so far do not resolve your error, follow the steps detailed in the document below to provide the initial
information Support will require:
Read Note:1919536.1 SRDC: Collecting Log files for Failures during Agent Installation
We recommend saving this session as a draft Service Request (SR). Once data gathering is complete, proceed with the next step to upload
requested data and submit the SR.
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=255373691893878&srNumber=310841157541&print=true&sortBy=Newest+on… 4/5
6/30/2015 SR Detail
https://support.oracle.com/epmos/faces/SrDetailPrint?sysmsg=true&_afrLoop=255373691893878&srNumber=310841157541&print=true&sortBy=Newest+on… 5/5