Oracle User/Schema Role?

For a long long times before, I created a schema named "kennam" (kennam/kennam007@kennam), but it having system tables like "SMP_VDM_ADDRESS" on Oracle SQL Developer.
I don't want to see system table(s). What should I do?
Also, why I created a new user/schema "koonhey", recently (koonhey/koonhey007@koonhey) is NO system table .

Did you (or somebody else) by any chance run 9.x EM Config Assistant, EM Trace Data Viewer or other tools from EM packs while loggeed in as that database user?
Run this query:
select owner,substr(object_name,1,4) tabgroup, count(*) numof_couldbe_emrepobjs from dba_objects
where object_name like 'SMP\_%' escape '\' or object_name like 'EPC\_%' escape '\'
or object_name like 'EVT\_%' escape '\' or object_name like 'VD_\_%' escape '\'
group by owner, substr(object_name,1,4);
I suspect that abbreviations such as these could belong to OEM (OMS repository):
EPC = EM Trace Data Viewer (Event Performance Collector)
EVT = EM Events
SMP = EM general repository
VD? = EM framework
You could check your listener.log to find programs that have connected to your database.
Message was edited by:
orafad

Similar Messages

  • Oracle user(schema) passwords !!

    I have two questions about oracle user passwords for our security based policies:
    1. How can we determine oracle user passwords?
    2 How can we determine weak oracle user passwords?
    Any help will be appreciated.
    Regards.

    *1. How can we determine oracle user passwords?*
    Refer to this link
    http://forums.oracle.com/forums/thread.jspa?messageID=9607371&#9607371
    *2 How can we determine weak oracle user passwords?*
    Although the passwords in Oracle are encrypted, there is always possibilities that a user will choose a simple password like the same as his/her userid and here is doc about database security
    http://www.pentest.co.uk/cgi-bin/vie...at=whitepapers

  • Oracle      user   schema

    Hi ,
    Is it true that all users ex:scott etc. are derived
    from a schema called prod in oracle database.
    It will be great help if somebody replies.
    Regards
    Manoranjan Dash
    software professional
    email : [email protected]

    There is no schema in Oracle by that name atleast on UNIX!
    just my 2 cents :)
    G

  • Oracle user ID Role

    Hi,
    I need to know what are the minimum access role i should assign in Oracle RDBMS for user ids' for (planning, essbase, shared services, financial reporting etc).
    Ex.: Connect,
    create/modify, delete tables etc...
    Regards
    N Kumar

    The roles should be :-
    CREATE SESSION
    CREATE VIEW
    RESOURCE
    http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_install_start_here/ch05s01s01s03.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while granting Java permission to Oracle user (schema)

    Hi,
    I am trying to grant java permission as sys to an Oracle schema 'RCA' as follows but am getting the error ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException: policy table update java.io.FilePermission, <<ALL FILES>>. Could anyone please tell me how to resolve this issue?
    DECLARE
    KEYNUM NUMBER;
    BEGIN
    SYS.DBMS_JAVA.GRANT_PERMISSION(
    grantee => 'RCA'
    ,permission_type => 'SYS:java.io.FilePermission'
    ,permission_name => '<<ALL FILES>>'
    ,permission_action => 'execute'
    ,key => KEYNUM
    END;
    Error at line 1
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.SecurityException: policy table update java.io.FilePermission, <<ALL FILES>>
    ORA-06512: at "SYS.DBMS_JAVA", line 752
    ORA-06512: at line 4
    Thanks in advance for your help.
    Regards,
    Raj
    Edited by: 906041 on 4/01/2012 18:31
    Edited by: 906041 on 4/01/2012 18:33

    below worked for me
    18:44:11 SQL> connect / as sysdba
    Connected.
    18:44:19 SQL> DECLARE
    KEYNUM NUMBER;
    BEGIN
    SYS.DBMS_JAVA.GRANT_PERMISSION(
    grantee => 'DBADMIN'
    ,permission_type => 'java.io.FilePermission'
    ,permission_name => '<<ALL FILES>>'
    ,permission_action => 'execute'
    ,key => KEYNUM
    END;
    18:44:20   2  18:44:20   3  18:44:20   4  18:44:20   5  18:44:20   6  18:44:20   7  18:44:20   8  18:44:20   9  18:44:20  10  18:44:20  11  18:44:20  12 
    PL/SQL procedure successfully completed.
    18:44:36 SQL> 18:44:36 SQL> 18:44:36 SQL> Edited by: sb92075 on Jan 4, 2012 6:45 PM

  • How to implement Oracle user/role security with Access front end?

    Hi,
    We have successfully migrated our Access database tables to Oracle 10g using SQL developer. We've recreated all the users and roles(i.e., access groups) in Oracle and granted rights to tables.
    In the Access front end database, in the Database window we have saved linked Oracle tables which replaced the Access tables. The forms, reports, queries run fine with the linked Oracle tables. All the linked table use one ODBC DSN to the Oracle database with the same Oracle user id.
    We need to be able to authenticate users into the Oracle database and RE-link the tables based on their own unique user id. By during so we can allow users to use the Oracle standard user id/role and system privileges to control select, update, ect. rights to the database.
    I've been able to use the VB code within Access to logon into the database with a unique id, but I have not been able to find out how to RE-link the tables to the unique user id using VB. There should be some way to relink tables dynamically, based on users login into the Access front end.
    I don't know a great deal about Access projects, but I do know with SQL server allows login into your Access project and link tables dynamically.
    Can someone give me some assistance or point me in the right direction?
    Thanks in advance,
    Larry

    We had one of our programmers here come up with a VB code solution for re-linking table within Access. However the relinking takes 3-4 minutes for 100+ tables.
    In an effort to help you understand the situation better, I will attempt to elaborate on the problem:
    We have an Access 2003 application which currently has a front end using Access(forms, reports, queries, & VB code) and a MS Access 2003 backend.
    We have migrated the backend tables to Oracle. However, we still have a need to maintain the front end in Access, since we have over 60 forms, 40 reports, 200+ queries in Access. Its easy to understand, we have a significant investment in the front end(Obviously, the plan is to migrate the front end also at some future date).
    In order to utilized the existing front end, we have to validate and modify the current front end connections to the new Oracle backend. One of the features of Access is that you can "link" tables and save the link for runtime. Each Access table can have its own link which is a separate ODBC/JET connection. As such, each separate link has its own userid/database information.
    The other issue with using the Access front-end is that Access utilizes a workgroup file to implement user and group security. The workgroup file contains all the users and which groups the users belong to in Access. Then within Access, you allow users access to object(tables, queries, ect) by their userid and or group. When users open an Access database with Access security enabled, they are required to log into Access. The login is authenticated by the workgroup file. Once, logged into Access, users have rights to Access objects based on their rights granted to their userid and groups they belong. The problem here is that when you remove the linked Access tables and replace them with linked Oracle tables, Access has knowledge about Oracle table rights granted to users; nor would you expect it to.
    The dilema is the disconnect between Access and the fact Oracle utilizes a similar but much more sophisticated security model. It creates users and roles(which are similar to Access groups), and again this is independent of Access security.
    Our solution was to still use the Access workgroup file security along with the Oracle security model. By using the Access userid and then creating a similar Oracle userid with similar table rights granted in Access, you could apply security within Access and also with the Oracle database.
    For example, a user BOB logs into Access via the workgroup file, using VB code, Access then establishes a Oracle connection logining into Oracle using the same unique userid BOB into Oracle.
    After connecting and validating user BOB into Oracle, then the Access tables are relinked to Oracle using the user BOB userid and table rights.
    This Oracle userid has been granted table rights specific for this userid.This allows the user BOB to use the Access application and still be authenticated into the Oracle database.
    The problem with this solution is that the relinking of the saved Access tables takes 3-7 minutes for about 100+ tables. This is not acceptable for users each time they log into the application.
    Our current alternative is to use one Oracle userid to login each user, and use Access form restrictions/security to allow/prevent users from updating/viewing data. Obviously, this is not the optimal solution in respect to security, but it at least allows us to control access to the data(via the forms) by using one logon required for each user, and quick startup time for the application.
    I understand SQL server does a better job in integration, but we use Oracle which is what I am trying to work with.
    Larry

  • How many users/ schemas can we create in an oracle database?

    How many users can we create in an oracle database? Or how many users can oracle handle?
    Problem-
    I have to store information of ontologies (I will use countries instead) in db.
    I have to store information regarding countries.
    I have 13 tables in all to maintain for each country.
    Now there are two approaches:
    1) keep only 13 tables. Have an extra column in each table to indicate that a particular
    row stores information for which country.
    2) create a new user/ schema for each country. So we can get rid of the extra column
    needed in 1st approach.
    I have used the second approach. This is because number of entries in each table for a
    given country will be large.
    So initially when the s/w is installed I create a central-user. Each time data for new
    country has to be entered central-user creates a user/ schema, and creates tables for
    this user/ schema. The central user can access the tables of all the countries by
    country_name.table_name. By this approach I believe searching would be easy.
    If there is any flaw in my approach kindly mention it.
    Thank you

    There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
    Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
    Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
    If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
    Justin
    One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
    Message was edited by:
    Justin Cave

  • When to set iwtUser-role and other per user schema using custom athentication?

    I have written my own authentication module and would like to set per user schema on login. Can I write iwtUser-role, iwtCalendarProvider-calendarUserPassword, etc from the authentication class?

    Yes you can, after the authentication is complete you get the profile object and then set whatever value you want to set for particular attributes you want to set ..

  • Extract Users and Roles

    Hi,
    I would like to move my users and roles from one system to another . Is there a way i can export and import the data back into the system.
    I have already tried to export the repository schema and it did not give the necessary output.
    I am working in 5.5 SP6 version
    Regards,
    Vignesh

    Hi
    You can do at Data base level using DML Queries, follow the below links.
    How to Create Mass Users/Roles in SAP MDM Repository Running On Oracle Database
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0daad81-6a4b-2c10-9cb8-9586b0ebfb28?quicklink=index&overridelayout=true
    How to Create Mass Users/Roles in SAP MDM Repository Running On SQL Database
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0224edf-bf37-2c10-228f-c16415815c5f?quicklink=index&overridelayout=true
    regards
    Sowseel

  • Minimum rights needed for Oracle user to run BO

    Hi team,
    One of my customer here made connection from BO XI installer to oracle database with this user B_A. Say this user is the admin user of CMS db. Now he finds that the user B_A  user has schema role rights which customer doesn't want
    and he wants to remove those rights.
    he wants to know what are the minimum privileges or rights oracle user needs to keep BO XI running without problem and if he can remove those excess schema rights from that.
    could some one please help me
    Regards,
    DV

    Well, Oracle DBA should be able to answer all those questions for the customer.
    I'm not a DBA, so my unerstanding of Role is that they are the predefined collections of rights users have on the DB according to the usual roles users play.
    So when DBA's are managing Oracle DB they don't have to assign each user every single right, but can just assign Roles, which will include most common rights....
    If we're talking rights alone - BOE CMS DB user need create, delete, modify, expand, write, insert etc... 
    There is absolutly no reason why CMS DB schema owner cannot have all the default rights that come with Resource and Connect roles.

  • Oracle users and application users

    Hi All,
    I'm currently developing a small application, probably 50 users max. I'm still having a hard time as to how I should create and manage the application users. I've thought of 2 ways but not really sure which will be the best approach.
    Approach 1: 1 application user = 1 oracle user.
    - This way I can create roles with specific privileges and grant them to particular users.
    - I won't have to manually configure/grant users access to specific modules in the application.
    - Each user will have their own connection since they will use their username and password to build the connection string.
    - I will be able to use the auditing feature.
    Approach 2: Create 1 user/schema with all the objects needed for the application then create my own users_tbl to store user credentials such as username/password etc.
    - Manually configure access to users on specific modules.
    - All users will use 1 connection string.
    - Will not be able to use auditing feature.
    can anyone else suggest any other approach or comment on my 2 approach.
    also, i will be using vb.net using vs 2005 to develop the application for my oracle 10g express edition database.
    thanks.

    Hello,
    Just to throw something into the hat....have you considered using the already installed APEX development environment that already comes with your XE?
    Much of this sort of 'connection pooling/handling' disappears using the APEX environment as it is all automatically-handled for you (which means you can then concentrate on the really important stuff).
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • Dispatcher getting stopped due to possible user/schema mismatch.Plz help

    Hello All,
    I have SAP Netweaver 7.01 ABAP AS installed on windows 2003. Was working fine but I had to have a bug fixed in win 2003 and restarted my SAP machine. Now, dispatcher is not running. Stops after a while. I have tried restarting SAP and the machine but dispatcher is not running. I looked at the dispatcher trace and dev_w0 but could not figure out the reason as I am new to SAP, please provide any pointers to solve this issue. Any general tips is also welcome. Timely help is greatly appreciated!
    I have pasted parts of dev_disp and dev_w0 below. If you require more details, please let me know. Thank you very much!
    -Arvind
    dev_disp:
    =========
    trc file: "dev_disp", trc level: 1, release: "701"
    sysno      00
    sid        NSP
    systemid   560 (PC with Windows NT)
    relno      7010
    patchlevel 0
    patchno    29
    intno      20020600
    make:      multithreaded, Unicode, optimized
    pid        3784
    Fri Jun 10 19:25:12 2011
    kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    length of sys_adm_ext is 576 bytes
    *** SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3784) [dpxxdisp.c   1261]
         shared lib "dw_xml.dll" version 29 successfully loaded
         shared lib "dw_xtc.dll" version 29 successfully loaded
         shared lib "dw_stl.dll" version 29 successfully loaded
         shared lib "dw_gui.dll" version 29 successfully loaded
         shared lib "dw_mdm.dll" version 29 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Fri Jun 10 19:25:18 2011
    *** WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5529]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >egsap701_NSP_00                         <
    DpShMCreate: sizeof(wp_adm)          13632     (1704)
    DpShMCreate: sizeof(tm_adm)          4415616     (21968)
    DpShMCreate: sizeof(wp_ca_adm)          1664     (80)
    DpShMCreate: sizeof(appc_ca_adm)     1600     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 07050040, size: 5042120)
    DpShMCreate: allocated sys_adm at 07050040
    DpShMCreate: allocated wp_adm at 07052170
    DpShMCreate: allocated tm_adm_list at 070556B0
    DpShMCreate: allocated tm_adm at 070556E0
    DpShMCreate: allocated wp_ca_adm at 0748B760
    DpShMCreate: allocated appc_ca_adm at 0748BDE0
    DpShMCreate: allocated comm_adm at 0748C420
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 0750D2E0
    DpShMCreate: allocated gw_adm at 0750D320
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0750D350
    DpShMCreate: allocated wall_adm at 0750D358
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    rdisp/queue_size_check_value :  -> off
    ThTaskStatus: rdisp/reset_online_during_debug 0
    *** ERROR => ztta/cua_area is 180000. [sapinit.c    975]
    *** ERROR => ztta/cua_area adjusted to 500000. [sapinit.c    979]
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1656]
    ***LOG Q0K=> DpMsAttach, mscon ( egsap701) [dpxxdisp.c   12362]
    DpStartStopMsg: send start message (myname is >egsap701_NSP_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: alert/MONI_SEGM_SIZE = 0   monitoring and alerting switched off.
    DpMsgAdmin: Set release to 7010, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1048]
    DpMsgAdmin: Set patchno for this platform to 29
    Release check o.K.
    Fri Jun 10 19:25:58 2011
    my types changed after wp death/restart 0xbf --> 0xbe
    my types changed after wp death/restart 0xbe --> 0xbc
    my types changed after wp death/restart 0xbc --> 0xb8
    my types changed after wp death/restart 0xb8 --> 0xb0
    my types changed after wp death/restart 0xb0 --> 0xa0
    my types changed after wp death/restart 0xa0 --> 0x80
    *** DP_FATAL_ERROR => DpWPCheck: no more work processes
    *** DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1565
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Jun 10 19:26:08 2011
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    max_rq_id          11
    wake_evt_udp_now     0
    wake events           total     7,  udp     7 (100%),  shm     0 (  0%)
    since last update     total     7,  udp     7 (100%),  shm     0 (  0%)
    Workprocess Comm. Area Blocks               Fri Jun 10 13:56:08 2011
    =============================
    Slots: 20, Used: 1, Max: 0
    +------+--------------+----------+-------------+
    |   id | owner        |   pid    | eyecatcher  |
    +------+--------------+----------+-------------+
    |    0 | DISPATCHER   |       -1 | *WPCAAD000* |
    <SNIP>
    [DpProcDied] Process died  (PID:3492  HANDLE:1540)
    DpStartStopMsg: send stop message (myname is >egsap701_NSP_00                         <)
    DpStartStopMsg: Write AD_STARTSTOP message with type=  0, name=egsap701_NSP_00     , sapsysnr= 0, hostname=egsap701                                                       
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    <SNIP>
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/20/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 14)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1496
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 3784) [dpxxdisp.c   10924]
    Good Bye .....
    dev_w0
    ========
    trc file: "dev_w0", trc level: 1, release: "701"
    *  ACTIVE TRACE LEVEL           1
    *  ACTIVE TRACE COMPONENTS      all, MJ

    B Fri Jun 10 19:25:18 2011
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\NSP\DVEBMGS00\exe\dbsdbslib.dll' ...
    B  Library 'C:\usr\sap\NSP\DVEBMGS00\exe\dbsdbslib.dll' loaded
    B  Version of 'C:\usr\sap\NSP\DVEBMGS00\exe\dbsdbslib.dll' is "700.08", patchlevel (0.24)
    B  New connection 0 created
    M sysno      00
    M sid        NSP
    M systemid   560 (PC with Windows NT)
    M relno      7010
    M patchlevel 0
    M patchno    29
    M intno      20020600
    M make:      multithreaded, Unicode, optimized
    M pid        2768
    M
    M  kernel runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
    M  length of sys_adm_ext is 576 bytes
    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2768) [dpxxdisp.c   1323]
    I  MtxInit: 30000 0 0
    M  DpSysAdmExtCreate: ABAP is active
    M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
    M  DpShMCreate: sizeof(wp_adm)          13632     (1704)
    M  DpShMCreate: sizeof(tm_adm)          4415616     (21968)
    M  DpShMCreate: sizeof(wp_ca_adm)          1664     (80)
    M  DpShMCreate: sizeof(appc_ca_adm)     1600     (80)
    M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    M  DpShMCreate: sizeof(comm_adm)          528064     (1048)
    M  DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    M  DpShMCreate: sizeof(slock_adm)          0     (96)
    M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    M  DpShMCreate: sizeof(file_adm)          0     (72)
    M  DpShMCreate: sizeof(vmc_adm)          0     (1544)
    M  DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    M  DpShMCreate: sizeof(gw_adm)     48
    M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 07050040, size: 5042120)
    M  DpShMCreate: allocated sys_adm at 07050040
    M  DpShMCreate: allocated wp_adm at 07052170
    M  DpShMCreate: allocated tm_adm_list at 070556B0
    M  DpShMCreate: allocated tm_adm at 070556E0
    M  DpShMCreate: allocated wp_ca_adm at 0748B760
    M  DpShMCreate: allocated appc_ca_adm at 0748BDE0
    M  DpShMCreate: allocated comm_adm at 0748C420
    M  DpShMCreate: system runs without slock table
    M  DpShMCreate: system runs without file table
    M  DpShMCreate: allocated vmc_adm_list at 0750D2E0
    M  DpShMCreate: allocated gw_adm at 0750D320
    M  DpShMCreate: system runs without vmc_adm
    M  DpShMCreate: allocated ca_info at 0750D350
    M  DpShMCreate: allocated wall_adm at 0750D358
    M  rdisp/queue_size_check_value :  -> off
    M  ThTaskStatus: rdisp/reset_online_during_debug 0
    Y  *** ERROR => ztta/cua_area is 180000. [sapinit.c    975]
    Y  *** ERROR => ztta/cua_area adjusted to 500000. [sapinit.c    979]
    X  EmInit: MmSetImplementation( 2 ).
    X  MM global diagnostic options set: 0
    X  <ES> client 0 initializing ....
    X  Using implementation view
    X  <EsNT> Using memory model view.
    M  <EsNT> Memory Reset disabled as NT default
    X  ES initialized.
    M  ThInit: running on host egsap701

    M Fri Jun 10 19:25:19 2011
    M  calling db_connect ...

    C  DBSDBSLIB : version 700.08, patch 0.024 (Make PL 0.29)
    C  MAXDB shared library (dbsdbslib) patchlevels (last 10)
    C    (0.024) Default value for max. input variables is 2000 (note 655018)
    C    (0.024) Profile parameter to define max. input variables (note 655018)
    C    (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)
    C    (0.024) Input parameters for SQL statements increased (note 655018)
    C    (0.018) Create index serial for MaxDB 7.6 (note 1267841)
    C    (0.018) More trace in case of packed to string conversion error (note 1262799)
    C    (0.016) R3trans export aborts with signal 6 (note 1262245)
    C    (0.009) IA64 alignment errors (note 1245982)
    C    (0.007) Support DB-Type 'SAP DB' by UPDSTAT (note 1225668)


    C  Loading SQLDBC client runtime ...
    C  SQLDBC SDK Version : SQLDBC.H  7.6.0    BUILD 002-121-083-965
    C  SQLDBC Library Version : libSQLDBC 7.6.5    BUILD 011-123-196-300
    C  SQLDBC client runtime is MaxDB 7.6.5.011 CL 196300
    C  SQLDBC supports new DECIMAL interface : 0
    C  SQLDBC supports VARIABLE INPUT data   : 1
    C  SQLDBC supports keepAlive indicator   : 0
    C  INFO : SQLOPT= -I 0 -t 0 -S SAPR3
    C  Try to connect (DEFAULT) on connection 0 ...
    C  Attach to SAP DB : Kernel    7.7.06   Build 007-123-197-046
    C  Database release is SAP DB 7.7.06.007
    C  INFO : Database 'NSP' instance is running on 'egsap701'
    C  DB max. input host variables  : 2000
    C  INFO : SAP DB Packet_Size = 131072
    C  INFO : SAP DB Min_Reply_Size = 4096
    C  INFO : SAP DB Comm_Size = 126976
    C  INFO : DBSL buffer size = 126976
    C  INFO : SAP DB MaxLocks = 300000
    C  INFO : Connect to DB as 'SAPNSP'
    C  *** ERROR => the connected user (SAPNSP) does not work with the right user/schema
    [dbslsdb.cpp  4818]
    C  *** ERROR => application has to work with schema SAPR3 (dbs/ada/schema)
    [dbslsdb.cpp  4820]
    M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1449]
    M  in_ThErrHandle: 1
    M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10563]

    M  Info for wp 0

    M    pid = 2768
    M    severity = 0
    M    status = 0
    M    stat = WP_RUN
    M    waiting_for = NO_WAITING
    M    reqtype = DP_RQ_DIAWP
    M    act_reqtype = NO_REQTYPE
    M    rq_info = 0
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = 65535
    M    rq_source =
    M    last_tid = 0
    M    last_mode = 0
    M    semaphore = 0
    M    act_cs_count = 0
    M    csTrack = 0
    M    csTrackRwExcl = 0
    M    csTrackRwShrd = 0
    M    mode_cleaned_counter = 0
    M    control_flag = 0
    M    int_checked_resource(RFC) = 0
    M    ext_checked_resource(RFC) = 0
    M    int_checked_resource(HTTP) = 0
    M    ext_checked_resource(HTTP) = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <
    M    attachedVm = no VM

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server egsap701_NSP_00 on host egsap701 (wp 0)
    M  *  ERROR       ThInit: db_connect
    M  *
    M  *  TIME        Fri Jun 10 19:25:19 2011
    M  *  RELEASE     701
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        10783
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >BtcCallLgCl< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   723]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  261]
    M  Entering ThSetStatError
    M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2768) [dpnttool.c   334]

    Hello Rattandeep and Markus,
    Thanks for explaining the error to me. I'm still facing the issue though!
    My start profile is START_DVEBMGS00_egsap701 and instance profile is NSP_DVEBMGS00_egsap701 (they are included below).
    In both profiles, the dbs/ada/schema has been currently deactivated. I get the same errors even after deactivating the parameter in both profiles. I also tried your suggestions by setting parameter values to SAPNSP and then to SAPR3 in both profiles but I'm still getting the same errors.
    > the above log shows that you have to change the parameter with schema user SAPR3 instead of SAPNSP
    You mean that the SAP system is started by SAPNSP user and since the profile is executed by SAPNSP user, we are getting the error? I don't know about the SAPR3 user or the user's credential. I only use bcuser/ddic RFC user to logon to SAP.
    I don't know how to check the table space for SAPR3 database. As far as I know, BRTools is only for Oracle backends. So, I used Max DB database manager tool instead and found that the default NSP database has utilized about 50% data area (disk space). Overwrite mode is on and I have about 100% free log area (also determined through database manager tool). Still have not clue as to how to solve this. Please help. Thanks for your tips so far!
    The start profile is as follows :
    #.*       Start profile START_DVEBMGS00_EGSAP701                                                                               *
    #.*       Version                 = 000004                                                                                *
    #.*       Generated by user = DDIC                                                                                *
    #.*       Generated on = 27.04.2011 , 11:02:57                                                                                *
    SAPSYSTEMNAME = NSP
    SAPGLOBALHOST = egsap701
    SAPSYSTEM = 00
    INSTANCE_NAME = DVEBMGS00
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386
    DIR_EXECUTABLE = $(DIR_INSTANCE)\exe
    DIR_PROFILE = $(DIR_INSTALL)\profile
    _PF = $(DIR_PROFILE)\NSP_DVEBMGS00_egsap701
    # Copy SAP Executables
    Start_Program_00 = immediate $(DIR_CT_RUN)\sapcpe$(FT_EXE) pf=$(_PF)
    # Start ABAP database
    _DB = $(DIR_CT_RUN)\strdbs.cmd
    Start_Program_01 = immediate $(_DB) NSP
    # Start SAP message server
    _MS = $(DIR_EXECUTABLE)\msg_server$(FT_EXE)
    Start_Program_02 = local $(_MS) pf=$(_PF)
    # Start application server
    _DW = $(DIR_EXECUTABLE)\disp+work$(FT_EXE)
    Start_Program_03 = local $(_DW) pf=$(_PF)
    rsdb/dbid = NSP
    #dbs/ada/schema = SAPNSP
    Instance profile is as follows:
    #.*       Instance profile NSP_DVEBMGS00_EGSAP701                                                                              *
    #.*       Version                 = 000006                                                                                *
    #.*       Generated by user = DDIC                                                                                *
    #.*       Generated on = 27.05.2011 , 11:30:39                                                                                *
    SAPSYSTEMNAME = NSP
    SAPGLOBALHOST = egsap701
    SAPSYSTEM = 00
    INSTANCE_NAME = DVEBMGS00
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386
    DIR_EXECUTABLE = $(DIR_INSTANCE)\exe
    rdisp/wp_no_dia = 3
    rdisp/wp_no_btc = 1
    icm/server_port_0 = PROT=HTTP,PORT=80$$
    # SAP Message Server parameters are set in the DEFAULT.PFL
    ms/server_port_0 = PROT=HTTP,PORT=81$$
    rdisp/wp_no_enq = 1
    rdisp/wp_no_vb = 1
    rdisp/wp_no_vb2 = 1
    rdisp/wp_no_spo = 1
    PHYS_MEMSIZE = 128
    em/initial_size_MB = 10240
    em/max_size_MB = 1024
    abap/buffersize = 100000
    #old_value: 0                                                                                changed: DDIC 27.04.2011 11:04:52
    #old_value: 60000000                                                                           changed: DDIC 27.05.2011 11:29:55
    alert/MONI_SEGM_SIZE = 0
    enque/table_size = 2000
    #parameter deactivated                      by: DDIC         27.05.2011 11:11:00
    #rspo/local_print/method = 2
    rsdb/ntab/entrycount = 5000
    rsdb/ntab/ftabsize = 3000
    rsdb/ntab/sntabsize = 100
    rsdb/ntab/irbdsize = 1000
    rsdb/cua/buffersize = 500
    rsdb/obj/buffersize = 2048
    rsdb/obj/max_objects = 500
    rsdb/otr/buffersize_kb = 1000
    rsts/ccc/cachesize = 6000000
    rtbb/buffer_length = 500
    rtbb/max_tables = 50
    sap/bufdir_entries = 200
    zcsa/presentation_buffer_area = 350000
    zcsa/calendar_area = 300000
    zcsa/table_buffer_area = 3000000
    zcsa/db_max_buftab = 500
    ztta/roll_area = 1000000
    ztta/diag_area = 128000
    ztta/dynpro_area = 150000
    ztta/cua_area = 180000
    rdisp/PG_SHM = 100
    rdisp/PG_MAXFS = 256
    rdisp/ROLL_SHM = 100
    rdisp/ROLL_MAXFS = 2048
    #old_value: 0                                                                                changed: DDIC 27.04.2011 11:04:52
    #old_value: 300                                                                                changed: DDIC 27.05.2011 11:29:38
    rdisp/autoabaptime = 0
    rdisp/wp_ca_blk_no = 20
    rdisp/appc_ca_blk_no = 20
    rdisp/max_wprun_time = 30000
    icm/min_threads = 5
    icm/max_threads = 10
    icm/max_conn = 20
    mpi/total_size_MB = 10
    rsdb/dbid = NSP
    #parameter deactivated                      by: DDIC         27.05.2011 11:11:22
    #dbs/ada/schema = SAPNSP

  • How to restrict the user(Schema) from deleting the data from a table

    Hi All,
    I have scenario here.
    I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
    Below is the example.
    I have created a table employee in abc schema which has two values.
    EMPLOYEE
    ABC
    XYZ
    In the above scenario the abc user can only fire select query on the EMPLOYEE table.
    SELECT * FROM EMPLOYEE;
    He should not be able to use any other DML commands on that table.
    If he uses then Insufficient privileges error should be thrown.
    Can anyone please help me out on this.

    Hi,
    kumar0828 wrote:
    Hi Frank,
    Thanks for the reply.
    Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
    If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
    Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
    See the forum FAQ {message:id=9360002}
    The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
    USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
    SELECT  *
    FROM    table_x
    ;what actually runs is:
    SELECT  *
    FROM    table_x
    WHERE   USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
    ;If you want to prevent any user from deleting rows, then the policy function can return just this string
    0 = 1Then, if somone says
    DELETE  employee
    ;what actually gets run is
    DELETE  employee
    WHERE   0 = 1
    ;No error will be raised, but no rows will be deleted.
    Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
    Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
    I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema.

  • How to use the user and role API's and where to use it

    Hi All,
    I have configured SSO for my UCM11g. Now my application authenticates through the Oracle SSO login page. Currently it is working with SQL authenticator.
    Now, i have to use LDAP authenticator. when i will configure the LDAP authenticator, i have to use the user and role API's to fetch the user profile information from LDAP. i have got the API's which will be used to fetch the respected information, but i am not getting as where i will write those java programs and how this API will be used in my application. what settings i need to do on it so that application uses the API's. ?
    Please can anyone help me on this.
    thanks,
    Saurabh

    Hi, Mithu,
    Thanks a lot for your help in advance.
    I have carefully read the document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6b66d7ea-0c01-0010-14af-b3ee523210b5.
    Now, I think I have to set the processor of every actions in every process if I use the GP for processing the workflow.
    I am better to hope that I can set the processor to the role for every actions in every process in the runtime through get the organizational structure in the WDA(webdynpro for java or webdynpro for java). Thus, the customer don't set the processor to the role for every action in every process when runing in the GP.   I don't know how to do this. 
    Whether the function is not supported in the GP? If so, I have to config two organizational structure: in the R/3 and in the Portal. I don't think our customer don't receipt this solution.
    Do you give me some hints? Thanks a lot.  My email: [email protected]
    Thanks again.
    Thanks & Regards,
    Tao

  • Which is better?    Two Oracle user in one instance OR  in two instances?

    Which is better?
    I could not find any benchmark for number of instances per user
    in the same machine.
    suppose that you have two major Oracle user, from performance
    point of view it is better to make separate instances in same
    machine or keep these two users in the same instance.

    Hi.
    I understand that you will use oracle for two different
    applications on the same host.
    Each instance has its SGA and background processes. So, using
    two different schemas(users) in one instance you can share
    phisical memory between the applications. Concerning background
    processes, you can start as many of them as you wish, so it's
    not a problem. If you decided that one DBW is not enough, you
    could configure oracle to use two or more.
    best regards,
    Andrew

Maybe you are looking for

  • Msg "Correct The Marked Line Items"

    FI Experts, I am trying to post an entry in GL when I try to save it tells me "Correct the Marked Line Items" I click on the blue items, it open up I do nothing but click save and I can post. This is fine when I have one entry to fix but not when I h

  • At downloading firefox 3.6.13 setup file getting window message that file is corrupt

    At the very beginning of downloading firefox 3.6.13 setup file I get a message that file is corrupt. And I repeated again for three times with the same message that file is corrupt. I can't download firefox 3.6.13 setup file. Although I had followed

  • Connection between 2 mappings

    Hi I have 2 seperate mappings. A_MM B_MM There is a value in A_MM which needs to be used in B_MM. I am using PI 7.1 Thanks SG

  • Can't pause music

    Only happens in iPod mode, while music is playing, the pause button doesn't work - no reaction from my finger. All other functionality in all other apps is fine - it's like that one button (pause/replay) goes dead. It's intermittent so I can't reprod

  • BIP Filter

    Hi, I build a report in BIP but I am unable to filter the report cause its showing data for all the weeks and instead i need to see the report for the current week.....how can i achieve that for ex...report should show me week 37 data instead its sho