Database security using VPD

Hi,
I am trying to implement Virtual Private Database policy to restrict the user data access.
I am creating this with Scott schema with 11g R1.
While accessing DBMS_RLS package I am getting below error.
SQL> begin
  2  dbms_rls.add_policy  (
  3    user,
  4    'department_secrets',
  5    'choosable policy name',
  6    user,
  7    'pck_vpd.predicate',
  8    'select,update,delete');
  9  end;
10  /
dbms_rls.add_policy  (
ERROR at line 2:
ORA-06550: line 2, column 1:
PLS-00201: identifier 'DBMS_RLS' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignoredCan someone help me to identify what's the issue here?

Mak1980 wrote:
Just wanted to know why we have to give grant to this package as this is also one of the Oracle supplied package like UTL_FILE and others.The DBMS_RLS package allows SQL injection in simplistic terms. The VPDB user function defined for the policy, changes the SQL statement by adding predicates to it that needs to be met. This allows certain rows to be hidden from the code that issued that SQL statement - and that code and user/developer is totally oblivious that SQL statements send to the database are changed by the VPDB function.
How does it make sense to allow public access to all schemas to perform this type of SQL injection?
Robust security is about giving code and users the absolute minimum set of privs needed, for that code/user to do the required job.
UTL_FILE is no different. It allows the code/user to step outside of Oracle schema and database, and directly into operating system's file system. What is the first step in pwning a server? Getting backdoor code onto that server for execution. And UTL_FILE allows exactly that.

Similar Messages

  • Column Level Security Using VPD under oracle 11g

    Hi
    I am using an example from Oracle Database 10g: Advance Security -- Virtual Private Databases
    1. The Application Context -- that sets the session environment for the use is ok.
    2. The Logon Trigger that executes the above is ok. It had been tested.
    3. The Security Policy that returns a predicate after checking the output of the Application Context is ok.
    4. The security policy applied to the STOCK_TRX table is ok.
    5. Select and Insert from the database work.
    However, after dropping both the insert and select policy, I am having problem getting a select policy to work with column-level VPD. I will get the ORA-28104 -- input value for statement type is not valid and ORA-06512 at SYS.DBMS_RLS line 20. See code below
    begin
    DBMS_RLS.ADD_POLICY
    ('PRACTICE', 'STOCK_TRX', 'STOCK_TRX_SELECT_POLICY', 'PRACTICE', 'SECURITY_PACKAGE.STOCK_TRX_SELECT_SECURITY', 'PRICE');
    end;
    Note:
    PRICE is the sec_relevant_cols
    STOCK_TRX is the table
    Can you please help.
    Thx

    The syntax for row level security is not the same for columns level security. All the parameters to the DBMS_RLS.ADD_Policy() function should be preceded by the type of the parameter for:
    begin
    DBMS_RLS.ADD_POLICy(object_schema=>PRACTICE, ... sec_relevant_cols=>'PRICE);
    end;
    I did not know this before. I thought they were there in the example for explanatory reasons. I decided to answer the question for myself because I know others have the same interpretation.

  • OBIEE Security Using VPD

    I`ve read Venkat`s blog http://oraclebizint.wordpress.com/2007/08/29/obi-ee-10133-and-vpd/
    I have an working policy on my table:
    personal_history(district_id,city_id,company_id,department_id,job_id,employee_id, salary)
    For example on my policy the chiefs of department see only information on his employees, the managers for their own department.
    My policy function is far more complicated than Venkat`s Executive_Apply. I`ve checked VPD in database connection.My shared connection is based on vpd_admin which i gave him dba role.
    I put "select set_context_function(':USER') from dual" on before query in OBIEE Connection script, still in Answers there is no difference between managers and chiefs of department in number of rows.
    Why? What i`ve done wrong?
    Thank you!
    Razvan.

    I succeded with setting context and policy, in Aswers appears different rows for managers and chiefs of department but there is another problem :
    I have two connection pool , one with user dba owner of time dimension and fact table and the other with vpd_admin (context owner).
    I also have a role in which vpd_admin has select wrights on personal_history and other tables who`s owner is dba2 (another dba user).
    The two connection pools are in the same vpd database directory in Physical Layer.
    When i gave "update rowcount" on personal_history and the other`s tables which vpd_admin has select wrights it works.Policy works. BUT after i created the role and give it to manager and chief users in Answers none of the joins with other presentation tables doesn`t work with error table not found for dimension different from personal_history dimension.
    I modified just added vpd_admin to role and checked qualified table in second connection pool (the one with vpd_admin as user) .The query from each table without joining with each other works but in combination the error is table not found!
    Any idea?
    Thanks!

  • Using VPD and Portal

    Situation: Trying to implement row level security using VPD for
    applications created in PORTAL. using portal's
    Light weight users.
    Method: Created a fine grain access control policy to build a
    predicate based on a Portal user (not database user).
    1 Get Portal User (proc: portal30.wwctx_api.get_user)
    2 Determine what business rules are setup for this
    Portal User
    3 Based on the above rules, build predicate for the
    Portal User
    Problem: In the first step, not retrieving the Portal user -
    looks to be getting PUBLIC when the code is part of a
    VPD policy. When it is executed on its own, it gets the correct
    information back (ie. The portal user not PUBLIC).
    The idea is that we want to be able to set the VPD policy based
    on the light weight Portal User.
    Oracle Database version 8.1.7
    Oracle iAS 1.0.2.2.0
    There is a work around for this, which is to create a database
    schema for each portal user and then associate the
    Portal account with this database schema. When we do this, we
    get the correct information for use in the VPD policy,
    But we actually look for the Proxy Account (database schema the
    portal user is associated with) and not the portal
    user/session info. This work around in not desirable when we
    get a large number of portal users.
    I've included the VPD package below where we try to extract the
    Portal user acct using the
    portal30.wwctx_api.get_user function
    we also tried the
    WPG_SESSION_PRIVATE.GET_LW_USER function with the same results
    When this PLSQL is executed within a portlet, it seems to return
    the correct information.
    Code:
    CREATE OR REPLACE PACKAGE
    BODY "P_CORPORATE_SECURITY_CONTEXT" as
    function f_company_security (p1 varchar2, p2 varchar2) return
    varchar2 is
    v_predicate VARCHAR2(4000);
    CURSOR cur_company(p_portal_user_name IN
    company_wwsec_person.WWSEC_PERSON_USER_NAME%TYPE) IS
    SELECT decode(rownum,1,to_char(company_id),','||to_char
    (company_id)) company_id
    FROM company_wwsec_person
    WHERE POLICY = '='
    and upper(WWSEC_PERSON_USER_NAME) = upper
    (p_portal_user_name);
    l_portal_user_name varchar2(256);
    l_oracle_user_name varchar2(30);
    l_all_policy_cnt number;
    l_equal_policy_cnt number;
    BEGIN
    l_portal_user_name := portal30.wwctx_api.get_user;
    -- l_portal_user_name := USER; Commented out since we
    want portal user not
    database user.
    select count(*)
    into l_all_policy_cnt
    from company_wwsec_person
    where upper(WWSEC_PERSON_USER_NAME) = upper
    (l_portal_user_name)
    and policy = 'ALL';
    select count(*)
    into l_equal_policy_cnt
    from company_wwsec_person
    where upper(WWSEC_PERSON_USER_NAME) = upper
    (l_portal_user_name)
    and policy = '=';
    IF l_all_policy_cnt = 0 and l_equal_policy_cnt > 0 THEN
    v_predicate := ' company_id in (';
    FOR l_company IN cur_company(l_portal_user_name)
    LOOP
    v_predicate := v_predicate || l_company.company_id;
    END LOOP;
    v_predicate := v_predicate || ')';
    ELSIF l_all_policy_cnt = 0 and l_equal_policy_cnt = 0 THEN
    v_predicate := ' 1=2';
    ELSE
    v_predicate := NULL;
    END IF;
    -- Uncomment to allow access to everything
    -- v_predicate := ' 1=1';
    RETURN v_predicate;
    END;
    END;

    Situation: Trying to implement row level security using VPD for
    applications created in PORTAL. using portal's
    Light weight users.
    Method: Created a fine grain access control policy to build a
    predicate based on a Portal user (not database user).
    1 Get Portal User (proc: portal30.wwctx_api.get_user)
    2 Determine what business rules are setup for this
    Portal User
    3 Based on the above rules, build predicate for the
    Portal User
    Problem: In the first step, not retrieving the Portal user -
    looks to be getting PUBLIC when the code is part of a
    VPD policy. When it is executed on its own, it gets the correct
    information back (ie. The portal user not PUBLIC).
    The idea is that we want to be able to set the VPD policy based
    on the light weight Portal User.
    Oracle Database version 8.1.7
    Oracle iAS 1.0.2.2.0
    There is a work around for this, which is to create a database
    schema for each portal user and then associate the
    Portal account with this database schema. When we do this, we
    get the correct information for use in the VPD policy,
    But we actually look for the Proxy Account (database schema the
    portal user is associated with) and not the portal
    user/session info. This work around in not desirable when we
    get a large number of portal users.
    I've included the VPD package below where we try to extract the
    Portal user acct using the
    portal30.wwctx_api.get_user function
    we also tried the
    WPG_SESSION_PRIVATE.GET_LW_USER function with the same results
    When this PLSQL is executed within a portlet, it seems to return
    the correct information.
    Code:
    CREATE OR REPLACE PACKAGE
    BODY "P_CORPORATE_SECURITY_CONTEXT" as
    function f_company_security (p1 varchar2, p2 varchar2) return
    varchar2 is
    v_predicate VARCHAR2(4000);
    CURSOR cur_company(p_portal_user_name IN
    company_wwsec_person.WWSEC_PERSON_USER_NAME%TYPE) IS
    SELECT decode(rownum,1,to_char(company_id),','||to_char
    (company_id)) company_id
    FROM company_wwsec_person
    WHERE POLICY = '='
    and upper(WWSEC_PERSON_USER_NAME) = upper
    (p_portal_user_name);
    l_portal_user_name varchar2(256);
    l_oracle_user_name varchar2(30);
    l_all_policy_cnt number;
    l_equal_policy_cnt number;
    BEGIN
    l_portal_user_name := portal30.wwctx_api.get_user;
    -- l_portal_user_name := USER; Commented out since we
    want portal user not
    database user.
    select count(*)
    into l_all_policy_cnt
    from company_wwsec_person
    where upper(WWSEC_PERSON_USER_NAME) = upper
    (l_portal_user_name)
    and policy = 'ALL';
    select count(*)
    into l_equal_policy_cnt
    from company_wwsec_person
    where upper(WWSEC_PERSON_USER_NAME) = upper
    (l_portal_user_name)
    and policy = '=';
    IF l_all_policy_cnt = 0 and l_equal_policy_cnt > 0 THEN
    v_predicate := ' company_id in (';
    FOR l_company IN cur_company(l_portal_user_name)
    LOOP
    v_predicate := v_predicate || l_company.company_id;
    END LOOP;
    v_predicate := v_predicate || ')';
    ELSIF l_all_policy_cnt = 0 and l_equal_policy_cnt = 0 THEN
    v_predicate := ' 1=2';
    ELSE
    v_predicate := NULL;
    END IF;
    -- Uncomment to allow access to everything
    -- v_predicate := ' 1=1';
    RETURN v_predicate;
    END;
    END;

  • Implement row-level security using Oracleu2019s Virtual Private Databases (VPD)

    Environment: Business Objects XI R2; Oracle 10g
    Functional Requirement:
    Implement row-level security using Oracleu2019s Virtual Private Databases (VPD) technology. The restriction is that the Business Objects Universe connection should use a generic/u201Capplicationu201D database user account. This will allow the organization to avoid the situation where the Business Objects password and the Oracle password need to be kept in synch.
    What do we need from the Business Objects support team?
    1.     Review the 2 attempted solutions that we have tried to implement
    2.     Propose solutions/answers to open questions for each of the attempted solutions
    3.     Propose any alternate solution that will help us implement the Function Requirement stated above
    Attempted Solution 1: Connection String uses Oracle Proxy User
    The connection string that is specified in the Universe is the following:
    app_user[end_user]/app_user_pwdarrobaDatabase.WORLD
    app_user = generic application user
    end_user = the oracle account of the end user which is set using arrobaVariable('BOUSER') app_user_pwd = password of the generic application user
    We have tried and implemented this in our test environment. However, we have some questions and concerns around how the connections are reused in a connection pool environment.
    Open Question for Solution 1:
    i. What happens when multiple proxy users try to connect on at the same time?  Business Objects shares the generic app_user connect string.  However, every user that logs on will have their own unique proxy user credentials.  Will there be any contention involved?  If so, what kind of errors can we expect?
    ii. If a user logs on using his credentials (proxy user), and business objects opens up a connection to the database using that user's credentials (as the proxy user but logging in through the generic app user). Then the user exits out --> based on our test today, it seems like the database connection remains open.  In that case, if another user logs on similarly with their credentials, will business objects simply assign the first users connection to that second user?  If so, then our security will not work.  Is there a way that Business Objects can somehow ensure that everytime we close a report, the connection is also terminated both at the BO and DB levels?
    iii. Our 3rd question is general high level -> How connection pooling works in general and how it is implemented in BO, i.e. how are new connections assigned, how are they recycled, how are they closed, etc.
    Attempted Solution 2: Using the ConnectInit parameter
    Reading through a couple of the Business Objects documents, it states that u201CUsing the ConnectInit parameter it is possible to send commands to the database when opening the session which can be used to set database specific parameters used for optimization.u201D
    Therefore, we tried to set the parameter in the Universe using several different options:
    ConnectInit = BEGIN SYSTEM.prc_logon('arrobaVARIABLE('BOUSER')'); COMMIT; END; ConnectInit = BEGIN DBMS_SESSION.SET_IDENTIFIER('arrobaVariable('BOUSER')'); COMMIT; END;
    Neither of the above iterations or any variation of that seemed to work. It seems that the variable is not being set or being u201Cexecutedu201D on the database.
    One of the Business Objects documents had stated that Patch ID 38, 977, 350 must be installed in our BO environments. We have verified that this patch has been applied on our system.
    Open Questions for Solution 2:
    How do we get the parameter ConnectInit to work? i.e. what is the proper syntax to enter and what other things do we need to check to get this to work.
    Note: Arroba word is being used instead of the symbol in order to avoid following error message:
    We are sorry but your message can not be posted since you have included an email address. Please remove the email address and re-post.

    the connectinit setting should look something like this:
    declare a date; begin vpd_setup('@VARIABLE('BOUSER')'); Commit; end;
    The vpd_setup procedure (in Oracle) should look like this:
    CREATE OR REPLACE procedure vpd_setup (p_user varchar)IS
    BEGIN
      DBMS_SESSION.set_vpd( 'SESSION_VALUES', 'USERID', p_user );
    END vpd_setup;
    Then you can retrieve the value of the context variable in your vpd functions
    and set the vpd.

  • Using VPD (Virtual Private Database) with Discoverer for Dummies

    Firstly could you please excuse me for the title of the thread, but it’s all I could come up with. For those of you who are looking at me with a strange look of disgust, please view thread that started it all: BIS vs DBI vs Noetix .
    Otherwise I’m hoping to gain a greater understanding of how VPD can be used to enhance Discoverer and it’s performance. I've just read that :
    “Oracle 8i introduced the notion of a Virtual Private Database (VPD). A VPD offers Fine-Grained Access Control (FGAC) for secure separation of data. This ensures that users only have access to data that pertains to them. Using this option, one could even store multiple companies' data within the same schema, without them knowing about it.
    VPD configuration is done via the DBMS_RLS (Row Level Security) package. Select from SYS.V$VPD_POLICY to see existing VPD configuration.”
    With Regards to Discoverer, I would like to ask the following:
    -When would be best to use VPD in Discoverer?
    -Pro’s and Con’s of VPD?
    -Tips / Tricks?
    -and anything else Michael would like to add (I don’t believe there is a post limit, although this could change in the future)
    I've found a few handy links:
    http://www.adp-gmbh.ch/ora/security/vpd/index.html
    http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_security.html
    As Metalink support would say : I Looking forward to your ‘Positive’ comments. ;-)
    Lance

    Lance,
    You sure do raise some interesting questions here.
    I've noticed from some of your previous posts that you are using views to link Discoverer through to apps. I have found this very interesting document that may help with your queries; http://www.oracle.com/technology/deploy/security/oracle9ir2/pdf/VPD9ir2twp.pdf
    If you scroll down to the section "Additional VPD Capabilities" and read the following sub-topics, this might enable you to base your Discoverer reports on views that contain VPD policies.
    I trust "My Positive Comment" may help!!
    Merry Christmas
    Si ;-)
    P.s This also may come in handy if running 10g http://www.stanford.edu/dept/itss/docs/oracle/10g/network.101/b10773/apdvpoli.htm
    Message was edited by:
    Simon Pittaway

  • Error executing a query using VPD and BC4J

    Hi all,
    Our team is developing an application using an Oracle DB 9.2.0.4 and BC4J 10g (9.0.5.16.0) as persistence layer.
    We also are using the VPD (virtual private database) to have security in the database at row level.
    The problem we are facing is that every some time (days) we get a jdbc error when a query (see below) that uses VPD policies is executed. Once the error occurs I execute it from sqlplus without getting any error .. it only occurs from our java application.
    To temporary solve this problem, we delete and recreate the VPD policies, then the application continue working fine for some time ...
    I'll appreciate any comment / suggestions
    Thank in advance.
    Eduardo.
    ERROR LOG:
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT CalLocation.ID,
    CalLocation.CODE, eo
    CalLocation.NAME,
    CalLocation.ZIP,
    CalLocation.PHONE,
    CalLocation.FAX,
    CalLocation.ADDRESS1,
    CalLocation.ADDRESS2,
    CalLocation.URL,
    CalLocation.OWNER,
    CalLocation.CTY_ID,
    CalLocation.DESCRIPTION,
    ORefCity.CODE CTY_CODE,
    ORefCountry.ID CTR_ID,
    ORefCountry.CODE CTR_CODE,
    ORefRegion.ID REG_ID,
    ORefRegion.CODE REG_CODE
    FROM CAL_LOCATIONS CalLocation,
    OREF_CITIES ORefCity,
    OREF_COUNTRIES ORefCountry,
    OREF_REGIONS ORefRegion
    WHERE ORefCity.ID = CalLocation.CTY_ID
    and ORefCountry.ID = ORefCity.CTR_ID
    and ORefRegion.ID = ORefCountry.REG_ID) QRSLT WHERE ( ( (CTY_ID = 867) ) )
    ## Detail 0 ##
    java.sql.SQLException: Io exception: Broken pipe
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
         at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:717)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2605)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:387)

    The symptoms we have been getting are quite similar to the bug 3662364 .
    I'm going to implement the patch for that bug and see what happend then.
    Thank you very much for your help.
    Regards,
    Eduardo.

  • PreparedStatement error using VPD

    Hi all,
    Our team is developing an application using an Oracle DB 9.2.0.4 and BC4J 10g (9.0.5.16.0) as persistence layer.
    We also are using the VPD (virtual private database) to have security in the database at row level.
    The problem we are facing is that every some time (days) we get a jdbc error when a query (see below) that uses VPD policies is executed. Once the error occurs I execute it from sqlplus without getting any error .. it only occurs from our java application.
    To temporary solve this problem, we delete and recreate the VPD policies, then the application continue working fine for some time ...
    I'll appreciate any comment / suggestions
    Thank in advance.
    Eduardo.
    ERROR LOG:
    oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT CalLocation.ID,
    CalLocation.CODE, eo
    CalLocation.NAME,
    CalLocation.ZIP,
    CalLocation.PHONE,
    CalLocation.FAX,
    CalLocation.ADDRESS1,
    CalLocation.ADDRESS2,
    CalLocation.URL,
    CalLocation.OWNER,
    CalLocation.CTY_ID,
    CalLocation.DESCRIPTION,
    ORefCity.CODE CTY_CODE,
    ORefCountry.ID CTR_ID,
    ORefCountry.CODE CTR_CODE,
    ORefRegion.ID REG_ID,
    ORefRegion.CODE REG_CODE
    FROM CAL_LOCATIONS CalLocation,
    OREF_CITIES ORefCity,
    OREF_COUNTRIES ORefCountry,
    OREF_REGIONS ORefRegion
    WHERE ORefCity.ID = CalLocation.CTY_ID
    and ORefCountry.ID = ORefCity.CTR_ID
    and ORefRegion.ID = ORefCountry.REG_ID) QRSLT WHERE ( ( (CTY_ID = 867) ) )
    ## Detail 0 ##
    java.sql.SQLException: Io exception: Broken pipe
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:231)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:345)
         at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:717)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2605)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:387)

    It seems to be related to the bug 3662364 .
    Regards,
    Eduardo.

  • Label security on VPD?

    I have a question on label security.(i am new in Oracle security area)
    The 9i Label Security is built on VPD(virtual private database). Does this means you have to set up VPD before you use the Label Security?
    I am trying to run the Label Security demo/sample(in ALlSchema.zip), and I saw the tables has DN field which is used in VPD demo. I guess if i want to use Lable security i have to use VPD too, but it is not metioned in the demo/sample that the VPD is required.
    Thanks in advance for any help.
    Tim

    label security automatically sets up VPD. you should not need to worry about how label security is implemented.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by [email protected]:
    I have a question on label security.(i am new in Oracle security area)
    The 9i Label Security is built on VPD(virtual private database). Does this means you have to set up VPD before you use the Label Security?
    I am trying to run the Label Security demo/sample(in ALlSchema.zip), and I saw the tables has DN field which is used in VPD demo. I guess if i want to use Lable security i have to use VPD too, but it is not metioned in the demo/sample that the VPD is required.
    Thanks in advance for any help.
    Tim<HR></BLOCKQUOTE>
    null

  • About Leveraging database security with JPA...

    I've googled the web but haven't find anything about considering the security as an aspect of the development with JPA and TopLink Essentials as you can integrate VPD with Toplink... http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm
    What would be the best way to :
    1- Track user's specific behavior
    2- Implement Fine Grained access control
    from the database...
    Even if it's not in the spec... What do you think could be a design pattern to leverage the Oracle database features ?
    Best Regards,
    -Gregory

    Gregory,
    Using VPD with an ORM solution involves two pieces of functionality:
    1. An isolated cache so that entities read from a table using VPD cannot accidentally be accessed by other application threads. TopLink Essentials does support this through is JPA extensions:
    http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html
    2. An approach for configuring the user credentials in the connections. Oracle TopLink provides exclusive connections with event call-backs for this as well as proxy authentication support. We do not currently support these options within TopLink Essentials.
    To address #2 using JPA and TopLink Essentials I would need to know more about your architecture. Assuming you are using JPA in EE with session beans and JTA transactions then you could lookup the JDBC connection directly from container within your transaction (prior to your first query requiring JPA) and invoke your VPD user config stored procedure.
    If you would like to work through the specifics of your requirements and then post the final solution back here you can contact me directly: douglas.clarke at oracle.com.
    Doug

  • Configuring Database Security Store is failing

    Guys,
    I am trying to configure Database Security Store while installing 11gR2 (OIM, OAM, SOA) and wlst.sh script is failing. Here is the format I am giving.
    $MW_HOME/oracle_common/common/bin/wlst.sh $ORACLE_HOME/common/tools/configureSecurityStore.py -d $IAM_DOMAIN_LOCATION -m create -c IAM -p $ORA_PASS
    Here is the error message i am getting.
    Problem invoking WLST - Traceback (innermost last):
    File "/apps/Oracle/Middleware/Oracle_IDM1/common/tools/configureSecurityStore.py ", line 15, in ?
    ImportError: no module named security
    Please let me know how to resolve this issue.
    PS: I created a new domain with 7002 for OIM, OAM & SOA as 7001 is being used by OID domain. And trying to run the above command with 7002 domain name and getting this error.

    This is a bug.
    Run a search for wlst.sh in your environment and call the wlst.sh from oracle_common/common/bin not from wl_server/common/bin.
    You can look for this (Doc ID 1493576.1) in Oracle support.
    Thanks,
    Ram

  • Assigning role to role doesn't work when applying Database security model

    I applied Oracle Database security model for BI Publisher.
    then I create some roles and users and assigned roles to users in Oracle Database.
    i also assigned appropriate folders to each role in BI Publisher.
    the users with direct roles worked successfully but i got problem when i assigned roles to a super role, and assigned this role to a super user.
    the super user could only access guest folder.
    Please help me.
    thanks.
    Daniel
    Edited by: user13344498 on Jul 5, 2010 11:13 PM

    Add a Role to a Role:
    1. From the Security Center, select Roles and Permissions; this will invoke the
    Security Center page. Here you can see the list of existing roles and permissions.
    2. Select the Add Roles icon for the Role.
    3. Select the desired role from the Available Roles list and use the Move shuttle
    button to move it to the Included Roles.
    this is from "Oracle® Business Intelligence Publisher User's Guide Release 10.1.3.2 Part No. B40017-01" book, but the security model is BI Publisher Security.

  • Lync 2013 Error 31055 ,31059 LS Call Park Service, The database being used by Group Pickup is not the appropriate version and There was a problem communicating with the Group Pickup backend database.

    Hello
    I have Lync 2013 and 2010  , still i didn't finish my migration completely from 2010 to 2013 .this  is  coexistence environment that contains both Lync Server 2010 and Lync Server 2013 .
    There was no error's in my lync 2013 front end and back end server's and every thing was fine, yesterday I installed windows updated AND CU for my lync 2013  front end and backend server's .
    later on after restarting both the front end and the back end server's i start having hundred's of  these error's related to "LS Call Park Service".
    so any advice for these issue ? and what is the effect for these error .
    below is the error I got .
    The database being used by Group Pickup is not the appropriate version.
    The database is not the correct version:
    Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
    Expected... SchemaVersion: 1, SprocVersion: 1, UpgradeVersion: 2
    Actual...   SchemaVersion: 0, SprocVersion: 0, UpgradeVersion: 0
    Cause: The database has not been upgraded.
    Resolution:
    Upgrade the database to CU1.
    ==============================================================
    There was a problem communicating with the Group Pickup backend database.
    There were problems accessing SQL server:
    Connection: Data Source=HQ-LYNC2013-BE.aaaaaaaaaaaaaaaaaaaaaaaaaa\rtc;Initial Catalog=cpsdyn;Integrated Security=True
    Message: The EXECUTE permission was denied on the object 'DbpGetVersionSchema', database 'cpsdyn', schema 'dbo'.
    Error code: -2146232060
    Error number: 229
    Cause: This may be caused by connectivity issues with the backend database.
    Resolution:
    Check if SQL backend is running and accepts connections from Group Pickup.
    =============================================================================
    Kind Regards
    MK

    Hello
    thanks Holger for u r replay .
    due to the Microsoft article about the cu :
    I run only :
    Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn FEBE.FQDN -Verbose
    Note In a coexistence environment that contains both Lync Server 2010 and Lync Server 2013 and in which the Central Management Service is located on a Lync Server 2010 pool, do not run the
    Install-CsDatabase -CentralManagementDatabase command. If you later move the Central Management Service to a Lync Server 2013 pool, you have to run the
    Install-CsDatabase -CentralManagementDatabase command to apply the changes.
    here is what I get on my power shell after i run the command : "WARNING: Warning: Failed to execute batch --"
    PS C:\Users\MK> Install-CsDatabase -ConfiguredDatabases -SqlServerFqdn HQ-LYNC2013-BE.MyDomain -Verbose
    VERBOSE: Creating new log file
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.xml".
    VERBOSE: Install databases required by Lync Server role(s).
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcxds.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcab.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsconfig.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsdyn.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database cpsdyn.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsLog.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsCDR.
    VERBOSE: Assigning "BackendStore:BlobStore:LogPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:RtcSharedDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ArchivingStore:ArchivingDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:MonitoringDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "MonitoringStore:QoEMetricsDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ABSStore:AbsDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:LogPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:BlobStore:DbPath" to F:\CsData
    VERBOSE: Assigning "BackendStore:RtcSharedDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ABSStore:AbsDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsConfigDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:RgsDynDatabase:DbPath" to F:\CsData
    VERBOSE: Assigning "ApplicationStore:CpsDynDatabase:DbPath" to F:\CsData
    VERBOSE: Installing "BackendStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.BlobStore'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcxds.
    Checking state for database rtcxds.
    State of database rtcxds is DbState_RequiresMinorUpgrade.
    Database rtcxds set to mode Restricted.
    Dropping all procedures, functions and views from database rtcxds.
    Executing RtcDb.sql...
    Adding master role...
    Setting owner for database rtcxds to sa.
    Creating login MyDomain\RTCHSUniversalServices.
    Creating user MyDomain\RTCHSUniversalServices.
    Creating Schema MyDomain\RTCHSUniversalServices.
    Creating login MyDomain\RTCUniversalReadOnlyAdmins.
    Creating user MyDomain\RTCUniversalReadOnlyAdmins.
    Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
    Creating login MyDomain\RTCUniversalServerAdmins.
    Creating user MyDomain\RTCUniversalServerAdmins.
    Creating Schema MyDomain\RTCUniversalServerAdmins.
    Adding account MyDomain\RTCHSUniversalServices to role ConsumerRole.
    Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ConsumerRole.
    Adding account MyDomain\RTCHSUniversalServices to role ReplicatorRole.
    Adding account MyDomain\RTCHSUniversalServices to role PublisherRole.
    Adding account MyDomain\RTCUniversalServerAdmins to role PublisherRole.
    Setting database version: Schema Version 15, Sproc Version 13, Update Version 2.
    Setting the database rtcxds to multi user mode.
    Database rtcxds is set to multi user mode.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RtcSharedDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcshared.
    Database created by script "RtcSharedDatabase" already exists and is current.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-BackendStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_01].log"
    VERBOSE: Installing "ABSStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.AbsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rtcab.
    Checking state for database rtcab.
    State of database rtcab is DbState_RequiresMinorUpgrade.
    Database rtcab set to mode Restricted.
    Dropping all procedures, functions and views from database rtcab.
    Executing RtcAbTypes.sql...
    WARNING: Warning: Failed to execute batch --
    -- Copyright (c) Microsoft Corporation. All rights reserved.
    exec sp_addrole N'ServerRole'.
    Executing RtcAbDb.sql...
    Setting owner for database rtcab to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Setting database version: Schema Version 62, Sproc Version 42, Update Version 3.
    Setting the database rtcab to multi user mode.
    Database rtcab is set to multi user mode.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ABSStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_20].log"
    VERBOSE: Installing "ApplicationStore" on HQ-LYNC2013-BE.MyDomain\rtc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsConfigDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsconfig.
    Database created by script "RgsConfigDatabase" already exists and is current.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.RgsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database rgsdyn.
    Database created by script "RgsDynDatabase" already exists and is current.
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.CpsDynDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\rtc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database cpsdyn.
    Checking state for database cpsdyn.
    State of database cpsdyn is DbState_RequiresMinorUpgrade.
    Database cpsdyn set to mode Restricted.
    Dropping all procedures, functions and views from database cpsdyn.
    Executing CpsDyn.sql...
    Setting owner for database cpsdyn to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Creating login MyDomain\RTCUniversalReadOnlyAdmins.
    Creating user MyDomain\RTCUniversalReadOnlyAdmins.
    Creating Schema MyDomain\RTCUniversalReadOnlyAdmins.
    Creating login MyDomain\RTCUniversalServerAdmins.
    Creating user MyDomain\RTCUniversalServerAdmins.
    Creating Schema MyDomain\RTCUniversalServerAdmins.
    Adding account MyDomain\RTCComponentUniversalServices to role ReadWriteRole.
    Adding account MyDomain\RTCUniversalServerAdmins to role ReadWriteRole.
    Adding account MyDomain\RTCUniversalReadOnlyAdmins to role ReadOnlyRole.
    Setting database version: Schema Version 1, Sproc Version 1, Update Version 2.
    Setting the database cpsdyn to multi user mode.
    Database cpsdyn is set to multi user mode.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ApplicationStore-HQ-LYNC2013-BE.MyDomain_rtc-[2014_11_13][14_35_37].log"
    VERBOSE: Installing "ArchivingStore" on HQ-LYNC2013-BE.MyDomain\arc, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.ArchivingDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\arc. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsLog.
    Database created by script "ArchivingDatabase" already exists and is current.
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-ArchivingStore-HQ-LYNC2013-BE.MyDomain_arc-[2014_11_13][14_35_51].log"
    VERBOSE: Installing "MonitoringStore" on HQ-LYNC2013-BE.MyDomain\mon, collocated: False
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.MonitoringDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database LcsCDR.
    Checking state for database LcsCDR.
    Checking state for database LcsCDR.
    State of database LcsCDR is DbState_RequiresMinorUpgrade.
    WARNING: The database LcsCDR being updated has data file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\LcsCDR.mdf. Supplied path will be ignored.
    WARNING: The database LcsCDR being updated has log file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\LcsCDR.ldf. Supplied path will be ignored.
    Database LcsCDR set to mode Restricted.
    Dropping all procedures, functions and views from database LcsCDR.
    Executing CdrDb.sql...
    Setting owner for database LcsCDR to sa.
    Creating login MyDomain\CSAdministrator.
    Creating user MyDomain\CSAdministrator.
    Creating Schema MyDomain\CSAdministrator.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Adding account MyDomain\RTCComponentUniversalServices to role ReportsReadOnlyRole.
    Adding account MyDomain\CSAdministrator to role ReportsReadOnlyRole.
    Setting database version: Schema Version 39, Sproc Version 82, Update Version 2.
    Setting the database LcsCDR to multi user mode.
    Database LcsCDR is set to multi user mode.
    SQL Server Agent is running and its start mode was detected as Auto.
    Executing CdrJobs.sql...
    ****Creating DbSetupInstance for 'Microsoft.Rtc.Common.Data.QoEMetricsDatabase'****
    Trying to connect to Sql Server HQ-LYNC2013-BE.MyDomain\mon. using windows authentication...
    Sql version: Major: 11, Minor: 0, Build 5058.
    Sql version is acceptable.
    Checking state for database QoEMetrics.
    Checking state for database QoEMetrics.
    Checking state for database QoEMetrics.
    State of database QoEMetrics is DbState_RequiresMinorUpgrade.
    WARNING: The database QoEMetrics being updated has data file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\DbPath\QoEMetrics.mdf. Supplied path will be ignored.
    WARNING: The database QoEMetrics being updated has log file path at
    \\HQ-LYNC2013-BE.MyDomain\C$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf and supplied data file path is
    \\HQ-LYNC2013-BE.MyDomain\F$\CsData\MonitoringStore\mon\LogPath\QoEMetrics.ldf. Supplied path will be ignored.
    Database QoEMetrics set to mode Restricted.
    Dropping all procedures, functions and views from database QoEMetrics.
    Executing QoEDb.sql...
    Setting owner for database QoEMetrics to sa.
    Creating login MyDomain\RTCComponentUniversalServices.
    Creating user MyDomain\RTCComponentUniversalServices.
    Creating Schema MyDomain\RTCComponentUniversalServices.
    Adding account MyDomain\RTCComponentUniversalServices to role ServerRole.
    Setting database version: Schema Version 62, Sproc Version 90, Update Version 1.
    Setting the database QoEMetrics to multi user mode.
    Database QoEMetrics is set to multi user mode.
    SQL Server Agent is running and its start mode was detected as Auto.
    Executing QoEJobs.sql...
    VERBOSE: Successfully installed the database. For details, see the following log:
    "C:\Users\MK\AppData\Local\Temp\2\Create-MonitoringStore-HQ-LYNC2013-BE.MyDomain_mon-[2014_11_13][14_35_51].log"
    VERBOSE: No changes were made to the Central Management Store.
    VERBOSE: Creating new log file
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
    WARNING: "Install-CsDatabase" processing has completed with warnings. "5" warnings were recorded during this run.
    WARNING: Detailed results can be found at
    "C:\Users\MK\AppData\Local\Temp\2\Install-CsDatabase-82d6613c-f2e3-47e6-8fc4-8f75d2efe6e4.html".
    PS C:\Users\MK>
    I hope some one can confirm no issue with what I did ??
    Kind Regards
    MK

  • Web form and database security risk

    I'd like to develop an Oracle Form or APEX Form where people don't have to login to use it. Like a registration form on our website, where anyone can fill it out. Ideally, the information entered into the form would be saved to an Oracle table (could use a flat file if database security is an issue). I'm a developer and don't know a lot about the security side.
    I'm thinking we would need a static IP address and an Oracle public password that doesn't expire, since the public doesn't have to login to use the form.
    Is this possible and is it a database or network security risk ?

    An APEX page can certainly be configured to not require authentication (that's pretty standard for the login/ registration page). There is no need for an "Oracle public password." There are accounts in the Oracle database that APEX uses but that no human needs to know the password for. If that's what you mean by "Oracle public password" then, yes, you do. But that would be the case no matter what authentication and authorization scheme you use in APEX.
    A static IP address for your web server is likely a good idea. It's possible to have DNS work with dynamic IP addresses but that's probably not what you want.
    Justin

  • Database creation using ant/maven/liqubase

    Dear ALL:
    I am creating the database instance using the ant/maven scripts and following are the things I tried but some how it is not creating the database.
    I have installed the 64bit oracle 11gR2 on windows 7 and configured the default database (ORCL). after installation I opened up the command prompt and tried sqlplus and it get connected and I can see the tables. However when I tries to do it using the build script it fails. Following are few things I tried out.
    I plan to created 'orcl as the database with sid=orclusing the ant command 'ant -Denv=dev clean create-db -d' but it failed saying orcl is already running and you need to shut down it and I think it is expected because I am creating the database named orcl which is already created. Then I changed database name to dms and sid=dms then it throws error that you cant connect to the server with following error.
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Jan 12 16:17:11 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0640: Not connected
    ORA-12560: TNS:protocol adapter error
    more information about listener: the output of - lsnrctl stat
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 12-JAN-2011 16:18:04
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date 12-JAN-2011 16:16:51
    Uptime 0 days 0 hr. 1 min. 13 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\oracle\santosh\product\11.2.0\dbhome_1\network\admin\listener.ora
    Listener Log File c:\oracle\santosh\diag\tnslsnr\unknown\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 2 handler(s) for this service...
    Service "qc_dms" has 1 instance(s).
    Instance "qcdms", status READY, has 1 handler(s) for this service...
    Service "qcdmsXDB" has 1 instance(s).
    Instance "qcdms", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Can someone help me out ? how ever the same thing is working fine on the oracle virtual box running on ubuntu 10.04.
    thank,
    Santosh

    I didnt used ORADIM in the script. here is the script that I am using .
    <target name="create-db-oracle"     >
              <echo>creating database ([${database.name}])</echo>
              <exec dir="${target.script.dir}" executable="sqlplus" output="${target.log.dir}/create-db.log" failonerror="true">
                   <arg line="/nolog @create-db_${database.flavor}.sql" />
              </exec>
    </target>
    with following connection properties
    <properties>
              <db.version>1.0</db.version>
              <liquibase.remote.db.prompt>true</liquibase.remote.db.prompt>
              <db.migrate>all</db.migrate>
              <database.driver>oracle.jdbc.driver.OracleDriver</database.driver>
              <database.url>jdbc:oracle:thin:@${database.host}:${database.port}/${database.name}</database.url>
              <database.user>santosh</database.user>
              <database.schema.user>project</database.schema.user>
              <database.admin.user>system</database.admin.user>
              <database.flavor>oracle-11g</database.flavor>
              <database.name>dcm</database.name>
         </properties>
    <properties>
         <database.host>localhost</database.host>
    <database.port>1521</database.port>
         <database.password>A_Pass123</database.password>
         <database.schema.password>projectpassword</database.schema.password>
         <database.admin.password>oracle#</database.admin.password>
    </properties>
    Edited by: user548284 on Jan 12, 2011 5:56 PM

Maybe you are looking for

  • Transfer of files between g5 and mac book pro

    how can i transfer files between 2 computers with a firewire cable. i can transfer the files with my network (ethernet and wlan), but i think fire wire 800

  • Problem with PrintWriter...HELP URGENT !!!

    I am sending a String to the server using PrintWriter object.It is throwing NullPointer Exception while i try to,can u please help. out.println(loginCommand); ///error occurs here out.flush(); Please if someone can help.

  • Select value based on a value in a 2nd column (similar to vlookup)

    Hello all, Is there an alternative to VLOOKUP function in BI 11g? Or what else I can use to return value of 3rd column based on the value in 2nd column? Dept Min_Expense Description of Expense Acct 1000 'COGS' Thank you.

  • Buying MIcrosoft Office for new iBook

    Hello, I don't know if this is the right place for this question, but I couldn't find anywhere else to ask it. I just got a new G4 iBook (haven't even booted it up yet!), and I want to get started on the right foot. (My G3 iBook's hard drive is clutt

  • Format WLC-5508 Flash and IOS recovery guide

    Dear Support Cummunity, i have a WLC-5508 where by i am unable to join any kind of AIR-LAP1x00 Access-Points. They can't join in the local management ip of the controller within same L2 or via routed network thereby using the APs CLi by "lwapp ap con