Home » RDBMS Server » Server Administration » ORA-38802: edition does not exist (Oracle 11.2.0.1, RHEL7)
|
|
|
Re: ORA-38802: edition does not exist [message #644602 is a reply to message #644601] |
Wed, 11 November 2015 01:21   |
 |
Acronis2286
Messages: 16 Registered: December 2014
|
Junior Member |
|
|
SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 11 12:50:26 2015
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @create_user
Enter username to be created:
ercore
Enter password of the user:
ercore
old 1: CREATE USER &user IDENTIFIED BY &passwd
new 1: CREATE USER ercore IDENTIFIED BY ercore
User created.
old 1: GRANT RESOURCE, CONNECT, QUERY REWRITE TO &user
new 1: GRANT RESOURCE, CONNECT, QUERY REWRITE TO ercore
Grant succeeded.
old 1: grant create view to &user
new 1: grant create view to ercore
Grant succeeded.
old 1: grant create synonym to &user
new 1: grant create synonym to ercore
Grant succeeded.
old 1: alter user &user enable editions
new 1: alter user ercore enable editions
User altered.
old 1: grant create any edition to &user
new 1: grant create any edition to ercore
Grant succeeded.
SQL> exit;
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Hope this helps as well ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: ORA-38802: edition does not exist [message #644625 is a reply to message #644622] |
Wed, 11 November 2015 02:21   |
 |
Michel Cadot
Messages: 68757 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
There are some inconsistencies in the post.
See my test:
SQL> create edition 15.10;
create edition 15.10
*
ERROR at line 1:
ORA-00931: missing identifier
SQL> create edition "15.10";
Edition created.
SQL> conn michel/michel edition=15.10;
ERROR:
ORA-38801: improper value for ORA_EDITION
Warning: You are no longer connected to ORACLE.
SQL> conn michel/michel edition="15.10";
Connected.
SQL> conn michel/michel edition=ora$base;
Connected.
SQL> conn michel/michel edition="ORA$BASE"
Connected.
As you can see I have to use "15.10" between double quotes to be able to connect and I am still able to connect to ORA$BASE (with both syntaxes).
Your test seems to indicate that ORA$BASE no more exists but your previous output shows it in USABLE state in DBA_EDITIONS.
Check again.
[Updated on: Wed, 11 November 2015 02:23] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
Re: ORA-38802: edition does not exist [message #644637 is a reply to message #644636] |
Wed, 11 November 2015 04:07   |
 |
Acronis2286
Messages: 16 Registered: December 2014
|
Junior Member |
|
|
$ sqlplus /nolog
SQL*Plus: Release 11.2.0.1.0 Production on Wed Nov 11 15:35:32 2015
Copyright (c) 1982, 2009, Oracle. All rights reserved.
SQL> conn sys@orcl as sysdba
Enter password:
Connected.
SQL>
SQL> col property_name format a30
SQL> col property_value format a50
SQL> set lines 1000 pages 1000
SQL> select property_name, property_value from database_properties
where property_name = 'DEFAULT_EDITION'; 2
PROPERTY_NAME PROPERTY_VALUE
------------------------------ --------------------------------------------------
DEFAULT_EDITION ORA$BASE
SQL> conn er/er@orcl
Connected.
SQL> select sys_context('userenv','current_edition_name') from dual;
SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME')
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA$BASE
SQL> conn er/er@orcl EDITION=ora$base
Connected.
SQL> select sys_context('userenv','current_edition_name') from dual;
SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME')
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORA$BASE
SQL> conn er/er@orcl EDITION="15.10"
Connected.
SQL> select sys_context('userenv','current_edition_name') from dual;
SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME')
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
15.10
SQL>
SQL> exit;
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
|
|
|
|
Goto Forum:
Current Time: Mon May 05 01:41:54 CDT 2025
|