how to install oracle 12c on ubuntu 15.04
TRANSCRIPT
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
1/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
How to Install Oracle 12c on Ubuntu 15.04
TechieNote
≡ Menu
This tutorial show How to Install Oracle 12C on Ubuntu 15.04. Ubuntu like systems are not in
the list of Oracle 12c Database Supported OS, so you should be careful and use it at most for
Development and not as Production Database Server
In this post we will be installing Oracle Database 12c Release 1 (12.1.0.2.0) – Enterprise Edition
on Ubuntu 15.04 64 bit Operating System. If you are unsure about your system architecture check
How to find Operating System bit in Linux.
Following is the summarized steps of How to Install Oracle 12c on Ubuntu 15.04
1. Oracle Installation Prerequisites2. Install Oracle 12c on Ubuntu
3. Post Installation
If you want to install Oracle 12C on Ubuntu 13.10 then follow How to Install Oracle 12C Enterprise
Edition Database Ubuntu 13.10
If you want to install Oracle 11G R2 Express edition on Ubuntu follow Step By Step Guide to
Install Oracle Database Express Edition 11GR2 On Ubuntu 12.10 / 12.04 / 11.10
If you want to install Oracle 11G R2 on Ubuntu 12.10 and 12.04 follow How to Install Oracle 11G
R2 Enterprise Edition Database Ubuntu 12.10 / 12.04
If you want to install Oracle 11G R2 on Ubuntu 11.04 follow Oracle Database 11g R2 on Ubuntu
11.04
Detailed Step by Step of How to Install Oracle 12c on Ubuntu 15.04
1. Oracle Installation Prerequisites Host file modification
The /etc/hosts file must contain a fully qualified name for the server.
I P- addr ess f ul l y- qual i f i ed- machi ne- name machi ne- name
Following is the example of my machine
http://www.techienote.com/http://www.techienote.com/how_to_find_operating_system_bit/http://www.techienote.com/how-to-install-oracle-12c-enterprise-edition-database-ubuntu-13-10/http://www.techienote.com/how-to-install-oracle-12c-enterprise-edition-database-ubuntu-13-10/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04/http://www.techienote.com/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04/http://www.techienote.com/oracle-database-11g-r2-on-ubuntu-11-04/http://www.techienote.com/oracle-database-11g-r2-on-ubuntu-11-04/http://www.techienote.com/oracle-database-11g-r2-on-ubuntu-11-04/http://www.techienote.com/oracle-database-11g-r2-on-ubuntu-11-04/http://www.techienote.com/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04/http://www.techienote.com/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/how-to-install-oracle-12c-enterprise-edition-database-ubuntu-13-10/http://www.techienote.com/how-to-install-oracle-12c-enterprise-edition-database-ubuntu-13-10/http://www.techienote.com/how_to_find_operating_system_bit/http://www.techienote.com/
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
2/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
2. Hardware requirement
1. General Server Minimum Requirements Server should be started in runlevel 3 or runlevel 5.
Server display cards provide at least 1024 x 768 display resolution.
2. Disk Space Requirements on Linux x86-64 Disk Space for Enterprise Edition Installation type is 6.4 GB
1 GB of space in the /tmp directory on your Linux system.
3. Server Memory Minimum Requirements Ensure that your system meets the following memory requirements:
Minimum: 1 GB of RAM
Recommended: 2 GB of RAM or moreSwap Space Requirement for Linux
1. If RAM size is between 1 GB to 2 GB then Swap space should be 1.5 times of the RAM
2. If RAM size is between 2 GB to 16 GB then Swap space should be equal to the
size of the RAM
3. If RAM size is more than 16 GB then Swap space should be 16 GB3. Install Prerequisi tes packages
1. Open a command prompt by pressing CTRL + ALT + t and run following command as
a root / root equivalent user to downloads the package lists from the repositories and updates them to get information on the newest versions of packages and their
dependencies. It will do this for all repositories and PPAs.sudo apt-get update
2. Run following command to handle changing dependencies with new versions of
packages.sudo apt-get dist-upgrade
3. Restart machine by running following commandsudo r eboot - - r eboot
4. Again run dist-upgrade to check if there is any new versions of packagessudo apt-get dist-upgrade
5. Run following command to install dependenciessudo apt-get - y install al i en bi nut i l s bui l d- essent i al \
cpp- 4. 4 debhel per g++- 4. 4 gawk gcc- 4. 4 gcc- 4. 4- base \
gettext html 2t ext l i b32z1 l i b32ncur ses5 i nt l t ool - debi an \
ksh l i b32z1- dev l i bai o- dev l i bai o1 l i bbeecrypt 7 l i bc6 \
l i bc6- dev l i bc6- dev- i 386 l i bel f - dev l i bel f 1 l i bl t dl - dev \
l i bl t dl 7 l i bmot i f 4 l i bodbci nstq4- 1 l i bodbci nst q4- 1: i 386 \
l i bqt4- core l i bqt4- gui l i bsql i te3- 0 l i bst dc++5 l i bst dc++6 \
l i bst dc++6- 4. 4- dev l sb l sb- cor e l sb- cxx l sb- deskt op \l sb- gr aphi cs make odbci nst pax po- debconf r pm \
r pm- common sysst at uni xodbc uni xodbc- dev unzip
4. Creating Required Operating System Groups and Users
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
3/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
1. Run following command as root/ root equivalent user to create required Operating
System groups and userssudo addgr oup oi nst al l
sudo addgr oup dba
sudo addgr oup nobody
sudo user mod - g nobody nobody
sudo useradd - g oi ns tal l - G dba - p passwor d - d /home/or acl e - s /bi n/ bash or acl e
sudo mkdir /home/or acl e
sudo chown - R oracl e: dba /home/or acl e
sudo mkdir - p /u01/app/or acl esudo mkdir - p /u01/bi nari es
sudo chown - R oracl e: dba /u01
2. Set the password for the oracle user which we have created for installation purposesudo passwd or acl e
5. Configuring Kernel Parameters and Resource Limits1. Make ourself as Red Hat by running following command as root/ root equivalent user
echo ' Red Hat Li nux r el ease 6' | sudo tee - a /et c/r edhat - r el ease
2. We need to create some soft links to start the installation. To do so run the following
commands as root/ root equivalent user,sudo mkdir /usr /l i b64
sudo ln - s /et c /et c/r c . d
sudo ln - s /l i b/x86_64- l i nux- gnu/l i bgcc_s. so. 1 /l i b64/
sudo ln - s /usr /bi n/awk /bi n/awk
sudo ln - s /usr /bi n/ basename /bi n/ basename
sudo ln - s /usr /bi n/r pm /bi n/r pm
sudo ln - s /usr /l i b/x86_64- l i nux- gnu/l i bc_nonshar ed. a /usr /l i b64/
sudo ln - s /usr /l i b/x86_64- l i nux- gnu/l i bpt hr ead_nonshar ed. a /usr /l i b64/
sudo ln - s /usr /l i b/x86_64- l i nux- gnu/l i bst dc++. so. 6 /l i b64/
sudo ln - s /usr /l i b/x86_64- l i nux- gnu/l i bst dc++. so. 6 /usr /l i b64/
3. To change the shell configuration for oracle user run following commands as root/ root
equivalent user sudo cp /et c/securi t y/l i mi ts . conf /et c/securi t y/l i mi ts . conf . or i gi nal
echo "#Or acl e 12C shel l l i mi t s: " | sudo tee - a /et c/securi t y/l i mi t s . conf
echo "oracl e sof t npr oc 2048" | sudo tee - a /et c/securi ty/l i mi t s . conf
echo "oracl e har d nproc 16384"| sudo tee - a /et c/securi ty/l i mi t s . conf
echo "oracl e sof t nof i l e 1024" | sudo tee - a /et c/securi t y/l i mi t s . conf
echo "oracl e hard nof i l e 65536" | sudo tee - a /et c/securi t y/l i mi t s . conf
4. Run following command to change the kernel parameters as root/ root equivalent user.echo "#" | sudo tee - a /et c/sysct l . conf
echo "# Or acl e 12C ent r i es" | sudo tee - a /et c/sysct l . conf
echo " f s. ai o- max- nr=1048576" | sudo tee - a /et c/sysct l . conf
echo " f s. f i l e- max=6815744" | sudo tee - a /et c/sysct l . conf
echo "kernel . shmal l =2097152" | sudo tee - a /et c/sysct l . conf
echo "ker nel . shmmni =4096" | sudo tee - a /et c/sysct l . conf
echo "ker nel . sem=250 32000 100 128" | sudo tee - a /et c/sysct l . conf
echo "net. i pv4. i p_l ocal _por t _r ange=9000 65500" | sudo tee - a /et c/sysct l . conf
echo "net . cor e. r mem_def aul t =262144" | sudo tee - a /et c/sysct l . conf
echo "net . cor e. r mem_max=4194304" | sudo tee - a /et c/sysct l . conf
echo "net . cor e. wmem_def aul t =262144" | sudo tee - a /et c/sysct l . conf
echo "net . cor e. wmem_max=1048586" | sudo tee - a /et c/sysct l . conf
echo "ker nel . shmmax=1073741824" | sudo tee - a /et c/sysct l . conf
Note: kernel.shmmax = max possible value, e.g. size of physical memory in bytes. In
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
4/43
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
5/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
This will redirect to the login screen. Enter your credentials and click on Sign in button
Download the file to /u01/binaries . Do the same for file 2.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-download-sign-on.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-download.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
6/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
7. Unpack FilesLogin as a oracle user and open a terminal by pressing CTRL + ALT +t Go to /u01/binaries folder using following command
cd /u01/bi nar i es
Run following commands to extract binaries
unzip l i nuxamd64_12102_database_1of 2. zi punzip l i nuxamd64_12102_database_2of 2. zi p
Before doing the installation we need to give proper permission to the extracted file, to do the
same run following command
chown - Rf oracl e: dba /u01/bi nar i es
8. Install Oracle 12c on Ubuntu1. Login as a oracle user and start installation using following command
cd /u01/bi nar i es/dat abase
/u01/bi nar i es/dat abase/runI nstal l er - i gnor eSysPr ereqs
2. In the Configure Security Updates unchecked I wish to receive security updates
via My Oracle Support and Click NextI have skipped Oracle Support Password provision as I don’t want to receive updates.
It will ask about the confirmation, click Yes
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-security-update.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
7/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
3. As the Ubuntu is not supported OS we need to we are seeing the below error, just click on Yes button to go ahead.
4. In Selection Installation Option choose Create and configure a database and click
on Next to go further
5. In System Class screen select Server Class and click on Next to go further
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-option.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-not-supported-os.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-security-update-skip.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
8/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
6. In Grid Installation Option screen select Single instance database installation and click on Next to go further
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-grid-installation-option.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-system-class.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
9/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
7. In Select Install Type screen select Advanced install and click on Next to go further
8. In Select Product Language screen select appropriate language and and click on Next to go further
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-product-language.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-type.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
10/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
9. In Select Database Edition screen I am selecting Enterprise Edition. Click Next to
go further.
10. In Specify Installation Location screen, ensure that following values are there and click Next to go further Oracle base : /u01/app/oracle
Software location : /u01/app/oracle/product/12.1.0/dbhome_1
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-database-edition.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
11/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
11. In Create Inventory screen, ensure that Inventory Directory is /u01/app/oraInventory and click Next to go further
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-create-inventory.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-location.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
12/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
12. In Select Configuration Type screen, select General Purpose / Transaction Processing and click Next to proceed further.
13. In Specify Database Identif iers screen, let it be default and ensure that you have
unchecked Create as Container database option. Click Next to go further. Here we need to remember the Oracle system identifier
(SID)
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-configuration-type.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
13/43
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
14/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
15. Under Specify Database Storage Options ensure that database file location is
/u01/app/oracle/oradata and click Next to go further.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-storage-location.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-Specify-Configuration-Options-character.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
15/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
16. Leave default settings under Specify Management Options and click Next to go further.
17. Leave default settings under Specify Recovery Options and click Next to go further.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-recovery-options.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-Specify-Management-Options.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
16/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
18. In Specify Schema Passwords screen I choose Use the same password for all
accounts because of laziness. Enter password and click Next to go further.
Skip the password warning by clicking Yes
19. Leave the default option under Privileged Operating System group and click Next to
go further.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-password-warning.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-Specify-Schema-Passwords.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
17/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
20. Save the summary for future use and click Next to go further.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-summary.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-Privileged-Operating-System-group.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
18/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
21. At around 59% during Link binaries you will see an error as Error in invoking target ‘all_no_orcl’ of makefile
In the log file observed following line
I NFO: /usr /bi n/l d: /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bcl ntsh. so:
undef i ned r ef erence to symbol ' ztucxt b'
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bnnz12. so: err or addi ng symbol s: DSO
mi ssi ng f r om command l i ne
I NFO: col l ect2: err or: ld r etur ned 1 exit status
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk: 878: r eci pe
for target ' / u01/ app/ oracl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ orapwd' f ai l ed
ldd output of /u01/app/oracle/product/12.1.0/dbhome_1/lib/libnnz12.so file shows
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-error.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-start.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
19/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
following
Important line is libclntshcore.so.12.1 => not found. Run following command as
root/ root equivalent user to rectify this
sudo ln - s /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b/l i bcl nt shcor e. so. 12. 1
/usr /l i b/
Now see the linking again
Also we need to do changes in ins_rdbms.mk file
Take a backup of
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk by running
following command
cp - r i p /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk
/u01/app/or acl e/product/12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk. ori gi nal
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk and
search for Linking password utility (orapwd), you will see following lines
Now change it to as follows. Note that you need to add -lnnz12 after
$(ORAPWD_LINKLINE)
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error3.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error2.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error1.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
20/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Click on retry to go further.
22. Again you will see an error as Error in invoking target ‘all_no_orcl’ of makefile
In the log file observed following line
I NFO: /usr /bi n/l d: /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bagt sh. so:
undef i ned r ef erence to symbol ' ssMemReal l oc'
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bcl nt shcore. so: er r or addi ng
symbol s: DSO mi ss i ng f r om command l i ne
I NFO: col l ect2: err or: ld r et ur ned 1 exit status
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk: 954: r eci pe
for target ' / u01/ app/ or acl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ hsot s' f ai l ed
ldd output of /u01/app/oracle/product/12.1.0/dbhome_1/lib/libagtsh.so file shows following
Important line is libclntsh.so.12.1 => not found. Run following command as root/
root equivalent user to rectify this
sudo ln - s /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b/l i bc l nt sh. so. 12. 1 /usr /l i b/
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error5.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-error.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error4.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
21/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Now see the linking again
Also we need to do changes in ins_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk and
search for Link ing HS OTS agent,
Now change it to as follows. Note that you need to add -lagtsh after
$(HSOTS_LINKLINE)
Further you need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file.
First take the backup of file using following command
cp - r i p /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/env_r dbms. mk
/u01/app/or acl e/product/12. 1. 0/dbhome_1/r dbms/l i b/env_r dbms. mk. or i gi nal
Now open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk
using file editor and search for HSOTS_LINKLINE. You will see following lines in the
file
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error9.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error8.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error7.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error6.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
22/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(OPT).
Click on retry to go further.
23. Again you will see an error as Error in invoking target ‘all_no_orcl’ of makefile
In the log file observed following line
I NFO: /usr /bi n/l d: /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bagt sh. so:
undef i ned r ef erence to symbol ' ssMemReal l oc'
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bcl nt shcore. so: er r or addi ng
symbol s: DSO mi ss i ng f r om command l i ne
I NFO: col l ect2: err or: ld r et ur ned 1 exit status
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk: 948: r eci pe
for target ' / u01/ app/ oracl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ hsdepxa' f ai l ed
For above we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib /env_rdbms.mk and
search for HSDEPXA_LINKLINE.
You will see following lines in the file.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error11.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-error.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error10.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
23/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(OPT).
Click on retry to go further.
24. Again you will see an error as Error in invoking target ‘all_no_orcl’ of makefile
In the log file observed following line
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i basmcl nt sh12. so: undef i ned r ef er ence
t o `cl sCr edI ni t '
col l ect2: err or:
I NFO: l d r et ur ned 1 exi t st at us
I NFO: / u01/ app/ oracl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ i ns_r dbms. mk: 1152: r eci pe
f or t ar get ' /u01/app/or acl e/product/12. 1. 0/dbhome_1/r dbms/l i b/amdu' f ai l ed
I NFO: make: *** [ / u01/ app/ oracl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ amdu] Er r or 1
For above we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib /env_rdbms.mk and
search for AMDU_LINKLINE.
You will see following lines in the file.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error13.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-error.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error12.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
24/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(S0MAIN).
Click on retry to go further.
25. Again you will see an error as Error in invoking target ‘all_no_orcl’ of makefile
In the log file observed following line
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk: 1140: r eci pe
for target ' / u01/ app/ or acl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ kf ed' f ai l ed
I NFO: make: *** [/u01/app/or acl e/product/12. 1. 0/dbhome_1/r dbms/l i b/kf ed] Error 1
For above we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib /env_rdbms.mk and search for KFED_LINKLINE.
You will see following lines in the file.
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(S0MAIN).
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error15.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-error.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error14.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
25/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Click on retry to go further.
26. Again you will see an error as Error in invoking target ‘all_no_orcl’ of makefile
In the log file observed following line
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk: 1164: r eci pe
for target ' / u01/ app/ oracl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ r enamedg' f ai l ed
I NFO: make: *** [/u01/app/or acl e/product/12. 1. 0/dbhome_1/r dbms/l i b/r enamedg] Error
1
I NFO: End output f r om spawned pr ocess.
For above we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib /env_rdbms.mk and
search for KFNDG_LINKLINE.
You will see following lines in the file.
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(S0MAIN).
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error17.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-installation-error.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error16.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
26/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Click on retry to go further.
27. This time you will see an error as Error in invoking target ‘utilities’ of makefile
In the log file observed following line
I NFO: /usr /bi n/l d: /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bagt sh. so:
undef i ned r ef erence to symbol ' nsdi sc'
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bcl nt sh. so: er r or addi ng symbol s:
DSO mi ss i ng f r om command l i ne
I NFO: col l ect2: err or: ld r etur ned 1 exit status
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/r dbms/l i b/i ns_r dbms. mk: 927: reci pe
for target ' / u01/ app/ or acl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ extpr oc' f ai l ed
For above we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/ins_rdbms.mk and
search for Linking external procedure agent.
You will see following lines in the file.
Now change it to as follows. Note that you need to add
- l agtsh
after $(EXTPROC_LINKLINE).
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-utility-error2.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-utility-error1.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-linking-error18.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
27/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Also we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file.
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib /env_rdbms.mk and
search for EXTPROC_LINKLINE.
You will see following lines in the file.
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(OPT).
Click on retry to go further.
28. This time you will see an error as Error in invoking target ‘install’ of makefile
In the log file observed following line
I NFO: /usr /bi n/l d: /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bcl ntsh. so:
undef i ned r ef erence to symbol ' ztcr 2r nd'
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bnnz12. so: err or addi ng symbol s: DSO
mi ssi ng f r om command l i ne
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-error1.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-utility-error5.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-utility-error4.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-utility-error3.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
28/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
I NFO: col l ect2: err or: ld r etur ned 1 exit status
I NFO: /u01/app/or acl e/product /12. 1. 0/dbhome_1/networ k/l i b/i ns_net _ser ver . mk: 27:
r eci pe for target ' tns l snr ' f ai l ed
I NFO: make: *** [t nsl snr ] Error 1
For above we need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/network/lib/ins_net_server.mk fileOpen /u01/app/oracle/product/12.1.0/dbhome_1/network/lib/ins_net_server.mk
and search for Linking $(TNSLSNR).
You will see following lines in the file.
Now change it to as follows. Note that you need to add
- l nnz12 - l ons
after $(TNSLSNR_LINKLINE).
Click on retry to go further.
29. This time you will see an error as Error in invoking target ‘irman_oracle’ of makefile
In the log file observed following line
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-irman-oracle-error1.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-error3.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-install-error2.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
29/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
/u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b//l i bocrutl 12. so: undef i ned r ef er ence t o
`l f i eno'
col l ect2: er r or : l d r et ur ned 1 exi t status
I NFO: / u01/ app/ oracl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ i ns_r dbms. mk: 788: r eci pe
f or t ar get ' /u01/app/or acl e/product/12. 1. 0/dbhome_1/r dbms/l i b/or acl e' f ai l ed
I NFO: make: *** [ / u01/ app/ or acl e/ pr oduct / 12. 1. 0/ dbhome_1/ r dbms/ l i b/ or acl e] Er r or 1
ldd output of /u01/app/oracle/product/12.1.0/dbhome_1/lib/libocrb12.so file shows following
Important line is libocrutl12.so => not found. Run following command as root/ root
equivalent user to rectify this
sudo ln - s /u01/app/or acl e/product/12. 1. 0/dbhome_1/l i b/l i bocrut l 12. so /usr /l i b
Now see the linking again
We also need to do changes in
/u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib/env_rdbms.mk file
Open /u01/app/oracle/product/12.1.0/dbhome_1/rdbms/lib /env_rdbms.mk and
search for ORACLE_LINKLINE.
You will see following lines in the file.
Now change it to as follows. Note that you need to add
- Wl , - - no- as- needed
after $(ORACLE_LINKER).
Click on retry to go further.
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-irman-oracle-error5.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-irman-oracle-error4.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-irman-oracle-error3.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-irman-oracle-error2.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
30/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
30. Finally we have finished all the linking errors. Now as per the instructions run the following commands with root / root equivalent user:
/ u01/ app/ or aI nvent or y/ or ai nst Root . sh
/ u01/ app/ or acl e/ pr oduct / 12. 1. 0/ dbhome_1/ r oot . sh
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-root-script1.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-root-script.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
31/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Click OK button of Execution Configuration Script windows to move ahead
31. Now setup will start the Database Configuration wizard.
Finally you will see following screens which confirms the successful installation.
Remember the EM Database Express URL
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-db-config-assistant.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-root-script2.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
32/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
32. This is the final screen which shows that installation is completed successfully.
33. As show earlier open a browser and type following URL in it and specify the user as
sys and select as sysdba. Specify the password which we have entered during the installation process.
https://db_ip:5500/em
You will see following screens.
http://www.techienote.com/wp-content/uploads/2014/03/oracle-12c-database-installation-ubuntu13.10-50.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-on-ubuntu-db-config-assistant-em.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
33/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
9. Post Installation task First find the SID by reading /etc/oratab Sample output is as follows
http://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-ubuntu-em-login.pnghttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-ubuntu-em-console.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
34/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
In above orcl is SID
1. To start listener run following as oracle user export ORACLE_BASE=/u01/app/or acl eexport ORACLE_ HOME=/u01/app/or acl e/product/12. 1. 0/dbhome_1
export ORACLE_ OWNR=oracl e
export PATH=$PATH: $ORACLE_HOME/bi n
export ORACLE_SI D=or cl
$ORACLE_HOME/bi n/l snrc t l s tar t
2. To start database run followingsql pl us /nol og
connect sys as sysdba
STARTUP;
EXI T;
3. To stop the database run followingsql pl us /nol og
connect sys as sysdba
SHUTDOWN;
EXI T;
4. To stop listener run following$ORACLE_ HOME/bi n/l snrc t l s top
Hope you have like this article. Do let me know in case of any issue you have facing while
following these steps.
If you find any missing point in here, please let us know in comment section or tweet us
at @techienotecom. To get more articles like this, subscribe to our RSS feeds.
Related content:
1. How to Install Oracle 11G R2 Enterprise Edition Database Ubuntu 12.10 / 12.04
2. Step By Step Guide to Install Oracle Database Express Edition 11GR2 On Ubuntu 12.10 / 12.04 / 11.10
3. How to Install MySQL Server Ubuntu
4. How to Install Oracle 12C Enterprise Edition Database Ubuntu 13.10
https://twitter.com/techienotecomhttp://feeds.feedburner.com/techienote.comhttp://www.techienote.com/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/how-to-install-mysql-server-ubuntu/http://www.techienote.com/how-to-install-oracle-12c-enterprise-edition-database-ubuntu-13-10/http://www.techienote.com/how-to-install-oracle-12c-enterprise-edition-database-ubuntu-13-10/http://www.techienote.com/how-to-install-mysql-server-ubuntu/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/step-by-step-guide-to-install-oracle-database-express-edition-11gr2-on-ubuntu/http://www.techienote.com/how-to-install-oracle-database-11g-r2-on-ubuntu-12-04/http://feeds.feedburner.com/techienote.comhttps://twitter.com/techienotecomhttp://www.techienote.com/wp-content/uploads/2015/07/install-oracle-12c-ubuntu-sid.png
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
35/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
TechieNote July 29, 2015 25 Comments
← How to Install WAS 8.5 on Ubuntu 15.04
How to Create WAS Standalone Application Server→
Reply
Reply
5. How to Download and Install IBM DB2 Database on Ubuntu
Share this:
25 thoughts on “How to Install Oracle 12c on Ubuntu 15.04”
Thanks! very useful , errors were driving me crazy.
Thanks Raul. Glad to know that this helped you.
Raul
August 18, 2015 at 9:42 pm
Permalink
TechieNote Post author
August 18, 2015 at 11:11 pm
Permalink
john
August 21, 2015 at 10:23 amPermalink
http://www.techienote.com/author/techienote/http://-/?-http://www.techienote.com/install-was-on-ubuntu/http://www.techienote.com/install-was-on-ubuntu/http://www.techienote.com/was-standalone/http://www.techienote.com/was-standalone/http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13353#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13355#respondhttp://www.techienote.com/how-to-download-and-install-ibm-db2-database-on-ubuntu/http://www.techienote.com/install-oracle-12c-on-ubuntu/?share=facebookhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=linkedinhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=emailhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=reddithttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=twitterhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=google-plus-1http://none/http://www.techienote.com/http://www.techienote.com/http://none/http://www.techienote.com/install-oracle-12c-on-ubuntu/?share=google-plus-1http://www.techienote.com/install-oracle-12c-on-ubuntu/?share=twitterhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=reddithttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=emailhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=linkedinhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?share=facebookhttp://www.techienote.com/how-to-download-and-install-ibm-db2-database-on-ubuntu/http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13355#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13353#respondhttp://www.techienote.com/was-standalone/http://www.techienote.com/was-standalone/http://www.techienote.com/install-was-on-ubuntu/http://www.techienote.com/install-was-on-ubuntu/http://-/?-http://www.techienote.com/author/techienote/
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
36/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
Reply
I got error INS-32012 unable to create directory /u01/app/oracle
I tried these cmd
chmod -R 755 /u01
chown -R oracle:oinstall /u01
but it still got error like this . Do you have any suggestion?
Thank
Hello John,
Are you installing the DB with oracle user? Can you try to create a folder manually
with the oracle user?
Thank you very much. Finally, I installed it successful . However , after I rebooted my
laptop , I cannot use https://db_ip:5500/em anymore even I use following command :
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
export ORACLE_OWNR=oracle
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=orcl
$ORACLE_HOME/bin/lsnrctl start
sqlplus /nolog
connect sys as sysdba
STARTUP;
EXIT; Can you help me ? I try to google it , but some people use emctl to start agent . But I did
not succeed with this command too.
TechieNote Post author
August 21, 2015 at 11:31 pm
Permalink
John August 22, 2015 at 12:10 am
Permalink
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13368#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13372#respondhttps://db_ip:5500/emhttp://www.techienote.com/http://www.techienote.com/https://db_ip:5500/emhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13372#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13368#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
37/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
Reply
Reply
Reply
Welcome John. Can you let me know what is the output of
$ORACLE_HOME/bin/lsnrctl start
Please note that you need to run these commands through oracle user.
Thanks admin very much. all problems were solved now . Very very useful.
Thanks John
I keep getting an “Invalid Entry CRC” at 17% when copying the files. I did a cksum on the
.zip files and they match the checksum that Oracle has posted when downloading the files. I have also tried re-downloading the files (and performed another cksum to make
sure), but same thing. Any ideas? Thanks!
TechieNote Post author
August 22, 2015 at 5:41 pm
Permalink
John
August 22, 2015 at 11:51 pmPermalink
TechieNote Post author
August 22, 2015 at 11:56 pm
Permalink
Nate
October 12, 2015 at 8:20 pm
Permalink
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13373#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13379#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13381#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13382#respondhttp://www.techienote.com/http://www.techienote.com/http://www.techienote.com/http://www.techienote.com/http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13382#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13381#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13379#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13373#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
38/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
Reply
Reply
Reply
Pingback: Ubuntu:Installing Oracle database 12c on Ubuntu 14.04 – Ubuntu Linux Questions
i keep getting this error PRVF-0002 : could not retrieve local node name at the start and
then the program exit
please how can i solve this
Kindly check the entries of the host name in /etc/hosts file
Awesome article !
Guys, if you hang when you do “sudo apt-get dist-upgrade”, see this article.
https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/986833
Hi, I installed successfully. Thanks for excellent notes.
felix
October 29, 2015 at 12:59 pm
Permalink
admin
October 30, 2015 at 12:01 am
Permalink
kz
November 1, 2015 at 2:43 am
Permalink
Thirumal
November 8, 2015 at 8:34 am
Permalink
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13615#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13716#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13719#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13724#respondhttp://ubuntu.itsprite.com/ubuntuinstalling-oracle-database-12c-on-ubuntu-14-04/https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/986833https://bugs.launchpad.net/ubuntu/+source/memtest86+/+bug/986833http://ubuntu.itsprite.com/ubuntuinstalling-oracle-database-12c-on-ubuntu-14-04/http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13724#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13719#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13716#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13615#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
39/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
After reboot I cannot use https://db_ip:5500/em anymore even I use following command
:
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1
export ORACLE_OWNR=oracle
export PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_SID=orcl
$ORACLE_HOME/bin/lsnrctl start
Output:
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Starting /u01/app/oracle/product/12.1.0/dbhome_1/bin/tnslsnr: please wait…
TNSLSNR for Linux: Version 12.1.0.2.0 – Production
System parameter file is
/u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/Thirumal/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Thirumal)
(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Thirumal)
(PORT=1521)))
STATUS of the LISTENER
————————
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.2.0 – Production
Start Date 08-NOV-2015 08:30:36
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File
/u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/Thirumal/listener/alert/log.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Thirumal)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
adrian
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13780#respondhttps://db_ip:5500/emhttps://db_ip:5500/emhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13780#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
40/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
Reply
Reply
hey John,
Thank you for this !. I managed to follow all your steps and installed successfully.
However im having difficulty logging in as loggin in using sys as sysdba gives me
Logon denied; insufficient privileges or invalid username/password
Can you help me with this ?
Regards,
Adrian Stephen
Perhaps the best website for Oracle installation on a Virtual Machine with Ubuntu. The
step by step screenshots and explanation is simply superb.
Thanks!
Thank very much. Its genial article
November 10, 2015 at 7:19 pm
Permalink
Naguesh Bhatcar
November 14, 2015 at 12:52 am
Permalink
Tomás
November 14, 2015 at 2:17 am
Permalink
ashbore
November 18, 2015 at 5:29 pm
Permalink
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13799#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13814#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13816#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13816#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13814#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13799#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
41/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
Reply
Reply
Reply
Thanks it worked like a charm !!
thanks for that great thing!
Thanks so much for posting this – I spent a week trying to install 12c on a new MacBook
Pro (2015 model) as a VM with no success (same VM copied from an older iMac works
perfectly on the iMac).
https://community.oracle.com/thread/3720393?start=0&tstart=0
So I installed Ubuntu last night as a VM (using the install option in Parallels), and with the
help of your article, just successfully installed 12c.
Hi,
It is mentioned in step 8 that the one has to be logged in as an Oracle user. Can you
please let me know how this is done?
Thanks, Shruthi
theo
December 7, 2015 at 3:29 am
Permalink
Peter January 4, 2016 at 2:41 am
Permalink
Shruthi
January 9, 2016 at 5:39 am
Permalink
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13839#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13918#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14011#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14035#respondhttps://community.oracle.com/thread/3720393?start=0&tstart=0https://community.oracle.com/thread/3720393?start=0&tstart=0http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14035#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14011#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13918#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=13839#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
42/43
w to Install Oracle 12c on Ubuntu 15.04
p://www.techienote.com/install-oracle-12c-on-ubuntu/[25/02/2016 13:57:40]
Reply
Reply
Reply
Open a terminal and run following command
su – oracle
Hello,
This is probably the best website for Oracle 12c installation on Ubuntu. I have the 14.04
LTS version of Ubuntu, and these steps worked like a charm! Thank you very much for
the detailed explanations and screenshots, and more importantly, the steps for the
resolution of the many errors.
Wonderful job, team Techienote!
Best wishes,
Shruthi
Thanks a ton. That worked like a charm.
TechieNote Post author
January 27, 2016 at 4:37 pm
Permalink
Shruthi
January 9, 2016 at 4:33 pm
Permalink
Avi
February 1, 2016 at 7:29 pm
Permalink
Scott StephensFebruary 17, 2016 at 10:32 pm
Permalink
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14115#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14037#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14140#respondhttp://www.techienote.com/http://www.techienote.com/http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14140#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14037#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14115#respond
-
8/18/2019 How to Install Oracle 12c on Ubuntu 15.04
43/43
w to Install Oracle 12c on Ubuntu 15.04
Reply
I got the “clsCredInit” missing symbol, too, but it wouldn’t go away until I added the last
two libraries:
ASMCLNT_LIBS=$(LLIBASMCLNT) $(LLIBCOMMON) $(LLIBSAGE) $(LLIBSKGXP) \
$(LLIBGENERIC) -lhasgen12 -locr12
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
http://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14206#respondhttp://www.techienote.com/install-oracle-12c-on-ubuntu/?replytocom=14206#respond