Log file variables

Hi
I am taking the following steps to try to generate my log file from an ODI variable:
1. Create an ODI variable say called ESSBASELOG, give it a path and file e.g. D:\ODI\Errors\Essbase\essload.err
2. In your interface in the KM options for the log filename enter #ESSBASELOG.
3. Create a package, drag the variable and set it to declare, drag the interface, join them up, execute.
But for some reason, the path is not recognised, and instead the log file is generated in the ODI bin directory with the variable name as the log name ie.#ESSBASELOG.
Can anyone suggest what I should try to resolve this?
Cheers

Hi,
Qualify your variable name with your project code .
i.e #<PROJECT_CODE>.<VARIABLE_NAME>
Thanks,
Sutirtha

Similar Messages

  • How to using variable in log file name on ODI 10.1.3.5?

    Hi,
    how can i put a my variable into my log file name?
    now I use this syntax --> ExRate_<%=odiRef.getSysDate("MMddyyHHmm")%>.log.
    But I have a variable for example #server, the value = "oracleProd" and i want to put the variable value into my log file name.
    so the result that i want to get is --> ExRate_oracleProd_<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    so how can I apply the variable value to my log file name? I try using odiRef.getSessionVarList(#Month) but it didn't work.
    Thanks.
    Regards,
    chris
    Edited by: 877142 on Aug 3, 2011 9:36 PM

    hi,
    You can by
    ExRate-#server-<%=odiRef.getSysDate("MMddyyHHmm")%>.log
    Note that I have changed the underscores to dashes. This is because ODI will assume that this is a wildcard/escape character.
    Hope this helps!!
    Bos

  • NO SMSTS.LOG file after OSD

    Single Primary Site SCCM 2012 R2 CU4.
    Deploying BareMetal machines using basic task sequence.
    The machine joins the domain however the sccm client install failed and I cannot locate the SMSTS.log anywhere.
    In C:\windows we have ccmsetup with ccmsetup.log, client.msi.log and MicrosoftPolicyPlatformSetup.msi.
    There is no c:\_SMSTaskSequence or C:\WIndows\CCM folder.
    CCMSETUP.log
    <![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.cab.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\ccmsetup.xml]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\vcredist_x86.exe.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\vc50727_x64.exe.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\MicrosoftPolicyPlatformSetup.msi.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984"
    file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\WindowsFirewallConfigurationProvider.msi.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984"
    file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\SCEPInstall.exe.download]LOG]!><time="13:41:10.611+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[Deleted file C:\Windows\ccmsetup\client.msi.download]LOG]!><time="13:41:10.627+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:9497">
    <![LOG[CcmSetup failed with error code 0x80070663]LOG]!><time="13:41:10.627+300" date="02-20-2015" component="ccmsetup" context="" type="1" thread="984" file="ccmsetup.cpp:10883">
    CLIENT.MSI
    MSI (s) (A4:64) [13:41:10:003]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
    MSI (s) (A4:64) [13:41:10:003]: File will have security applied from OpCode.
    MSI (s) (A4:64) [13:41:10:050]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi' against software restriction policy
    MSI (s) (A4:64) [13:41:10:050]: SOFTWARE RESTRICTION POLICY: C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi has a digital signature
    MSI (s) (A4:64) [13:41:10:050]: SOFTWARE RESTRICTION POLICY: C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi is permitted to run because the user token authorizes execution (system or service token).
    MSI (s) (A4:64) [13:41:10:050]: End dialog not enabled
    MSI (s) (A4:64) [13:41:10:050]: Original package ==> C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi
    MSI (s) (A4:64) [13:41:10:050]: Package we're running from ==> C:\Windows\Installer\5159e.msi
    MSI (s) (A4:64) [13:41:10:050]: APPCOMPAT: Compatibility mode property overrides found.
    MSI (s) (A4:64) [13:41:10:050]: APPCOMPAT: looking for appcompat database entry with ProductCode '{8864FB91-94EE-4F16-A144-0D82A232049D}'.
    MSI (s) (A4:64) [13:41:10:050]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (A4:64) [13:41:10:050]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (A4:64) [13:41:10:050]: User policy value 'TransformsAtSource' is 0
    MSI (s) (A4:64) [13:41:10:050]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
    MSI (s) (A4:64) [13:41:10:050]: Unable to create a temp copy of patch 'C:\WINDOWS\TEMP\KB2994331_X64.MSP'.
    MSI (s) (A4:64) [13:41:10:050]: Note: 1: 1708
    MSI (s) (A4:64) [13:41:10:050]: Product: Configuration Manager Client -- Installation failed.
    MSI (s) (A4:64) [13:41:10:050]: Windows Installer installed the product. Product Name: Configuration Manager Client. Product Version: 5.00.7958.1000. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1635.
    MSI (s) (A4:64) [13:41:10:112]: MainEngineThread is returning 1635
    MSI (s) (A4:74) [13:41:10:112]: No System Restore sequence number for this installation.
    This update package could not be opened. Verify that the update package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer update package.
    C:\Windows\ccmsetup\{181D79D7-1115-4D96-8E9B-5833DF92FBB4}\client.msi
    MSI (s) (A4:74) [13:41:10:112]: User policy value 'DisableRollback' is 0
    MSI (s) (A4:74) [13:41:10:112]: Machine policy value 'DisableRollback' is 0
    MSI (s) (A4:74) [13:41:10:112]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
    MSI (s) (A4:74) [13:41:10:112]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (A4:74) [13:41:10:112]: Restoring environment variables
    MSI (c) (54:70) [13:41:10:112]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (54:70) [13:41:10:112]: MainEngineThread is returning 1635
    === Verbose logging stopped: 2/20/2015  13:41:10 ===

    Until the client agent is installed, smsts.log will be in C:\Windows\Temp.
    That won't help you troubleshoot the client agent installation failure though. For Windows Installer installations, 1603 is a generic error code that means you needs to examine the verbose msi log file (client.msi.log in this case) in depth. Searching
    for the string "return code 3" and then scanning the lines above this will lead you to exact item that failed.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Bursting Program Ends in Error with nothing in the Log file

    Hi All
    I have a RDF which calls a bursting program in After report trigger, the problem i'm facing is that the bursting program is completing successfully for a set of parameters and when again the program is run for the same set of parameters the bursting program is ending in error, i have checked the log file but nothing in the log file
    below is my log file
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 30-SEP-2013 15:11:15
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    Request ID: 574533
    All Parameters: Dummy for Data Security=N:ReportRequestID=574532:DebugFlag=Y
    Report Req ID: 574532
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:T1DEVEBSAPP1
    Preparing parameters
    null output =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574533.out
    inputfilename =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Data XML File:/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Set Bursting parameters..
    Temp. Directory:/tmp
    [093013_031118656][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
    [093013_031118657][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=574532, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://t1devebsapp1.travelzoo.com:8001/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=574532, user-variable:cp:locale=en-US, user-variable:cp:user=SETUPUSER, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=574533, user-variable:cp:org_id=81, user-variable:cp:reportdescription=Travelzoo Invoice Print Selected Invoices-Child, user-variable:cp:Dummy for Data Security=N}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    602
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 30-SEP-2013 15:11:41
    +---------------------------------------------------------------------------+
    and the output says..
    "Error!! Could not deliver the output for Delivery channel:null "
    Wondering What might be the issue, any help on this is greatly appreciated.
    -Ragul

    Ram,
    Is this a custom or standard concurrent program?
    Was this working properly before? If yes, what changes have been done recently?
    Did you try to relink the concurrent program executable file and see if this helps? Also, you could enable trace/debug and submit the request again and see if more details are collected in the logs -- See (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12).
    Regards,
    Hussein

  • Bursting Program Errors Out with nothing in the Log file

    Hi All
    I have a RDF which calls a bursting program in After report trigger, the problem i'm facing is that the bursting program is completing successfully for a set of parameters and when again the program is run for the same set of parameters the bursting program is ending in error, i have checked the log file but nothing in the log file
    below is my log file
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 30-SEP-2013 15:11:15
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    Request ID: 574533
    All Parameters: Dummy for Data Security=N:ReportRequestID=574532:DebugFlag=Y
    Report Req ID: 574532
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:T1DEVEBSAPP1
    Preparing parameters
    null output =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574533.out
    inputfilename =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Data XML File:/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Set Bursting parameters..
    Temp. Directory:/tmp
    [093013_031118656][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
    [093013_031118657][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=574532, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://t1devebsapp1.travelzoo.com:8001/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=574532, user-variable:cp:locale=en-US, user-variable:cp:user=SETUPUSER, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=574533, user-variable:cp:org_id=81, user-variable:cp:reportdescription=Travelzoo Invoice Print Selected Invoices-Child, user-variable:cp:Dummy for Data Security=N}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    602
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 30-SEP-2013 15:11:41
    +---------------------------------------------------------------------------+
    and the output says..
    "Error!! Could not deliver the output for Delivery channel:null "
    Wondering What might be the issue, any help on this is greatly appreciated.
    -Ragul

    Can you find any details about the error from the "View Detail" button (the same window where you check the log and output files)?
    I found the Workflow logs, I am not sure what I am looking for, but i am not seeing any errors reported.The event viewer is supposed to send an email, so do you see anything in the logs that could be related?
    Thanks,
    Hussein

  • Unable to view SQL Request in Log files

    Hi Folks,
    I am facing an issue which I am unable to find out the solution to view the physical query generated in log files in Presentation Services.
    Below is the SQL Request generated but I want to view the exact physical query i.e SQL Request which is hitting DB.
    So please guiude me to resolve this issue, I guess it is because of Initialization blocks created which is blocking to view the SQL request.
    -------------------- SQL Request:
    set variable LOGLEVEL = 7;SELECT "- Policy Effective-Start Date"."Start Quarter" saw_0, "- Insurance Policy Facts".Revenue saw_1, "- Insurance Policy Facts"."# Insurance Policies" saw_2, "Insurance Policy".Status saw_3, "Insurance Policy".Type saw_4 FROM "Insurance Policies" WHERE ("Insurance Policy".Type = 'Policy') AND ("- Policy Effective-Start Date"."Start Julian Day Number" BETWEEN VALUEOF(CURRENT_JULIAN_DAY)-365 AND VALUEOF("CURRENT_JULIAN_DAY")) ORDER BY saw_0, saw_3, saw_4
    /* QUERY_SRC_CD='rawSQL' */
    Regards
    Dj

    There is no Enterprise Edition of SSMS. There is SSMS Basic and SSMS Complete. Prior to 2012 sp1, only SSMS Basic were available with Express Edition - but as of 2012 sp1 Expredd also offers SSMS Complete. SSMS Complete is selected bu default when you install
    SSMS (unless you are prior to 2012 sp1 and are using Express, of course).
    However, even SSMS Basic *should* show Agent assuming you have permissions for that. This is hearsay, but from trusted sources. Here is what to do:
    Check what is installed for the machine from where you are running SSMS. You can do that using SQL Server Installation Center - see this blog post: http://sqlblog.com/blogs/tibor_karaszi/archive/2011/02/10/what-does-this-express-edition-look-like-anyhow.aspx
     (towards the end).
    On that machine try both this problematic account as well as an account which is sysadmin. Does the sysadmin account see Agent? If so, you know permissions aren't granted properly. If not, then you know the tool is the problme.
    Also try the problematic account from a machine where you know you see Agent normally. Again, this will help you assess whether the problem is the tool (SSMS) or permissions for the account.
    Tibor Karaszi, SQL Server MVP |
    web | blog

  • Generating a log file from oracle db

    I want to generate a log file in which i want to dump some useful messages, when anyone does a dml operation on a table, and also, i want to have a switch like YES or NO (may be an environment variable,,) if i switch it to YES the log file should get generated, if NO then, no log file will be generated..
    can anyone help, how can you do this task ?
    thanks a lot in advance..
    srini

    You can use a Trigger and UTL_FILE to write to a file (on the server).
    Example:
    create or replace trigger test_file
      after insert or delete or update on test_case 
      for each row
    declare
    v_logfile utl_file.file_type;
    begin
      v_logfile := utl_file.fopen('\myfiles','test_file.log','a');
      if inserting then
         utl_file.put_line(v_logfile,'Inserting to table');
      elsif deleting then
         utl_file.put_line(v_logfile,'Deleting to table');
      else
         utl_file.put_line(v_logfile,'Updating to table');
      end if;
      utl_file.fclose(v_logfile);
    end test_file;
    I want to generate a log file in which i want to dump some useful messages, when anyone does a dml operation on a table, and also, i want to have a switch like YES or NO (may be an environment variable,,) if i switch it to YES the log file should get generated, if NO then, no log file will be generated..
    can anyone help, how can you do this task ?
    thanks a lot in advance..
    srini

  • Mac takes 5 mins to wake from sleep and I have bizarre log files

    Can anyone help me figure out what is plaguing my mac. Is it haunted?
    My Macbook Pro (mid 2012 ish) is behaving very strangely. When I wake it up from sleep, it takes five minutes before it is responsive and lets me log in. The progress bar at the bottom rapidly moves to the last bar, then freezes for five minutes.
    When I look at the logs, there is bizarre behavior. I get pages and pages of these kind of events:
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076547000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807654a000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807654e000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076552000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076556000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076558000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807655c000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x807655f000, 0x1000]
    Jan 28 12:13:18 Matts-MacBook-Pro-2 kernel[0]: [0x8076562000, 0x1000]
    Like, 20 or thirty pages.
    My Mac wakes itself up in the middle of the night for no apparent reason, performs some operations, and then logs thousands of the kernel events like the one above.
    My Mac also seems to be trying to connect to strange DNS addresses.
    I uploaded a copy of the bizarre log files here.
    https://dl.dropboxusercontent.com/u/59141003/Bizarre%20logs.rtf
    It is malware? Is it a configuration issue? Is there a ghost in the machine?
    Appreciate anyone's help with this.
    Thanks much,
    Matt

    Unfortunately that didn't fix it. I removed the network drive (and everything else) from login items and there are still problems. The Macbook only takes 2-3 minutes to wake, but this is still a long time. (Strangely, immediately after I removed the login item, the Mac woke up in ~30 seconds). There is also some sort of kernel that is occurring thousands of times while the Mac is sleeping. No idea why.
    Any ideas? Log files below:
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b72000, 0x1000]
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b74000, 0x1000]
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b76000, 0x1000]
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170b9e000, 0x1000]
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170ba2000, 0x1000]
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: [0x8170bcb000, 0x1000]
    Feb  3 13:51:15 Matts-MacBook-Pro-2 kernel[0]: *** kernel exceeded 500 log message per second limit  -  remaining messages this second discarded ***
    Feb  3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 54, ErrLogCount 1 ResolverIntf:5
    Feb  3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 60, ErrLogCount 2 ResolverIntf:5
    Feb  3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 54, ErrLogCount 3 ResolverIntf:5
    Feb  3 13:51:15 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 192.168.1.1 Port 53 errno 50, fd 54, ErrLogCount 4 ResolverIntf:5
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_page_list_setall(preflight 0) start 0xffffff80d4833000, 0xffffff80d48d1000
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown started
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown: wired_pages 221016, free_pages 1081654, active_pages 575735, inactive_pages 201062, speculative_pages 182, cleaned_pages 0, compressor_pages 1356
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown_pmap_structs done: last_valid_compact_indx 831016
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown: mark_as_unneeded_pages 2048, 16858, 13454
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_teardown completed - discarded 32360
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_page_list_setall time: 394 ms
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: pages 1171003, wire 172917, act 575735, inact 143, cleaned 0 spec 182, zf 200919, throt 0, compr 1356, xpmapped 40000
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: did discard act 58566 inact 52699 purgeable 18963 spec 89519 cleaned 4
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: WARNING: hibernate_page_list_setall skipped 7745 xpmapped pages
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_page_list_setall found pageCount 951252
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: IOHibernatePollerOpen, ml_get_interrupts_enabled 0
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: IOHibernatePollerOpen(0)
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: encryptStart 14e970
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: bitmap_size 0x3f8e0, previewSize 0x1b9dd0, writing 950450 pages @ 0x348020
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_rebuild started
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_rebuild_pmap_structs done: last_valid_compact_indx 831016
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_rebuild completed - took 67 msecs
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: booter start at 3955 ms smc 0 ms, [13, 0, 0] total 8185 ms, dsply 820, 68 ms, tramp 550 ms
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_machine_init: state 2, image pages 172690, sum was 2936fa79, imageSize 0x671a3000, image1Size 0xf1e5000, conflictCount 1887, nextFree 13eb
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_newruntime_map time: 0 ms, IOHibernatePollerOpen(), ml_get_interrupts_enabled 0
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: IOHibernatePollerOpen(0) 57 ms
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_machine_init reading
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: PMStats: Hibernate read took 89939 ms
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: hibernate_machine_init pagesDone 951025 sum2 c4873a84, time: 89939 ms, disk(0x20000) 15 Mb/s, comp bytes: 2598879232 time: 2677 ms 925 Mb/s, crypt bytes: 1476124672 time: 615 ms 2288 Mb/s
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: Wake reason: EC.PME (User)
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: Previous sleep cause: 5
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: Previous shutdown cause: 0
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: AppleThunderboltGenericHAL::earlyWake - complete - took 19 milliseconds
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: TBT W (1): 0 [x]
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: AirPort: Link Down on en1. Reason 8 (Disassociated because station leaving).
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: en1::IO80211Interface::postMessage bssid changed
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Packet received with Netpattern
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Disassociation/Deauth received
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Retrograde TSF detected
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Beacons Lost
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: PTK Refresh received
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: EAP-Identity request received
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Wake on GTK failure
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Extended Magic Packet received
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Key Rotation Packet received
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: ARPT: Wake Reason: Unicast frame received
    Feb  3 18:21:02 Matts-MacBook-Pro-2 kernel[0]: AirPort: Link Up on awdl0
    Feb  3 18:21:02 Matts-MacBook-Pro-2.local configd[26]: [0x7fd4ed0223d0] [m]DNS query timeout (query time = 16186.890294), [46TE]
    Feb  3 18:21:02 Matts-MacBook-Pro-2.local watchdogd[148]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0
    Feb  3 18:21:02 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour stop listening on awdl0
    Feb  3 18:21:03 Matts-MacBook-Pro-2.local WindowServer[124]: CGXDisplayDidWakeNotification [11673708712273]: posting kCGSDisplayDidWake
    Feb  3 18:21:03 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: Reordering authw 0x7f97374e5950(2000) (lock state: 3)
    Feb  3 18:21:03 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: err 0x0
    Feb  3 18:21:04 Matts-MacBook-Pro-2 kernel[0]: ARPT: 11674.203693: AirPort_Brcm43xx::powerChange: System Wake - Full Wake/ Dark Wake / Maintenance wake
    Feb  3 18:21:06 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNSServer:: PowerState is Wakeup
    Feb  3 18:21:06 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:06.259 : SDStatusMonitor::kStatusWirelessPowerChanged
    Feb  3 18:21:08 Matts-MacBook-Pro-2.local BezelServices 245.23[67]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2602
    Feb  3 18:21:09 Matts-MacBook-Pro-2.local discoveryd[51]: AwdlD2d AwdlD2dStartAdvertisingPair: 'matts-macbook-pro-2' Advertising service started
    Feb  3 18:21:12 --- last message repeated 1 time ---
    Feb  3 18:21:09 Matts-MacBook-Pro-2.local discoveryd[51]: AwdlD2d AwdlD2dStartAdvertisingPair: 'a4791cefff8789c800000000000008efip6arpa' Advertising service started
    Feb  3 18:21:09 Matts-MacBook-Pro-2.local discoveryd[51]: Basic WABServer NetResolverEvent no resolvers, resetting domains
    Feb  3 18:21:09 Matts-MacBook-Pro-2.local configd[26]: network changed: v4(en1-:192.168.1.5) DNS- Proxy-
    Feb  3 18:21:09 Matts-MacBook-Pro-2.local racoon[199]: ioctl(SIOCGIFAFLAG_IN6) failed:Can't assign requested address
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:10.012 : SDStatusMonitor::kStatusWirelessPowerChanged
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: CNPluginHandler en1: Inactive
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local networkd[153]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic DNSResolver UDNSServer:: PowerState is Wakeup
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
    Feb  3 18:21:12 --- last message repeated 2 times ---
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local awacsd[152]: KV HTTP 0
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Warn DD_Warn: Corrupt NSEC RDATA size
    Feb  3 18:21:10 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from AUTO to SUSPENDED
    Feb  3 18:21:10 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlSuspendedMode() Suspending AWDL, enterQuietMode(true)
    Feb  3 18:21:10 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
    Feb  3 18:21:12 --- last message repeated 7 times ---
    Feb  3 18:21:11 Matts-MacBook-Pro-2.local com.apple.backupd-helper[43]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc
    Feb  3 18:21:12 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
    Feb  3 18:21:12 Matts-MacBook-Pro-2.local airportd[30]: Property list invalid for format: 100 (property lists cannot contain objects of type 'CFType')
    Feb  3 18:21:12 Matts-MacBook-Pro-2.local discoveryd[51]: Basic Bonjour,Warn Warning: IPv6 listener multicast send failed en1, 49
    Feb  3 18:21:12 --- last message repeated 1 time ---
    Feb  3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: ARPT: 11682.620786: MacAuthEvent en1   Auth result for: e4:f4:c6:0d:32:e8  MAC AUTH succeeded
    Feb  3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: AirPort: Link Up on en1
    Feb  3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
    Feb  3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: en1::IO80211Interface::postMessage bssid changed
    Feb  3 18:21:12 Matts-MacBook-Pro-2 kernel[0]: AirPort: RSN handshake complete on en1
    Feb  3 18:21:13 Matts-MacBook-Pro-2 kernel[0]: PM response took 3004 ms (27, powerd)
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local watchdogd[148]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000300 msg=0x0
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local coreaudiod[238]: 2015-02-03 06:21:13.001786 PM [AirPlay] Power: SystemHasPoweredOn
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local coreaudiod[238]: 2015-02-03 06:21:13.002091 PM [AirPlay] BTLE client starting to browse for AirPlay Solo Target Presence.
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:13.002 : Stopping Handoff scanning
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:13.002 : Starting AirDrop server for user 501 on wake
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local wirelessproxd[49]: Failed to start a scan - central is not powered on: 0
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local wirelessproxd[49]: AirPlaySolo central manager can't be used to start scanning - not powered on
    Feb  3 18:21:13 Matts-MacBook-Pro-2.local wirelessproxd[49]: Failed to stop a scan - central is not powered on: 0
    Feb  3 18:21:15 Matts-MacBook-Pro-2.local awacsd[152]: KV HTTP 0
    Feb  3 18:21:17 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local configd[26]: network changed: DNS* Proxy
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: [CNInfoNetworkActive:1709] en1: SSID 'Matt's Matrix' making interface primary (cache indicates network not captive)
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: CNPluginHandler en1: Evaluating
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: en1: Not probing 'Matt's Matrix' (cache indicates not captive)
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local UserEventAgent[16]: Captive: CNPluginHandler en1: Authenticated
    Feb  3 18:21:17 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:17.293 : SDStatusMonitor::kStatusWirelessPowerChanged
    Feb  3 18:21:17 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:17.355 : SDStatusMonitor::kStatusWirelessPowerChanged
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local networkd[153]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local configd[26]: network changed: v4(en1!:192.168.1.5) DNS+ Proxy+ SMB
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local networkd[153]: +[NETLedBelly stopFastFail] Clearing ledbelly failure cache
    Feb  3 18:21:17 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
    Feb  3 18:21:17 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:17.363 : SDStatusMonitor::kStatusWirelessPowerChanged
    Feb  3 18:21:18 Matts-MacBook-Pro-2.local airportd[30]: Property list invalid for format: 100 (property lists cannot contain objects of type 'CFType')
    Feb  3 18:21:19 Matts-MacBook-Pro-2.local discoveryd[51]: Basic NATTServer Got device info URL: http://192.168.1.1:5000/Public_UPNP_gatedesc.xml
    Feb  3 18:21:19 Matts-MacBook-Pro-2.local discoveryd[51]: Basic NATTServer,Warn RecvFrom failed 35 Resource temporarily unavailable
    Feb  3 18:21:19 Matts-MacBook-Pro-2 kernel[0]: en1: BSSID changed to e4:f4:c6:0d:32:e8
    Feb  3 18:21:19 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:19.784 : SDStatusMonitor::kStatusWirelessPowerChanged
    Feb  3 18:21:20 Matts-MacBook-Pro-2.local discoveryd[51]: Basic NATTServer Got control URL: http://192.168.1.1:5000//Public_UPNP_C3 (ip)
    Feb  3 18:21:20 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlOperatingMode Setting the AWDL operation mode from SUSPENDED to AUTO
    Feb  3 18:21:20 Matts-MacBook-Pro-2 kernel[0]: IO80211AWDLPeerManager::setAwdlAutoMode Resuming AWDL
    Feb  3 18:21:34 Matts-MacBook-Pro-2.local mds[33]: (DiskStore.Normal:2376) 7001 9.219400
    Feb  3 18:21:34 Matts-MacBook-Pro-2.local BezelServices 245.23[67]: ASSERTION FAILED: dvcAddrRef != ((void *)0) -[DriverServices getDeviceAddress:] line: 2602
    Feb  3 18:21:36 --- last message repeated 1 time ---
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: IOBluetoothUSBDFU::probe
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: IOBluetoothUSBDFU::probe ProductID - 0x821D FirmwareVersion - 0x0147
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: **** [IOBluetoothHostControllerUSBTransport][start] -- completed -- result = TRUE -- 0xc800 ****
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: **** [BroadcomBluetoothHostControllerUSBTransport][start] -- Completed -- 0xc800 ****
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: [IOBluetoothHCIController][staticBluetoothTransportShowsUp] -- Received Bluetooth Controller register service notification -- 0xc800
    Feb  3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.216 : SDStatusMonitor::kStatusBluetoothPowerChanged
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: [IOBluetoothHCIController::setConfigState] calling registerService
    Feb  3 18:21:36 Matts-MacBook-Pro-2 kernel[0]: **** [IOBluetoothHCIController][ProcessBluetoothTransportShowsUpActionWL] -- Connected to the transport successfully -- 0x4f80 -- 0xf800 -- 0xc800 ****
    Feb  3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.322 : SDStatusMonitor::kStatusBluetoothPowerChanged
    Feb  3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.323 : SDStatusMonitor::kStatusBluetoothPowerChanged
    Feb  3 18:21:36 --- last message repeated 1 time ---
    Feb  3 18:21:36 Matts-MacBook-Pro-2.local blued[60]: Release the WiFi lock
    Feb  3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.365 : SDStatusMonitor::kStatusBluetoothPowerChanged
    Feb  3 18:21:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:21:36.366 : SDStatusMonitor::kStatusBluetoothPowerChanged
    Feb  3 18:21:39 Matts-MacBook-Pro-2.local CalendarAgent[235]: [com.apple.calendar.store.log.caldav.coredav] [Refusing to parse response to PROPPATCH because of content-type: [text/html; charset=UTF-8].]
    Feb  3 18:21:40 --- last message repeated 1 time ---
    Feb  3 18:21:40 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_desktop_screenshot: authw 0x7f97374e5950(2000), shield 0x7f9737498760(2001)
    Feb  3 18:21:40 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_lock_screen_screenshot: authw 0x7f97374e5950(2000)[0, 0, 1680, 1050] shield 0x7f9737498760(2001), dev [1680,1050]
    Feb  3 18:21:42 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Starting automatic backup
    Feb  3 18:21:43 Matts-MacBook-Pro-2 kernel[0]: nspace-handler-set-snapshot-time: 1423005705
    Feb  3 18:21:43 Matts-MacBook-Pro-2.local com.apple.mtmd[23]: Set snapshot time: 2015-02-03 18:21:45 -0500 (current time: 2015-02-03 18:21:43 -0500)
    Feb  3 18:21:43 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Attempting to mount network destination URL: afp://admin@R7000._afpovertcp._tcp.local/MattsBackup
    Feb  3 18:21:45 Matts-MacBook-Pro-2 kernel[0]: ASP_TCP CheckReqQueueSize: increasing req queue from 32 to 128 entries. so 0xffffff8021327b88
    Feb  3 18:21:47 Matts-MacBook-Pro-2 kernel[0]: pci pause: SDXC
    Feb  3 18:21:51 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Mounted network destination at mount point: /Volumes/MattsBackup using URL: afp://admin@R7000._afpovertcp._tcp.local/MattsBackup
    Feb  3 18:21:51 Matts-MacBook-Pro-2.local mds[33]: (Volume.Normal:2464) volume:0x7f81b4848000 ********** Bootstrapped Creating a default store:0 SpotLoc:(null) SpotVerLoc:(null) occlude:0 /Volumes/MattsBackup
    Feb  3 18:21:54 Matts-MacBook-Pro-2.local soagent[303]: Can't allocate SOHelper <SOMessageHelper: 0x7f9d97987600> inside com.apple.soagent
    Feb  3 18:21:54 Matts-MacBook-Pro-2.local soagent[303]: Can't allocate SOHelper <SOMessageHelper: 0x7f9d97978c30> inside com.apple.soagent
    Feb  3 18:21:54 Matts-MacBook-Pro-2.local soagent[303]: Can't allocate SOHelper <SOMessageHelper: 0x7f9d95eaab60> inside com.apple.soagent
    Feb  3 18:21:54 Matts-MacBook-Pro-2.local WindowServer[124]: CGXDisplayDidWakeNotification [11725085404121]: posting kCGSDisplayDidWake
    Feb  3 18:21:54 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: Deferring.
    Feb  3 18:22:05 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_desktop_screenshot: authw 0x7f97374e5950(2000), shield 0x7f9737498760(2001)
    Feb  3 18:22:05 Matts-MacBook-Pro-2.local WindowServer[124]: device_generate_lock_screen_screenshot: authw 0x7f97374e5950(2000)[0, 0, 1680, 1050] shield 0x7f9737498760(2001), dev [1680,1050]
    Feb  3 18:22:18 Matts-MacBook-Pro-2.local WindowServer[124]: CGXDisplayDidWakeNotification [11748877872075]: posting kCGSDisplayDidWake
    Feb  3 18:22:18 Matts-MacBook-Pro-2.local WindowServer[124]: handle_will_sleep_auth_and_shield_windows: Deferring.
    Feb  3 18:22:18 Matts-MacBook-Pro-2.local loginwindow[67]: ERROR | -[LWBuiltInScreenLockAuthLion askForPasswordBuiltIn:] | Attempted to add an observer when already observing
    Feb  3 18:22:22 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.auditd[1117]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: Auditing enabled
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: Got low space trigger
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: auditd_read_dirs(): all audit log directories over soft limit
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: renamed /var/audit/20150203154008.not_terminated to /var/audit/20150203154008.20150203232222
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local auditd[1117]: New audit file is /var/audit/20150203232222.not_terminated
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local mattchessen[1123]: audit warning: closefile /var/audit/20150203154008.20150203232222
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local mattchessen[1124]: audit warning: soft /var/audit
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local mattchessen[1122]: audit warning: allsoft
    Feb  3 18:22:22 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:22.363 : Stopping Handoff advertising
    Feb  3 18:22:28 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.D48796F6-3978-4387-93C2-4989DCF9CBCA[955]): Service exited with abnormal code: 1
    Feb  3 18:22:29 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:29.192 : Stopping Handoff advertising
    Feb  3 18:22:31 Matts-MacBook-Pro-2 kernel[0]: Sound assertion in AppleHDAFunctionGroup at line 1053
    Feb  3 18:22:38 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:38.132 : Stopping Handoff advertising
    Feb  3 18:22:47 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:47.121 : Stopping Handoff advertising
    Feb  3 18:22:47 Matts-MacBook-Pro-2.local Console[1125]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
    Feb  3 18:22:49 Matts-MacBook-Pro-2.local sharingd[245]: 18:22:49.125 : Stopping Handoff advertising
    Feb  3 18:22:56 Matts-MacBook-Pro-2 kernel[0]: hfs: mounted Time Machine Backups on device disk3s2
    Feb  3 18:22:57 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Disk image /Volumes/MattsBackup/Matt’s MacBook Pro (10).sparsebundle mounted at: /Volumes/Time Machine Backups
    Feb  3 18:22:57 Matts-MacBook-Pro-2.local mds[33]: (Volume.Error:880) Root store set to FSOnly with matching create! (loaded:1)
    Feb  3 18:22:59 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Backing up to /dev/disk3s2: /Volumes/Time Machine Backups/Backups.backupdb
    Feb  3 18:23:02 Matts-MacBook-Pro-2.local com.apple.mtmd[23]: attempting to thin because of low free space on Hard Drive by removing 2015-02-03 09:45:02 -0500, estimate 0 bytes to recover, 1 snapshot can be thinned
    Feb  3 18:23:18 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.auditd[1159]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: Auditing enabled
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: Got low space trigger
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: auditd_read_dirs(): all audit log directories over soft limit
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local mattchessen[1162]: audit warning: soft /var/audit
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local mattchessen[1163]: audit warning: allsoft
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: renamed /var/audit/20150203232222.not_terminated to /var/audit/20150203232222.20150203232318
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local auditd[1159]: New audit file is /var/audit/20150203232318.not_terminated
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local mattchessen[1165]: audit warning: closefile /var/audit/20150203232222.20150203232318
    Feb  3 18:23:18 Matts-MacBook-Pro-2.local sandboxd[165] ([1158]): mdworker(1158) deny mach-lookup com.apple.distributed_notifications@1v3
    Feb  3 18:23:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Will copy (16.1 MB) from Hard Drive
    Feb  3 18:23:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Found 224 files (16.1 MB) needing backup
    Feb  3 18:23:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: 104.9 MB required (including padding), 372.13 GB available
    Feb  3 18:23:30 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:30.780 : Stopping Handoff advertising
    Feb  3 18:23:34 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:34.964 : Stopping Handoff advertising
    Feb  3 18:23:35 Matts-MacBook-Pro-2 com.apple.WebKit.WebContent[1169]: BUG in libdispatch: 14B25 - 2943 - 0x4
    Feb  3 18:23:36 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.WebKit.WebContent.26E586B0-8E8C-4BF8-9155-0732444C5876[1169]): Service exited with abnormal code: 1
    Feb  3 18:23:36 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Feb  3 18:23:36 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:36.966 : Stopping Handoff advertising
    Feb  3 18:23:44 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:44.299 : Stopping Handoff advertising
    Feb  3 18:23:47 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:47.463 : Stopping Handoff advertising
    Feb  3 18:23:48 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:48.890 : Stopping Handoff advertising
    Feb  3 18:23:56 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Feb  3 18:23:57 Matts-MacBook-Pro-2.local sharingd[245]: 18:23:57.844 : Stopping Handoff advertising
    Feb  3 18:23:58 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Feb  3 18:24:06 --- last message repeated 1 time ---
    Feb  3 18:24:06 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:06.844 : Stopping Handoff advertising
    Feb  3 18:24:12 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Copied 254 items (16.1 MB) from volume Hard Drive. Linked 4264.
    Feb  3 18:24:15 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:15.839 : Stopping Handoff advertising
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Created new backup: 2015-02-03-182416
    Feb  3 18:24:17 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.auditd[1175]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.auditd
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: Auditing enabled
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: Got low space trigger
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: auditd_read_dirs(): all audit log directories over soft limit
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local mattchessen[1178]: audit warning: soft /var/audit
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local mattchessen[1179]: audit warning: allsoft
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: renamed /var/audit/20150203232318.not_terminated to /var/audit/20150203232318.20150203232417
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local auditd[1175]: New audit file is /var/audit/20150203232417.not_terminated
    Feb  3 18:24:17 Matts-MacBook-Pro-2.local mattchessen[1181]: audit warning: closefile /var/audit/20150203232318.20150203232417
    Feb  3 18:24:18 Matts-MacBook-Pro-2 com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): The _DirtyJetsamMemoryLimit key is not available on this platform.
    Feb  3 18:24:18 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Starting post-backup thinning
    Feb  3 18:24:18 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: No post-backup thinning needed: no expired backups exist
    Feb  3 18:24:19 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Backup completed successfully.
    Feb  3 18:24:19 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:19.803 : Stopping Handoff advertising
    Feb  3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: hfs: unmount initiated on Time Machine Backups on device disk3s2
    Feb  3 18:24:22 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Ejected Time Machine disk image: /Volumes/MattsBackup/Matt’s MacBook Pro (10).sparsebundle
    Feb  3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: AFP_VFS afpfs_unmount: /Volumes/MattsBackup, flags 0, pid 1185
    Feb  3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: ASP_TCP Disconnect: triggering reconnect by bumping reconnTrigger from curr value 0 on so 0xffffff8021327b88
    Feb  3 18:24:22 Matts-MacBook-Pro-2 kernel[0]: ASP_TCP Detach: Reply queue not empty?
    Feb  3 18:24:23 Matts-MacBook-Pro-2.local com.apple.backupd[1106]: Ejected Time Machine network volume.
    Feb  3 18:24:28 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:28.796 : Stopping Handoff advertising
    Feb  3 18:24:37 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:37.797 : Stopping Handoff advertising
    Feb  3 18:24:46 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:46.768 : Stopping Handoff advertising
    Feb  3 18:24:55 Matts-MacBook-Pro-2.local sharingd[245]: 18:24:55.764 : Stopping Handoff advertising
    Feb  3 18:25:03 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:03.796 : Stopping Handoff advertising
    Feb  3 18:25:12 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:12.597 : Stopping Handoff advertising
    Feb  3 18:25:24 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:24.996 : Stopping Handoff advertising
    Feb  3 18:25:54 Matts-MacBook-Pro-2.local sharingd[245]: 18:25:54.846 : Stopping Handoff advertising
    Feb  3 18:26:03 Matts-MacBook-Pro-2.local sharingd[245]: 18:26:03.669 : Stopping Handoff advertising
    Feb  3 18:26:09 Matts-MacBook-Pro-2.local sharingd[245]: 18:26:09.907 : Stopping Handoff advertising
    Feb  3 18:26:11 Matts-MacBook-Pro-2.local sharingd[245]: 18:26:11.910 : Stopping Handoff advertising
    Feb  3 18:26:20 Matts-MacBook-Pro-2.local SystemUIServer[229]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.backupd.status.xpc

  • Error in sql_engine_core_inst_Cpu64_1.log file for SQL Server 2012

    I was running SQL Server 2012 in Win 7 64 bit OS. Some how I found SQLSERVER server is not running and I was not able to run the service. Then I tried to unisntall and install again. And I found that some of the SQL Server
    features got failed,  like: Reporting Services - Native, Database Engine Services, Data Quality Services, Full-Text and Semantic Extractions for Search and SQL Server Replication. I checked the Summary.txt
    file from location C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log. It thsi logs referes to another log file location like: 
    Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, and then try the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          1639
      Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140127_151409\sql_engine_core_inst_Cpu64_1.log
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=sql_engine_core_inst.msi%400x162A16FE%400x1639
    I did unisntall/install multipel times. But fhw to fix the issue that saying in sql_engine_core_inst_Cpu64_1.log file.: 
    === Verbose logging started: 1/27/2014  15:45:04  Build type: SHIP UNICODE 5.00.7601.00  Calling process: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\SQLServer2012\x64\ScenarioEngine.exe ===
    MSI (c) (C4:BC) [15:45:04:321]: Resetting cached policy values
    MSI (c) (C4:BC) [15:45:04:321]: Machine policy value 'Debug' is 0
    MSI (c) (C4:BC) [15:45:04:321]: ******* RunEngine:
               ******* Product: E:\Software\SQL Full Installation\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (c) (C4:BC) [15:45:04:322]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (C4:BC) [15:45:04:322]: Grabbed execution mutex.
    MSI (c) (C4:BC) [15:45:04:323]: Cloaking enabled.
    MSI (c) (C4:BC) [15:45:04:323]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (C4:BC) [15:45:04:323]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (38:8C) [15:45:04:327]: Running installation inside multi-package transaction E:\Software\SQL Full Installation\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
    MSI (s) (38:8C) [15:45:04:327]: Grabbed execution mutex.
    MSI (s) (38:A0) [15:45:04:327]: Resetting cached policy values
    MSI (s) (38:A0) [15:45:04:327]: Machine policy value 'Debug' is 0
    MSI (s) (38:A0) [15:45:04:327]: ******* RunEngine:
               ******* Product: E:\Software\SQL Full Installation\x64\setup\sql_engine_core_inst_msi\sql_engine_core_inst.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (s) (38:A0) [15:45:04:452]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (38:A0) [15:45:04:452]: User policy value 'TransformsAtSource' is 0
    MSI (s) (38:A0) [15:45:04:475]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (38:A0) [15:45:04:475]: Specified instance {18B2A97C-92C3-4AC7-BE72-F823E0BC895B} via transform :InstID01.mst;:InstName02.mst is already installed. MSINEWINSTANCE requires a new instance that is not installed.
    MSI (s) (38:A0) [15:45:04:475]: MainEngineThread is returning 1639
    MSI (s) (38:8C) [15:45:04:477]: User policy value 'DisableRollback' is 0
    MSI (s) (38:8C) [15:45:04:477]: Machine policy value 'DisableRollback' is 0
    MSI (s) (38:8C) [15:45:04:477]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (38:8C) [15:45:04:478]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
    MSI (s) (38:8C) [15:45:04:478]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 
    MSI (s) (38:8C) [15:45:04:478]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (s) (38:8C) [15:45:04:478]: Restoring environment variables
    MSI (c) (C4:BC) [15:45:04:481]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
    MSI (c) (C4:BC) [15:45:04:481]: MainEngineThread is returning 1639
    === Verbose logging stopped: 1/27/2014  15:45:04 ===
    Please advice. I searched many places and did not get actual solution that will resolve my case.
    Nusrat Akhter

    Hi Nusrat Akhter,
    According to your description, when installing the first install failed, and it looks like the instance did not uninstall completely. To solve the issue I recommend you changed the instance name in re-installing SQL Server, and check if it can work fine.
    There is a similar issue that the SQL engine will not start, and there is no method of uninstalling either it, or any of the components etc. You can review the following post.
    https://connect.microsoft.com/SQLServer/feedback/details/710892/sql-server-2012-rc0-install-fails-citing-invalid-drivers
    Thanks,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Application to read 2 log files from internet

    Hi,
    Anybody could tell me how to develop this project. I'm lack of time. thanks
    You have been asked into a company called Broken Arrow Software as a Senior Software Engineer and Management consultant. You are being paid very handsomely and have been asked to write an application program in Java for parsing a log file.
    � The program will have a standard menu using the AWT only.
    � ALL LAYOUTS MUST USE ONLY THE BORDER-LAYOUT OR GRID-LAYOUT OR A COMBINATION OF BOTH (Any other layouts score zero).
    This application reads two Log files from the internet. The first file contains USA state names and the abbreviation used for that state. This information will be used in displaying totals from another network file and should be stored in an array (or two arrays, or a two dimensional array) in the program. The second file should extract the �Reversed subdomain� section from a Log file (a section is shown later) and store this in an array in the application. This should be processed and only those domains beginning with �us.� should be processed. Each �us.� Has an abbreviated USA state after it (�tx� is an abbreviation for Texas). The abbreviations are sorted and all states are on consecutive lines and each displays a number of accesses for that state. The accesses should be totalled and displayed in the current Frame for each state in the form of Java List components (these do not need to be synchronised so that they all scroll in unison).
    The application will be a Java application with the following menus and MenuItems:
    � Splash screen (10%)
    � Application (20%)
    o Open USA abbreviation file
    o Clear screen
    o Exit
    � File (25%)
    o Open network log file
    o Open locally saved report file
    o Recent report files
    o Save as report file
    � Graph (20%)
    o Plot
    � Help (15%)
    o Help on Application
    o About
    A basic pass for the application will be for a basic implementation of an application with �help� options and some basic implementations of a Splash screen and some basic file and application options. Very high marks will be awarded for processing network files, saving and opening files, very good HCI, application design and error handling, excellent OO design for classes, gorgeous layout and commenting of code and excellent graphing capabilities.
    Error handling dialogs and overall application design (10%)
    Every class must be in a separate file.
    Inheritance should be used for WindowListeners of Frames and Dialogs.
    Up to 10% can also be lost by unprofessional code layout and lack of professional standards. Always adhere to standards taught throughout the module and your time at the University of Northumbria.
    Examples of non-professionalism would include bad indentation, no comments, meaningless variable names, politically incorrect graphics, commented out code, empty .java files, .java files which are not part of the project etc. Remember your application is your livelihood and your company depends on your application standards.
    The splash screen must be a Frame with a Canvas as part of it showing your own logo. Your logo should be individual to you but does not need to win the computing equivalent of the Turner prize. The application should be displayed behind the Splash screen and both should be visible. The application must not be able to be brought to the front and used without the Splash screen being disposed of.
    The application should only enable the �Open USA abbreviation file�, �Open locally saved report file�, �Help� options and �Exit� Menus and MenuItems, when the application starts. On opening a valid USA abbreviation file, then the other Menus and MenuItems should be enabled.
    The abbreviations should be read into an array. These should be used in displaying the totals for the reversed subdomain totals for each USA state. A total for all USA states should be displayed at the bottom of the current Frame, with a suitable Label (this design is your own). This current Frame should display a series of Lists starting with a List of USA state number (1 to n). A List of USA state abbreviation should be next followed by a List of the actual USA state name, followed by a List of the total accesses for that state.
    The report file should be an ASCII file that can be printed out from an ASCII text editor such as DOS edit or Microsoft NotePad.
    The �Open� network files should display a Dialog asking for the http:// address of the file, with �OK� and �Cancel� options. It is helpful if the user can hit �return� instead of clicking on �OK� and �Escape� instead of �cancel�. Error Dialogs should be used to indicate any errors that may occur and the state of the application should be reset to that of before displaying the Dialog.
    When �Save as report file� is chosen a FileDialog box should be used for the user to choose both directory and filename. The file should be able to be saved as a �.rpt� file.
    Open report file should display the report in a Frame; the design of which is your own.
    Plotting the graph should pass a two dimensional array to a Frame with a Canvas. The Canvas should have a Paint method that draws the axis for the graph and any suitable Headings etc. The graph should draw a histogram of totals per USA states. The graph design is your own but you may wish to use Microsoft Excel as a good example of drawing a histogram.
    The �Clear screen� option should clear any data off the current screen.
    The �Exit� option should quit the application but it may be helpful to ask the user if they really want to exit the application.
    Help must be Java code and not linking into HTML. It should display help in a well designed screen. The most basic implementation might use a scrollable TextArea for a basic mark.
    See other software for a good �About� screen. The most basic should display your name, date, version and company.
    � Help should display your help on using the application. As a senior software engineer, the design is your own, based on experience of using applications, as is the opening splash screen. You may use other applications for inspiration only, as these will make up your experience.
    � Your good knowledge gained from HCI units studied should prove invaluable in the interface design and the usability of the application.
    � The design (Screens and classes) and quality and documentation of code throughout the application will be marked. The experience gained from programming 1 and 2 and Object Oriented Programming should prove invaluable throughout the application, as should any GUI units studied.
    The log file can be accessed at:
    http://computing.unn.ac.uk/staff/cgpb2/public_html/log.html

    You would really gain ever so much more from this exercise if you would write a couple of classes, then come back with some specific questions. If you're completely lost, try starting with the GUI first. It's not the best practice, always, but it is easy to visualize.
    On a side note, I wish I'd had assignments even half this intersting when I was in my Java classes...

  • How to recover the database when some of the archive log file get deleted.

    I am facing a problem with Oracle database, which is related to archivelogs.
    Our development database is running in archivelog mode, but we don't have backups scheduled and have no recovery catalog.
    When the database was in running condition, disk got full, so some archivelogs were deleted manually.
    After this they restarted the DB, and now DB is not coming up. Errors are as follows:
    SQL> startup
    ORACLE instance started.
    Total System Global Area 1444383504 bytes
    Fixed Size 731920 bytes
    Variable Size 486539264 bytes
    Database Buffers 956301312 bytes
    Redo Buffers 811008 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01113: file 1 needs media recovery
    ORA-01110: data file 1: '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    SQL> recover datafile '/export/home/oracle/dev/ADVFRW/ADVFRW.system'
    ORA-00283: recovery session canceled due to errors
    ORA-01610: recovery using the BACKUP CONTROLFILE option must be done
    SQL> recover database using backup controlfile;
    ORA-00279: change 215548705 generated at 09/02/2008 17:06:10 needed for thread
    1
    ORA-00289: suggestion :
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00280: change 215548705 for thread 1 is in sequence #1107
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    /export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC
    ORA-00308: cannot open archived log
    '/export/home/oracle/dev/ADVFRW/ADVFRW.archivelog1/LOG_ADVFRW_1107_1.ARC'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    Media recovery cancelled.
    SQL>
    1. How to recover the database and bring it online
    Any help will be highly appreciated.
    With Regards
    Hemant Joshi
    Edited by: hem_Kec on Sep 7, 2008 9:07 AM

    Hi,
    Archive log files are the copies of redolog files.As redo log files are circularly overwritten,oracle generates archive log file of the corresponding redo logfiles being overwritten.So if you have a backup that dates back to 10 am in the morning and if your database creashed at 3 pm,you cannot use the redo log files alone as they have incomplete information.To completely recover the database upto 3 pm,you need archive log files generated between 10 am to 3 pm. In your case since you are missing one archive log file,you cannot perform complete recovery and hence would suffer data loss.

  • Log File on Desktop From Java HotSpot

    A colleague's PC has a log file on the desktop, created 28th October. Its title: 'hs_err_pid3268.log'
    Initially we were both concerned since Kaspersky had detected some viruses on his machine on it's nightly scan, however, looking at the log file I'm not sure whether to be worried or not! - It looks legitimate, if a bit odd...
    If somebody more knowledgeable could tell me firstly if it's anything sinister and secondly (if not) what may have cause it and whether it's an issue I should investigate on this machine.
    Thanks in advance, below is the contents of the text file. (As you can see I'm brand new to these forums, apologies if this is not the correct section for these kind of questions).
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d5ecb6d, pid=3268, tid=2164
    # Java VM: Java HotSpot(TM) Client VM (11.0-b16 mixed mode windows-x86)
    # Problematic frame:
    # C 0x6d5ecb6d
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x0e2fc400): JavaThread "Headspace mixer frame proc thread" daemon [_thread_in_native, id=2164, stack(0x0e250000,0x0e2a0000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x6d5ecb6d
    Registers:
    EAX=0x0e19aa10, EBX=0x0e18b8a2, ECX=0x00000080, EDX=0x6d5ecb6d
    ESP=0x0e29f740, EBP=0x0e29f788, ESI=0x00000080, EDI=0x0e18dda8
    EIP=0x6d5ecb6d, EFLAGS=0x00010202
    Top of Stack: (sp=0x0e29f740)
    0x0e29f740: 6d52ac78 0e2fc514 0e18dda8 00000000
    0x0e29f750: 0e2f0000 00000000 00000080 00000000
    0x0e29f760: 0e18dda8 00000000 0001af00 0001af00
    0x0e29f770: 002c6fe0 00000000 0e2f0000 0e100000
    0x0e29f780: 00000000 000021f8 0e2fc514 6d52b745
    0x0e29f790: 0e2fc514 80002d5a 0e2fc514 00000200
    0x0e29f7a0: 002c6fe0 0e29f7c0 00000000 00000010
    0x0e29f7b0: 6d52e6c0 0e2fc514 002c6fe0 00000000
    Instructions: (pc=0x6d5ecb6d)
    0x6d5ecb5d:
    [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
    Stack: [0x0e250000,0x0e2a0000], sp=0x0e29f740, free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x6d5ecb6d
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j com.sun.media.sound.MixerThread.runNative(J)V+0
    j com.sun.media.sound.MixerThread.run()V+5
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    =>0x0e2fc400 JavaThread "Headspace mixer frame proc thread" daemon [_thread_in_native, id=2164, stack(0x0e250000,0x0e2a0000)]
    0x0e2fc000 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=1604, stack(0x0e0b0000,0x0e100000)]
    0x0e2fb800 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3748, stack(0x0dea0000,0x0def0000)]
    0x0c625c00 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=4796, stack(0x0dda0000,0x0ddf0000)]
    0x0c628400 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=5976, stack(0x0dd00000,0x0dd50000)]
    0x0c628000 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3688, stack(0x0dcb0000,0x0dd00000)]
    0x0c627800 JavaThread "Thread-12" [_thread_blocked, id=5696, stack(0x0dbc0000,0x0dc10000)]
    0x0c627400 JavaThread "Thread-10" [_thread_blocked, id=3600, stack(0x0db70000,0x0dbc0000)]
    0x0c627000 JavaThread "thread applet-vmain.class-4" [_thread_blocked, id=3184, stack(0x0db20000,0x0db70000)]
    0x0c626800 JavaThread "Thread-11" [_thread_blocked, id=3308, stack(0x0dad0000,0x0db20000)]
    0x0c626400 JavaThread "Thread-9" [_thread_blocked, id=888, stack(0x0da80000,0x0dad0000)]
    0x0c625800 JavaThread "thread applet-vmain.class-2" [_thread_blocked, id=3848, stack(0x0df30000,0x0df80000)]
    0x0c624c00 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=3588, stack(0x0d9e0000,0x0da30000)]
    0x0c624400 JavaThread "AWT-EventQueue-5" [_thread_blocked, id=3932, stack(0x0d990000,0x0d9e0000)]
    0x0c624000 JavaThread "Applet 4 LiveConnect Worker Thread" [_thread_blocked, id=5964, stack(0x0d940000,0x0d990000)]
    0x0c623000 JavaThread "AWT-EventQueue-4" [_thread_blocked, id=824, stack(0x0d8f0000,0x0d940000)]
    0x0c623c00 JavaThread "Applet 3 LiveConnect Worker Thread" [_thread_blocked, id=4600, stack(0x0d850000,0x0d8a0000)]
    0x0c623400 JavaThread "AWT-EventQueue-3" [_thread_blocked, id=3516, stack(0x0d8a0000,0x0d8f0000)]
    0x0c621c00 JavaThread "Applet 2 LiveConnect Worker Thread" [_thread_blocked, id=4528, stack(0x0d7b0000,0x0d800000)]
    0x0c622800 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=5296, stack(0x0d800000,0x0d850000)]
    0x0c622400 JavaThread "Applet 1 LiveConnect Worker Thread" [_thread_blocked, id=3788, stack(0x0d0e0000,0x0d130000)]
    0x0c621800 JavaThread "Browser Side Object Cleanup Thread" [_thread_blocked, id=1152, stack(0x0d760000,0x0d7b0000)]
    0x0c621000 JavaThread "Windows Tray Icon Thread" [_thread_in_native, id=5244, stack(0x0d470000,0x0d4c0000)]
    0x0c620c00 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=5136, stack(0x0d420000,0x0d470000)]
    0x0c618000 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=3540, stack(0x0d3d0000,0x0d420000)]
    0x0c617000 JavaThread "Java Plug-In Heartbeat Thread" [_thread_blocked, id=3532, stack(0x0d380000,0x0d3d0000)]
    0x0c616c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2044, stack(0x0d130000,0x0d180000)]
    0x0c609800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4612, stack(0x0d090000,0x0d0e0000)]
    0x0c606000 JavaThread "AWT-Shutdown" [_thread_blocked, id=5280, stack(0x0cbc0000,0x0cc10000)]
    0x0c605800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5408, stack(0x0ca00000,0x0ca50000)]
    0x022ff800 JavaThread "Java Plug-In Pipe Worker Thread (Client-Side)" [_thread_in_native, id=2340, stack(0x0c9b0000,0x0ca00000)]
    0x022bc000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3872, stack(0x0c8d0000,0x0c920000)]
    0x0c5c0400 JavaThread "Timer-0" [_thread_blocked, id=6076, stack(0x0c880000,0x0c8d0000)]
    0x022b4000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2036, stack(0x0c4e0000,0x0c530000)]
    0x022adc00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3908, stack(0x0c490000,0x0c4e0000)]
    0x022ab800 JavaThread "Attach Listener" daemon [_thread_blocked, id=1768, stack(0x0c440000,0x0c490000)]
    0x022a0c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5708, stack(0x0c3f0000,0x0c440000)]
    0x02291000 JavaThread "Finalizer" daemon [_thread_blocked, id=4484, stack(0x0c3a0000,0x0c3f0000)]
    0x0228c800 JavaThread "Reference Handler" daemon [_thread_blocked, id=4220, stack(0x02300000,0x02350000)]
    0x02399800 JavaThread "main" [_thread_blocked, id=3472, stack(0x008c0000,0x00910000)]
    Other Threads:
    0x02287400 VMThread [stack: 0x01a30000,0x01a80000] [id=5028]
    0x022b5400 WatcherThread [stack: 0x0c530000,0x0c580000] [id=5604]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 251K [0x043a0000, 0x044a0000, 0x04880000)
    eden space 896K, 20% used [0x043a0000, 0x043cec30, 0x04480000)
    from space 64K, 100% used [0x04480000, 0x04490000, 0x04490000)
    to space 64K, 0% used [0x04490000, 0x04490000, 0x044a0000)
    tenured generation total 4096K, used 1436K [0x04880000, 0x04c80000, 0x083a0000)
    the space 4096K, 35% used [0x04880000, 0x049e7130, 0x049e7200, 0x04c80000)
    compacting perm gen total 12288K, used 10102K [0x083a0000, 0x08fa0000, 0x0c3a0000)
    the space 12288K, 82% used [0x083a0000, 0x08d7da68, 0x08d7dc00, 0x08fa0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\Program Files\Java\jre6\bin\java.exe
    0x77190000 - 0x772b7000      C:\Windows\system32\ntdll.dll
    0x75950000 - 0x75a2c000      C:\Windows\system32\kernel32.dll
    0x770c0000 - 0x77186000      C:\Windows\system32\ADVAPI32.dll
    0x761e0000 - 0x762a3000      C:\Windows\system32\RPCRT4.dll
    0x724d0000 - 0x724ee000      C:\Windows\system32\ShimEng.dll
    0x75670000 - 0x7569c000      C:\Windows\system32\apphelp.dll
    0x6acf0000 - 0x6ad78000      C:\Windows\AppPatch\AcLayers.DLL
    0x77350000 - 0x773ed000      C:\Windows\system32\USER32.dll
    0x75d60000 - 0x75dab000      C:\Windows\system32\GDI32.dll
    0x76460000 - 0x76f70000      C:\Windows\system32\SHELL32.dll
    0x762c0000 - 0x7636a000      C:\Windows\system32\msvcrt.dll
    0x758f0000 - 0x75949000      C:\Windows\system32\SHLWAPI.dll
    0x76f70000 - 0x770b5000      C:\Windows\system32\ole32.dll
    0x75ac0000 - 0x75b4d000      C:\Windows\system32\OLEAUT32.dll
    0x756f0000 - 0x7570e000      C:\Windows\system32\USERENV.dll
    0x756d0000 - 0x756e4000      C:\Windows\system32\Secur32.dll
    0x72b00000 - 0x72b42000      C:\Windows\system32\WINSPOOL.DRV
    0x750e0000 - 0x750f4000      C:\Windows\system32\MPR.dll
    0x758d0000 - 0x758ee000      C:\Windows\system32\IMM32.DLL
    0x75db0000 - 0x75e78000      C:\Windows\system32\MSCTF.dll
    0x762b0000 - 0x762b9000      C:\Windows\system32\LPK.DLL
    0x75a30000 - 0x75aad000      C:\Windows\system32\USP10.dll
    0x10000000 - 0x10011000      C:\PROGRA~1\KASPER~1\KASPER~1.0FO\r3hook.dll
    0x75830000 - 0x75837000      C:\Windows\system32\PSAPI.DLL
    0x752d0000 - 0x7546e000      C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18005_none_5cb72f96088b0de0\comctl32.dll
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da56000      C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x74200000 - 0x74232000      C:\Windows\system32\WINMM.dll
    0x741c0000 - 0x741f9000      C:\Windows\system32\OLEACC.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre6\bin\hpi.dll
    0x6d7b0000 - 0x6d7bc000      C:\Program Files\Java\jre6\bin\verify.dll
    0x6d320000 - 0x6d33f000      C:\Program Files\Java\jre6\bin\java.dll
    0x6d7f0000 - 0x6d7ff000      C:\Program Files\Java\jre6\bin\zip.dll
    0x6d430000 - 0x6d436000      C:\Program Files\Java\jre6\bin\jp2native.dll
    0x6d1c0000 - 0x6d1d3000      C:\Program Files\Java\jre6\bin\deploy.dll
    0x74fe0000 - 0x750d2000      C:\Windows\system32\CRYPT32.dll
    0x75140000 - 0x75152000      C:\Windows\system32\MSASN1.dll
    0x76370000 - 0x76456000      C:\Windows\system32\WININET.dll
    0x00950000 - 0x00953000      C:\Windows\system32\Normaliz.dll
    0x75e80000 - 0x75fb3000      C:\Windows\system32\urlmon.dll
    0x75fc0000 - 0x761a8000      C:\Windows\system32\iertutil.dll
    0x6d6b0000 - 0x6d6f2000      C:\Program Files\Java\jre6\bin\regutils.dll
    0x749a0000 - 0x749a8000      C:\Windows\system32\VERSION.dll
    0x6ee30000 - 0x6f057000      C:\Windows\system32\msi.dll
    0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
    0x77320000 - 0x7734d000      C:\Windows\system32\WS2_32.dll
    0x75ab0000 - 0x75ab6000      C:\Windows\system32\NSI.dll
    0x74cc0000 - 0x74cfb000      C:\Windows\system32\mswsock.dll
    0x74d30000 - 0x74d35000      C:\Windows\System32\wship6.dll
    0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
    0x6d000000 - 0x6d138000      C:\Program Files\Java\jre6\bin\awt.dll
    0x746a0000 - 0x746ac000      C:\Windows\system32\DWMAPI.DLL
    0x746e0000 - 0x7471f000      C:\Windows\system32\uxtheme.dll
    0x6d220000 - 0x6d274000      C:\Program Files\Java\jre6\bin\fontmanager.dll
    0x74980000 - 0x74985000      C:\Windows\System32\wshtcpip.dll
    0x74620000 - 0x7462f000      C:\Windows\system32\NLAapi.dll
    0x74f40000 - 0x74f59000      C:\Windows\system32\IPHLPAPI.DLL
    0x74f00000 - 0x74f35000      C:\Windows\system32\dhcpcsvc.DLL
    0x75220000 - 0x7524c000      C:\Windows\system32\DNSAPI.dll
    0x74ee0000 - 0x74ee7000      C:\Windows\system32\WINNSI.DLL
    0x74eb0000 - 0x74ed2000      C:\Windows\system32\dhcpcsvc6.DLL
    0x736e0000 - 0x736ef000      C:\Windows\system32\napinsp.dll
    0x73150000 - 0x73162000      C:\Windows\system32\pnrpnsp.dll
    0x736d0000 - 0x736d8000      C:\Windows\System32\winrnr.dll
    0x772d0000 - 0x77319000      C:\Windows\system32\WLDAP32.dll
    0x73d20000 - 0x73d26000      C:\Windows\system32\rasadhlp.dll
    0x74a70000 - 0x74aab000      C:\Windows\system32\rsaenh.dll
    0x6d520000 - 0x6d544000      C:\Program Files\Java\jre6\bin\jsound.dll
    0x6d550000 - 0x6d558000      C:\Program Files\Java\jre6\bin\jsoundds.dll
    0x74110000 - 0x74180000      C:\Windows\system32\DSOUND.dll
    0x74a00000 - 0x74a1a000      C:\Windows\system32\POWRPROF.dll
    0x716d0000 - 0x716ff000      C:\Windows\system32\wdmaud.drv
    0x70620000 - 0x70624000      C:\Windows\system32\ksuser.dll
    0x74190000 - 0x741b8000      C:\Windows\system32\MMDevAPI.DLL
    0x74630000 - 0x74637000      C:\Windows\system32\AVRT.dll
    0x75bd0000 - 0x75d5a000      C:\Windows\system32\SETUPAPI.dll
    0x747e0000 - 0x7480d000      C:\Windows\system32\WINTRUST.dll
    0x761b0000 - 0x761d9000      C:\Windows\system32\imagehlp.dll
    0x705f0000 - 0x70611000      C:\Windows\system32\AUDIOSES.DLL
    0x70410000 - 0x70476000      C:\Windows\system32\audioeng.dll
    0x716c0000 - 0x716c9000      C:\Windows\system32\msacm32.drv
    0x71360000 - 0x71374000      C:\Windows\system32\MSACM32.dll
    0x71460000 - 0x71467000      C:\Windows\system32\midimap.dll
    0x75840000 - 0x758c4000      C:\Windows\system32\CLBCatQ.DLL
    VM Arguments:
    jvm_args: -D__jvm_launched=614157692976 -Xbootclasspath/a:C:\\PROGRA~1\\Java\\jre6\\lib\\deploy.jar;C:\\PROGRA~1\\Java\\jre6\\lib\\javaws.jar;C:\\PROGRA~1\\Java\\jre6\\lib\\plugin.jar -Dsun.plugin2.jvm.args=-D__jvm_launched=614157692976 "-Xbootclasspath/a:C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\lib\\\\deploy.jar;C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\lib\\\\javaws.jar;C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\lib\\\\plugin.jar" "-Djava.class.path=C:\\\\PROGRA~1\\\\Java\\\\jre6\\\\classes" --
    java_command: sun.plugin2.main.client.PluginMain write_pipe_name=jpi2_pid568_pipe9,read_pipe_name=jpi2_pid568_pipe8
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\Program Files\Internet Explorer;;C:\Program Files\Microsoft Office\Office12\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Windows\System32\WindowsPowerShell\v1.0\
    USERNAME=xxxxxx
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows Vista Build 6002 Service Pack 2
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2097151k(1436212k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Client VM (11.0-b16) for windows-x86 JRE (1.6.0_11-b03), built on Nov 10 2008 02:15:12 by "java_re" with MS VC++ 7.1
    time: Thu Oct 28 12:01:14 2010
    elapsed time: 1 seconds

    Rob~R wrote:
    A colleague's PC has a log file on the desktop, created 28th October. Its title: 'hs_err_pid3268.log'
    Initially we were both concerned since Kaspersky had detected some viruses on his machine on it's nightly scan, however, looking at the log file I'm not sure whether to be worried or not! - It looks legitimate, if a bit odd...
    If somebody more knowledgeable could tell me firstly if it's anything sinister and secondly (if not) what may have cause it and whether it's an issue I should investigate on this machine.
    Thanks in advance, below is the contents of the text file. (As you can see I'm brand new to these forums, apologies if this is not the correct section for these kind of questions). It is a crash file from the Sun/Oracle VM.
    It either got on the desktop because a user manually moved it there or because something is probably misconfigured (at least to me) in the environment.
    If you are creating java applications (programming in the java language) then you would need to figure out why the app crashed.
    If you are using java applications then you need to tell the vendor that it crashed. And you would not do that here.

  • Show RMAN  message in log file and screen at same time

    Is there any way I can save all RMAN message in a log file and also show on standar out (screen).
    Thanks

    Hi,
    You can try a shell script like this if you are using linux:
    #!/bin/sh
    # Name: test_backup
    # Author: Tad_cs
    # Description: Executes backup using the RMAN
    export ORACLE_HOME=$1
    export ORACLE_SID=$2
    export LOG_DIR=$3
    # Variables:
    SCRIPT="test_backup"
    data_log=`date '+%y-%m-%d_%H:%M:%S'`
    logfile=${LOG_DIR}/${SCRIPT}-${data_log}.log
    # Execution of script backup of rman:
    $ORACLE_HOME/bin/rman <<EOF > $logfile
    connect target rman/rman
    connect catalog rman/rman
    run { execute script test_backup; }
    EOF
    exitSo, While the script is performing, you can open other screen, search for
    the log that is generating, and see the contents using:
    tail -f log_file_name.logIs this you need?
    []´s

  • How to recover from one corrupted redo log file in NOARCHIVE mode?

    Oracle 10.2.1.
    The redo log file was corrupted and Oracle can't work.
    When I use STARTUP mount, I got no error msg.
    SQL> startup mount
    ORACLE instance started.
    Total System Global Area 1652555776 bytes
    Fixed Size 1251680 bytes
    Variable Size 301991584 bytes
    Database Buffers 1342177280 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    But I have some applications which are depended on Oracle can't be started.
    So, I tried STARTUP open. But I got error msg.
    SQL> startup open
    ORACLE instance started.
    Total System Global Area 1652555776 bytes
    Fixed Size 1251680 bytes
    Variable Size 301991584 bytes
    Database Buffers 1342177280 bytes
    Redo Buffers 7135232 bytes
    Database mounted.
    ORA-00368: checksum error in redo log block
    ORA-00353: log corruption near block 497019 change 42069302 time 11/07/2007
    23:43:09
    ORA-00312: online log 4 thread 1:
    'G:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\REDO04.LOG'
    So, how can I restore and recover my database?
    If use RMAN, how to do that?
    Any help will be appreciated.
    Thanks.

    Hi, Yingkuan,
    Thanks for the helps.
    Actually, I have 10 redo log files exists. All of them are here.
    I tried your suggestion:
    alter database clear unarchived logfile group 4;
    The error msg I got is the same as before:
    SQL> alter database clear unarchived logfile group 4;
    alter database clear unarchived logfile group 4
    ERROR at line 1:
    ORA-01624: log 4 needed for crash recovery of instance nmdata (thread 1)
    ORA-00312: online log 4 thread 1:
    'G:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\REDO04.LOG'
    Compared to losing all the data, it is OK for me lose some of them.
    I have more than 1 TB data stored and 99.9% of them are raster images.
    The loading of these data were the headache. If I can save them, I can bear the lost.
    I want to grasp the last straw.
    But I don't know how set the parameter: allowresetlogs_corruption
    I got the error msg:
    SQL> set allowresetlogs_corruption=true;
    SP2-0735: unknown SET option beginning "_allow_res..."
    I have run the command:
    Recover database until cancel
    Alter database open resetlogs
    The error msg I got is the following:
    SQL> recover database until cancel
    ORA-00279: change 41902930 generated at 11/05/2007 22:01:48 needed for thread 1
    ORA-00289: suggestion :
    D:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\NMDATA\ARCHIVELOG\2007_11_09\O1_MF_
    1_1274_%U_.ARC
    ORA-00280: change 41902930 for thread 1 is in sequence #1274
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    cancel
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\NMDATA\SYSTEM01.DBF'
    ORA-01112: media recovery not started
    SQL>
    From the log file, I got the following:
    ALTER DATABASE RECOVER database until cancel
    Fri Nov 09 00:12:48 2007
    Media Recovery Start
    parallel recovery started with 2 processes
    ORA-279 signalled during: ALTER DATABASE RECOVER database until cancel ...
    Fri Nov 09 00:13:20 2007
    ALTER DATABASE RECOVER CANCEL
    Fri Nov 09 00:13:21 2007
    ORA-1547 signalled during: ALTER DATABASE RECOVER CANCEL ...
    Fri Nov 09 00:13:21 2007
    ALTER DATABASE RECOVER CANCEL
    ORA-1112 signalled during: ALTER DATABASE RECOVER CANCEL ...
    Thank you very much. and I am looking forward to your followup input.

  • Capturing log files from multiple .ps1 scripts called from within a .bat file

    I am trying to invoke multiple instances of a powershell script and capture individual log files from each of them. I can start the multiple instances by calling 'start powershell' several times, but am unable to capture logging. If I use 'call powershell'
    I can capture the log files, but the batch file won't continue until that current 'call powershell' has completed.
    ie.  within Test.bat
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    timeout /t 60
    start powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > f.log 2>&1
    the log files get created but are empty.  If I invoke 'call' instead of start I get the log data, but I need them to run in parallel, not sequentially.
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > a.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > b.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > c.log 2>&1
    timeout /t 60
    call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > d.log 2>&1
    timeout /t 60call powershell . \Automation.ps1 %1 %2 %3 %4 %5 %6 > e.log 2>&1
    Any suggestions of how to get this to work?

    Batch files are sequential by design (batch up a bunch of statements and execute them). Call doesn't run in a different process, so when you use it the batch file waits for it to exit. From CALL:
    Calls one batch program from another without stopping the parent batch program
    I was hoping for the documentation to say the batch file waits for CALL to return, but this is as close as it gets.
    Start(.exe), "Starts a separate window to run a specified program or command". The reason it runs in parallel is once it starts the target application start.exe ends and the batch file continues. It has no idea about the powershell.exe process
    that you kicked off. Because of this reason, you can't pipe the output.
    Update: I was wrong, you can totally redirect the output of what you run with start.exe.
    How about instead of running a batch file you run a PowerShell script? You can run script blocks or call individual scripts in parallel with the
    Start-Job cmdlet.
    You can monitor the jobs and when they complete, pipe them to
    Receive-Job to see their output. 
    For example:
    $sb = {
    Write-Output "Hello"
    Sleep -seconds 10
    Write-Output "Goodbye"
    Start-Job -Scriptblock $sb
    Start-Job -Scriptblock $sb
    Here's a script that runs the scriptblock $sb. The script block outputs the text "Hello", waits for 10 seconds, and then outputs the text "Goodbye"
    Then it starts two jobs (in this case I'm running the same script block)
    When you run this you receive this for output:
    PS> $sb = {
    >> Write-Output "Hello"
    >> Sleep -Seconds 10
    >> Write-Output "Goodbye"
    >> }
    >>
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    PS> Start-Job -Scriptblock $sb
    Id Name State HasMoreData Location Command
    3 Job3 Running True localhost ...
    PS>
    When you run Start-Job it will execute your script or scriptblock in a new process and continue to the next line in the script.
    You can see the jobs with
    Get-Job:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Running True localhost ...
    3 Job3 Running True localhost ...
    OK, that's great. But we need to know when the job's done. The Job's Status property will tell us this (we're looking for a status of "Completed"), we can build a loop and check:
    $Completed = $false
    while (!$Completed) {
    # get all the jobs that haven't yet completed
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"} # if Get-Job doesn't return any jobs (i.e. they are all completed)
    if ($jobs -eq $null) {
    $Completed=$true
    } # otherwise update the screen
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    This will output something like this:
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    Waiting for 2 jobs
    When it's done, we can see the jobs have completed:
    PS> Get-Job
    Id Name State HasMoreData Location Command
    1 Job1 Completed True localhost ...
    3 Job3 Completed True localhost ...
    PS>
    Now at this point we could pipe the jobs to Receive-Job:
    PS> Get-Job | Receive-Job
    Hello
    Goodbye
    Hello
    Goodbye
    PS>
    But as you can see it's not obvious which script is which. In your real scripts you could include some identifiers to distinguish them.
    Another way would be to grab the output of each job one at a time:
    foreach ($job in $jobs) {
    $job | Receive-Job
    If you store the output in a variable or save to a log file with Out-File. The trick is matching up the jobs to the output. Something like this may work:
    $a_sb = {
    Write-Output "Hello A"
    Sleep -Seconds 10
    Write-Output "Goodbye A"
    $b_sb = {
    Write-Output "Hello B"
    Sleep -Seconds 5
    Write-Output "Goodbye B"
    $job = Start-Job -Scriptblock $a_sb
    $a_log = $job.Name
    $job = Start-Job -Scriptblock $b_sb
    $b_log = $job.Name
    $Completed = $false
    while (!$Completed) {
    $jobs = Get-Job | where {$_.State.ToString() -ne "Completed"}
    if ($jobs -eq $null) {
    $Completed=$true
    else {
    Write-Output "Waiting for $($jobs.Count) jobs"
    sleep -s 1
    Get-Job | where {$_.Name -eq $a_log} | Receive-Job | Out-File .\a.log
    Get-Job | where {$_.Name -eq $b_log} | Receive-Job | Out-File .\b.log
    If you check out the folder you'll see the log files, and they contain the script contents:
    PS> dir *.log
    Directory: C:\Users\jwarren
    Mode LastWriteTime Length Name
    -a--- 1/15/2014 7:53 PM 42 a.log
    -a--- 1/15/2014 7:53 PM 42 b.log
    PS> Get-Content .\a.log
    Hello A
    Goodbye A
    PS> Get-Content .\b.log
    Hello B
    Goodbye B
    PS>
    The trouble though is you won't get a log file until the job has completed. If you use your log files to monitor progress this may not be suitable.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

Maybe you are looking for