Oracle DBA Tips and Techniques

By Arjun Raja

Oracle 12c cloud control installation on Linux

Posted by Arjun Raja on February 3, 2012


Download foll files from :

1. 11g Rel 2 for LINUX.

1. linux.x64_11gR2_database_1of2
2. linux.x64_11gR2_database_2of2

2. 12c Cloud Control – Enterprise Manager.

1. em12_linux64_disk1of2
2. em12_linux64_disk2of2

Copy both sets of zip files into separate directories on linux server and unzip them.

Begin installation

1. Install 11g rel2 Linux software.

2. Create database using 11g rel2 Linux software

Before creating database, make sure /etc/hosts file has name of host :

Otherwise dbca database creation will fail with:

ORA-00119: invalid specification for system parameter LOCAL_LISTENER ORA-00130: invalid listener address ‘(ADDRESS=

Ø Hostname

[oracle@cloud oradata]$ hostname


[oracle@cloud flash_recovery_area]$ cat /etc/hosts

# Do not remove the following line, or various programs

# that require network functionality will fail. localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6 cloud.control cloud

[oracle@cloud flash_recovery_area]$

Also make sure ulimit –n is unlimited.

[oracle@cloud bin]$ ulimit -n


[oracle@cloud bin]$

Get unix to change it to unlimited or 4096.

Once database is created , remove the dbcontrol repository created by dbca for enterprise manager.

emca -deconfig dbcontrol db -repos drop -SYS_PWD -SYSMAN_PWD

emca -deconfig dbcontrol db -repos drop -SYS_PWD oracle12c -SYSMAN_PWD oracle12c

ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

Shutdown immediate;


2. Cloud Control installation.

Create directory to hold Middleware ( Web Logic,etc)

cd /home/oracle

mkdir Middleware

cd /home/oracle/stage

[oracle@cloud stage]$ export DISPLAY=

[oracle@cloud stage]$ ./runInstaller

Starting Oracle Universal Installer…

Checking Temp space: must be greater than 400 MB. Actual 98300 MB Passed

Checking swap space: must be greater than 150 MB. Actual 5951 MB Passed

Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed

Preparing to launch Oracle Universal Installer
from /tmp/OraInstall2011-12-09_10-59-46AM. Please wait …[oracle@cloud stage]$

(Embedded image moved to file: pic27071.jpg)

(Embedded image moved to file: pic15429.jpg)

(Embedded image moved to file: pic29688.jpg)

(Embedded image moved to file: pic24633.jpg)

(Embedded image moved to file: pic21062.jpg)

Click on warning row and ignore

Click OK and then Ignore

(Embedded image moved to file: pic28246.jpg)

(Embedded image moved to file: pic03762.jpg)

Note down the administrator passwords.

(Embedded image moved to file: pic07873.jpg)

(Embedded image moved to file: pic02961.jpg)

(Embedded image moved to file: pic02230.jpg)

(Embedded image moved to file: pic06947.jpg)

(Embedded image moved to file: pic10203.jpg)

Carry out checks

Agent checks

cd /home/oracle/Middleware/agent/agent_inst/bin

./emctl status agent

[oracle@cloud bin]$ ./emctl status agent

Oracle Enterprise Manager 12c Cloud Control

Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: