problem with oracle 9i RAC privileges

Dear all,

I have an Oracle 9i RAC on AIX 5.3. I'm new to RAC environment.

Today, I tried to give unlimited tablespace to a TEST user.

But when I check dba_sys_privs nothing is there.

=========

SQL > alter the TEST user quota unlimited data;

Modified user.

Elapsed time: 00:00:00.01

Select the DEALER, the PRIVILEGE of dba_sys_privs where dealer = "RESTORE_BIL";

DEALER
-THE PRIVILEGE
CREATE TABLE RESTORE_BIL

RESTORE_BIL CREATE SESSION
===================================
He does not watch the unlimited storage space.

There a stupid question, but this is the second time I am facing problem. When I grant a privilege object/system to a user, the command works, but when I consistent, sometimes that privileges are a few times that they are not there.

Help, please.

Unlimited quota! = Unlimited tablespace.

And granting of unlimited storage in my book is pure evil, which also allows to create objects in the SYSTEM tablespace, where everyone should stay out.

There is no problem that you never unlimited tablespace privilege and you shouldn't have done it. I would have fired you for it.

-------------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Problem with Oracle Forms 11 g 2 on linux

    Dear all

    Here's the problem:

    • -J' installed Oracle Forms 11 GR 2 (11.1.2.2.0) on Linux from Oracle using the JDK 1.7.0_79 6.6
    • -J' solved all the problems and issues of the Arab reports.
    • -Now regarding the oracle forms now when I compile the FMAS on WINDOWS and move them to LINUX, they work very well except for forms that use WEBUTIL the form runs but WEBUTIL functions do not work
    • - So I tried to compile these forms on LINUX now WEBUTIL feature works, but all forms (with or without WEBUTIL) compiled under LINUX display this exception message before the race, here is the behavior:

    1. 1 - the form has a trigger CONNECTION on, but here's what's happening
      01.jpg
    2. 2. after pressing ok, it requires logon, and when I try to log displays the ORA-12705 as above and so on

      02.jpg
    3. 3. but after I click on cancel turns on and uses the trigger opening SESSION and works of good form

    Hope there is a solution for this.

    Best regards.

    The problem was because I was using a NLS_LANG that contains a space in the value and it is surrounded by quotes like NLS_LANG ='NLS_LANG ARABIC_SAUDI ARABIA. AR8MSWIN1256', which worked very well with reports.

    but it seems that the quotes were causing problems with forms,

    So I put NLS_LANG to the two forms and reports ARABIC_EGYPT reports.sh default.env. AR8MSWIN1256 OR ARABIC_AMERICA. AR8MSWIN1256

    both work well, now no NLS_LANG, error

    but the question of having to recompile the forms when moved to another server, who I thought he was still a known issue.

    Best regards.

  • Problem with Oracle performance

    Hi all

    I use Oracle database 11 g 2.

    I am facing a problem with one of my queries.


    Scenario is:
    I associate myself with 3 tables.
    The engine is saa_hist.saa_rep_product_activity (70 million lines).
    The second table is scmsa_hist.scmsa_sub_feature_trueup (900 million lines).
    The third table is saa_hist.saa_rep_subscriber_activity (35 million lines).

    The output of the query will be only about 120K.

    I'm majoriy of the columns in the first table. On the other hand, we get 2 columns and in table 3, we get a single column.

    When I join all 3 tables as it appears in the query runs for 6 hours. (The

    SELECT / * + PARALLEL_INDEX(R,SAA_REP_PRODUCT_ACTIVITY_BI,12)
    PARALLEL(SUB,24)
    PARALLEL_INDEX(RR,SAA_REP_SUBSCRIBER_ACTIVITY_I1,8)

    */
    R.*, sub.mrc, sub. RATEPLANCODE, rr.measure_group_id
    Saa_hist.saa_rep_product_activity r
    JOIN scmsa_hist.scmsa_sub_feature_trueup sub
    ON sub.job_log_id = r.job_log_id
    AND sub.service_number = r.msisdn
    AND sub.ban = r.account_number
    AND sub.soc_code = r.product_id_code
    LEFT OUTER JOIN saa_hist.saa_rep_subscriber_activity rr
    ON rr.quantity = 1
    AND rr.service_universal_id = r.service_universal_id
    AND rr.msisdn = r.msisdn
    AND rr.account_number = r.account_number
    WHERE r.billing_subsystem_id = 1
    AND 1 = 1
    AND r.batch_key BETWEEN 674 AND 675;

    The explain command plan looks good for this one and the cost is also okay(222K). I don't see any S-> data flow in the Section of IN-OUT of the explain plan P.

    -----------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | TQ | IN-OUT | PQ Distrib.
    -----------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT |
    | 1. COORDINATOR PX |
    | 2. PX SEND QC (RANDOM). : TQ10001 | Q1, 01 | P > S | QC (RAND) |
    | 3. NESTED EXTERNAL LOOPS | Q1, 01 | SVCP |
    | 4. HASH JOIN | Q1, 01 | SVCP |
    | 5. JOIN FILTER PART CREATE | : BF0000 | Q1, 01 | SVCP |
    | RECEIVE 8 2 PX | Q1, 01 | SVCP |
    | 7. PX SEND LOCAL BROADCAST | : TQ10000 | Q1 00 | P > P | BCST LOCAL |
    | 8. PX HASH PARTITION ALL | Q1 00 | ISSUE |
    | 9. TABLE ACCESS BY LOCAL INDEX ROWID | SAA_REP_PRODUCT_ACTIVITY | Q1 00 | SVCP |
    | 10. CONVERSION OF BITMAP IN ROWID | Q1 00 | SVCP |
    | 11. BITMAP INDEX RANGE SCAN | SAA_REP_PRODUCT_ACTIVITY_BI | Q1 00 | SVCP |
    | 12. FILTER-HASH PARTITION PX JOIN | Q1, 01 | ISSUE |
    | 13. TABLE ACCESS FULL | SCMSA_SUB_FEATURE_TRUEUP | Q1, 01 | SVCP |
    | 14. RANGE OF PARTITION ALL THE | Q1, 01 | SVCP |
    | 15. HASH PARTITION ALL | Q1, 01 | SVCP |
    | 16. TABLE ACCESS BY LOCAL INDEX ROWID | SAA_REP_SUBSCRIBER_ACTIVITY | Q1, 01 | SVCP |
    | 17. INDEX RANGE SCAN | SAA_REP_SUBSCRIBER_ACTIVITY_I1 | Q1, 01 | SVCP |
    -----------------------------------------------------------------------------------------------------------------

    But when I joined the first two tables and run as shown below, the request is get executed in 13 Minutes.

    SELECT / * + PARALLEL_INDEX(R,SAA_REP_PRODUCT_ACTIVITY_BI,12)
    PARALLEL(SUB,24)
    */
    R.*, sub.mrc, sub. RATEPLANCODE, rr.measure_group_id
    Saa_hist.saa_rep_product_activity r
    JOIN scmsa_hist.scmsa_sub_feature_trueup sub
    ON sub.job_log_id = r.job_log_id
    AND sub.service_number = r.msisdn
    AND sub.ban = r.account_number
    AND sub.soc_code = r.product_id_code;

    Therefore, I created a temporary table with this data and made a left outer join with the other 3 table. It runs a few seconds and I can say all the data I am able to take less than 15 minutes to 6 hours.

    So my question is that why Oracle is a strange behavior.

    I tried all approaches to avoid this kind of behavior methods but unable to produce the same thing as how I did in the second approach.

    For example, I joined the first two tables and use NO_MERGE hint with the third table and always NO_MERGE, PUSH_PRED's not going anywhere. I tried Inline view and it doesn't give me any improvement in performance.
    I'm tempted to do it using WITH Clause with two tables and then joined the data set with the third table. But still does not.
    I tried hint ORDINATE and yet so big difference.
    I even tried to force some clues which are presentm, but the 50Million cost ranges from 200K.
    I think I'm exhausted all the possibilities.

    I'd appreciate any Oracle guru can help me what is the issue.

    Thank you
    NKM

    You could start trying to impose (with extensive predicates) what you discover or believe work better.
    In this case I usually found the ansi syntax not useful and often the optimizer ignore my intentions:(mais il n'y a pas de mal essayer)

    select x.*,
           rr.measure_group_id
      from (select r.*
                   sub.mrc,
                   sub.rateplancode,
              from (select *
                      from saa_hist.saa_rep_product_activity
                     where billing_subsystem_id = 1
                       and batch_key between 674 and 675
                   ) r,
                   scmsa_hist.scmsa_sub_feature_trueup sub
             where sub.job_log_id = r.job_log_id
               and sub.service_number = r.msisdn
               and sub.ban = r.account_number
               and sub.soc_code = r.product_id_code
           ) x,
           (select service_universal_id,
                   account_number,
                   msisdn,
                   measure_group_id
              from saa_hist.saa_rep_subscriber_activity
             where quantity = 1
           ) rr
     where x.service_universal_id = rr.service_universal_id(+)
       and x.msisdn = rr.msisdn(+)
       and x.account_number = rr.account_number(+)
    

    Concerning

    Etbin

  • Problems with Oracle sql developer

    Hello

    I have problems with my Oracle SQL developer 3.0.04 Version. It makes windows unstable once the query tries to display too many rows of data (for example, 300 k). Is there a way to solve this problem in addition to increasing the amount of physical memory? I currently have only 1 GB of RAM on this machine. Thank you.

    Hello

    Upgrading hardware can be a very satisfying experience, especially as it is almost always little expensive compared to the value of your time. Virtual memory / paging on the Windows and PC hardware is a huge disappointment, so more memory on Windows is a cure-all. With more and more common 64-bit operating systems, laptop computers and the PC is currently available with 8G of memory.

    That said, I think few users have a business case for the visualization of the hundreds of thousands of lines via a graphical user interface.

    Getting back to what concerns the management of memory in java, I want to put in a plug for the garbage and first new Garbage Collector. It will be the production in JDK 1.7, but can be found in the JDK 1.6 u14 & high in experimental option. The most recent revision update, the better it is. Just add something like this in your sqldeveloper.conf file:

    AddVMOption - XX: + UnlockExperimentalVMOptions
    AddVMOption - XX: + UseG1GC
    AddVMOption - XX: + G1YoungGenSize = 25 m
    AddVMOption - XX: + G1ParallelRSetUpdatingEnabled
    AddVMOption - XX: + G1ParallelRSetScanningEnabled

    It does a much better job of actually release unused memory in the context of the o/s.
    To learn more on this subject: http://www.oracle.com/technetwork/java/javase/tech/g1-intro-jsp-135488.html

    Gary Graham
    SQL DeveloperTeam

  • Problems with oracle enterprise Manager manager

    Hello

    Hello

    I have a database with SID mdok and host: mdok.lubelskie.pl. I copied the database to a different server host: oracle.lubelskie.pl with the same SID mdok

    I had problems with EM starting on oracle.lubelskie.pl so I run the emca - dbcontrol db config command and entered the correct values.

    Now EM starts ok and when I go to http://oracle.lubelskie.pl:1158 / em it asks for the connection. I enter the connection information and connect to the mdok database.

    Here's the info to state when I get http://oracle.lubelskie.pl:1158 / em:

    Status of
    Upward since 11-03 - 2010 20:59:27 THIS
    Instance name mdok
    Version 10.2.0.1.0
    Home mdok.lubelskie.pl
    LISTENER_mdok.Lubelskie.pl listener

    The problem, that of why he connects to the host mdok.lubelskie.pl and not in the good pair hence the EM a was started (oracle.lubelskie.pl). How to solve the problem?

    The best would be to recreate the repository. There are files in which this info is maintained but better would be to delete and re-create the repoistory em using the

    emca -deconfig dbcontrol db -repos drop
    emca -config dbcontrol db -repos create
    

    HTH
    Aman...

  • AMT problem with Oracle 11 g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full
    Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio

    now I'm in the good old ' [ORA-12154: TNS: could not resolve the connect identifier specified] "error.

    I copied the tnsnames.ora even as that used on the db Server
    on the client 'C:\Oracle\product\11.1.0\client_2\Network\Admin '.
    The host name is just like a normal ping works. TNSping is not available.
    but I get the [ORA-12154: TNS: could not resolve the connect identifier specified] error.
    The listener is running and the instance as well since everything works on the source server.


    I tried with

    SET path=c:\oracle\product\11.1.0\client_2\bin

    but tnsping is still not recognized.

    sqlplus works however when I put in
    SET path=c:\oracle\product\11.1.0\client_2\


    What is going on...

    Hello

    No, actually, I mean try including your IP in tnsnames as

    CONTROL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = **)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = Control)
    )
    )
    

    and then, try, you can also try SQLNET.authentication = (NONE), also make sure you provide safely

    HTH

    Thanks and greetings
    VD

  • Connection problem with oracle RAC

    Hello everyone I have a CAR with 2 knots when I try to log in sometimes I have a problem, after a few ok conections, this is the output:
    SQL * more: release 9.2.0.1.0 - Production on Mon 5 Oct 11:43:13 2009

    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

    ERROR:
    ORA-12545: Connect failed because target host or object does not exist

    This the tnsnames to the customer

    DBTEST2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = mxcpm9kh1407dc1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = mxcpm9kh1102dc1-vip)(PORT = 1521))
    )
    (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbtest2)
    (FAILOVER_MODE = (TYPE = SELECT) (METHOD = BASIC))
    )
    )
    ********************************************************+
    and in the servet db, it's the tnsnames
    DBTEST22 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = mxcpm9kh1102dc1-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dbtest2)
    (INSTANCE_NAME = dbtest22)
    )
    )

    DBTEST21 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP) (HOST = mxcpm9kh1407dc1-vip)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = dbtest2)
    (INSTANCE_NAME = dbtest21)
    )
    )

    LISTENERS_DBTEST2 =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP) (HOST = mxcpm9kh1407dc1-vip)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP) (HOST = mxcpm9kh1102dc1-vip)(PORT = 1521))
    )

    There might be a possibility that the listener is losing the database service, please check the listener services, the database is registered with the listener. Try to set the local_listener and remote_listener parameters. To connect to the RAC database to create a Service for the database in DBCA.

    Surely, this will solve your problem.

    Best regards
    Amit Grover

  • Problems with Oracle 11g R2 XE

    Hi guys,.

    I had a problem and have to solve for abt a week now and tried a lot of solutions.

    My environment:

    Windows 7 Professional SP 1 64-Bit

    AMD Phenom II x 4 940 @3.0 GH

    4 GB of RAM (in use during the installation of 40%)

    The Windows Firewall is enabled (but oracle.exe and lstnr.exe are configured as an exception)

    Avast! FREE Antivirus Version 2014.9.0.2018

    Installation (both times with the same result):

    Installed O 11g 64-Bit XE in two different ways:

    I was logged in with user lies in Admingroup

    Installation started via right click with administrationprivileges

    I activated the Administrators account and logged with adminprivileges.

    After that, I installed the 11g XE 64 bit

    between the two steps I cleaned and restarted my system, register was too empty and the file has been deleted manually

    as a first step, I get this problem: Windows cannot find " " http://127.0.0.1:%HTTPPORT%/Apex/f?p=4950 "

    -> Manually changing HTTPORT % to 8080

    -> now I could double-click the shortcut, Firefox/IE/Chrome opens but 404 not Found error is returned

    -XracleXETNListener OracleServiceXE, both are running

    [code]

    C:\Windows\System32 > lsnrctl status

    LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on November 4, 2014 18:02

    : 56

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1)))

    AMT-12541: TNS:no listener

    AMT-12560: TNS:protocol adapter error

    AMT-00511: no listener

    Windows 64-bit error: 2: no such file or directory

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = D³rsinKurt-PC)(PORT=1521)

    )))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    TNSLSNR for Windows 64-bit version: Version 11.2.0.2.0 - Prod

    ction

    Start date November 4, 2014 13:53:50

    Uptime 0 days 4 h 9 min 9 s

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Listener log file C:\oraclexe\app\oracle\diag\tnslsnr\D³rsinKurt-PC\list

    ener\alert\log. XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = D³rsinKurt-PC)(PORT=1521)))

    The listener supports no services

    The command completed successfully

    [/ code]

    If Listenerservice is up and running, but I can't find the http Service 8080 with netstat-a

    so I started to study a little more:

    Registryfolder: HK_LOCAL_MACHINE\SOFTWARE\ORACLE is installed

    following subdirectories are installed: KEY_XE, ODP.NET, OracleMTSRecoveryService

    What I tried (both ways, with and without adminstrationprivileges):

    I created two new DWORD values in KEY_XE ORACLE_SID_AUTOSTART and - STOP both to true and stopped and started services, nothing changes.

    Inserted the two users (Administrator and normal user) in the Group ORA_DBA, nothing changes, even tried to set and the new

    you wanted to connect to sqlplus using the console:

    C:\Windows\System32 > sqlplus system

    SQL * more: Production version 11.2.0.2.0 on 4 Nov 18:09:21 Di 2014

    Copyright (c) 1982, 2014, Oracle.  All rights reserved.

    Enter the password:

    ERROR:

    ORA-01034: ORACLE not available

    ORA-27101: shared memory realm does not exist

    Process ID: 0

    Session IDs: serial number 0: 0

    Enter the user name:

    When I start directly at the sqlplus prompt and write the start of the command I got the following msg: ORA-01031: insufficient privileges

    I looked in the folder ORA_BASE and looked at the oradat file, it contains a XE-folder that is empty, the admin folder contains: XE / and adump, dpdump and pfile, all three are empty (what does this mean? No DB created at all?)

    I looked at the file ORA_HOME and found initXE.ora, oradba.exe, oradim and PWDXE.ora

    I looked in the oradim.txt log:

    Kills Nov 04 11:21:17 2014

    C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe-arret-SID xe - usrpwd * - immediate shutmode - log oradim.log

    Kills Nov 04 11:21:55 2014

    ORA-01012: not connected

    Kills Nov 04 11:23:01, 2014

    C:\oraclexe\app\oracle\product\11.2.0\server\bin\oradim.exe-demarrage-SID xe - usrpwd * - log oradim.log - nocheck 0

    Kills Nov 04 11:23:38 2014

    ORA-01078: failure in the treatment of system settings

    ORA-01565: error in the identification of the file "C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora".

    ORA-27041: could not open the file

    04002 - OSD: could not open the file

    S/O-error: (OS 2) Das System kann die angegebene Datei nicht find.

    -> bingo, 1st question: there is no spfileXE.ora, how can I create it? more in the dbs-file there is only an init.ora and not initXE.ora?

    Looked in the log-file files 5 from clscX.txt (probably after each systemreboot? containing the following):

    Oracle Database 11g Clusterware Release 11.2.0.2.0 - Production Copyright 1996, 2010 Oracle. All rights reserved.

    2014-11-04 - 13:53:52.197: [5576] [default] ut_read_reg:2:ocr SOFTWARE\Oracle\olr registry key cannot be opened. error 2

    [DESTROYED] clse_get_crs_home [5576]: error recovery configuration OLR [0] [error opening of the olr registry key. The system could not find the file.

    ]

    -> SystemLanguage is German, so I translated the German parts, perhaps he was lost in the translation of sth

    -> 2nd question: is there a missing registry key?

    In addition, I looked at the ORACLE_HOME/server/config/home cloesly folder:

    cloneDBCreation:

    SQL > Create controlfile reuse database "XE" value

    2 MAXINSTANCES 8

    MAXLOGHISTORY 3 1

    MAXLOGFILES 16 4

    5 MAXLOGMEMBERS 3

    6 MAXDATAFILES 100

    DataFile 7

    8 "C:\oraclexe\app\oracle\oradata\XE\system.dbf"

    9 "C:\oraclexe\app\oracle\oradata\XE\undotbs1.dbf."

    10 "C:\oraclexe\app\oracle\oradata\XE\sysaux.dbf."

    11 'C:\oraclexe\app\oracle\oradata\XE\users.dbf '.

    LOGFILE 12

    13 GROUP 1 SIZE 51200K,

    14 GROUP 2 SIZE 51200K,

    15 RESETLOGS;

    SP2-0640: not connected

    SQL > exec dbms_backup_restore.zerodbid (0);

    SP2-0640: not connected

    SP2-0641: "EXECUTE" requires the connection to the server

    SQL > shutdown immediate;

    ORA-01012: not connected

    "SQL > startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\initXETemp.ora ";

    ORA-01031: insufficient privileges

    ---------------------------

    CloneRmanRestore:

    "SQL > startup nomount pfile="C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora ";

    ORA-01031: insufficient privileges

    SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\rmanRestoreDatafiles.sql;

    SQL > set off echo;

    SP2-0640: not connected

    SP2-0640: not connected

    SP2-0640: not connected

    ERROR:

    ORA-01031: insufficient privileges

    SQL > spool C:\oraclexe\app\oracle\product\11.2.0\server\config\log\cloneDBCreation.log

    ---------------------------

    PostDBCreation:

    QL > Connect "SYS" / "' * ' as SYSDBA"

    ERROR:

    ORA-01031: insufficient privileges

    SQL > set echo on

    SQL > //create or replace directory DB_BACKUPS as 'C:\oraclexe\app\oracle\fast_recovery_area ';

    SP2-0103: nothing in the SQL buffer to run.

    SQL > start

    2 dbms_xdb.sethttpport('8080');

    3 dbms_xdb.setftpport('0');

    4 end;

    5.

    SP2-0640: not connected

    SQL > create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora 'FROM pfile='C:\oraclexe\app\oracle\product\11.2.0\server\config\scripts\init.ora ';

    SP2-0640: not connected

    SQL > shutdown immediate;

    ORA-01012: not connected

    SQL > connect "SYS" / "' & & sysPassword ' as SYSDBA"

    ERROR:

    ORA-01031: insufficient privileges

    .

    .

    .

    ---------------------------

    SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql;

    SP2-0310: cannot open the file 'C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmssml.sql '.

    SQL > @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\dbmsclr.plb;

    SQL > DROP PUBLIC DATABASE LINK DBMS_CLRDBLINK;

    SP2-0640: not connected

    SQL > CREATE the PUBLIC DATABASE LINK DBMS_CLRDBLINK with the HELP of "ORACLR_CONNECTION_DATA";

    SP2-0640: not connected

    SQL > CREATE or REPLACE LIBRARY wrapped ORACLECLR_LIB

    2 a000000

    1 of 3

    4 abcd

    5-abcd

    6 abcd

    7 abcd

    8 abcd

    9 abcd

    10 abcd

    11-abcd

    12 abcd

    13 abcd

    14 abcd

    ABCD 15

    ABCD 16

    17 abcd

    18 abcd

    19 16

    20 51 8 d

    21 L/XXXXXXXXXX...

    XXXXXXX 22...

    23

    24.

    SP2-0640: not connected

    SQL > DROP TYPE DBMS_CLRParamTable;

    SP2-0640: not connected

    SQL > DROP TYPE DBMS_CLRType;

    SP2-0640: not connected

    SQL > CREATE or REPLACE TYPE wrapped DBMS_CLRType

    ---------------------------

    XE:

    The created instance.

    So I hope this is enough information

    Thanks in advance

    Dursin Kurt

    OK guys I found:

    Problem is the XE.bat - Script could not add me to the ORA_DBA group.

    Reason: my Computername and username, both had a mutation of the vowel 'u '.

    Why it has not worked to my laptop computer company too have both my 'U' in the username

    solved!

  • Problem with granting/revoking of privileges on the SYSTEM (and other) tablespace

    Hello

    I'm new to this forum, so I hope I posted this topic in the wrong section.

    My problem is the following:

    I need to create a user that should have access to certain storage spaces. I read a lot of articles, tutorials, etc. (and google it of course :)), but I couldn't find a solution to my problem. I created a user with this command in SQLPLUS:

    SQL > create user identified by test test
    2 default tablespace users
    3 quota 5 m on users;

    Privileges to user test given, like this:

    SQL > grant connect to test;

    Grant succeeded.

    SQL > grant create table to test;

    Grant succeeded.

    OK, so the user must be able to connect and create dashboards on USERS tablespace. My problem is that the user can also create tables on other tablespaces. Also on the SYSTEM tablespace - I don't want. I have not affected all contingent on any other tablespace users, yet it can create arrays of anywhere. I'm obviously something wrong, since I tried this on two different installations of Oracle (we were under Linux with D Oracle version 11.2.0.2.0 and the other was Windows with 11.2.0.1.0) and I got the same result.

    These are all tablespaces on my db instance if she will give useful information:

    TABLESPACE_NAME
    ---------------
    SYSTEM
    SYSAUX
    UNDOTBS1
    TEMP
    USERS
    EXAMPLE OF

    P.S.: I also tried: SQL > change the quota of test user 0 on SYSTEM; but it did not help. The user can still create tables on the SYSTEM tablespace.

    I used this test user command to create a table on system tablespace:

    SQL > create table testtest (num number (8)) tablespace SYSTEM;

    Please, I would appreciate greatly any help on this.
    Thank you in advance.

    Blaz

    Edited by: 884002 08-Aug-2011 04:51

    Always the same questions frequently asked in this forum, so boring. Always of people who state they don't read the documentation, but still has not found an answer. So boring.

    Provide the output of the following

    Select *.
    of session_roles;

    Select *.
    of session_privs
    where privilege like '% UNLIMITED '.
    ;

    Select *.
    of user_ts_quotas

    logged in as user test.

    -----------------
    Sybrand Bakker
    Senior Oracle DBA

  • Problem with oracle page OFA form parameter passing

    Dear all,

    I have a requirement as below

    I have a custom page of OAF I need call from a menu in the form of oracle, so I sm able to invoke the page in the menu but I need to move a form parameter to a page ofa form personlization, I am able to get the same thing, but my parameter contains date with time stamp, so when iam passing only day It works very well but with dtamp time it gives error like URL invalid because of some special character. So I found some links only when there is a space between the date and the time dtamp it gives question so please help me how I can handle this I need to get the date with timestamp in my page.

    Thank you

    Thanks for the reply,

    I solved the problem by using different functions through PL/SQL

  • Problem with Oracle fail safe 4.1.1 on W2k8 R2 Cluster Failover and Oracle 11.2.0.4 database

    Hi all

    I'm doing some tests on a Windows 2008 (64-bit) R2 two-node failover Cluster.

    I installed and configured successfully bone and the Failover Cluster feature.

    So I followed Oracle Doc-ID 1916391.1 to perform the installation and configuration of Oracle 11.2.0.4 database and Oracle Fail Safe 4.1.1

    After a successful (via Fail Safe Manager) validation of cluster and group, now I'm trying to validate the stand-alone database, but I'm stuck with this error (output in verbose mode of PowerShell):

    PS C:\Users\demo > Test-OracleClusterAvailableDatabase TESTDB - SysPwd (Read-Host-AsSecureString-Prompt "SYS Password ')-verbose

    SYS password: *.

    DETAILES: FS-10915: NODE1: from verification of autonomous resources TESTDB

    DETAILES: FS-10371: NODE1: run the initialization processing

    DETAILES: FS-10371: NODE2: run the initialization processing

    DETAILES: FS-10372: NODE1: resource owner information collection

    DETAILES: FS-10372: NODE2: resource owner information collection

    DETAILES: FS-10373: NODE1: determine the owner of the TESTDB resource node

    DETAILES: FS-10374: NODE1: collection of cluster information required to perform the specified operation

    DETAILES: FS-10374: NODE2: collection of cluster information required to perform the specified operation

    DETAILES: FS-10375: NODE1: analysis of the cluster information required to perform the specified operation

    DETAILES: FS-10378: NODE1: preparation for the configuration of resource TESTDB

    TH: FS-10349: database TESTDB instance is not alive. You want to stop and restart the database instance?

    Confirmation

    Operation does?

    Running dell' operation sulla "Test-OracleClusterAvailableDatabase' likelihood 'TESTDB '.

    [S] Sì Sì [T] a [N] no [U] tutti a tutti [O] Sospendi [?] Guida (he valore predefinito e "S"):

    DETAILES: FS-10350: from the TESTDB database

    Test-OracleClusterAvailableDatabase: OCIEnvNlsCreate failed


    Riga: 1 car: 1

    + Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell

    Exception

    + FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase

    Test-OracleClusterAvailableDatabase: FS-10999: an internal programming error

    Riga: 1 car: 1

    + Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell

    Exception

    + FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase

    Test-OracleClusterAvailableDatabase: FS-10160: impossible to verify the Oracle of standalone TESTDB database

    Riga: 1 car: 1

    + Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell

    Exception

    + FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase

    Test-OracleClusterAvailableDatabase: FS-10818: provider of resources of the database Oracle failed in preparing for

    treatment for TESTDB resource configuration

    Riga: 1 car: 1

    + Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell

    Exception

    + FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase

    Test-OracleClusterAvailableDatabase: FS-10890: Oracle Services for MSCS failed during the verifyStandalone operation

    Riga: 1 car: 1

    + Test-OracleClusterAvailableDatabase - SysPwd TESTDB (Read-Host - AsSecureString - P...)

    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo: DeviceError: (TESTDB:ResourceDatabase) [Test-OracleClusterAvailableDatabase], PowerShell

    Exception

    + FullyQualifiedErrorId: Process, Oracle.FailSafe.PowerShell.TestOracleClusterAvailableDatabase

    Attached is the log of the OFS Cluster Dump (no error in my opinion).

    I surfed around but I can't find anything to solve the problem.

    I think something about the language of the (Italian) OS and Oracle NLS settings (AMERICAN. AMERICA), but obviolsly I'm not sure about this.

    Thanks in advance for any suggestion,

    Alessandro

    Message modificato da 1d457339-524e-4aa5-94aa-fd7d1ae98732 updated: attached is also output trace of the fss.

    Hello Alessandro.

    Solution to the issue is:

    Patch 20744940: 4.1.1.1: ORACLE FAIL SAFE VERSION 4.1.1 PATCH SET 1

  • Problem with Oracle 11 g extract the files

    Hi all!

    I want to install Oracle 11 g r2 in OS Unix and Oracle 11 g 2 a 2 zip.files.
    Oracle says to unzip the two files in the same directory.

    Problem is when I unpack the second file, the first file will be overwritten because the two zip.files have the same name: database

    So, I don't know if I get something wrong with the installation?

    Thanks for any help?

    Tien Lai wrote:
    Hi all!

    I want to install Oracle 11 g r2 in OS Unix and Oracle 11 g 2 a 2 zip.files.
    Oracle says to unzip the two files in the same directory.

    Problem is when I unpack the second file, the first file will be overwritten because the two zip.files have the same name: database

    It is exactly what you need to do.

    "database" is a folder, not a file. And the second unwind adds more files in the folder. And if there is some "duplicates", assumes that the second is more recent than the first and allow it to overwrite.

  • Problem with Oracle 12 c Enterprise Manager

    Hello

    Recently, I installed Oracle Linux Server release 7.2 on a virtual machine. I then installed Oracle 12 c SE2 but for the life of me I can't get Enterprise Manager to work. When I type the address it is to say. https://***:5500/em, all I have is that the page cannot be displayed. I tried to use different browsers... no luck. Database is running, and if I check the status of the listener I get the following result.

    LSNRCTL for Linux: Version 12.1.0.2.0 - Production on February 17, 2016 08:19:11

    Copyright (c) 1991, 2014, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=***) (PORT = 1521) (IP = v4_only)))
    STATUS of the LISTENER
    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production
    Start date February 17, 2016 08:18:50
    Availability 4 days 1 hour 2 minutes 21 seconds
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/oracle/product/12.1.0/dbhome_1/network/admin/listener.ora file
    The listener log file /U01/app/Oracle/diag/tnslsnr/***/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=***) (PORT = 1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1521)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL =)(HOST=***) (PORT = 5500) CST) (Security = (my_wallet_directory = / u01/app/oracle/admin/orclvm/xdb_wallet)) (Presentation = HTTP)(Session=RAW))
    Summary of services...
    Service 'orclvm' has 1 instance (s).
    'Orclvm' instance, State LOAN, has 1 operation for this service...
    Service 'orclvmXDB' has 1 instance (s).
    'Orclvm' instance, State LOAN, has 1 operation for this service...
    The command completed successfully

    I also tried using different not ports... no luck. I tried to uninstall and reinstall the database... no luck.

    I check the ports in sqlplus and I get the following output...

    Connected to:
    Database Oracle 12 c Standard Edition Release 12.1.0.2.0 - 64 bit Production

    SQL > select dbms_xdb_config.gethttpsport (double);

    DBMS_XDB_CONFIG. GETHTTPSPORT()
    ------------------------------
    5500

    SQL > select dbms_xdb_config.gethttpport (double);

    DBMS_XDB_CONFIG. GETHTTPPORT()
    -----------------------------
    0

    I check the address and I get...

    SQL > SELECT ' https://'|| SYS_CONTEXT ('USERENV', 'SERVER_HOST') |': ' | dbms_xdb_config.gethttpsport () | "/em/' double;

    ' HTTPS: / /' | SYS_CONTEXT ('USERENV', 'SERVER_HOST') |'. ' || SYS_CONTEXT (' USERENV ',' DB ")

    --------------------------------------------------------------------------------

    https://***:5500/em/

    I also ran the Edit the system registry command in sqlplus so exec dbms_xdb_config. sethttpport (5500 ( ) with no luck.


    I checked, double checked and triple checked about every thing and still can't get 'EM to work. Help, please!


    TIA

    That would explain why you can't connect. Failed to open the port on the remote system. It's a typical situation when a firewall is not blocking the communication. It could also be that your browser is configured to use a web proxy, or that a network firewall blocking the communication.

  • Problem with Oracle with Visual Studio development tools

    I have Visual Studio 2010 Ultimate and SQL Server 2008R2 with Visual Studio 2008 (BIDS) installed on my laptop (Windows 7 SP1).

    I installed Oracle Developer Tools for Visual Studio.  I connect to Oracle 11 GR 1 material.

    He worked for a while, but has stopped working.  When I check the Options window in any Visual Studio under Oracle development tools, I get the error message:

    An error has occurred this loading property page.

    Don't know what I've got to break.

    Does anyone know what I can do about it?

    Thnaks,

    Fred

    I have not seen this error. I suggest you reinstall Oracle Developer Tools for Visual Studio.

  • Performance problem with Oracle Forms 10g.

    Hello world

    Situation before:
    JInitiator 1.3.1.26
    JET

    With these parameters, Oracle forms works fine.


    Current situation:
    Jre6_u23
    IE8

    When the number of users exceeds 300, oracle forms becomes very slow (wait US 1 minute for login form).

    Oracle application server: 10.1.2.3.0
    Oracle's 10g.


    Thank you.

    Salim cordially.

    The value of jpi_codebase must be a virtual path. It should be something like this:

    jpi_codebase = http://myServer/somewhere/someInstallableFile

Maybe you are looking for