Restrict closing of databases by srvctl never belonged not to the user.

Hello
I have a question concerning the closing of RAC databases. My DEV env is a 2-node RAC cluster. I have three databases running on these two nodes. The structure is as follows.

A: one owner data (2 node rac)
owner b: B (2 node rac) database
owner c: c (2 node rac) of the database

Logged in as owner has, using srvctl I can stop databases B and C. I was wondering if there is a way to disable this process. Only the owner should be able to stop the database, IE owner should be able to close A database or a database B and C and the same for all users.

Is there a way we can restrict it?

Thank you
REDA

probably they share the same primary or secondary groups.

Check these and Add/Remove of these groups:

$ id one

$ id b

$ id c

Mustafa DOGANAY

Tags: Database

Similar Questions

  • What opening of database Service of Cloud Computing console receiveing "the user role cannot access the Cloud database Service" message and see no service. Why?

    What opening of database Service of Cloud Computing console receiveing "the user role cannot access the Cloud database Service" message and see no service. Why?

    Thank you in advance.

    Try now

  • Multiple applications editing the database unique but JPA will not reflect the changes

    Hi all

    I have a very bad some problem. I have a database which is access by multiple applications. And in an application (web), I use JPA. Everything worked well until now.

    But recently I had to create another application (standalone) that access the same database and do editing/updates to date.

    My problem is, these updates does not request for web (JPA). I use a named query to search for files. Even updates are here jpa does not show these updates until I restart the glassfish server.

    I tried many suggestions as game cache and nothing has helped me. So I post this question.

    My code
    // Search operation looks like following
    EntityManager entityManager = Persistence.createEntityManagerFactory("ModelPU");
            
    EntityTransaction entityTransaction = entityManager.getTransaction();
    
    entityTransaction.begin();
    Query queryPatientNotifications = entityManager.createNamedQuery("Course.getAllNotifications");
    
    queryPatientNotifications.setParameter("cId", id);
    
    Course course = (Course) queryPatientNotifications.getResultList().get(0);
                
    List<CourseSMSNotification> allNotifications = course.getNotifications();
    
    System.out.println("Not Size :" + allNotifications.size()); // PROBLEM : print 0 even there are records in database
    Persistence unit
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
      <persistence-unit name="CosmicTBModelPU" transaction-type="RESOURCE_LOCAL">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <class>org.cosmic.tb.mode.entity.TBCourse</class>
        <properties>
          <property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/DB_TB"/>
          <property name="javax.persistence.jdbc.password" value=""/>
          <property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver"/>
          <property name="javax.persistence.jdbc.user" value="root"/>
        </properties>
      </persistence-unit>
    </persistence>
    Can someone help me with this please?

    Thank you
    ~ Pablo

    It is a way to much. Toplink/EclipseLink uses a shared cache that exist at the level of the plant described here:
    http://wiki.Eclipse.org/EclipseLink/examples/JPA/caching

    This is for performance and is optimal when there is only one application to access the data. Depending on how often or the calendar of other applications when making changes, you can disable the shared cache outright, or set the cache to be invalidated at specific times, as appropriate.

    Best regards
    Chris

  • page appeared on closing my browser stating that I do not have the latest version, it uses the version 30 may be phishing scam

    See above

    It sounds like phishing. This happens every time, or he could have one pop - under page to a random site that does not necessarily indicate something lingering on your computer?

    One of your extensions was said to be often bundled with other software, so you can check the Control Panel, add/remove programs to see if something unexpected is. Click on the column heading "installed on" group by date, which is useful to identify the bundle items.

    If you find other strange symptoms, see our article on support for suggested scanning/cleaning tools: Troubleshooting Firefox problems caused by malware.

  • Privilege system to create constraints on the Tables belong not to the

    I'm a user of the application who must create and then drop a check constraint on a table that is partitioned in another schema. The code is generic, and the name or the table owner is not known in advance.

    The user of the application has the ALTER ANY TABLE system privilege granted via a role, and also has "all THE ' table privileges on the table, THE DML privs, SELECT, REFERENCES etc. - also through roles. The user of the application has a synonym private for the data table.

    The command I use is:

    ALTER TABLE any_table
    ADD CONSTRAINT generated_name
    CHECK (CASE WHEN BUSINESS_DATE = TO_DATE('20121130','YYYYMMDD') AND = 6 AND PROCESSING_LOCATION = "CAP" RUN_ID THEN 1 OTHER 2 END = 2);

    It fails with:

    ORA-00942: table or view does not exist

    The user of the application can query the table very well and even modify it to partition exchange using a similar code. I tried the table name and the name of constraint qualification with the owner of the schema; calling the makes table name no difference, by qualifying the name of the constraint is not allowed. I changed the body of the constraint to a simple condition - it predictable made no difference.

    I would appreciate your help and your suggestions.

    Has nothing to do with privileges. ALTER TABLE requires the name of the table. Synonym will not fly. Use:

    ALTER TABLE table_owner.table_name
    ADD CONSTRAINT generated_name
    CHECK( CASE WHEN BUSINESS_DATE = TO_DATE('20121130','YYYYMMDD') AND RUN_ID = 6 AND PROCESSING_LOCATION = 'PAC' THEN 1 ELSE 2 END = 2);
    

    SY.

  • Vault to Oracle set up rules to restrict the user and the type of application that can connect

    Oracle 11 g 2 (11.2.0.4.3)

    RHEL 6

    Hi all

    We are experiencing a few problems to configure the following condition:

    Users A, B, and C will not be able to connect via SQLPLUS.

    So I took note of the political examples on how to Set Up database Vault (Doc ID 972477.1() -section restrict access to the database (sqlplus) unwanted tools:

    However, it doesn't evaluate the rule in the rule set correctly. The rule set is as follows:

    DVF. F$ MODULE! = ' SQL * MORE AND DVF. F$ SESSION_USER NOT IN ("USERA", "USERB", "USERC")

    This rule allows all users to connect except those defined in the rule. And it applies also to the developer SQL (and all other connections). If I change to be 'IN' he also allows users in the list, but no one else. In addition, somewhere I think it evaluates it as "OR" rather than "AND". What I want to do is:

    IF user IN ("USERA", "USERB", "USERC") AND SYS_CONTEXT ('USERENV', 'MODULE') = ' SQL * MORE

    SO, do not allow the user to connect.

    Note: The factor (MODULE) has been created by me and her expression is SYS_CONTEXT('USERENV','MODULE')

    Any help on this would be greatly appreciated.

    I tested these rules and they work:

    (1) ((upper (sys_context ('userenv', 'module')) like '%%') and (not in sys_context ('userenv', 'session_user') ('A', 'B'))) or ((upper (sys_context ('userenv', 'module')) like ' % %') and DEVELOPER (not in sys_context ('userenv', 'session_user') ('A', 'B'))))

    (2) ((upper (sys_context ('userenv', 'module')) not like ' %PLUS%')) or ((upper (sys_context ('userenv', 'module')) not like ' % DEVELOPER %'))))))

    I'm blocking users A and B to connect from SQL * more and SQL Developer

    -set the rule defined for all THE TRUE evaluation

  • How to display the user name for database connection using dreamweaver? [was: help]

    connect display mode database using dreamweaver user name

    LionelLionel wrote:

    OK, sorry 4 that; I use dreamweavercs6 and the script server is php.i as accurate must I set up a server (wampserver) local on my laptop for this level of competence of project.my with scripts php is very limited. and now, after you have created the database (in phpmyadmin), I want to display the user name of the user after login... I need help please.thx

    You want to display it where? On the login page of "success"?

    Add the below to each top of the page:

    Then add the following in the code where you want the ' user name to appear:

  • Validate the user connected to the database or not

    Hi all

    I am looking of the view or table to see if the user were connected to the database once the user has been created with all the privileges with on the activation of the audit.

    Thank you
    RAM.

    sb92075 wrote:

    Girish Sharma wrote:

    Another way is the logging listener to get the info if the user has been connected or not.

    Listener.log has NOT identify the USER. only hostname / IP #.

    Yes you're right Sb, I just got confused words 'Audit Trail' in the context of exploitation forest listener at the bottom of the link:
    http://docs.Oracle.com/CD/A57673_01/doc/net/doc/NWTR23/ch2log.htm#audit2

    Thanks for correcting me.

    Concerning
    Girish Sharma

  • Premiere Pro never sends PF_Cmd_SEQUENCE_SETDOWN when the project is closed?

    (Display AE SDK because that forum of the organization said questions on here if it is a plugin with the SDK of EI).


    I'm working on a plugin for video filter written with the SDK of AE, which is supported on the AE and organization. Tests with the Organization CC, Mac OS 10.9.

    We need to know when our plugin is no longer used in the GUI. A base case is, the user chooses new project and the project that was using our plugin is closed.


    Æ send us a PF_Cmd_SEQUENCE_SETDOWN when this happens, but the same plug-in in Premiere Pro, which never sends. In fact, Premiere Pro never send any command to our entry point function when the document is closed, or a new document is created.

    Has anyone another vu cela, and is there a way to do work, or (as a workaround) a reliable way to know the status of the use of the plugin in Premiere Pro?

    TIA,

    Christopher

    The scenario Chris was fixed in first Pro CC 2014.2 (8.2).

    Roman, if you still have a problem in 8.2, you can let us know what platform (Mac, Win, or both), and what are the steps of reproduction?  Thank you!

  • Restrict access to the Page of the user in the relational database

    I have a relational database with two tables on a common ID field. The user can access all their entries in the child table with simple SQL queries and then select from a list of correspondence which of its documents records in the child table that they wish to change (i.e. ['ID'] ParentTable, ChildTable ['ID'])). Registration is then displayed using $_GET passed through the URL as parameter "recordID". However, when the user is connected and accessing a folder that matches the query, they can then enter another "RecordID" number in the URL and go to any record in the table child whether they are 'owner' of the record or not.

    I tried to put a statement of equivalence in the authorization user code to restrict the access to the child records users since ParentTable ['ID'] == ['ID'] ChildTable only when you are connected the user accesses the records they created previously. (In other words, when a user type a different "RecordID" in the URL, the ParentTable ['ID'] and ChildTable ['ID] are not equivalent.) The code that I entered in the authentication of the user generated by DW is as follows:

    If ((isset ($HTTP_SESSION_VARS ["MM_Username"]) & & ($row_ParentTable ['ID'] == ['ID'] $row_ChildTable))) {}
    ...

    Is still not accessible, even if tests show the ParentTable ['ID'] and ChildTable ['ID'] are not equivalent

    Any ideas on how to restrict access to the child records "unknown"? I'm sure it's relatively simple, but I'm having trouble to get through this obstacle.

    Thank you

    Thank you, Philo. In fact I got it to work by initializing a session variable of tha parent ID of the table and comparing it to the variable ID of child table, then using a header redirect in case of inequality. Part of my problem was where I put the code in the page. Anyway, it works now. It seems that the answer is always just after you have posted the question.

  • Display of the music playing on the lock screen, even if its does not and the application is closed

    Even if I'm not listening to music and I closed the app, why he has begun to show that if it plays on my lock screen, this also happens intermittently and not all the time.  Also, I noticed on my lock screen when music does not appear I have the music symbol in the lower left corner of the screen and the camera symbol at the bottom right shows that I never noticed before, normally only the symbol of the camera?

    I believe that this is part of the suggested Apps feature. To turn this off, go to settings > general > Handoff & Apps suggested under Apps suggested, turn off installed Apps.

  • P50-A-144 satellite: the option 'never' is ignored by the energy save plan?

    Windows Home Version 1607 (Build 14393.187) 10.

    Hello

    all the options of setting energy save plan are set to 'never '.
    "Turn off screen" and "Modus after saving", "Battery" und "AC Adapter"
    But if I read a Document in Word or a Web page in Internet Explorer
    After some time of inactivity with the mouse, for example, the screen will be closed
    then the laptop energy saving modus.

    It seems that this started probably occur after the recent Windows Update Version 1511 to 1607.
    I've seen available for this model Toshiba drivers, but these are the same since the year 2015
    which I have already installed after Windows 8.1 migration to Windows Version 1511 10.

    Could you please help me?.
    Thank you.

    Additional information: it seems that if a user program is running (for example MS Word or Internet browser) and the computer remains on the desktop screen, the screen will be turned off and the laptop DO NOT go to energy saving modus, as expected, because the settings are set to 'never '.
    This means that the parameters of energy save plan are ignored if a user program is running, and there is no user activity, for example: the user don't move the mouse during playback of a document in the MS Word program.

  • How can I check if a user belongs to a certain group of field and see what are the permissions that the user has on a specific group "administrator, user and guest"?

    I can't check in a group of area if a user is "administrator, user and guest.

    I'm using labview 2012 in the windows domain.

    I think that there are tools. NET to resolve this, but could not yet.

    Attached a file that checks if a user belongs to a group in the area, but without the information of privileges.

    In the past, I used the command line.  Use ' Net User % username / Domain % domain % ' to get information about the user.  Actually, I don't have the right to see the other commands, so I don't know how it works now.  .NET looks more elegant, but I never used it for that.

  • Using copyTo to copy the Sqlite database file to the directory of the user

    I am trying to copy my database Sqlite directory of private enforcement directory of documents accessible to the user. Here is my code:

    // closing db connection
    dbConnection.close();
    // clearing the db file variable
    dbFile = null;
    
    // new handle on the same db file
    dbFile = File.applicationStorageDirectory.resolvePath("mydb.db");
    // copy to documents directory
    dbFile.copyTo(File.documentsDirectory);
    

    When I try to run the code on the device, I get:

    There is an example on the Adobe AIR help page:

    original var = air. File.documentsDirectory.resolvePath ("AIR Test/test.txt");

    newFile var = air. File.documentsDirectory.resolvePath ("AIR Test/copy.txt");

    original.copyTo (newFile, true); true means crushes!

    Therefore, specify the new file name too not only the directory.

  • UCR-6002: the database specified does not have the minimum requirement to load the metadata repository.

    Hi all

    I want to install a test environment with the following software products:

    WebLogic Server 10.3.6

    WebCenter Capture 11.1.1.8.0

    WebCenter Imaging 11.1.1.8.0

    BPM 11.1.1.7.0

    SOA Suite 11.1.1.7.0

    Oracle Database Enterprise Edition Release 12.1.0.2.0 12 c

    I use the remote 11.1.1.8.0 to create the database schemas.

    When RCU checks the prerequisites, it comes up with a warning as follows:

    «The database you connect to, is one newer than the supported version.» See the matrix of certification for the supported DB versions".

    If I type 'ignore' on the message box, it stops the verification process will not continue. Also, if I type "Cancel" does the same thing.

    The error message displayed in the Message box is both below:

    UCR-6002: the database specified does not have the minimum requirement to load the metadata repository.

    UCR-6080: Global check prerequisites failed - requirement of verification for the specified database

    The database that you connect is a CDB that is not supported.

    Action taken:

    1. check again on the database character set and confirmed it is set up correctly for AL32UTF8

    2. the databases are supported for WebCenter 11.1.1.8.0 + 12.1.0.1, so the database version is supported.

    Hope someone knows what's going on.

    Thanks in advance.

    Try to create a plugable (PDB) database within the CBD and then rerun

    the UCR.

    May be restricted the RCU to install MDS and other schemas FMW the

    CBD, but rather in the PDB.

    More information on PDB and CBD you can find here

    http://docs.Oracle.com/database/121/CNCPT/cdbovrvw.htm#CNCPT89235

    Hope that helps,

    Anatoli

Maybe you are looking for

  • OfficeJet Pro 8620: Locked out of the printer settings

    Good evening I was unable to print wireless so I did a network reset the unit. When I rebooted the machine, I proceeded to return to the network settings in order to capture the wireless information however I received the error "function has been loc

  • Can the iPad will be the single monitor to a Mac Mini?

    For the most part, everything we do on the computer can be done with the iPad. However, there are some applications for which we need a computer that is running something other than iOS. What we have is for each family member to have an iPad, that wo

  • Question of Panel throw

    Hello When I close my program (QUIT button LabWindows) I thought that with the line "DiscardPanel (MainPanelHandle)"; the program is closed and the application is not running. But now I have seen that after this call every button I have in my applica

  • After that windows update 2 March 2011, windows crashes on shutdown.

    I installed SP3 this week. Last night there was a Windows update that stopped as he tried to restart the computer. He stopped there and when I made a stop every evening at "saving your settings...". "Any suggestions on how to solve this problem?

  • HP Pavilion p2: System Restore

    Good afternoon My name is Alan Garza and I'm trying to restore it to its factory of my computer settings. It's a Hp Pavilion p2. I don't want something to be saved or to be as it is now, I want it to be as if I just pulled it from the box. How can I