Can't access v$ session

Hello

I've migrated database from oracle 9i to oracle 11g (depending on the method of import/export). The Pb is that 25 GB.
Now, few users are unable to access the v$ session. When we try to access the v$ session through some users, we get the error below
SQL> SELECT SID,SERIAL#,USERNAME,OSUSER,TO_CHAR(LOGON_TIME,'MM/DD/YYYY HH:MI AM') FROM V$SESSION WHERE CLIENT_INFO='MIS0883001MEMOIP' AND STATUS!='KILLED' ORDER BY USERNAME;
SELECT SID,SERIAL#,USERNAME,OSUSER,TO_CHAR(LOGON_TIME,'MM/DD/YYYY HH:MI AM') FROM V$SESSION WHERE CLIENT_INFO='MIS0883001MEMOIP' AND STATUS!='KILLED' ORDER BY USERNAME
                                                                   *
ERROR at line 1:
ORA-00942: table or view does not exist
However, the query works fine in Oracle 9i database.
I checked all the privileges, and it seems to be the same, as was the case in Oracle 9i.

Are there limitations in Oracle 11 g that normal users cannot access table v$ session?

Thank you!
SELECT GRANTEE, 'ROL' TYPE, GRANTED_ROLE PV
  FROM DBA_ROLE_PRIVS
 WHERE GRANTEE = '&usercheck'
UNION
SELECT GRANTEE, 'PRV' TYPE, PRIVILEGE PV
  FROM DBA_SYS_PRIVS
 WHERE GRANTEE = '&usercheck'
UNION
SELECT GRANTEE,
       'OBJ' TYPE,
       MAX(DECODE(PRIVILEGE, 'WRITE', 'WRITE,')) ||
       MAX(DECODE(PRIVILEGE, 'READ', 'READ')) ||
       MAX(DECODE(PRIVILEGE, 'EXECUTE', 'EXECUTE')) ||
       MAX(DECODE(PRIVILEGE, 'SELECT', 'SELECT')) ||
       MAX(DECODE(PRIVILEGE, 'DELETE', ',DELETE')) ||
       MAX(DECODE(PRIVILEGE, 'UPDATE', ',UPDATE')) ||
       MAX(DECODE(PRIVILEGE, 'INSERT', ',INSERT')) || ' ON ' || OBJECT_TYPE || ' "' ||
       A.OWNER || '.' || TABLE_NAME || '"' PV
  FROM DBA_TAB_PRIVS A, DBA_OBJECTS B
 WHERE A.OWNER = B.OWNER
   AND A.TABLE_NAME = B.OBJECT_NAME
   AND A.GRANTEE = '&usercheck'
 GROUP BY A.OWNER, TABLE_NAME, OBJECT_TYPE, GRANTEE
UNION
SELECT USERNAME GRANTEE, '---' TYPE, 'empty user ---' PV
  FROM DBA_USERS
 WHERE NOT USERNAME IN (SELECT DISTINCT GRANTEE FROM DBA_ROLE_PRIVS)
   AND NOT USERNAME IN (SELECT DISTINCT GRANTEE FROM DBA_SYS_PRIVS)
   AND NOT USERNAME IN (SELECT DISTINCT GRANTEE FROM DBA_TAB_PRIVS)
   AND USERNAME LIKE '%&usercheck%'
 GROUP BY USERNAME
 ORDER BY GRANTEE, TYPE, PV;

Tags: Database

Similar Questions

  • When a user logs off Windows 7 x 64 session, the rest can not access the internet until the restart network card

    Hello! I found a problem with my system: when a user logs off Windows 7 x 64 session, the rest can not access the internet, until restarted network card. Reinstall NIC driver did not help. Problem appears on a built-in adapter, in the motherboard and a separate PCI card too.  Same router via its web interface is not accessible. Windows cannot automatically fix this problem after trying to diagnose a problem with his problem Diagnostic tool. After the diagnosis in the DETAILS window, MORE tests, it displays a message like this "computer remote can not receive a connection via the Internet (HTTP) Service Port". "Unplugging" a corresponding Local network connection and then reconnect solves the problem immediately. Switching between users, when two of them are connected do not cause this problem. Important: the problem occurs in the account of the user who was logged on the system FIRST after the PC was on, when the user disconnected on newspapers of a SECOND. If the SECOND user is logged in and the FIRST user disconnects, SECOND can still access the internet. It depends only on the sequence of the user's record, not on the particular user name. And one more interesting fact: after each user registered on and outside just for once, the problem seems to disappear until the PC is turned off and turn it back on!

    System details:

    Motherboard: ASUS P8Z77-VLK
    CPU: Intel Core i7 3770 K
    RAM: 8 GB
    OS: Windows 7 x 64

    Hi, Mahesh,

    and thank you very much for your help! Update firmware driver and router LAN did not help me get rid of my problem, but greatly improved my experience of networking in general. Anti-virus software was not guilty, also, but! I found the "iControl" network software, installed as part of Sogiciel 'AI Suite II' (that came on the CD of motherboard ASUS driverssoftware), runnning and causing not only the problem mentioned above, but would also decrease upload speed up to 0.3 MB/s, when download passes to nearly 100 Mbps! Moreover, searching the Internet, I have found a lot of complaints about the behavior of this software, so that people watch you the occasional installation of this piece... sweet ;) As "iControl network" has been uninstalled (not only turned off in the settings of 'Ai Suite II'!), I'm totally happy with my system performance.

    Best regards
    Greg

  • I installed it twice, but he was now part of a pop-up that I can't access and I can not access Firefox is.

    When I start it, it seems correct, except that a pop-up appears partially on. The ToolTip is not fully displayed, and I can't find any means of l ' turn off. Also, I can't access Firefox, because everytime I try, it gives me a beep. The only way to stop all this out is to reboot the machine.

    AHA, AOL Toolbar is the first extension! Now... Why wasn't that visible when you went to the Add-ons page before? Can you check once again, make sure you select Extensions in the left column and either disable or delete?

    The page also contains a warning about a user.js file, which is a file of option settings you (or other software) can create to modify your preferences of Firefox from the previous session. Usually, it is a file, you'll want to remove it, and this article has more information on the study that: How to fix preferences that will not save.

  • I have 2 different accounts on the same sites. Whenever I go on this site, one of my usernames prefills the field of the United Nations, and I can't access the other account. I can't replace my pre-filled username. Ideas?

    I have 2 different accounts on the same sites. Whenever I go on this site, one of my two (always the same) identifiers pre fills in the username field and I can't access the other account. The Web site legitimately refuse my password. I can't replace my username pre-populated because the second I hit enter to open a session, the initial username is rewritten in its field. Or user names is registered by firefox anywhere in the "Tools"; Options, security, advanced, or fields from the privacy menu.

    I noticed that this Web site has installed a cookie on my computer called "_rememberme" that contains the user name plaguing me.

    This is a Web site that I have access to very sensitive and important information, and I have to have two accounts available at different times.

    Thanks, Joshua
    XP, sp3; FF3.6.3

    This has happened

    A few times a week

    == I added the second account on this Web site.

    You will need to disable that remember me cookie, and make sure that you remove a tick to remember you on this Web site.
    Tools > Options > privacy > Cookies: "show the Cookies".

    You can disable the automatic filling of a name and a password.

    See:
    http://KB.mozillazine.org/Password_only_filled_after_entering_user_name
    http://KB.mozillazine.org/signon.autofillForms

    To open the topic: config page, type Subject: config in the address bar (address) and press the Enter key, as you type the url of a Web site to open a Web site.
    If you see a warning then you can confirm that you want to access this page.

  • Can't access my files doc as a user unique vs administrator user?

    I have created my user access on Vista as administrator and load programs, files and doc files to my hard drive.

    Having some problems on programs not able to run in administrator mode, I created a unique user account.

    Disconnected as administrator and logged as a user, and now I can't access my files and folders of the doc, it is not visible in the c drive.

    How to access these files from the doc in addition to completing the session as a user and login as an administrator?

    Here, any help would be great

    See you soon

    It is very easy to give the users rights to other folders by right-clicking on a folder or a file and selecting Properties, then security (re para below I just checked prior to this announcement and there is a link on the Security screen 'learn on the access control and permissions'. If logged in as an administrator, then you can do what you like, connected as a user for you only the things you 'clean '. However if it is simple to do, you should also understand its effects. If your machine is used only by yourself or people that you are happy to have provided full access to the hard drive then you don't remove no permission and that you are confident, no one will remove/mess with the files they don't own then begin.

    It would be a good idea to type "permissions" in windows 'Help and Support' and spend time following the topics that seem to be relevant. A quick google didn't find an idiots guide - everything seems to be 'network' based and has too much information. I think that following the instructions in this Microsoft Knowledge Base article [how to configure file sharing in Windows XP | http://support.microsoft.com/kb/304040] will allow you to get what you want in the safest way. I am new to Windows 7, but have no reason to think there will be much difference in the "screens". You can prove me wrong and get or find a solution much better to [Windows > Windows 7 Forum > files, folders, and search | http://social.answers.microsoft.com/Forums/en-US/w7files/threads]

    Yves

  • I upgraded my iPhone and iPad to IOS 9.2. Now my Seagate Wireless Plus can't access my photos on my iPad or iPhone. Someone at - it an answer to this?

    I upgraded my iPhone and iPad to IOS 9.2. Now my Seagate Wireless Plus can't access my photos on my iPad or iPhone. Someone at - it an answer to this? I contacted Seagate and after a session of 2 hours troubleshooting I was told that my Seagate Wireless search CAMERAROLL. Now the photos does not use the term... He uses all of them. So Seagate Media cannot access the photos to download.

    Have you tried to create a folder with the same name and put some pictures in there and see if it works now?

    R

  • Windows 7 freeze to the screen of welcome for even more 20 minutes before I can connect to my session

    Hi, im using win 7 ultimate on my computer dell laptop with 4 GB of RAM and I have a huge problem.
    in fact, when I turn on my laptop it freezes on the screen of welcome for 20 to 30 minutes until I can connect to my session.
    I have a defragmenting my hard drive, uninstall all the last microsoft update, do a virus scan, make a check disk and a file system check. But the problem still there.
    Need your help please!
    Thank you

    Please provide a copy of your system information file. Type system information in the search box above the Start button and press ENTER. Select file, Export and give the file a name noting where it is located. Please download your disk from sky to share with everyone and post a link here.

    Please download and share with all copies of your system logs and Application of your event viewer on your sky drive and post a link here.

    To access the system log, select Start, Control Panel, administrative tools, Event Viewer, in the list on the left of the window select Windows and the system logs. Place the cursor on the system, select the Action in the Menu and record all events (the file default evtx type) and give a name to the file. Do the same for the application log. Don't provide filtered files.

    Help with Sky Drive see section 9.3:
    http://www.gerryscomputertips.co.UK/MicrosoftCommunity1.htm

  • Some Web sites can not access, screen goes white with http 500 errors

    Original title: http 500 errors

    Salvation; Please forgive my PC literacy is near the bottom of the range, but I recently started getting errors. I can browse the Web, but when I log on say Web site common CBSSports and try opening a session I did a million times - the screen blanks out and tells me unable to access Web pages and when I ask for more info... I'm getting http 500 Internal Server Error. It seems to get worse and unable to access less Web sites. Can someone please help?

    Hello

    Thanks for posting your question in the community of Microsoft Windows. I understand that you are unable to browse Web sites with http 500 errors. Correct me if I'm wrong.

    I imagine the inconvenience that you are experiencing. I will definitely help you with this.

    To help you suggest several steps to solve the problem, I would appreciate it if you could answer the following questions:

    1. what web browser do you use?

    2. have you made any recent hardware or exchange of software on your computer before the show?

     

     

    Please follow the methods below if you use Internet Explorer and check the number:

    Method 1:

     

    Can't access some Web sites in Internet Explorer:

    http://support.Microsoft.com/kb/967897

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Method 2:

     

     

    Why are some pages blank or incorrectly displayed in Internet Explorer? :

    http://Windows.Microsoft.com/en-us/Windows7/webpages-look-incorrect-in-Internet-Explorer

     

     

    Method 3:

     

    Get help with website (HTTP error) error messages:

    http://Windows.Microsoft.com/en-us/Windows7/get-help-with-website-error-messages-HTTP-errors

     

    I hope that the information above helps you.

  • Access the Session Managed Beans

    If I have a class that is registered in a session bean in the adfc-config...

    When it is instantiated?

    How can I access it from a backing bean and set its variables?

    I created a simple test case and my comments are the following:

    (1) the bean was not instantiated within the scope of the session until I have it referenced in an EL expression. In my case, I used
    "2) for the first time as #{sessionScope.MyBean.attribute1}" does not work, it causes a NullPointerException.
    (3) I have access to reading via without it having been instantiated so far.

    Point (3) does not correspond to your comments, so I think that your problem is related to something else. Check the declaration of the bean again. Also check that you have not saved an another bean under the same name but different scope and in a different config file (for example, in faces-config.) XML or in a TaskFlow definition file).

    Dimitar

    Published by: Dimitar Dimitrov, November 9, 2010 19:48

  • I can't access my files or even an new empty project

    ForRH.jpg

    I work with 8 HR. I also installed the critical updates.

    I can't access any of my HR projects. At first, I could access the project that I am working. I could not access one of my other projects.

    So, I reinstalled the critical updates. However, when I reinstalled I only got the window above. I clicked Next.

    After I reinstalled I can't access any of my projects, including the one I could access before. I can't access the HR and just create a new project to be. If anyone can help.

    Thank you.

    Also, I got the message that my current file was newer than the version of HR. It seems that the update does not ' take.

    There are several reasons that the CPD can get corrupted but recreate is OK. See the projects on my site for more information.

    You said before that rename it worked but only for this session. You are now saying that you can close, then reopen repeatedly?

    Something went wrong with the installation of patches and this is probably the reason here.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • User authentication - can not send the session... cookie header etc.

    I am quite new to create dynamic sites, especially using php.  After following many tutorials but I was able to connect to a database using Xampp and phpMyadmin with everthing works as it should.  I have created a template and can still access the database, view information presented in different ways without problem until I try to connect the user.  As soon as I do, I get the following error:

    Warning: session_start() [Function.session - start]: Cannot send session cookie - headers already sent in C:\Program Files\xampp\htdocs\FM...ry\TestLogin.php on line 0

    Warning: session_start() [Function.session - start]: Cannot send session cache limiter - already sent headers (production started at C:\Program Files\xampp\htdocs\FM...ry\TestLogin.php:0) in C:\Program Files\xampp\htdocs\FMRPNewTry\TestLogin.php on line 0

    I don't know what to do. The inside of the frame a login page appears very frank and I got it actually working while taking a tutorial.  I can't imagine what I did differently in my own page/site other than one using a model which is pretty basic.

    Can anyone help?

    The difference is caused by selecting the option to use links relative to the root of the site in the site definition. With a PHP site, you should always use links from the document. Otherwise, you must change all instances of virtual(), which is an exclusive feature of Apache, and that also causes a lot of problems, such as the one you fell.

  • FLex: Creation and access to session variables

    Hi all

    Good morning people.
    Am new on SDS and using Flex 2.0

    I have hotel_list in the collection. and have a mapped datagrid which has a "Book now" button on each row (hotel).
    Then click on the 'book now' button, I want to spend the more information in the same row to the next page.
    Can I create the session variable and access session variables in the next page side server.
    How do I do... ?


    Pls any one advice me on creating session variables and access even in another page?
    Can one after the code example?


    My code is as follows...

    < mx:Script >

    <! [CDATA]

    import flash.net.navigateToURL;
    public void OnBook_click(hcode:String):void {}
    ("var request: URLRequest = new URLRequest("/quick_search/booking.mxml ");
    var uv:URLVariables = new URLVariables();
    UV.hotelcode = hcode;
    Request.Data = UV;
    navigateToURL (request, "_self");
    }
    < / mx:Script >


    < mx:DataGrid id = "dg" width = '100% ', rowHeight = styleName "38" = "GridColumnText."
    "dataProvider ="{hotel_details}"enabled =" {! ds.commitRequired} "creationComplete =" fill_hotelDetails () ".
    verticalScrollPolicy = "{mx.core.ScrollPolicy.OFF}" rowCount = "10" height = "404" > ""
    < mx:columns >
    < mx:DataGridColumn dataField = "hotel_address" headerText = "name of the hotel.
    headerStyleName = "DynamicLabel" width = "300" wordWrap = "true" editable = "false" / >

    < mx:DataGridColumn id = "pr_rate" dataField = "prdt_rate" headerText = "rate."
    headerStyleName = "DynamicLabel" paddingRight = "10" editable = "false" width = "50" / >

    < mx:DataGridColumn dataField = "hotel_status" headerText = "availability".
    headerStyleName = "DynamicLabel" editable = "false" width = "75" / >

    < mx:DataGridColumn headerText = "book now" editable = "false" dataField = "hotel_code."
    headerStyleName = "DynamicLabel" width = "75" sortable = "false" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:HBox width = "25%" horizontalCenter = "0" horizontalAlign = "center".
    styleName = paddingTop "GridColumnText" = "5" >
    < mx:Button id = "book" label = "book now" click = "outerDocument.OnBook_click (data.hotel_code)" / > "
    < / mx:HBox >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >

    Instead of pass... is the values to booking.mxml as request parameters possible to define session variables?
    pls someone help me...


    THX in advance
    Raphael alboury

    Take a look at the shared objects, I think these are the kind of thing you're after. In my view, that the subtopic "By specifying a path" must be particularly pertinent for sharing variables/objects between two swf files.

    LiveDocs - shared objects

  • How can I access Siri on my iMac without using the icon?

    How can I access Siri on my iMac without using the icon?  Can I say "Hey Siri"?

    There is no option "Hey Siri" on a Mac because they do not have the necessary pickups. You must use the icon in the menu bar or Dock.

  • I can't access the backups on Time Capsule

    A month ago I deleted from my hard drive and more. I have a MacBook Pro 2012 running macOS. I can't access the files on Time Capsule before is erased in the month of August, I can see the story in the timeline panel, but I don't have access to anything before erasure. Is it possible to access to the files before the wipe?

    A month ago I deleted from my hard drive and more.

    What hard drive you are talking about: one internal on your MacBook Pro (MBP), an external drive attached to the MBP for Time Machine backups, or internal hard drive to time Capsule?

  • Data on the iMac, but can not access the files.

    Hi all

    I have a iMac Core 2 Duo (3.33, 21.5 inches) since end 2009, running 10.6.8 Snow Leopard and I'm trying to recover some files that seem to be there, but I can not access it due to an update of the unfinished software.

    A few years back, I tried the Mavericks update using an external hard drive as the boot drive (at that time there I ran 10.6.7 Lion), installation is never ending and I accidentally deleted this file to start on the outside, so I ended up coming back to his moose BONE, 10.6.8 Snow Leopard.

    He seems to resemble a new install of Snow Leopard, except my old files (about 350 GB) still live on this subject, but I can not access all of the files, or does not even appear in the Finder.

    Would appreciate any advice or tips on how to do to recover my invisible files. Thank you!

    Do you see the drive in disk utility?

    1. Connect the external drive
    2. If it has external power supply, make sure that that is connected
    3. If the external hard drive has a power button, make sure that it is set to
    4. Goto docking station
    5. Click on finder
    6. Goto menu bar
    7. Click the menu go
    8. Choose utility
    9. Double-click disk utility

    The drive will appear in the left column of the disk utility?

    If the answer is Yes, if you click on the drive, and then click on check, what disk utility say?

Maybe you are looking for