Wrong updation in v$session view.

Hi,
I have problem in v$session view on OSUSER column , when i query the v$session i get wrong information in OSUSER column .
SELECT USERNAME, OSUSER, STATUS, PROGRAM, machine from v$session where USERNAME IS NOT NULL;
USERNAME OSUSER STATUS PROGRAM MACHINE
DHAN_UPG SYSTEM INACTIVE JDBC Thin Client host209
I get the "SYSTEM" as OSUSER in that machine, but there is no osuser like this. Please clarify me for this.
Thanks & Regards,

Its correct for me,
SQL> SELECT USERNAME, OSUSER, STATUS, PROGRAM, machine from v$session where  rownum<=4 and username is not null;
USERNAME             OSUSER               STATUS   PROGRAM
MACHINE
SYSMAN               oracle               INACTIVE OMS
edhdr2p0.us.oracle.com
SYSMAN               oracle               INACTIVE OMS
edhdr2p0.us.oracle.com
DBSNMP               oracle               ACTIVE   [email protected]
                                                   oracle.com (TNS V1-V
                                                   3)
edhdr2p0.us.oracle.com
SYSMAN               oracle               INACTIVE OMS
edhdr2p0.us.oracle.comAre you sure that there is no user called System in the o/s ?
HTH
Aman....

Similar Messages

  • In import GRN - excise duty is wrongly updating..

    hi frnds..
    In import GRN - excise duty is wrongly updating.. How to resolve this...
    Regards
    Raghav.KH

    Hi,
    After Bill of Entry(MIRO), when u do MIGO, pop up will appear, where ur BOE number will reflect, make sure that u r putting year as 2009.
    Regards,
    Piyush

  • FRM-40602: Cannot insert into or update data in a view

    Hi all!
    I have a form based on a view and I want to get rid off this message.
    I set the properties blocks query only but it still doesn't work.
    Does someone met with this situation?
    Many thanks!

    Hello
    I've just been messing about with a similar problem. Basically, I have a view that involves a join across two tables, I have a data block in my form that's based on the view, and I've written an INSTEAD OF trigger to insert/update/delete from the two tables.
    I was getting the error message 'Cannot insert or update data in a view', and it turned out that the error was happening because the join column between the two tables was the primary key on one of the tables, but the corresponding column on the join table had no unique key on it. This meant that Oracle couldn't establish a one-to-one relationship between rows in the view and rows in the underlying tables. The column on the join table was in fact unique on that table, and adding a unique constraint on that column in the database cured the problem.
    Hope that's of use.
    regards
    Andrew
    UK

  • Update data from a view

    Hi,
    trying to update data from a view with:
    - Company (table)
    - Products (table)
    In a form, the user wants to update
    e.g: both products.product_name and Company.company_name.
    Is there a way to update a view records built on 2 tables ?
    Any idea will be really appreciated
    Thks

    An other question on INSTEAD OF Trigger:
    Base Tables:
    1.
    SQL> desc pcs_companies;
    Name Null? Type
    COMPANY_ID NOT NULL NUMBER(12)
    COUNTRY VARCHAR2(350)
    COMPANY_NAME VARCHAR2(320)
    COMPANY_PHONE VARCHAR2 (320)
    COMPANY_FAX VARCHAR2(320)
    COMPANY_URL VARCHAR2(150)
    UPDATED_DATE DATE
    2.
    SQL> desc pcs_individuals;
    Name Null? Type
    INDIVIDUAL_ID NOT NULL NUMBER(12)
    COMPANY_ID NUMBER(12)
    FIRST_NAME VARCHAR2(320)
    LAST_NAME VARCHAR2(320)
    LOB VARCHAR2(300)
    JOB_ROLE VARCHAR2(300)
    TITLE VARCHAR2(300)
    GENDER VARCHAR2(3)
    EMAIL VARCHAR2(720)
    FAX VARCHAR2(720)
    PHONE_NO VARCHAR2(720)
    UPDATED_DATE DATE
    COUNTRY VARCHAR2(150)
    ADDRESS_1 VARCHAR2(720)
    ADDRESS_2 VARCHAR2(720)
    ADDRESS_3 VARCHAR2(720)
    CITY VARCHAR2(720)
    3. pcs_individuals.COMPANY_ID = FK, ref pcs_companies.
    4.
    SQL> CREATE VIEW V_PCS_COMPANY_IND
    AS
    SELECT
       i.INDIVIDUAL_ID,
       c.company_id,
       c.country,
       c.Company_name,
       c.company_phone,
       i.Company_id indiv_company_id,
       i.gender,
       i.first_name,
       i.last_name,
       i.lob,
       i.job_role,
       i.title,
       i.email_address,
       i.fax,
       i.phone_no ,
       i.address_1,
       i.address_2,
       i.address_3,
       i.city
    FROM
      pcs_individuals i,
      pcs_companies c
    WHERE
      i.company_id = c.company_id
    5.
    CREATE OR REPLACE TRIGGER PCS_ADMIN.PCS_COMP_IND_UPDATE_TR
    INSTEAD OF UPDATE ON PCMS_ADMIN.V_PCS_COMPANY_IND
    FOR EACH ROW
    begin
    update PCS_COMPANIES
    set
         Company_name = nvl(:new.company_name,company_name),
         company_phone = nvl(:new.company_phone,company_phone)
    where company_id = :new.company_id;
    update PCS_INDIVIDUALS
    set
         gender = nvl(:new.gender,gender),
    first_name = nvl(:new.first_name,first_name),
         last_name = nvl(:new.last_name,last_name),
         lob = nvl(:new.lob,lob),
         title = nvl(:new.title,title),
         email_address = nvl(:new.email_address,email_address),
    phone_no = nvl(:new.phone_no,phone_no),
         fax = nvl(:new.fax,fax),
         country = nvl(:new.country,country),
         address_1 = nvl(:new.address_1,address_1),
         address_2 = nvl(:new.address_2,address_2),
         address_3 = nvl(:new.address_3,address_3),
         city = nvl(:new.city,city)
    where company_id = :new.company_id;
    end PCMS_COMP_IND_UPDATE_TR;
    6.
    CREATE OR REPLACE TRIGGER PCS_ADMIN.NEW_COMPANY_ID_INSERT
    INSTEAD OF INSERT ON PCS_ADMIN.V_PCS_COMPANY_IND
    DECLARE
    ID number;
    BEGIN
    INSERT INTO pcs_companies (org_id)
    select v_pcs_comp_id_seq.nextval
    into ID
    from dual;
    :new.company_id = ID;
    INSERT INTO pcs_individuals (company_id)
    select v_pcs_comp_id_seq.nextval
    into ID
    from dual;
    :new.company_id = ID;
    end;
    My question
    On point 6:
    Assumption:
    - Company_id is PK of pcs.Company and FK in pcs.individuals
    - It should be feed by sequence (v_pcs_comp_id_seq)
    Now how can i insert the same value for company_id (current.v_pcs_comp_id_seq) in both pcs_companies and pcs_individuals ? I've tested it in the above INSTEAD OF Trigger.It failed.
    Thks for any advice,
    lamine

  • I bought the wrong update, I need a Mac-Version but ordered a Windows-Version. What can I do?

    I bought the wrong update, I need a Mac-Version but ordered a Windows-Version. What can I do?

    Since this is a user to user help forum, not Adobe support or sales, nobody here will be able to help... you must talk directly to Adobe
    Information for anyone else with a similar problem
    Adobe contact information - http://helpx.adobe.com/contact.html
    Help for Download & Install & Setup & Activation http://forums.adobe.com/community/download_install_setup
    Next link has a "Chat Now" button near the bottom http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • Updates to a complex view

    SQL Developer version 3.0.04 on XP Pro
    We are able to use the data grid to update the values of views that are inherently updatable, no problem.
    We have a complex view with an associated instead-of-update trigger. We are able to update this complex view using an UPDATE statement, no problem.
    We would like to be able to update the complex view using the data grid (just in case I am mixing up the terminology, by "data grid" I mean the interface you get when you select the view from the navigation pane and then click the "Data" tab), but the fields are read only.
    Is there a configuration option that we can use to enable this? Or, some sort of workaround? Or, are we simply not able to update complex views using the data grid?
    Thanks!
    -Tom

    i think u need to change ur application structurei don't think so. Create an INSTEAD-OF-trigger on your view and manage the splitting there. In forms, you wil have to set the property "Primary Key" for the pk-item's to "Yes" and eventually you have to create an ON-LOCK-trigger

  • Error in updating secondary stateful session bean

              Hi all,
              I have set up a cluster of 2 managed servers with WebLogic 6.1. I have a
              stateful session bean and several stateless session beans. the stateful
              session bean keeps user info and limited cached objects, all are
              serializable. it seems working fine, even after killing any one of the
              servers, as long as one is alive. a java application client creates a
              stateful session bean first, then calls stateless session beans with the
              remote interface of the stateful bean as a method parameter. No problem
              when stateful session bean is created. However, each stateless bean method
              generates the following error message if I turn the debug on (level 64). No
              exception stack traces, and all methods execute successfully.
              <Error> <EJB> <Failed to update the secondary copy of a stateful session
              bean from home:clientsession>
              I wonder what causes the error, and why it tries to update the stateful
              session bean. in all stateless session beans, only read into the stateful
              bean.
              Thank you,
              Fujin
              

    This has been fixed in WLS 6.1 SP2.
              jagdip Talla wrote:
              > Hi Fujin,
              > please let me know, if u were able to solve the problem..
              >
              > hi guys,
              > appreciate if you could give me some clues
              > how to solve this problem ?
              >
              > i hv 2 WLS instances in a cluster,
              > when one server instance is shut down, i keep getting these errors ?
              > is it normal ?
              > <Feb 19, 2002 2:57:53 PM SGT> <Error> <EJB> <Failed to update the secondary copy of a stateful session bean from home:ejb/xyzrel1_2/xxxxHome>
              >
              > appreciate if u can let me know, if u could solve it..?
              >
              > thanks n regads
              > jagdip
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • ApEx 4.1.1: update record in a view with 'instead of update' trigger

    I created a form against a view. The view is complex enough which prevents direct updates. To incorporate the update logic I created an 'instead of update' trigger on the view. When I open up the form, do changes, and click 'Apply Changes' button I am getting the following exception
    ORA-02014: cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    I understand that the standard 'Automatic Row Processing' process is trying to lock the record before updating using a cursor like
    select *
    from my_view
    for update
    and fails. Is it possible to bypass this locking while using the standard APEX processes?
    I think I can create a custom PL/SQL process which would execute the UPDATE statement (at least, it works in SQL*Plus), but I would like to know if I can use a standard ApEx functionality for this.

    Hello,
    Sorry for delay.
    I had found a feedback about trigger issue when restore SQL Database from a BACPAC file. Microsoft said the fixed  will be available in the next major release of DacFx.
    Feedback:
    SQL Azure fires a trigger when restoring from bacpac
    You can refer to the workarounds in the feedback. For example, if there is small amount of triggers on the database, you can try to remove the triggers and then recreate when restore from bacpac file.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • ISE 1.2 Live Session View Empty

    We have a distributed ISE deployment (1.2.0.899 patch 7) with the PANs in one firewall context and the MNTs and PSNs in another firewall context. Everything is working smoothly except that when looking at the Live Sessions view in the PAN, it's empty. Viewing the same thing on the MNT shows plenty of information, which is what we expect. Is there some bug in the version we're running that would prevent the Live Session view on the PAN from being populated? Or do we just have to use the MNT to view that instead?
    Thanks,
    Brandon

    You have it setup correctly so not sure why things are not working for you. The PSNs should be the accounting servers and the admin persona should be the only GUI you/console you should be logging into to manage the system. 
    Check the deployment tab, do all nodes have a "green check box" and in sync?

  • Meaning of Machine field in v$session view

    Hi,
    I have a doubt about this field of the v$session view, in the documentation i only find this definition for the mentioned field:
    MACHINE      VARCHAR2(64)      Operating system machine nameIs the machine's name where the database is installed or the machine's name where a client is accesing the database??
    If i have an OAS 10g installation in machine1 and i'm accesing Oracle Forms Developer's modules in machine2 the value in the Machine field will be the machine's name where i have my OAS installed right ??
    Thanks and Regards
    Carlos
    Edited by: ccortez on May 22, 2012 7:14 PM

    ccortez wrote:
    Hi,
    I have a doubt about this field of the v$session view, in the documentation i only find this definition for the mentioned field:
    MACHINE      VARCHAR2(64)      Operating system machine nameIs the machine's name where the database is installed or the machine's name where a client is accesing the database??
    It is the machine by which you try to make the connection/session to the Database
    If i have an OAS 10g installation in machine1 and i'm accesing Oracle Forms Developer's modules in machine2 the value in the Machine field will be the machine's name where i have my OAS installed right ??Should be machine2

  • I took all my video with my iPhone turned the wrong way. When I view it on my pc it's turned on its side. How can I rotate the video and crop it?

    I took all my video with my iPhone turned the wrong way. When I view it on my pc it's turned on its side. How can I rotate the video and crop it?

    Try plugging it into a computer with iTunes opened. If you see anything that says restore, say no.
    Sometimes these issues resolve themselves when you connect the device to iTunes.
    What happens when you hold the home and sleep/wake button? I know it doesn't work, but does it shut off at all?

  • Cannot see the Settings Administration Manage Sessions View Log

    Hi !
    I'm using aggregate tables and to verify if they work well, I need to check the sql statement. But in the Answer "Settings > Administration > Manage Sessions > View Log", I see : cannot find history
    Do you know why I can't see my sql statement ? Thanks

    Hi,
    i think you dint enable the query logging..
    in your rpd open your user and in the logging level select 2 or 1.
    before that you need to enable one thing.
    ref here
    http://dbperf.com/Using_the_OBIEE_Log_File
    thanks,
    Karthick

  • How to find updates for Windows Photo Viewer.

    I have been asking and asking this question and got a reply to look at the Windows Updates page. There are no updates for Windows Pictures Viewer, but when I got a picture for which the Windows Picture viewer did not work, I got a message that I needed to get the latest update. So what can I do?

    hello, sorry but this is a mozilla forum - we can't provide support for third-party products. thank you for your understanding!

  • Slide Site Not Updateing in Other Users Views

    I have created a slide site with 100's of slides. Everyslide has an "owner" assigned to it so people can filter for the slides they are responsible to update. When I view the site I can see all the "owners" in the filter
    list that I have assigned and are supposed to be there, in the contributors views they can only see a few names, some of them which actually don't have slides in the deck.
    After uploading slides, I used Edit in datasheet view to update the "owners".
    Any thoughts?

    Okay,
    I think I have figured out the real issue here. In just about every other viewer the table that the materialized view or snapshot dumps to is viewable through the list of tables. It does not seem to be doing that in Raptor. Why we are not seeing the m.views or snapshots is that we give the select grants to the table object. (oops?)
    While I see the logic for separating them out, I think it would be a smart idea to be able to see the tables for the m.views and snapshots in the table list instead of filtering them out. I am sure we are not the only ones who does the grants in the method that we used.

  • Wrongly updated the newest iOS for my iphone 3GS

    As I pluged my iPhone 3GS into a new laptop, I wrongly updated the newest iOS version into my phone. This causes a few content loses and the phone runs very slowly. How can I restore/recover the right iOS at my 3GS? Thanks a lot.

    Downgrading is not supported, so that is out of question.
    About the lost contents. Plug your iPhone in to iTunes of your previous laptop (if you still have it); right click on your phone's name and hit "Restore from backup". Later you can move your iTunes library from your old laptop to your new laptop by following this.
    http://support.apple.com/kb/HT1751
    Message was edited by: impious-rocker

Maybe you are looking for