incorrect version of oracle [message #505016] |
Thu, 28 April 2011 16:47 |
|
juniorpeardba
Messages: 31 Registered: April 2011 Location: London
|
Member |
|
|
Hi,
I installed 11.1.0.6. on Linux RedHat 5.5. Then upgraded to 11.1.0.7. However when I issue sqlplus /nolog and do select banner from v$version it shows 11.1.0.6. Although the install and upgrade were successful. I wonder why it does not show 11.1.0.7. I upgraded using the installer and not dbua could this be the reason why?
No database has been created as yet
Many thanks
|
|
|
Re: incorrect version of oracle [message #505017 is a reply to message #505016] |
Thu, 28 April 2011 16:53 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Has the behaviour changed since version 10? There you can't do that unless you are connected.
oracle ~ $ sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Do Apr 28 23:51:31 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
@> select banner from v$version;
SP2-0640: Not connected
@>
Can you also post the exact copy and paste of what you did?
And how was the installation problem solved by the way?
|
|
|
|
Re: incorrect version of oracle [message #505026 is a reply to message #505024] |
Thu, 28 April 2011 19:09 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Sure, just post when you are in the office again.
I'm curious whether you really installed the *server*, which would allow you to create a database, or just the "client with admin option", which is a client with administrative tools, but still not the server part of the software.
With the server software the "Main Options" should have been:
* Create and Configure a Database
* Install Database Software Only
* Upgrade an Existing Database
Not anything labelled with "Admin" anywhere in sight. Because of these subtle (to the casual eye) differences, and the many different ways thing can be installed it's almost impossible to figure a problem out only from a "description" of what happened, without the actual hard fact of a copy/paste of what actually really *does* happen.
|
|
|
|
|
Re: incorrect version of oracle [message #505112 is a reply to message #505024] |
Fri, 29 April 2011 08:07 |
Roachcoach
Messages: 1576 Registered: May 2010 Location: UK
|
Senior Member |
|
|
juniorpeardba wrote on Fri, 29 April 2011 00:45I am not sure if it has changed since version 10 all I am trying to do is verify the verion of sqlplus
Surely the version of sqlplus is a)machine specific and therefore b) database independent? and finally c) shown when you load it
Or am I misunderstanding something?
|
|
|
|
Re: incorrect version of oracle [message #505155 is a reply to message #505124] |
Fri, 29 April 2011 11:59 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
Then the update of the client was not successful. (DBUA is nothing you should have to do, since that is for DATABASE updates, and you say you only have a client installed.)
So running runInstaller would be the right way to start, but something went wrong somewhere. What and where will be mentioned in the log file of the installation.
|
|
|
|
|
|
Re: incorrect version of oracle [message #505311 is a reply to message #505309] |
Mon, 02 May 2011 05:58 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
So you think you have successfully upgraded the client. Oracle thinks otherwise. In such cases I tend to believe Oracle, until I see the log of the successful upgrade.
|
|
|
|
|
|
Re: incorrect version of oracle [message #505484 is a reply to message #505482] |
Tue, 03 May 2011 05:51 |
ThomasG
Messages: 3212 Registered: April 2005 Location: Heilbronn, Germany
|
Senior Member |
|
|
So the sqlplus that is used (because it is the one in the PATH ) is installed to ~/app/oracle/product/11.1.0/client_1/bin/sqlplus, but you applied the patchset to the one that is /home/oracle/product/11.1.0/db_1/bin/sqlplus
You should delete ALL oracle homes except one, and then change all environment variables to use THAT one.
|
|
|
|