How to trace which user shutdown oracle database in unix OS?

our organization is having 10 DBA with sysdba priviladge. We are using UNIX operating system. At morning say for example if some one (SYSDBA user) shutdown the oracle database how other sysdba user trace the user who shutdown the database? the information i need is terminal from where oracle got shutdown and the username? Please help...

Hello,
You are right Sybrand, SYSDBA connections are always audited.
My answer was about enabling auditing to any connections, which may give informations about who access to the Database in general. And, this is true, it was not the scope of the OP question.
However, so as to enlarge audit of SYS/SYSDBA/SYSOPER operations, setting the parameter audit_sys_operations=TRUE may be interesting:
http://download.oracle.com/docs/cd/E11882_01/network.112/e16543/auditing.htm#DBSEG0611
To the OP:
Where the audit tracefile get genareted for sys user?You may execute this:
show parameter audit_file_destThank again Sybrand for correcting me.
Best regards,
Jean-Valentin

Similar Messages

  • How to know which user shutdown the server

    Hi,
    Is there a way to check which user has shutdown the server in windows server 2012.
    I know Event Id : 1076,1074,6008 gives information about system shutdown.but want to know which user did that ?
    thanks

    Steps to see which user shutdown the system:
    1. Go to event Viewer
    2. Right click on system and -> Filter Current Log
    3. For User Shutdowns, click downward arrow of Event Sources -> Check User32.
    4. In <All Event IDs> type  1074 -> OK
    This will give the list of Power off and restart events. It will have the date and time as well as Username.

  • How to trace a USER in oracle?

    Hi Sir,
    I have a rquirement that I need to Trace a session created through the Application. The only data I have is that I know the application will connect to a Database schema and nothing else. How is it possilbe that I can create a trace file for it.
    Also is it possilble, that i can trace complete user. how to find all the trace as it create number of process inturn number of trace, how do I find it and combine. I read the documentation but can't understand it clearly?
    Any help will be great.

    sanora600 wrote:
    Aman, thanks for replying. This is the problem, they have not implemented dbms_application_info.
    That is the reason I want to know how to trace user(all session of a schema) and combine all the session generated trace(something like trcsess) and then generate tkprof. I am on Oracle 10g.Well, first off, users connect to databases, they don't connect to schemas. And as a follow on, users have sessions, schemas don't.
    That said, you might investigate a logon trigger that initiates a 1046 trace. Something like this:
    -- create a logon trigger for capturing extended trace data
    -- NOTE: must be run as SYS
    -- NOTE: Be sure to change both occurances of the target username
    -- ('user = xxx' and 'TRACEFILE_IDENTIFIER=') to the
    -- correct value for the session you want to trace.
    create or replace trigger logon_trigger
    after logon on database
    begin
    if (user = 'SCOTT' ) then
    execute immediate 'ALTER SESSION SET TRACEFILE_IDENTIFIER=''SCOTT_APP''';
    execute immediate 'alter session set timed_statistics=true';
    execute immediate 'ALTER SESSION SET EVENTS ''10046 TRACE NAME CONTEXT FOREVER, LEVEL 12''';
    end if;
    exception
    when others then
    null;
    end;
    end;
    Of course, you can play around with the 'if' condition, and delete or disable the trigger when it is no longer needed. The resulting trace file can be run through tkprof.
    Edited by: EdStevens on Dec 19, 2008 9:03 AM

  • How to trace drop command in oracle database.

    Dear All,
    As a DBA how can we trace the drop cammand in database to know who droped , deleted the tables or deleted data from tables or droped directory from dba_directories.
    Thanks,

    Thanks Kamran,
    see for me audit file is not creating at OS level.
    SQL> CONN audit_test/password
    Connected.
    SQL>
    SQL> CREATE TABLE test_tab (id NUMBER 3 );
    Table created.
    SQL>
    SQL> INSERT INTO test_tab (id) VALUES (1);
    1 row created.
    SQL> UPDATE test_tab SET id = id;
    1 row updated.
    SQL> SELECT * FROM test_tab;
    ID
    1
    SQL> DELETE FROM test_tab;
    1 row deleted.
    SQL> DROP TABLE test_tab;
    Table dropped.
    SQL> conn /as sysdba
    Connected.
    SQL> show parameter audit
    NAME TYPE VALUE
    audit_file_dest string C:\ORACLE\PRODUCT\10.2.0\ADMIN
    \TEST1\ADUMP
    audit_sys_operations boolean TRUE
    audit_trail string OS
    SQL> host
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\sherkhan>cd c:\oracle\product\10.2.0\admin\test1\adump
    C:\oracle\product\10.2.0\admin\test1\adump>dir
    Volume in drive C has no label.
    Volume Serial Number is F855-F548
    Directory of C:\oracle\product\10.2.0\admin\test1\adump
    05/19/2011 09:07 AM <DIR> .
    05/19/2011 09:07 AM <DIR> ..
    0 File(s) 0 bytes
    2 Dir(s) 1,414,656,000 bytes free
    Thankss

  • How to create a DBlink from oracle database on unix to sqlserver

    Hi
    I need to create a database link from oracle database on solaris machine to sqlserver database.I found that the database link cannot be created from oracledatabase 10g to microsoft sqlserver.So i am planning to go for another windows server where i can pull this data from sqlserver to oracle 10g database on windows and then from windows to unix.
    Can you explain me how can i create a database link from orace 10g on windows to sqlserver.

    HI
    Thanks for your response.
    But the thing is i am looking whether if u can create a database link from oracle to sqlserver from unix.If that's the case what is the driver i require and if not how can i do it ?
    I am ready to create a intermediate windows server where i can pull the table temporarily and then from there to unix box.
    If i can do it windows how can i achieve that.
    Thanks

  • Impact Analysis: How to trace which objects and tables used in a report?

    Impact Analysis: How to trace which Webi objects and tables used in a report?
    Currently, our company have been using BO Webi as our ad-hoc and reporting tool for over a year now.  Past several months, we've been pushing our power users to develop their own report, and started to notice that we loss track off which data (tables, columns, ... , BO objects) being used where and by whom.   The BI team now spend more time tracing through reports manually, instead of designing Universe.
    After consulted with our local  SAP  technical sale, they said the only solution is to buy BO's ETL (Data Integration) and
    Metadata Management tool, which price starting from $300K per CPU.  I suppose that is NOT the right solution; however, we have not found one yet.  Some executives believe Cognos (now by IBM) would provide a better BI solution as we scale.
    If anyone know, please provide (1) Impact Analysis method: How to trace which Webi objects and tables used in a report? and (2) Does Cognos provide better impact analysis method without a heavy spending?
    Thank you very much,
    Ed
    Edited by: EdPC-SCB on Sep 8, 2009 3:56 PM

    EdPC-SCB,
    have you tried enabling auditing?
    - Yes, audit log only shows user's activities which isn't useful for us. Please let us know any audit log that might be helpful .
    For most of the servers listed in the CMC there is an "Audit" tab.  I'd say if you have the disk space in your database for Auditor available, then if in doubt turn it on (at least for a while) to see if it exposes what you are seeking to find out --that'd be the quickest way.  The documentation (xir2_bip_auditor_en.pdf) doesn't offer much in helping you to see a correlation between ticking on an Audit option in a Server and how it will populate in the Auditor DB -- most of us just hunt and peck until we get what we want.  Once you have the good stuff in each of the Servers ticked on you'll be able to track down which report recieves which object.  To help youself out initially, you should run every report that you can find so Auditor will get seeded.
    thanks,
    John

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • How to search this value in oracle database to find out the table

    Hi expert,
    I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
    Many Thanks,

    918440 wrote:
    Hi friends,
    this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
    Handle:     918440
    Status Level:     Newbie
    Registered:     Mar 2, 2012
    Total Posts:     20
    Total Questions:     10 (10 unresolved)
    why do you waste time here when you NEVER get any answer to any question you post?

  • How to connect oracle database in UNIX OS

    Hi All
    can any one help me on how to connect to oracle database in UNIX system(PUTTY)..
    Generally what i am doing is
    1) login with my user name
    2) trying to connect oracle using the command sqlplus -s username/password
    showing error SQLPLUS: not found
    Do i need to go any path where oracle is install? iF yes, how to find out that? or any other step to connect? Please help me by giving the sequence of steps...
    Regards
    Prem Raj Dasari

    What is your database version?
    can any one help me on how to connect to oracle database in UNIX system(PUTTY)..
    Generally what i am doing is
    1) login with my user name
    2) trying to connect oracle using the command sqlplus -s username/password
    showing error SQLPLUS: not found
    Do i need to go any path where oracle is install? iF yes, how to find out that? or any other step to connect? Please help me by giving the sequence of steps...You need to source the database env file before running sqlplus.
    R12 -- Maintaining Oracle E-Business Suite Documentation Set
    http://docs.oracle.com/cd/B53825_08/current/html/docset.html
    11i -- Maintaining Oracle Applications Documentation Set
    http://docs.oracle.com/cd/B25516_18/current/html/docset.html
    Thanks,
    Hussein

  • How to know which table in the database a form is accessing

    Actually Im new to oracle applications,
    Im getting an error when i open a form from system administrator responsibility saying that table doesnot exist.
    My basic doubt is, how to know which table in the database a form is accessing.
    Any response is higly appreciated.
    Thanks,
    Praveen
    Edited by: user10239520 on Sep 10, 2008 7:07 AM

    Take a look at the following thread:
    Is there a query log in EBS?
    Re: Is there a query log in EBS?

  • How I know which manageability tools(Oracle Change Management Pack,Oracle C

    Dear all,
    How I know which manageability tools(Oracle Change Management Pack,Oracle Configuration Management Pack,Oracle Diagnostic Pack,Oracle Tuning Pack, etc.) are installed on my oracle databases? Is there v$view to look at? Thank you in advance for your help.

    The usual method is described in http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHGFIAF

  • What happen during shutdown oracle database

    Dear All,
    i have a questions and i enclosed some suggestions for the answer because I'm confused about the answers :
    What happens during shutdown oracle database :
    and the suggested answer :
    1- When shutdown the database with NORMAL or IMMEDIATE option : the database system writes check point before shutting down the database .
    2- when you shutdown the database with the IMMEDIATE , option , open transaction are rolled back before the database is shutdown .
    3- shutting down the database with abort always requires an instance recovery at the next startup .
    please suggest the right answer .
    Regards

    Hi Anwar,
    When you close a database, Oracle writes all database data and recovery data in the SGA to the datafiles and redo log files, respectively. Next, Oracle closes all online datafiles and redo log files.
    When you terminate the instance of an open database/use abort command to close and completely shut down the database the writing of all data in the buffers of the SGA to the datafiles and redo log files is skipped. The subsequent reopening of the database requires recovery, which Oracle performs automatically.
    I hope this will help you out to understand the process.

  • How I enable network service of Oracle database 10g XE ?

    Hi,
    How I enable network service of Oracle database 10g XE ?
    Following error occurs when printing:
    ORA-20001: The printing engine could not be reached because either
    the URL specified is incorrect or a proxy URL needs to be specified.

    ORA-20001 is a user defined error. So you will have to find out where it comes from.
    Regards
    Marcus

  • How to trace a user System or I.P address

    Hi Experts,
    Had to ask how to trace a User's System or I.p address whom  has performed changes over a BEX Query.
    I have a situation where a user has done some changes in report it displays in last changed by user name:-****and last change date  but i would like to trace the system from which these changes have been applied over a the bex Query.
    Thanks in advance
    Aman

    Hi Aman,
    Please have a quick look at the note 368048 which explains why the terminal ids are blank in some cases and gives the solutions where applicable.
    If you want to see the current workstation with IP Addresses you can have a look at table USR41 which contains this information but this is not contained within the security audit log.
    539404     FAQ: Answers to questions about the Security Audit
    39418      Logging user actions
    As for your query, about viewing user's IP, you might need to get user's Terminal ID from STAT/AL08 and manually use tracert in MS-DOS command to see particular user's IP. EG:tracert myl5005500.
    Tracing route to <hostname>[10.10.10.10]
    over a maximum of 30 hops:
      1    <1 ms    <1 ms    <1 ms  <FQDN> [10.10.10.10]
    Trace complete.
    Note : I personally tested from logging in via query designer but my connections were not displayed in USR41. Once I connect to backend system my terminal IP could be traced.
    Regards,
    Naveen.

  • How sql developer connects to a oracle database

    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    Sameera

    924164 wrote:
    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    SameeraWelcome to OTN
    From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
    Then provide Host Name, Port and SID
    Click on Test button and then save or connect.
    Hope this will help you

Maybe you are looking for

  • 4600DN - pages 100% covered in toner.

    I have a problem that I am trying to resolve with a 4600DN printer. Every page printed is covered 100% in magenta toner. I've read about the known issues with this printer model and magenta toner, but I think this is a different problem. If I swap sa

  • IPhoto imports images from cache

    I am new to OSX. i have an iPhone 5 and an iPad mini. i recently bought a MacBook Air and set up using all the same user name details. i've also connected all devices to iCloud. when i first opened iPhoto i was pleased to see all my photos i had take

  • How to save agoogle map to jpg on a mac

    How do I save a google map to jpg on a MAC?

  • LOV-Dynamic value selection

    I am executing following query for LOV in APEX or HTML DB 2.0 IF :P2_TX_ID IS NOT NULL THEN RETURN 'SELECT TX_UNIT_NAME FROM TRANSPLANT_UNIT WHERE TX_ID=:P_TX_ID'; ELSE RETURN 'SELECT TX_UNIT_NAME FROM TRANSPLANT_UNIT ORDER BY 1'; END IF; When I run

  • How to classify a document based on Microsoft's Naive Bayes algorithm?

    I am quite unfamiliar with using SSAS as of the moment. I am aware of the classical implementation of Naive Bayes. I have learned about it from the here. However what I am looking for is a complete walkthrough of how to use this particular algorithm