Problem in installing "Oracle Database 12c Release 1 Examples" [message #643050] |
Sun, 27 September 2015 03:26 |
|
fabi88
Messages: 112 Registered: November 2011
|
Senior Member |
|
|
Hi and well done everybody,
I have faced with an error during installation of "Oracle Database 12c Release 1 Examples", error is as follows:
Quote:
INS-52001; Oracle database examples can only be installed into ab existing oracle home
I entered ORACLE_HOME correctly and environment variables are also set correctly, Could anyone tell me what is the problem?
|
|
|
|
|
Re: Problem in installing "Oracle Database 12c Release 1 Examples" [message #643053 is a reply to message #643052] |
Sun, 27 September 2015 08:18 |
John Watson
Messages: 8961 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
This isn't good enough!
Firstly, please can you show what your variables are actually set to, with env or echo, not what you think they are set to.
Secondly, please show what you have installed and where, because (unless you have a copy of the beta software) you do not have 12.1.0.0.0. Use
$ORACLE_HOME/OPatch/opatch lsinventory -all
--update: there is an error in your script: you do not export GRID_HOME. That sort of mistake casts doubt on everything else.
[Updated on: Sun, 27 September 2015 08:23] Report message to a moderator
|
|
|
Re: Problem in installing "Oracle Database 12c Release 1 Examples" [message #643295 is a reply to message #643053] |
Sat, 03 October 2015 02:27 |
|
fabi88
Messages: 112 Registered: November 2011
|
Senior Member |
|
|
Thank you so much Mr.John Watson,
I am new in oracle and in test.
Firstly, I added "PATH=$GRID_HOME/bin:$PATH; export PATH" to bash_profile, also environment variables are as follows:
Quote:$
env $ORACLE_HOME
env: /u01/app/oracle/product/12.0.0/db_1: Permission denied
$ env $GRID_HOME
env: /u01/app/12.0.0/grid: Permission denied
the out put of the command "$ORACLE_HOME/OPatch/opatch lsinventory -all" is as follows:
Quote:
Oracle Interim Patch Installer version 12.1.0.1.0
Copyright (c) 2012, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/12.0.0/db_1
Central Inventory : /u01/app/oraInventory
from : /u01/app/oracle/product/12.0.0/db_1/oraInst.loc
OPatch version : 12.1.0.1.0
OUI version : 12.1.0.1.0
Log file location : /u01/app/oracle/product/12.0.0/db_1/cfgtoollogs/opatch/opatc h2015-10-03_10-28-23AM_1.log
Lsinventory Output file location : /u01/app/oracle/product/12.0.0/db_1/cfgtoollo gs/opatch/lsinv/lsinventory2015-10-03_10-28-23AM.txt
--------------------------------------------------------------------------------
List of Oracle Homes:
Name Location
OraDB12Home1 /u01/app/oracle/product/12.0.0/db_1
Installed Top-level Products (1):
Oracle Database 12c 12.1.0.1.0
There are 1 products installed in this Oracle Home.
There are no Interim patches installed in this Oracle Home.
--------------------------------------------------------------------------------
OPatch succeeded.
And one thing,version of Oracle Database 12c Examples is 12.1.0.2.0 while version of Oracle product is 12.1.0.1.0, can we say this is reason?
[Updated on: Sat, 03 October 2015 02:29] Report message to a moderator
|
|
|
Re: Problem in installing "Oracle Database 12c Release 1 Examples" [message #643297 is a reply to message #643295] |
Sat, 03 October 2015 02:33 |
John Watson
Messages: 8961 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Quote:Firstly, I added "PATH=$GRID_HOME/bin:$PATH; export PATH" to bash_profile That will have broken the environment.
Quote:env $ORACLE_HOME
env: /u01/app/oracle/product/12.0.0/db_1: Permission denied
You need to lookup the syntax of env
Quote:version of Oracle Database 12c Examples is 12.1.0.2.0 while version of Oracle product is 12.1.0.1.0, can we say this is reason?
What do you think?
|
|
|
Re: Problem in installing "Oracle Database 12c Release 1 Examples" [message #643298 is a reply to message #643297] |
Sat, 03 October 2015 03:52 |
|
fabi88
Messages: 112 Registered: November 2011
|
Senior Member |
|
|
Quote:Firstly, I added "PATH=$GRID_HOME/bin:$PATH; export PATH" to bash_profile
That will have broken the environment.
1)You mean that I shouldn't add (PATH=$GRID_HOME/bin:$PATH; export PATH) to bash_profile?
------------------------------------------------------------------------------------
2) is my mistake in this line "GRID_HOME=/u01/app/12.0.0/grid; export ORACLE_HOME" that I should replace ORACLE_HOME with ORACLE_GRID?
------------------------------------------------------------------------------------
Quote:env $ORACLE_HOME
env: /u01/app/oracle/product/12.0.0/db_1: Permission denied
You need to lookup the syntax of env
3)Excuse me, but I do not understand this?
------------------------------------------------------------------------------------
Quote:version of Oracle Database 12c Examples is 12.1.0.2.0 while version of Oracle product is 12.1.0.1.0, can we say this is reason?
What do you think?
Quote:what product is installed into your chosen Oracle Home.
4)Based on your previous comment that you want to know what version of product is installed, I think that difference between versions is reason of issue, is my interpretation correct?
[Updated on: Sat, 03 October 2015 03:52] Report message to a moderator
|
|
|
|