Time values in logged thermocouple data not realistic

I'm in desperate need of LabVIEW programming help!  When the run arrow is clicked, my VI is designed to simultaneously start logging filtered thermocouple data and send a TTL-type pulse out of a CTR port on my ELVIS II+.  The pulse part of my code works fine (it's from an example VI), but the thermocouple part has a big issue.  The temperature data logs correctly, but the times associated with each data point are completely wrong.  I measured the time I ran my code the most recent time--it was about 20 seconds.  The logged data shows what appear to be the correct number of data points, but the last time value is only 2.88 seconds.  I have a feeling the filter might be part of the issue, but I don't know how to fix it.  I would be so completely grateful for any help anyone can provide!  My VI and LVM output files are attached.
Megan
Attachments:
TC.SPEC.DAQ_MKT_20140211.vi ‏96 KB
MENG352TC1_TCProgram.csv ‏10 KB

It sounds as though you may have two separate problems. One is the timing of readings and file updates and the other is what you are calling "unstable" readings.
Please provide some numerical values for the "unstable" readings. What do you mean by "exponentially high or low values?"  Obviously you expect the values to change when you touch the thermocouple. If the readings are way out of range (much different from your finger temperature), the problem is likely in hardware and should be corrected there, if possible, rather than trying to "filter it out" later. Filters tend to not be good ways to handle impulse-like interference. The transient response of the filter is excited by the impulse and you have to wait for it to die out. 
Please post some data which shows one or more fo the instabilities, along with your estimate of wht the actual temperatures should have been.
There are many ways to address the timing issues. First, define both the slowest and the fastest frequencies from which you will alow the user to select for temperature readings. You indicated that one reading every 5 seconds is the slowest. What is the fastest? How many options wil the user have between those limits? What else does the system do besides the temperature measurements? Will the user change the rate while the program is running or only before starting the acquisition?
Lyn

Similar Messages

  • Getting a Time value from a datetime data type in SQL Server - URGENT!

    Hi guys
    I have an urgent issue here -
    I have a datetime data type in a SQL Server database. The field holds both a time, and a date within it.
    I am able to pull the date out of the field by using:
    Date sDate = Date();
    while (gd.next()) {
    sDate = gd.getDate(2);
    how do this with the time????
    Thanks

    Hi,
    The funny part here is that you have already done it! The API is a great thing to use to help in your programming.
    API: The class Date represents a specific instant in time, with millisecond precision.
    You want time, you got it! How about:
    sDate.getTime();
    sDate.getMinutes();
    sDate.getHours();
    sDate.getSeconds();
    Not enough?

  • What you wanted to know about Time values

    Hello
    I tried to gather in a single document the useful infos about the use of time values in Numbers.
    I must thanks pw1840 which checked the English syntax.
    Here is the text only document.
    Files with the sample tables are available on my iDisk:
    <http://idisk.me.com/koenigyvan-Public?view=web>
    Download:
    ForiWork:ForNumbers:Time in Numbers.zip
    *STORED DATE-TIME VALUES - BASICS*
    Numbers clearly states that it stores date-time values, no less no more. This means these values consist of two parts: a date and a time. It is important to note that both parts are present even if only one of them is displayed.
    When we type the time portion only, it includes the current date even though it may not be displayed.
    But when we apply the formula: =TIME(0,0,ROUND(TIMEVALUE(B)24*6060,0)), we get a date-time value whose numerical value of the date portion is 0. This means, in AppleLand, 1 janvier 1904. Such a date-time allows us to make correct calculations, but there are two true drawbacks:
    1) Since TIMEVALUE() returns a decimal number, when we calculate the corresponding number of seconds we MUST use the ROUND() function. While calculations with decimal numbers give the wanted value, they may not be exact and be off by + or - epsilon. And
    2) The structure of Numbers date-time values is such that the time part is always in the range 0:00:00 thru 23:59:59.
    There is also a detail which seems annoying to some users. The minimal time unit is the second because time values are in fact a pseudo string representing the number of seconds between the date-time and the base date-time, 1 janvier 1904 00:00:00.
    -+-+-+-+-
    *TIMEVALUE() FUNCTION*
    When Numbers Help states that the TIMEVALUE() function "converts a date, a time, or a text string to a decimal fraction of a 24-hour day.", it means that the operand for the function TIMEVALUE() may be something like:
    31/12/1943, 31 décembre 1943, or 31 déc. 1943 described as a date;
    1:12:36 or 1:12 described as time; or
    31/12/1943 23:59:59 described as a text string.
    The date may also be 31/12/43 but here the program must guess the century. According to the rule, this one will be 31/12/2043 (yes, I am very young).
    All of this is not exactly what we are accustomed to but it is perfectly logical as described. My guess is that those who don't understand are simply clinging to old habits and are reluctant to adopt an unfamiliar approach .
    -+-+-+-+-
    *ELAPSED TIME (DURATION)*
    Given a table whose 1st row is a header, I will assume that column B stores starting-time values and column C stores ending-time values. Both do not display the date component of the date-time values. We may get the difference in column D with the formula:
    =IF(OR(ISBLANK(B),ISBLANK(C)),"",TIMEVALUE(C)-TIMEVALUE(B))
    which returns the elapsed time as the decimal part of the day.
    We immediately encounter a problem. If ending-time is the day after the starting-day, the result will be negative. So it would be useful to revise the formula this way:
    =IF(OR(ISBLANK(B),ISBLANK(C)),"",IF(TIMEVALUE(C)>TIMEVALUE(B),0,1)+TIMEVALUE(C) -TIMEVALUE(B))
    But some of us may wish to see results in the traditional format which may be achieved using:
    =IF(OR(ISBLANK(B),ISBLANK(C)),"",TIME(0,0,ROUND((IF(TIMEVALUE(C)>TIMEVALUE(B),0 ,1)+TIMEVALUE(C)-TIMEVALUE(B))24*6060,0)))
    -+-+-+-+-
    *DURATION SUMS > or = 24 HOURS*
    In the examples above, we always assumed that the durations where smaller than 24 hours because Numbers states clearly in the Help and the PDF Users Guide that time values are restricted to the range 00:00:0 to 23:59:59. For longer durations we must fool Numbers.
    First problem: we are adding several time durations. Each duration is in the authorized range and the result is greater than 24 hours.
    As before, starting-time values are in column B, ending-time ones are in column C, and the elapsed time value is in column D. The formula is:
    =IF(OR(ISBLANK(B),ISBLANK(C)),"",IF(TIMEVALUE(C)>TIMEVALUE(B),0,1)+TIMEVALUE(C) -TIMEVALUE(B))
    in column E, the formula for the cumulative elapsed time value is:
    =SUM($D$2:D2)
    in column F, converting to time format, the formula is:
    =TIME(0,0,ROUND(MOD(E,1)24*6060,0))
    in column G, the formula for showing more than 24 hours in the day/hour/minute format is:
    =IF(E<1,"",INT(E)&IF(E<2," day "," days "))&F
    in column H, expressing total elapsed time in total hours using the traditional time format, the formula is:
    =IF(E<1,F,INT(E)*24+LEFT(F,LEN(F)-6)&RIGHT(F,6))
    in column I, expressing total elapsed time in total hours using the traditional time format, an alternate formula is:
    =IF(E<1,F,INT(E)*24+HOUR(F)&":"&RIGHT("00"&MINUTE(F),2)&":"&RIGHT("00"&SECOND(F ),2))
    Of course the user would choose the format used in column G or the one in column I for his table. There is no need to keep all of them. It would be fine to hide column F whose contents are auxiliary.
    Second problem: individual durations may be greater than 23:59:59 hours.
    Again, column B is used to store starting date-time, column C stores ending date-time, and durations are calculated in column D. Since B and C are storing full date-time values, we may use this simple formula to find the duration:
    =C-B
    in column E, the time portion of the duration given in time format is:
    =TIME(0,0,ROUND(MOD(D,1)24*6060,0))
    in column F the formula to show the duration as days/hours/minutes is:
    =IF(D<1,"",INT(D)&IF(D<2," day "," day(s "))&E
    in column G we give the elapsed time in total hours using a time format. The formula is:
    =IF(D<1,E,INT(D)*24+LEFT(E,LEN(E)-6)&RIGHT(E,6))
    in column H we give the elapsed time in total hours using a time format. An alternate formula is:
    =IF(D<1,E,INT(D)*24+HOUR(E)&":"&RIGHT("00"&MINUTE(E),2)&":"&RIGHT("00"&SECOND(E ),2))
    If the duration is greater than 24 hours, the results in columns E and F are not a time value but a string. So the value in column D (which is time duration only) is useful.
    -+-+-+-+-
    *PROBLEM WITH ENTERING TIME*
    When you wish to enter 12:34 but 12 is the number of minutes, remember that Numbers will decipher this as 12 hours and 34 minutes. Simple tip:
    Assuming that your original entry is in column B, then in column C use this formula to align the minutes and seconds for proper Numbers interpretation:
    =IF(ISERROR(TIME(0,LEFT(B,SEARCH(":",B)-1),RIGHT(B,LEN(B)-SEARCH(":",B)))),"",T IME(0,LEFT(B,SEARCH(":",B)-1),RIGHT(B,LEN(B)-SEARCH(":",B))))
    -+-+-+-
    *MISCELLANEOUS NOTES*
    • Of course, the addition of two dates and multiplication or a division applied to one date means nothing and would generate the red triangle announcing a syntax error.
    • We may add a time value to a date-time: If B contains a date-time and C contains a time, the following formula will return the sum of the two values:
    =B+TIMEVALUE(C)
    • We may strip the time value of a full date-time one with the formula: =DATE(YEAR(B),MONTH(B),DAY(B))
    • Just as a reminder,
    =EDATE(B, 3) adds 3 months to the pure date stored in B
    so, of course,
    =EDATE(B, 12) adds one year to the pure date stored in B
    • If B and C store date-time values,
    =C-B returns the difference in decimal days.
    =DATEDIF(B,C,"D") returns the number of days between the two pure dates. It's identical to =DATE(YEAR(C),MONTH(C),DAY(C))-DATE(YEAR(B),MONTH(B),DAY(B))
    =DATEDIF(B,C,"M") returns the number of months between the two pure dates.
    =DATEDIF(B,C,"Y") returns the number of years between the two pure dates.
    Three other variants are available which use the parameters "MD","YM" and "YD".
    Yvan KOENIG (from FRANCE lundi 25 août 2008 15:23:34)

    KOENIG Yvan wrote in his "*STORED DATE-TIME VALUES - BASICS*" section:
    The minimal time unit is the second because time values are in fact a pseudo string representing the number of seconds between the date-time and the base date-time, 1 janvier 1904 00:00:00.
    This is not exactly true. Numbers files store date-time values in a string format consistent with ISO 8601:2004. This format explicitly includes year, month, day, hour, minute, & second values.
    This may be verified by examining the uncompressed index.xml file in a Numbers package. For example, the first day of 1904 is stored as cell-date="1904-01-01T00:00:00+0000" & of the year 0001 as cell-date="0001-01-01T00:00:00+0000." This format is not a numeric value of seconds from a base date-time, often referred to as a "serial time" format, that is used in applications like AppleWorks (or Excel?).
    Note that the time value (all that follows the "T" in the string) actually has four components, the last one (following the plus) representing the time zone offset from UTC time in minutes. AFAIK, Numbers does not set this to anything besides "+0000" but interestingly, it will attempt to interpret it if set by manually editing the file. For example, change cell-date="1904-01-01T00:00:00+0000" to cell-date="1904-01-01T00:00:00+0120" & the cell will display the last day of December of 1903 as the date, but will still show the time as 00:00:00. This suggests a future version of Numbers might be time zone aware, but currently it is unreliable & not fully implemented.
    Anyway, Numbers does not use the first day of 1904 as a reference for stored date-time values, although it will add that date to "dateless" time values imported from AppleWorks spreadsheets. Although I have not verified this, I believe it will also seamlessly translate between ISO & serial time formats as needed for Excel imports & exports, using the first day of 1900 as needed.
    Some other things to note about the ISO standard:
    • It permits fractional time values in the smallest time unit present, so for example "T10:15:30" could be represented as "T10:15.5" but Numbers does not support this -- the cell will appear empty if the index file is manually edited this way.
    • It does not stipulate whether date-time values represent intervals or durations (although it includes an explicit format for intervals between any two date-time values, known as a period). This means a future version of Numbers could support durations without the addition of a new data storage type, but legacy & import/export issues could make this too impractical to implement.
    • It supports a variety of other formats, including date-only, time-only, day-of-year, week-of-year, & various truncations (just hours & minutes, for example). All are unambiguous so a future version of Numbers could support them, but files generated with those versions would not be backwards compatible with the current version.
    For completeness, I will add that instead of using complex formulas to manipulate single-cell date-time values in Numbers, it is sometimes more straightforward to use multiple cells, one for each unit of time (for example, days, hours, minutes, & seconds), plus simple arithmetic formulas to combine them. Since each unit is a simple number, this results in highly portable, accurate, & "future-proof" tables, especially for durations. This is particularly useful for multimedia work in which the units might include video or film frames or audio samples.

  • Chat Messages do not show date and time of buddies logging in and out.

    If I keep my buddy chat with friends open, it used show the date and time that they log in and out. Now after updating to Yosemite, it does not and also will show the last message exchange as something way older that the last chat session. Not the actual last exchange. Why?
    Is there a setting that I can keep the date and time log. It's important for work conversations. Thanks.

    I realize that my needs are outside of the normal editing workflow. I am a private investigator and last week I shot over 6 hours of surveillance video on a Sony video camera. Within this 6 hours of video there is at most 2 minutes of actual footage of my subject. So what I wanted to do was just import the parts of the clip I want, so I can avoid importing the whole 6 hours, and then add a text title of some sort that shows the date/time. My problem is that once I get this clip I have easy way of establising the TOD short of taking the clip capture time and then counting up using the SMTPE Timecode. In this regard iMovie makes it easier because I can just hover over the clip and see the TOD of that specific frame. iMovie on the other hand would force me to import the whole 6 hour video so i'm left moving between both programs which is less than ideal.

  • I used firefox 3.6.14 on windows 7 x64 (firxfox x32). I found a problem when I develop my website and alert data or value via javascript , firefox hang (not response) every time. What's happend? How to solve is problem?

    I used firefox 3.6.14 on windows 7 x64 (firxfox x32). I found a problem when I develop my website and alert data or value via javascript , firefox hang (not response) every time. What's happend? How to solve is problem?
    Thank you for help
    Lohkaeo

    Oops - for some reason, this problem now seems to have gone away. May have had something to do with Flash. I'll keep my fingers crossed.

  • Metric shows real time value but does not show historical data

    I am using OEM 12c.I am facing an issue and I don't know where to look for problem.
    I had created one customized metric for percentage flash recovery area through metric extension.I deployed to it target databases.
    When I check it through Database --> All Metrics it shows me real time value for metric,Collection schedule,upload interval and last upload time.IT is all fine.
    When I check metric value history,
    For all the columns like Last Known Value,
    Collection Time stamp,
    Average Value,
    High Value,
    Low Value
    it shows no data.It even does not show anything in Metric Value History graph.
    Even the metric test in Metric Extension works fine.
    All the client agents are uploading the the data to OEM successfully.
    Any help,guide is appreciated.

    bit late but there are two options on metric creation "Alerting Only" or "Alerting and Historical Trending" - I assume you need the latter to show history so was this option used?

  • Problem with DateDiff and Date/Time value.

    The form below displayed perfectly until I added the line for DateDiff between VacStart and VacEnd. I receive an error message;
    An error occurred while evaluating the expression:
    #DateDiff("w", "VacStart", "VacEnd")#
    Error near line 48, column 51.
    Parameter 2 of function DateDiff which is now "VacStart" must be a date/time value
    The error occurred while processing an element with a general identifier of (#DateDiff("w", "VacStart", "VacEnd")#), occupying document position (48:50) to (48:86).
    I have tried changing the DB value to Date/Time as well as Text and get the same result each time. Any help would be greatly appreciated. Here is my code:
    <cfquery datasource="manna_premier" name="TM_log">
    SELECT *
    FROM TMStatusLog
    </cfquery>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>TM Status Log</title>
    </head>
    <body>
    <p align="center" class="style4">Territory Manager Status Log </p>
    <table width="1448" border="0">
      <tr>
        <th width="71"><span class="style3">ID No.#</span></th>
    <th width="88"><span class="style3"> Date</span></th>
    <th width="166"><span class="style3">TM Name</span></th>
    <th width="129"><span class="style3">Status</span></th>
    <th width="139"><span class="style3">Vac Start </span></th>
    <th width="137"><span class="style3">Vac End</span></th>
    <th width="203">Ttl Days </th>
    <th width="203"><span class="style3">DSR Ride Along Name</span></th>
    <th width="274"><span class="style3">Service Call Name</span></th>
      </tr><cfoutput query="TM_log">
      <tr>
        <td><span class="style3">#ID#</span></td>
        <td><div align="center"><span class="style3">#DateFormat(LogDate, "mm/dd/yyyy")#</span></div></td>
        <td><div align="center"><span class="style3">#TerritoryManager#</span></div></td>
        <td><div align="center"><span class="style3">#Status#</span></div></td>
        <td><div align="center"><span class="style3">#DateFormat(VacStart, "mm/dd/yyyy")#</span></div></td>
        <td><div align="center"><span class="style3">#DateFormat(VacEnd, "mm/dd/yyyy")#</span></div></td>
    <cfif VacStart IS NOT "Null">
        <td><div align="center"><span class="style3">#DateDiff("w", "VacStart", "VacEnd")#</span></div></td>
    </cfif>
        <td><div align="center"><span class="style3">#DSRName#</span></div></td>
        <td><div align="center"><span class="style3">#ServiceName#</span></div></td>
      </tr></cfoutput>
    </table>
    </body>
    </html>

    Error Diagnostic Information
    An error occurred while evaluating the expression:
    #DateDiff("w", VacStart, VacEnd)#
    Error near line 47, column 48.
    Parameter 2 of function DateDiff which is now "" must be a date/time value
    The error occurred while processing an element with a general identifier of (#DateDiff("w", VacStart, VacEnd)#), occupying document position (47:47) to (47:79).
    Any other suggestions? Thanks!
    Well... what does the error message say?
    Parameter 2 of function DateDiff which is now "" must be a date/time value
    What does this tell you?  What is parameter 2 of that function call?  It's VacStart.  So it's saying VacStart is an empty string, and it's saying an empty string is not a valid value for that parameter.
    So the question you need to ask yourself is whether you expect VacStart to be an empty string?  Or do you perhaps expect it to be a date?  I would guess you're expecting it to be a date.  So the question becomes... Why is VacStart an empty string?
    Adam

  • Lead time values are not appearing in the report for current year.

    Hi friends,
    Iam checking a report in production.  where lead time values are displayed as 0 for 1 key figure lead time3 (w/0 dim) . i found there is a formula for this it shows like NODIM ( 'Lead Time 3' ).and there is a value for cal.lead time
    how can i get values in the report.
    Thanks ,
    VRV.

    Hi,
    Although your question is not clear, I understood that the formula built on that KF is NODIM. Basically it means, units of measurement is not considered when calculating.
    Eg: 5 Minutes + 5 Kilograms = 10
    You please try to analyze your KF by the above logic. Then you would be able to figure out why the data is not appearing in the report..
    Assign if helps...
    Regards,
    Suman

  • Energy saver not starting the MM at times, holds the log a clue?

    I have a MM as a server, normal OS, that sometimes does not start in the morning.  It is set to shut down at 23.00 and does so all evenings at 23.10.  However this morning (01-10-2011) it did not come on again and I was looking through the log and found some strange stuff. 
    like:
    29/09/2011 12:38:06 /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework /Versions/A/Support/mdworker[848] FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid
    and
    29/09/2011 12:38:11    /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]    DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    and
    29/09/2011 23:30:02    mds[66]    (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x411050>{storeID:0x6b000010 registered:YES private:NO age:14h18m40s uuid:5D7AEDC7-4772-4AB5-A1D9-5C5AF631FBFF machPort:0x00004007}
    Now if it hangs for some reason I have a cron script that kills all at 23.30.  However I installed this via Cronnix and just checked and it is no longer there in Cronnix.  however the machine turns of at 23.30, so this puzzled me too. Is there a way to see in cron if there is a script there?  And remove it?
    Two questions, is there anything in the log (I am not an expert here) that should not be or could cause this.
    second one, if i do a cron killall, would this effect the energy control panel and for the machine not to start the next morning?
    Looking forward to your wisdom.
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:06          /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.fram ework/Versions/A/Support/mdworker[848]          FolderManager: Failed looking up user domain root; url='file://localhost/dev/null/' path=/dev/null/ err=-36 uid=505 euid=505
    29/09/2011 12:38:11          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 12:38:30          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 12:43:56          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 12:46:50          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 12:49:20          ntpd[53]          time reset -0.783418 s
    29/09/2011 12:49:42          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 12:50:08          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 12:52:15          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 12:59:17          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 13:02:17          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:06:03          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:07:52          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:07:59          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 13:22:44          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:23:47          ntpd[53]          time reset -0.773574 s
    29/09/2011 13:24:42          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:28:28          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:29:41          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:29:57          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 13:35:39          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:40:12          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:41:56          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 13:42:14          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:53:32          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 13:58:11          ntpd[53]          time reset -0.772285 s
    29/09/2011 14:09:31          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 14:10:37          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 14:18:01          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 14:19:50          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 14:26:04          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 14:30:02          iCal Helper[1070]          Error loading /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX:  dlopen(/Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/24U Appearance OSAX.osax/Contents/MacOS/24U Appearance OSAX: mach-o, but wrong architecture
    29/09/2011 14:30:02          [0x0-0x6c06c].com.apple.iCal.helper[1070]          iCal Helper: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/24U Appearance OSAX.osax" declares no loadable handlers.
    29/09/2011 14:33:15          ntpd[53]          time reset -0.783281 s
    29/09/2011 14:38:38          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 14:48:25          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 14:52:49          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          _RemoveTimeTask(), the current time manager task 0x2673dc being removed is also currently executing its tmAddr routine, so unexpected things may result ( Radar #4555679 ).
    29/09/2011 15:02:32          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 15:07:54          ntpd[53]          time reset -0.778359 s
    29/09/2011 15:13:58          /Applications/Utilities/QuickTime Player 7.app/Contents/MacOS/QuickTime Player 7[262]          DTUninstall(), the current deferred task 0x267454 being removed is also currently executing its dtAddr routine, so unexpected things may result  ( Radar #4555679 ).
    29/09/2011 15:17:42          AppleVNCServer[210]          no such user: e@LKDC:SHA1.FDDC8A643866B8CB8605955C0F4157473DC11CF3: 2
    29/09/2011 15:17:43          mds[66]          (Normal) DiskStore: Creating index for /Volumes/Eric’s iPod
    29/09/2011 15:17:43          /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Conten ts/MacOS/AppleVNCServer[210]          Authentication: SUCCEEDED :: User Name: 861user :: Viewer Address: 192.168.1.20 :: Type: DH
    29/09/2011 15:17:50          com.apple.usbmuxd[59]          HandleUSBMuxDictionary client 0x309010-iTunes/com.apple.iTunes using library usbmuxd-211 built on May 16 2011 at 00:10:01, running usbmuxd-211 built on May 16 2011 at 00:14:55
    29/09/2011 15:17:56          mdworker[1156]          -[ABAddressBook sharedAddressBook] Can't ABACQUIRE_FILE_LOCK /SourceCache/AddressBook/AddressBook-883/Framework/AddressBook/ABAddressBook.m: 3314
    29/09/2011 15:18:13          com.apple.backupd[1175]          Starting standard backup
    29/09/2011 15:18:13          com.apple.backupd[1175]          Backing up to: /Volumes/Server TM BU/Backups.backupdb
    29/09/2011 15:18:24          com.apple.backupd[1175]          No pre-backup thinning needed: 218.1 MB requested (including padding), 67.49 GB available
    29/09/2011 15:18:41          com.apple.backupd[1175]          Copied 627 files (6.5 MB) from volume OS 861 Seva.
    29/09/2011 15:18:41          com.apple.backupd[1175]          Waiting for index to be ready (100)
    29/09/2011 15:18:44          com.apple.backupd[1175]          Copied 634 files (6.5 MB) from volume Ganesh Data.
    29/09/2011 15:18:44          com.apple.backupd[1175]          No pre-backup thinning needed: 210.3 MB requested (including padding), 67.48 GB available
    29/09/2011 15:18:45          com.apple.backupd[1175]          Copied 103 files (103 bytes) from volume OS 861 Seva.
    29/09/2011 15:18:47          com.apple.backupd[1175]          Copied 110 files (136 bytes) from volume Ganesh Data.
    29/09/2011 15:18:48          com.apple.backupd[1175]          Starting post-backup thinning
    29/09/2011 15:18:48          com.apple.backupd[1175]          No post-back up thinning needed: no expired backups exist
    29/09/2011 15:18:48          com.apple.backupd[1175]          Backup completed successfully.
    29/09/2011 15:19:14          iTunes[1165]          [1e151a0] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:19:14          iTunes[1165]          [1e151a0] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:19:14          iTunes[1165]          [1e151a0] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:19:14          iTunes[1165]          [1e151a0] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:21:06          AppleVNCServer[210]          no such user: e@LKDC:SHA1.FDDC8A643866B8CB8605955C0F4157473DC11CF3: 2
    29/09/2011 15:21:06          /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Conten ts/MacOS/AppleVNCServer[210]          Authentication: SUCCEEDED :: User Name: 861user :: Viewer Address: 192.168.1.20 :: Type: DH
    29/09/2011 15:24:28          AppleVNCServer[210]          no such user: e@LKDC:SHA1.FDDC8A643866B8CB8605955C0F4157473DC11CF3: 2
    29/09/2011 15:24:29          /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Conten ts/MacOS/AppleVNCServer[210]          Authentication: SUCCEEDED :: User Name: 861user :: Viewer Address: 192.168.1.20 :: Type: DH
    29/09/2011 15:25:03          iTunes[1165]          [8cdcd50] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:25:03          iTunes[1165]          [8cdcd50] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:26:32          com.apple.kextcache[1154]          Created prelinked kernel /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache_i386.4816DFC6.
    29/09/2011 15:28:01          iTunes[1165]          [2a4f940] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:28:01          iTunes[1165]          [2a4f940] |ISyncManager|Warning| snapshot table has not been initialized
    29/09/2011 15:28:24          AppleVNCServer[210]          no such user: e@LKDC:SHA1.FDDC8A643866B8CB8605955C0F4157473DC11CF3: 2
    29/09/2011 15:28:24          /System/Library/CoreServices/RemoteManagement/AppleVNCServer.bundle/Conten ts/MacOS/AppleVNCServer[210]          Authentication: SUCCEEDED :: User Name: 861user :: Viewer Address: 192.168.1.20 :: Type: DH
    29/09/2011 15:42:24          ntpd[53]          time reset -0.773068 s
    29/09/2011 16:09:11          mdworker[1380]          kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    29/09/2011 16:16:35          ntpd[53]          time reset -0.769241 s
    29/09/2011 16:51:42          ntpd[53]          time reset -0.786261 s
    29/09/2011 17:07:30          mdworker[1515]          kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    29/09/2011 17:26:23          ntpd[53]          time reset -0.777389 s
    29/09/2011 18:00:01          ScheduleHelper[1598]          perform update schedule
    29/09/2011 18:00:02          sudo[1601]          root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/local/clamXav/bin/freshclam --stdout --quiet --no-warnings --log=/usr/local/clamXav/share/clamav/freshclam.log
    29/09/2011 18:00:40          sudo[1604]          root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/sbin/chown -R clamav:clamav /usr/local/clamXav/share/clamav
    29/09/2011 18:00:40          sudo[1605]          root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 0775 /usr/local/clamXav/share/clamav
    29/09/2011 18:00:40          sudo[1606]          root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod 0664 /usr/local/clamXav/share/clamav/bytecode.cld /usr/local/clamXav/share/clamav/daily.cld /usr/local/clamXav/share/clamav/freshclam.log /usr/local/clamXav/share/clamav/main.cld /usr/local/clamXav/share/clamav/mirrors.dat
    29/09/2011 18:00:40          sudo[1607]          root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/touch /usr/local/clamXav/share/clamav/freshclam.log
    29/09/2011 18:00:40          sudo[1608]          root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/chmod a+rw /usr/local/clamXav/share/clamav/freshclam.log
    29/09/2011 18:00:42          ntpd[53]          time reset -0.771689 s
    29/09/2011 18:07:22          mdworker[1602]          kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    29/09/2011 18:10:40          mdworker[1708]          kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    29/09/2011 18:35:40          ntpd[53]          time reset -0.780886 s
    29/09/2011 19:10:53          ntpd[53]          time reset -0.787276 s
    29/09/2011 19:45:51          ntpd[53]          time reset -0.782131 s
    29/09/2011 20:20:15          ntpd[53]          time reset -0.772707 s
    29/09/2011 20:55:25          ntpd[53]          time reset -0.785749 s
    29/09/2011 21:30:03          ntpd[53]          time reset -0.776478 s
    29/09/2011 22:04:27          ntpd[53]          time reset -0.772518 s
    29/09/2011 22:38:39          ntpd[53]          time reset -0.769790 s
    29/09/2011 23:10:07          [0x0-0x76076].com.apple.iTunes[1165]          AppleGVA:: Error creating the accelerator 1
    29/09/2011 23:10:36          com.apple.usbmuxd[59]          stopping.
    29/09/2011 23:10:37          com.apple.usbmuxd[2129]          usbmuxd-211 built on May 16 2011 at 00:14:55 on May 16 2011 at 00:14:54, running 32 bit
    29/09/2011 23:13:02          ntpd[53]          time reset -0.770554 s
    29/09/2011 23:13:02          SyncServer[2132]          [10a910] |SyncServer|Warning| Refreshing watchdog because of a calendar time change alert.
    29/09/2011 23:15:00          postfix/master[2147]          daemon started -- version 2.5.5, configuration /etc/postfix
    29/09/2011 23:15:01          postfix/pickup[2148]          23E19E10ACD: uid=502 from=<861user>
    29/09/2011 23:15:01          postfix/cleanup[2150]          23E19E10ACD: message-id=<[email protected]>
    29/09/2011 23:15:01          postfix/qmgr[2149]          23E19E10ACD: from=<[email protected]>, size=630, nrcpt=1 (queue active)
    29/09/2011 23:15:01          postfix/local[2152]          23E19E10ACD: to=<[email protected]>, orig_to=<861user>, relay=local, delay=0.58, delays=0.43/0.07/0/0.09, dsn=2.0.0, status=sent (delivered to mailbox)
    29/09/2011 23:15:01          postfix/qmgr[2149]          23E19E10ACD: removed
    29/09/2011 23:16:00          postfix/master[2147]          master exit time has arrived
    29/09/2011 23:30:01          com.apple.kextd[10]          Warning: /Volumes/Ganesh Data/System/Library/Extensions: No such file or directory
    29/09/2011 23:30:01          shutdown[2173]          halt by root:
    29/09/2011 23:30:01          shutdown[2173]          SHUTDOWN_TIME: 1317331801 288548
    29/09/2011 23:30:01          kernel          Kext loading now disabled.
    29/09/2011 23:30:01          kernel          Kext unloading now disabled.
    29/09/2011 23:30:01          kernel          Kext autounloading now disabled.
    29/09/2011 23:30:01          kernel          Kernel requests now disabled.
    29/09/2011 23:30:02          mDNSResponder[18]          mDNSResponder mDNSResponder-258.21 (May 26 2011 14:40:13) stopping
    29/09/2011 23:30:02          DirectoryService[11]          BUG in libdispatch: 10K549 - 1960 - 0x10004004
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x411050>{storeID:0x6b000010 registered:YES private:NO age:14h18m40s uuid:5D7AEDC7-4772-4AB5-A1D9-5C5AF631FBFF machPort:0x00004007}
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x31d300>{storeID:0x6b000050 registered:YES private:NO age:14h18m34s uuid:3960D1F5-4FAA-4458-8A34-6FF0EA431AEB machPort:0x00006607}
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x408960>{storeID:0x6b000000 registered:YES private:NO age:14h18m40s uuid:4F737406-226E-465E-A9FA-6F9A551C5E4B machPort:0x00003f07}
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x42fbf0>{storeID:0x6b000080 registered:YES private:NO age:14h18m32s uuid:6186EE69-2F95-42DC-9371-0BFB15E18CA6 machPort:0x00007807}
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x322ca0>{storeID:0x6b000070 registered:YES private:NO age:14h18m32s uuid:64061640-ABD4-4025-AD2D-1CEDEA9815A4 machPort:0x00007607}
    29/09/2011 23:30:02          WindowServer[114]          hidd died. Reestablishing connection.
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x313010>{storeID:0x6b000020 registered:YES private:NO age:14h18m35s uuid:2FB075FB-6E5F-4637-BAEC-E4A74256BFC3 machPort:0x00003b0b}
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x320070>{storeID:0x6b000060 registered:NO private:NO age:NA uuid:3A152D5F-803A-4E82-838C-C53DBB7D3AE2 machPort:0x00006e07}
    29/09/2011 23:30:02          mds[66]          (Error) Task: QueryClose failed (-1) for store <MDSStoreToken: 0x421630>{storeID:0x6b000030 registered:NO private:NO age:NA uuid:F635C2D6-CD13-4DED-9C7A-1E1F6FDF24A9 machPort:0x0000610f}
    29/09/2011 23:30:02          WindowServer[114]          bootstrap_look_ip failed: Unknown service name
    29/09/2011 23:30:02          JavaApplicationStub[269]          CGSShutdownServerConnections: Detaching application from window server
    29/09/2011 23:30:02          JavaApplicationStub[269]          MIG: server died: CGSReleaseShmem : Cannot release shared memory
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorFailure: _CGSLockWindow: Cannot synchronize window backing store
    29/09/2011 23:30:02          JavaApplicationStub[269]          CGSDisplayServerShutdown: Detaching display subsystem from window server
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorFailure: CGSLockWindowRectBits
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorInvalidConnection: CGSWindowAddRegionToDirtyShape: Invalid connection
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorInvalidConnection: CGSUnlockWindowRectBits: Invalid connection
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorInvalidConnection: CGSFlushWindowContentRegion: Invalid connection
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorCannotComplete: CGSDeviceSynchronize: Invalid device window
    29/09/2011 23:30:02          JavaApplicationStub[269]          HIToolbox: received notification of WindowServer event port death.
    29/09/2011 23:30:02          JavaApplicationStub[269]          port matched the WindowServer port created in BindCGSToRunLoop
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorInvalidConnection: CGSWindowAddRegionToDirtyShape: Invalid connection
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorInvalidConnection: CGSFlushWindowContentRegion: Invalid connection
    29/09/2011 23:30:02          JavaApplicationStub[269]          kCGErrorRangeCheck: On-demand launch of the Window Server is allowed for root user only.
    29/09/2011 23:30:04          com.apple.SecurityServer[23]          Session 0x224af3 dead
    30/09/2011 06:19:48          kernel          npvhash=4095
    29/09/2011 23:30:04          com.apple.SecurityServer[23]          Killing auth hosts
    30/09/2011 06:19:48          kernel          PAE enabled
    30/09/2011 06:19:48          kernel          Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
    30/09/2011 06:19:48          kernel          vm_page_bootstrap: 309897 free pages and 17783 wired pages
    30/09/2011 06:19:48          kernel          standard timeslicing quantum is 10000 us
    30/09/2011 06:19:48          kernel          mig_table_max_displ = 73
    30/09/2011 06:19:48          kernel          AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
    30/09/2011 06:19:48          kernel          AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
    30/09/2011 06:19:48          kernel          calling mpo_policy_init for TMSafetyNet
    30/09/2011 06:19:48          kernel          Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    30/09/2011 06:19:48          kernel          calling mpo_policy_init for Quarantine
    30/09/2011 06:19:48          kernel          Security policy loaded: Quarantine policy (Quarantine)
    30/09/2011 06:19:48          kernel          calling mpo_policy_init for Sandbox
    30/09/2011 06:19:48          kernel          Security policy loaded: Seatbelt sandbox policy (Sandbox)
    30/09/2011 06:19:48          kernel          Copyright (c) 1982, 1986, 1989, 1991, 1993
    30/09/2011 06:19:48          kernel          The Regents of the University of California. All rights reserved.
    30/09/2011 06:19:48          kernel          MAC Framework successfully initialized
    30/09/2011 06:19:48          kernel          using 6553 buffer headers and 4096 cluster IO buffer headers
    30/09/2011 06:19:48          kernel          IOAPIC: Version 0x20 Vectors 64:87
    30/09/2011 06:19:48          kernel          ACPI: System State [S0 S3 S4 S5] (S3)
    30/09/2011 06:19:48          kernel          PFM64 0x10000000, 0xf0000000
    30/09/2011 06:19:48          kernel          [ PCI configuration begin ]
    30/09/2011 06:19:48          kernel          PCI configuration changed (bridge=1 device=1 cardbus=0)
    30/09/2011 06:19:48          kernel          [ PCI configuration end, bridges 4 devices 17 ]
    30/09/2011 06:19:48          kernel          AppleIntelCPUPowerManagement: (built 16:44:45 Jun  7 2011) initialization complete
    30/09/2011 06:19:48          kernel          mbinit: done (64 MB memory set for mbuf pool)
    30/09/2011 06:19:48          kernel          FireWire (OHCI) Lucent ID 5811 built-in now active, GUID 0017f2fffe7f47c2; max speed s400.
    30/09/2011 06:19:48          kernel          rooting via boot-uuid from /chosen: 1171BAC7-9D2F-31F0-A684-F99C7267B09F
    30/09/2011 06:19:48          kernel          Waiting on <dict ID="0"><key>IOProviderClass</key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    30/09/2011 06:19:48          kernel          com.apple.AppleFSCompressionTypeZlib kmod start
    30/09/2011 06:19:48          kernel          com.apple.AppleFSCompressionTypeZlib load succeeded
    30/09/2011 06:19:48          kernel          AppleIntelCPUPowerManagementClient: ready
    30/09/2011 06:19:48          kernel          Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@1F,2/AppleAHCI/PRT2 @2/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDri ver/FUJITSU MHV2060BHPL Media/IOGUIDPartitionScheme/Apple_HFS_Untitled_2@3
    30/09/2011 06:19:48          kernel          BSD root: disk0s3, major 14, minor 3
    30/09/2011 06:19:48          kernel          [Bluetooth::CSRHIDTransition] switchToHCIMode (legacy)
    30/09/2011 06:19:48          kernel          [Bluetooth::CSRHIDTransition] transition complete.
    30/09/2011 06:19:48          kernel          CSRUSBBluetoothHCIController::setupHardware super returned 0
    30/09/2011 06:19:48          kernel          hfs: Removed 1 orphaned / unlinked files and 0 directories
    30/09/2011 06:19:48          kernel          AppleYukon2: Marvell Yukon Gigabit Adapter 88E8053 Singleport Copper SA
    30/09/2011 06:19:48          kernel          AppleYukon2: RxRingSize <= 1024, TxRingSize 256, RX_MAX_LE 1024, TX_MAX_LE 768, ST_MAX_LE 3328
    30/09/2011 06:19:39          com.apple.launchd[1]          *** launchd[1] has started up. ***
    30/09/2011 06:19:49          kernel          yukon: Ethernet address 00:16:cb:a7:f7:9d
    30/09/2011 06:19:49          kernel          systemShutdown false
    30/09/2011 06:19:50          mDNSResponder[18]          mDNSResponder mDNSResponder-258.21 (May 26 2011 14:40:13) starting
    30/09/2011 06:19:50          com.apple.SecurityServer[23]          Session 0xbffffbb6 created
    30/09/2011 06:19:51          kernel          Previous Shutdown Cause: 0
    30/09/2011 06:19:51          kernel          Warning - kext com.apple.iokit.CHUDKernLib has immediate dependencies on both com.apple.kernel* and com.apple.kpi.* components; use only one style.
    30/09/2011 06:19:51          kernel          Warning - kext com.apple.iokit.CHUDProf has immediate dependencies on both com.apple.kernel* and com.apple.kpi.* components; use only one style.
    30/09/2011 06:19:51          blued[16]          Apple Bluetooth daemon started
    30/09/2011 06:19:52          kernel          DSMOS has arrived
    30/09/2011 06:19:52          kernel          Atheros: mac 10.3 phy 6.1 radio 10.2
    30/09/2011 06:19:52          kernel          AppleSM56KUSBModemFamily:start -- entering com.apple.driver.AppleSM56KUSBModemFamily (1.1.13)
    30/09/2011 06:19:52          com.apple.SecurityServer[23]          Entering service
    30/09/2011 06:19:53          kernel          AppleSM56KUSBModemFamily_setupWakeOnRingPMCallback with pmRootDomain - Succeeded
    30/09/2011 06:19:53          kernel          AirPort_AthrFusion21: Ethernet address 00:17:f2:52:04:5e
    30/09/2011 06:19:53          kernel          IO80211Controller::dataLinkLayerAttachComplete():  adding AppleEFINVRAM notification
    30/09/2011 06:19:53          configd[14]          network configuration changed.
    30/09/2011 06:19:53          configd[14]          setting hostname to "861.local"
    30/09/2011 06:19:56          kernel          Ethernet [AppleYukon2]: Link up on en0, 1-Gigabit, Full-duplex, Symmetric flow-control, Debug [796d,ac0c,0de1,0200,c5e1,2800]
    30/09/2011 06:19:58          com.freemacsoft.appcleanerd[84]          Appcleanerd started successfully.
    30/09/2011 06:20:01          bootlog[79]          BOOT_TIME: 1317356378 0
    30/09/2011 06:20:02          com.apple.usbmuxd[60]          usbmuxd-211 built on May 16 2011 at 00:14:55 on May 16 2011 at 00:14:54, running 32 bit
    30/09/2011 06:20:03          kernel          AirPort: Link Down on en1. Reason 1 (Unspecified).
    30/09/2011 06:20:05          configd[14]          network configuration changed.
    30/09/2011 06:20:09          postfix/master[53]          daemon started -- version 2.5.5, configuration /etc/postfix
    30/09/2011 06:20:09          com.apple.SystemStarter[61]          Starting the DynDNS Updater Daemon
    30/09/2011 06:20:09          com.apple.SystemStarter[61]          Starting the Snort NIDS
    30/09/2011 06:20:09          com.apple.launchd[1]          (0x308db0.anonymous.nohup[96]) Bug: launchd_core_logic.c:8303 (24498):0
    30/09/2011 06:20:09          com.apple.launchd[1]          (0x308db0.anonymous.nohup[96]) Switching sessions is not allowed in the system Mach bootstrap.
    30/09/2011 06:20:09          com.apple.launchd[1]          (0x308db0.anonymous.nohup[96]) _vprocmgr_switch_to_session(): kr = 0x44c
    30/09/2011 06:20:10          postfix/pickup[93]          3BB64E10B34: uid=0 from=<root>
    30/09/2011 06:20:10          postfix/cleanup[106]          3BB64E10B34: message-id=<[email protected]>
    30/09/2011 06:20:10          postfix/qmgr[94]          3BB64E10B34: from=<[email protected]>, size=511, nrcpt=1 (queue active)
    30/09/2011 06:20:10          postfix/local[113]          3BB64E10B34: to=<[email protected]>, orig_to=<root>, relay=local, delay=24609, delays=24609/0.19/0/0, dsn=2.0.0, status=sent (delivered to file: /dev/null)
    30/09/2011 06:20:10          postfix/qmgr[94]          3BB64E10B34: removed
    30/09/2011 06:20:12          com.apple.SystemStarter[61]          dyld: Library not loaded: /usr/lib/libiodbc.2.1.6.dylib
    30/09/2011 06:20:12          com.apple.SystemStarter[61]            Referenced from: /Applications/HenWen/HenWen.app/Contents/MacOS/snort
    30/09/2011 06:20:12          com.apple.SystemStarter[61]            Reason: image not found
    30/09/2011 06:20:12          com.apple.SystemStarter[61]          /Library/StartupItems/HenWen/HenWen: line 9:    98 Trace/BPT trap          "/Applications/HenWen/HenWen.app/Contents/MacOS/snort" -D -c "/Applications/HenWen/HenWen.app/Contents/Resources/snort.conf" -i en0
    30/09/2011 06:20:12          SystemStarter[61]          NIDS (92) did not complete successfully
    30/09/2011 06:20:12          SystemStarter[61]          The following StartupItems failed to start properly:
    30/09/2011 06:20:12          SystemStarter[61]          /Library/StartupItems/HenWen
    30/09/2011 06:20:12          SystemStarter[61]           - execution of Startup script failed
    30/09/2011 06:20:12          com.apple.ReportCrash.Root[119]          2011-09-30 06:20:12.733 ReportCrash[119:2503] Saved crash report for snort[98] version ??? (???) to /Library/Logs/DiagnosticReports/snort_2011-09-30-062012_localhost.crash
    30/09/2011 06:20:13          /System/Library/CoreServices/loginwindow.app/Contents/MacOS/loginwindow[68 ]          Login Window Application Started
    30/09/2011 06:20:17          kernel          display: Not usable
    30/09/2011 06:20:17          WindowServer[120]          kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    30/09/2011 06:20:17          com.apple.WindowServer[120]          Fri Sep 30 06:20:17 861.local WindowServer[120] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
    30/09/2011 06:20:17          com.apple.SecurityServer[23]          Session 0x30ad51 created

    MadMacs0 wrote:
    Crontab should take care of both for you: http://www.manpagez.com/man/1/crontab/.
    Use sudo if it's a root level event or leave it out to see yours.
    Thanks helpful,
    anybody who has an answer for my other questions?

  • I have one problem with Data Guard. My archive log files are not applied.

    I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
    I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
    In Enterprise Manager on Primary database it looks ok. I get the following message “Data Guard status Normal”
    But as I wrote above ”the archive log files are not applied”
    After I created the Physical Standby database, I have also done:
    1. I connected to the Physical Standby database instance.
    CONNECT SYS/SYS@luda AS SYSDBA
    2. I started the Oracle instance at the Physical Standby database without mounting the database.
    STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
    3. I mounted the Physical Standby database:
    ALTER DATABASE MOUNT STANDBY DATABASE
    4. I started redo apply on Physical Standby database
    alter database recover managed standby database disconnect from session
    5. I switched the log files on Physical Standby database
    alter system switch logfile
    6. I verified the redo data was received and archived on Physical Standby database
    select sequence#, first_time, next_time from v$archived_log order by sequence#
    SEQUENCE# FIRST_TIME NEXT_TIME
    3 2006-06-27 2006-06-27
    4 2006-06-27 2006-06-27
    5 2006-06-27 2006-06-27
    6 2006-06-27 2006-06-27
    7 2006-06-27 2006-06-27
    8 2006-06-27 2006-06-27
    7. I verified the archived redo log files were applied on Physical Standby database
    select sequence#,applied from v$archived_log;
    SEQUENCE# APP
    4 NO
    3 NO
    5 NO
    6 NO
    7 NO
    8 NO
    8. on Physical Standby database
    select * from v$archive_gap;
    No rows
    9. on Physical Standby database
    SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery not using Real Time Apply
    MRP0: Background Media Recovery terminated with error 1110
    MRP0: Background Media Recovery process shutdown
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 2148
    RFS[1]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2384
    RFS[2]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3188
    RFS[3]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3168
    RFS[4]: Identified database type as 'physical standby'
    RFS[4]: No standby redo logfiles created
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    10. on Physical Standby database
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 1 9 13664 2
    RFS IDLE 0 0 0 0
    10) on Primary database:
    select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARCm: Becoming the 'no FAL' ARCH
    ARCm: Becoming the 'no SRL' ARCH
    ARCd: Becoming the heartbeat ARCH
    Error 1034 received logging on to the standby
    Error 1034 received logging on to the standby
    LGWR: Error 1034 creating archivelog file 'luda'
    LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
    FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
    11)on primary db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
    Luda 4 NO
    Luda 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
    Luda 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
    Luda 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
    Luda 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
    Luda 8 NO
    12) on standby db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
    13) my init.ora files
    On standby db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_unique_name='luda'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='luda'
    *.fal_server='irina'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
    On primary db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='irina'
    *.fal_server='luda'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
    Please help me!!!!

    Hi,
    After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
    Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
    In another session 'show configuration' results in the following, confirming that the enable succeeded.
    DGMGRL> show configuration
    Configuration
    Name: avhtest
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    avhtest - Primary database
    avhtestls53 - Physical standby database
    Current status for "avhtest":
    Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
    It there anybody that experienced the same problem and/or knows the solution to this?
    With kind regards,
    Martin Schaap

  • Missing Time value in Date

    Hi Pros,
    I have a table in my oracle database, lets say TableA having a cloumn, say ColumnA with data type as DATE.
    Now, inside my JDBC code, I fire a query which returns number of coulmns in a ResultSet (Including the one having DATE datatype).
    When I fetch the value of 'ColumnA' column while iterating the resultset, I get a value of type java.sql.Date.
    Now on UI side I need to display date and time value from this coulmn in a format dd-mm-yy hh:mm:ss, I used SimpleDateFormat to do that
    but the Date on UI shows a date and time value with time value set to 00:00:00 for every row which has been fetch by the query.
    SimpleDateFormat formatter = new SimpleDateFormat("dd-MM-yyyy  HH:mm:ss");
    String dateAndTimeAsString  = formatter.format(resultSet.getDate("CREATION_DATETIME"))The thing is can see the proper time values in database table, but it seems it is being skipped somhow.
    I also tried convetring java.sal.Date to java.uitl.Date using following code format , but still the same results........
    java.util.Date    utilDate = new java.util.Date((resultSet.getDate("CREATION_DATETIME")).getTime();then converted this Date into string using SimpleDateFormt.format() method, but still did not hit the spot :(
    String dateAndTimeAsString = formatter.format(utilDate);Any idea ? how can i achive this .................
    Thanks in advance..........

    marathaWarrior wrote:
    You are right, I should have tried it before replying,
    But the thing is for a single line of change in code , it takes nearly an hour to re-build the project (and there is no short cut as code builds so many dependent jars). Hope you can understand. Any way I will give it a try.I glad you got it working.
    You don't necessarily have to re-build your entire application to try something.
    The next time you are in a similar situation try making a little test app that just does what you want to test.

  • How to substract two date&time values

    Well,i just need to substract last visited date&time value from systemdate. The last visited date&time(from the filed named SONBULUNMAZAMANI, ) is selected from table (IHALE_KATILIMCILAR ) in the format DD-MM-RRRR HH24:MI and systemdate is in the same format. And i need to get value in minutes. Then i need to check if the value is greater then 20 minutes, finally i will update database and set IHALE_KATILIMCILAR.AKTIF=0. Here is the code i used;
    DECLARE
    MinDiff number;
    DateTime1 ihale_katilimcilar.sonbulunmazamani%TYPE;
    BEGIN
    select t.sonbulunmazamani into DateTime1 from ihale_katilimcilar t where t.ihlkodu=141 and t.ihlaltktgkodu=132 and t.id_iliski=193;
    MinDiff := ABS( TO_DATE( TO_CHAR(SYSDATE, 'DD-MM-RRRR') || TO_CHAR(SYSDATE , 'HH24:MI'), 'DD-MM-RRRR HH24:MI' ) - TO_DATE( TO_CHAR(DateTime1, 'DD-MM-RRRR') || TO_CHAR(DateTime1, 'HH24:MI'), 'DD-MM-RRRR HH24:MI' ) );
    DBMS_OUTPUT.PUT_LINE('Difference is ' || MinDiff);
    END;
    However the result i get is always pointed values such as ,1895833333333333333333333333333333333333. How can i handle this?
    And here is the scripts of table:
    create table IHALE_KATILIMCILAR
    KULADI VARCHAR2(20),
    SONUC NUMBER(1),
    AKTIF NUMBER(1) default 1,
    SRKTKODU VARCHAR2(10) not null,
    SONBULUNMAZAMANI DATE default sysdate,
    SIRA NUMBER(1) default 0,
    MESAJ VARCHAR2(200),
    ID NUMBER(6) not null,
    IHLKODU NUMBER not null,
    IHLALTKTGKODU VARCHAR2(10) not null,
    ID_ILISKI NUMBER,
    IHLSIRA NUMBER(1) default 0,
    CEVAP VARCHAR2(200)
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, 'süre talep 2', 76, 145,
    '135', 345, 0, 'al sna süre 77');
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('20-02-2008 14:49:52', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 77, 145, '135',
    345, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 78, 145, '135',
    345, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('asd', null, 1, '4444', to_date('19-02-2008 10:29:44', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 79, 145, '135',
    345, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 63, 141, '134',
    191, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('MLK', null, 1, '46', to_date('07-03-2008 09:52:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 64, 141, '134', 192,
    0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('06-03-2008 13:28:50', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 61, 145, '135',
    189, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('07-03-2008 11:16:41', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 69, 141, '133',
    197, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 65, 141, '132',
    193, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('07-03-2008 11:16:41', 'dd-mm-yyyy hh24:mi:ss'), 2, null, 66, 141, '132',
    194, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('MLK', null, 1, '46', to_date('07-03-2008 09:52:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 67, 141, '132', 195,
    1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEMMM', null, 0, '42', to_date('17-03-2008 09:29:20', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 68, 141, '133',
    196, 0, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('12-03-2008 15:00:58', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 70, 142, '252',
    198, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('10-03-2008 10:08:17', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 71, 142, '252',
    199, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('10-03-2008 10:08:56', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 72, 143, '253',
    200, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('MLK', null, 1, '46', to_date('12-02-2008 13:34:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 73, 143, '253', 201,
    1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('06-03-2008 14:09:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 60, 145, '136',
    188, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KEM.ESM', null, 1, '44', to_date('06-03-2008 13:28:50', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 74, 145, '136',
    202, 1, null);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, MESAJ, ID, IHLKODU,
    IHLALTKTGKODU, ID_ILISKI, IHLSIRA, CEVAP)
    values ('KE.ES', null, 1, '45', to_date('06-03-2008 14:09:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 75, 145, '135',
    203, 0, null);
    Thanks...

    What version of SQLServer do you have? Datediff is not an Oracle built-in function.
    OP:
    THe difference between two dates in Oracle is in days. The decimal portion refers to partial days, so you need to convert that to the required precision. Also, both sysdate and your column are date type, and contain a time portion, so you do not need all the to_date/to_char stuff. Something like:
    SQL> SELECT end_dt, start_dt, (end_dt - start_dt) * 24*60 diff
      2  FROM (SELECT sysdate end_dt, TRUNC(sysdate) start_dt
      3        FROM dual);
    END_DT             START_DT                 DIFF
    17-mar-08 10:39:39 17-mar-08 00:00:00     639.65John

  • Data Guard. My archive log files are not applied.

    I have one problem with Data Guard. My archive log files are not applied. However I have received all archive log files to my physical Standby db
    I have created a Physical Standby database on Oracle 10gR2 (Windows XP professional). Primary database is on another computer.
    In Enterprise Manager on Primary database it looks ok. I get the following message “Data Guard status Normal”
    But as I wrote above ”the archive log files are not applied”
    After I created the Physical Standby database, I have also done:
    1. I connected to the Physical Standby database instance.
    CONNECT SYS/SYS@luda AS SYSDBA
    2. I started the Oracle instance at the Physical Standby database without mounting the database.
    STARTUP NOMOUNT PFILE=C:\oracle\product\10.2.0\db_1\database\initluda.ora
    3. I mounted the Physical Standby database:
    ALTER DATABASE MOUNT STANDBY DATABASE
    4. I started redo apply on Physical Standby database
    alter database recover managed standby database disconnect from session
    5. I switched the log files on Physical Standby database
    alter system switch logfile
    6. I verified the redo data was received and archived on Physical Standby database
    select sequence#, first_time, next_time from v$archived_log order by sequence#
    SEQUENCE# FIRST_TIME NEXT_TIME
    3 2006-06-27 2006-06-27
    4 2006-06-27 2006-06-27
    5 2006-06-27 2006-06-27
    6 2006-06-27 2006-06-27
    7 2006-06-27 2006-06-27
    8 2006-06-27 2006-06-27
    7. I verified the archived redo log files were applied on Physical Standby database
    select sequence#,applied from v$archived_log;
    SEQUENCE# APP
    4 NO
    3 NO
    5 NO
    6 NO
    7 NO
    8 NO
    8. on Physical Standby database
    select * from v$archive_gap;
    No rows
    9. on Physical Standby database
    SELECT MESSAGE FROM V$DATAGUARD_STATUS;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARC0: Becoming the 'no FAL' ARCH
    ARC0: Becoming the 'no SRL' ARCH
    ARC1: Becoming the heartbeat ARCH
    Attempt to start background Managed Standby Recovery process
    MRP0: Background Managed Standby Recovery process started
    Managed Standby Recovery not using Real Time Apply
    MRP0: Background Media Recovery terminated with error 1110
    MRP0: Background Media Recovery process shutdown
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[1]: Assigned to RFS process 2148
    RFS[1]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[2]: Assigned to RFS process 2384
    RFS[2]: Identified database type as 'physical standby'
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[3]: Assigned to RFS process 3188
    RFS[3]: Identified database type as 'physical standby'
    Primary database is in MAXIMUM PERFORMANCE mode
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    Redo Shipping Client Connected as PUBLIC
    -- Connected User is Valid
    RFS[4]: Assigned to RFS process 3168
    RFS[4]: Identified database type as 'physical standby'
    RFS[4]: No standby redo logfiles created
    Primary database is in MAXIMUM PERFORMANCE mode
    RFS[3]: No standby redo logfiles created
    10. on Physical Standby database
    SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;
    PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    ARCH CONNECTED 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 0 0 0 0
    RFS IDLE 1 9 13664 2
    RFS IDLE 0 0 0 0
    10) on Primary database:
    select message from v$dataguard_status;
    MESSAGE
    ARC0: Archival started
    ARC1: Archival started
    ARC2: Archival started
    ARC3: Archival started
    ARC4: Archival started
    ARC5: Archival started
    ARC6: Archival started
    ARC7: Archival started
    ARC8: Archival started
    ARC9: Archival started
    ARCa: Archival started
    ARCb: Archival started
    ARCc: Archival started
    ARCd: Archival started
    ARCe: Archival started
    ARCf: Archival started
    ARCg: Archival started
    ARCh: Archival started
    ARCi: Archival started
    ARCj: Archival started
    ARCk: Archival started
    ARCl: Archival started
    ARCm: Archival started
    ARCn: Archival started
    ARCo: Archival started
    ARCp: Archival started
    ARCq: Archival started
    ARCr: Archival started
    ARCs: Archival started
    ARCt: Archival started
    ARCm: Becoming the 'no FAL' ARCH
    ARCm: Becoming the 'no SRL' ARCH
    ARCd: Becoming the heartbeat ARCH
    Error 1034 received logging on to the standby
    Error 1034 received logging on to the standby
    LGWR: Error 1034 creating archivelog file 'luda'
    LNS: Failed to archive log 3 thread 1 sequence 7 (1034)
    FAL[server, ARCh]: Error 1034 creating remote archivelog file 'luda'
    11)on primary db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00004_0594204176.001 4 NO
    Luda 4 NO
    Luda 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00005_0594204176.001 5 NO
    Luda 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00006_0594204176.001 6 NO
    Luda 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00007_0594204176.001 7 NO
    Luda 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\IRINA\ARC00008_0594204176.001 8 NO
    Luda 8 NO
    12) on standby db
    select name,sequence#,applied from v$archived_log;
    NAME SEQUENCE# APP
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00004_0594204176.001 4 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00003_0594204176.001 3 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00005_0594204176.001 5 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00006_0594204176.001 6 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00007_0594204176.001 7 NO
    C:\ORACLE\PRODUCT\10.2.0\ORADATA\LUDA\ARC00008_0594204176.001 8 NO
    13) my init.ora files
    On standby db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0\admin\luda\adump'
    *.background_dump_dest='C:\oracle\product\10.2.0\admin\luda\bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\luda\luda.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0\admin\luda\cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_unique_name='luda'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='luda'
    *.fal_server='irina'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/luda/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_2='SERVICE=irina LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/irina/','C:/oracle/product/10.2.0/oradata/luda/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0\admin\luda\udump'
    On primary db
    irina.__db_cache_size=79691776
    irina.__java_pool_size=4194304
    irina.__large_pool_size=4194304
    irina.__shared_pool_size=75497472
    irina.__streams_pool_size=0
    *.audit_file_dest='C:\oracle\product\10.2.0/admin/irina/adump'
    *.background_dump_dest='C:\oracle\product\10.2.0/admin/irina/bdump'
    *.compatible='10.2.0.1.0'
    *.control_files='C:\oracle\product\10.2.0\oradata\irina\control01.ctl','C:\oracle\product\10.2.0\oradata\irina\control02.ctl','C:\oracle\product\10.2.0\oradata\irina\control03.ctl'
    *.core_dump_dest='C:\oracle\product\10.2.0/admin/irina/cdump'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_file_name_convert='luda','irina'
    *.db_name='irina'
    *.db_recovery_file_dest='C:\oracle\product\10.2.0/flash_recovery_area'
    *.db_recovery_file_dest_size=2147483648
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=irinaXDB)'
    *.fal_client='irina'
    *.fal_server='luda'
    *.job_queue_processes=10
    *.log_archive_config='DG_CONFIG=(irina,luda)'
    *.log_archive_dest_1='LOCATION=C:/oracle/product/10.2.0/oradata/irina/ VALID_FOR=(ALL_LOGFILES, ALL_ROLES) DB_UNIQUE_NAME=irina'
    *.log_archive_dest_2='SERVICE=luda LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=luda'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=30
    *.log_file_name_convert='C:/oracle/product/10.2.0/oradata/luda/','C:/oracle/product/10.2.0/oradata/irina/'
    *.open_cursors=300
    *.pga_aggregate_target=16777216
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=167772160
    *.standby_file_management='AUTO'
    *.undo_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='C:\oracle\product\10.2.0/admin/irina/udump'
    Please help me!!!!

    Hi,
    After several tries my redo logs are applied now. I think in my case it had to do with the tnsnames.ora. At this moment I have both database in both tnsnames.ora files using the SID and not the SERVICE_NAME.
    Now I want to use DGMGRL. Adding a configuration and a stand-by database is working fine, but when I try to enable the configuration DGMGRL gives no feedback and it looks like it is hanging. The log, although says that it succeeded.
    In another session 'show configuration' results in the following, confirming that the enable succeeded.
    DGMGRL> show configuration
    Configuration
    Name: avhtest
    Enabled: YES
    Protection Mode: MaxPerformance
    Fast-Start Failover: DISABLED
    Databases:
    avhtest - Primary database
    avhtestls53 - Physical standby database
    Current status for "avhtest":
    Warning: ORA-16610: command 'ENABLE CONFIGURATION' in progress
    It there anybody that experienced the same problem and/or knows the solution to this?
    With kind regards,
    Martin Schaap

  • Time value not at all or in the wrong way send to the BAPI Trip Create From

    Hi @ all,
    I try to call a BAPI by sending besides a couple of other parameters, which are working fine, two times values. Those times are required for creating a (Business-) Trip within SAP. This BAPI requests the time values in the format time (E).
    But it seems not possible for me to send the time values to the BAPI. If I look into the Flash-Debugger I see that the values are empty or including Dates. For sure I'd a look on the right formattings this meens the Input-Fields are declared as Time (E) and connected in the right way.
    If I test the BAPI with the function "Test Data Service" the time values are sent in the right way. So this means to me that there must be a problem within VC by transporting the Input values to the BAPI. Also if I try to send the system time by using the TNOW() function the flash-debugger shows that VC is sending a Date like 31.12.1989 or 20.01.2009. It also makes no difference if I change the Formatting of the input field I alredy tried the most of them.
    I'm really sure that the input fields are declared as Time (E).
    I'm thankfull for any advice...

    This means you're still using Flex 1.5 as your runtime. SAP has introduced Flex 2 RT on SP14 patch 1 onwards. There were a lot of bug fixes and also several new functionality introduced there. I suggest you consider upgrading to the latest SP. Note that you can upgrade VC apart from the portal (only 3 SCAs to deploy) so this means you don't impact the portal itself and continue to have an up-to-date version of VC.
    If you want to solve your problem, I suggest you open a support ticket at SAP and once they see this, they'll let you have those SCAs.
    Regards,
    Natty

  • When retrieving a 'date time' value, why is there a '.0' appended?

    Hi
    I am storing 'date time' values in a MySQL 'DATETIME' column.
    I retrieve the value by executing code (more or less) like this:
    ResultSet resultSet = statement.executeQuery(query);
    // other statements here...
    String theDate = resultSet.getString(i);If the 'date time' being stored is *2008-08-26 16:39:21*, the code returns this: *2008-08-26 16:39:21.0*
    Is there same 'simple' way to retrieve the value without a *.0* appended?
    Thanks
    Pete

    Hi Roy
    I'm not quite with you.
    You should get it from the database as a date object.Do you mean something like this?:
    ResultSet.getDate()This returns a java.sql.Date object.
    For presentation use SimpleDateFormatter to display it the way you want toI presume you are referring to java.text.SimpleDateFormat ? In that case I require the date as a java.util.Date object.
    Perhaps you could clarify a bit more?
    Thanks
    Pete

Maybe you are looking for

  • Recebimento Automático de XML

    Bom dia Alguém sabe qual o status do desenvolvimento da automatização de MIGO e MIRO através do arquivo XML? A previsão dada era para início de dezembro, mas não consegui achar nenhuma nota liberada para isso. Obrigado

  • Ask before opening a pdf file

    Hello Experts, I have a problem with the transaction me23n, the procedure is as follows: me23n -> Purchase Order -> other purchase order -> I type the order number -> Messages -> Edit --> display originals. before I had a window that appears and asks

  • *FIX?* Adobe Application Manager - Download Error (Creative Cloud)

    So I just started the subscription for the Creative Cloud and I downloaded the Adobe Application Manager, which seemed to have installed fine, and when I go into my creative cloud and click download, under for example photoshop, I get Download Error

  • Cannot get a menu screen on appletv box

    I Have an apple3 tv box. Hooked it up last night and it worked fine. Today when I turn the box on the only screen that comes up is a picture of the back of the apple box and a USB cable. I cannot get to a menu screen. I have rebooted everything sever

  • SDDM Beta 3.3 trigger code generation

    If you are generating PL/SQL trigger code in Oracle 11gR2 you can replace the following the SQL SELECT statement with a straight next value sequence number assignment. It is cleaner, easier to read and debug. ---- old way start CREATE OR REPLACE TRIG