EM 13c: Creating the Enterprise Manager 13c Cloud Control Agent RPM Package Fails with Error: rpmbuild: command not found (Doc ID 2111297.1)

Last updated on MARCH 03, 2016

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

Creating an Enterprise Manager (EM) 13c Cloud Control Agent RPM package fails with this session error:

[oracle@newhire2 bin]$ ./emcli get_agentimage_rpm -destination=/home/software/agent -platform="Linux x86-64" -version="13.1.0.0.0"
Platform:Linux x86-64
Destination:/home/software/agent
Exalogic:false
 Checking for disk space requirements...
 === Partition Detail ===
Space free : 129 GB
Space required : 1 GB
RPM Creation in progress ...
Check the logs at /home/oracle/.emcli/get_agentimage_rpm_2016-02-29_01-18-44-AM.log
This operation may take few minutes, please wait ...
RPM creation failed ...
Agent image to rpm conversion failed

 

From /home/oracle/.emcli/get_agentimage_rpm_<timestamp>.log:

Platform:Linux x86-64
Version:13.1.0.0.0
Destination:/home/software/agent
Exalogic:false
Getting Agent Image ...
Getting Platforms list  ...
Platform Short Name:linux_x64
Platform ID:226
.
.
.
Path:/home/oracle/OMS13c/sysman/agent/13.1.0.0.0_AgentCore_226.zip
Setting property ORACLE_HOME to:/home/oracle/OMS13c
calling pulloneoffs with arguments:/home/oracle/OMS13c/home/oracle/OMS13c/sysman/agent/13.1.0.0.0_AgentCore_226.zip13.1.0.0.0Linux x86-64/home/software/agenttrue
Final zip location given by the getFullAgentImage api is:/home/software/agent/13.1.0.0.0_Plugins_226.zip
Image exists.
Executing command:/home/oracle/OMS13c/install/rpm/rpm.sh /home/software/agent /home/oracle/OMS13c 13.1.0.0.0_Plugins_226.zip false 13.1.0.0.0
/home/oracle/OMS13c/install/rpm/rpm.sh: line 74: rpmbuild: command not found
RPM creation failed...
Command : /home/oracle/OMS13c/install/rpm/rpm.sh /home/software/agent /home/oracle/OMS13c 13.1.0.0.0_Plugins_226.zip false 13.1.0.0.0 completed with status = 1
Deleting file:/home/software/agent/13.1.0.0.0_Plugins_226.zip
RPM creation failed ...

 

 

 

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