Datalogging with options to retrieve subset of log file based on date/time

I would like to thank this forum for useful advice so far in completing my LabVIEW software.
I have a data logging challenge. I am supposed to log about 30 parameters every 5 seconds. Some of these parameters are digital (ON/OFF), some are values of speed (rpm) and others, an expression of a percentage (%). It should be possible in future to do a histogram or bar chart plot of some of the parameters, for a specific period range (say the last 5 minutes of a certain day). So in effect, do an extraction of a segment of the total log file.
My challenge is if I use text file, like the one in the attached VI, can it give functionality of retrieving data (while the VI is running) from the log file, based on a certain time range (i.e. retrieve a section of the log file based on a certain date/time range, on demand)?
The format in the text file is close to what I require, since it lists the time n one column and the other parameters on other columns to enable future histogram generation.
Thanks a lot, friends.
Solved!
Go to Solution.
Attachments:
writer.vi ‏19 KB
time.txt ‏1 KB

Hey maxidivine,
Iv been playing round with your code and found that to perform the search that you require could be quite demanding to system resources when scaled to the size of your application I shall try and find a way to perform the search using .txt files but the there are some other options available. I recommend the use if TDMS files as the file format is a very efficient, manageable method of data-logging. The TDMS file format is designed to write and read measured data at a very high speed, while maintaining a hierarchical system of descriptive information.
Traditionally, TDMS was a National Instruments only file format – you could only read it using our products – LabVIEW/CVI/DIAdem. However, thanks to the popularity of the format, a bolt-on is now available for Excel, which allows you to directly open the .tdms files with Excel (see link).
National Instruments Technical Data Management Overview
http://zone.ni.com/devzone/cda/tut/p/id/3676
Introduction to LabVIEW TDM Streaming Vis
http://zone.ni.com/devzone/cda/tut/p/id/3539
VI-Based API for Writing TDMS Files
http://zone.ni.com/devzone/cda/tut/p/id/6471
TDM Excel Add-In Tool for Microsoft Excel User Guide
http://zone.ni.com/devzone/cda/tut/p/id/4906
TDM Excel Add-In for Microsoft Excel Download
http://zone.ni.com/devzone/cda/epd/p/id/2944
Troubleshooting the TDM Excel Add-In for Microsoft Excel 2000-2003
http://zone.ni.com/devzone/cda/tut/p/id/5874
Examples of the use of the TDMS API ship with LabVIEW. You will find them in HELP > find examples > fundamentals > File Input and Output. For you application, I would recommend the “Cont Acq&Graph Voltage - Write Data to File (TDMS).vi”.
Furthermore, if you require some help with DIAdem, I would recommend clicking "getting started" from the DIAdem splash screen. This opens a manual which discusses everything from data analysis to report generation. Also, if you have DIAdem 11 or above, there are tutorial videos which install with DIAdem. These are useful little tutorials, which discuss all the DIAdem fundamentals. You can access these by selecting a particular palette tab (eg. report, view, analysis...etc) and then clicking the tutorial button (shown as a film strip with a question mark) at the top of the group view.
Here are some more helpful DIAdem related resources for future reference.
Report Gen in DIAdem...
http://zone.ni.com/devzone/cda/tut/p/id/7379
DataPlugins: Supported Data Formats (ni.com/dataplugins)
http://zone.ni.com/devzone/cda/tut/p/id/4065
Hope this is helpful
Philip
Philip
Applications Engineer
National Instruments
UK Branch
===If this fixes your problem, mark as solution!===

Similar Messages

  • How can i retrieve a few important files from an old time capsule ?

    Hi  can anyone give me a step by step guide as to how i retrieve just a few files from an old time capsule ?
    without a router  ?
    I've plugged an ethernet cable into the wan port & my mac & it shows up as a sparspsebundle data file
    but i desperetly need to grab these certain files
    please can anyone help?
    can i use the usb port on the back of the time capsule
    there must be a way  HELP PLEASE  many thanks

    Don't panic we are working on it..
    I am just avoiding Yosemite like the plague.. (plague on you Yosemite!!) .. as its networking is so bad it causes chaos on my network.. to all other devices.. even though only one device actually runs Yoyos!!
    I am not sure how hard it is for you to go back to Mountain Lion.. or if you have a computer running ML on the network.. if so definitely use it.
    What OS was last used by the MBP when you stopped using it or is it fully up to date. Is the computer in the network now? If so it is much easier to copy and paste the files from a live computer.
    Did you encrypt the backup.. that would really mess things up or have an encrypted disk??
    Have you used the normal TM tool in Yosemite to try and recover your files?? Or perhaps migrated the files.. this can work fine.. migration often being a better way of doing things.. although there are a few rules about using different user names.. etc.
    There is another proviso here I must add.. Yosemite cannot see the backup quickly.. what I mean is that your backup is >500GB. Even by ethernet Yosemite version Time Machine can take more than 24hours just to index that.. maybe longer and by wireless a lot longer.. 3-5 times.. I do not know why spotlight is so slow in Yosemite.. but trust me.. it is pathetic. The yoyo got its string in a knot and seems to need to untangle it for every single file on the backup.
    Be very patient if you open TM backup in Yosemite.. and definitely do this by ethernet not wireless.. otherwise you might die of old age beforehand.

  • Check Event Alert failed with error - No errors in the log file.

    Hi All,
    I am developing a simple event based alert on PO_HEADERS table. I want to send alerts when a PO is created.
    I did all the steps according to the metalink note How To Send An Email In A Simple Periodic Or Event Alert? [ID 1162153.1]
    When i create the PO, the alert is triggering, and Check Event Alert concurrent program is running. But the program completes with error.
    Checking the output file (empty) log file (no errors)
    What can i do here to find out what is the problem? There is nothing in the Alert Manager - History form also. I have kept 7 days as days to keep.
    Thanks!
    M

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

  • Log files/troubleshooting performance data collection

    Hello: 
    Trying to use MAP 9.0, 
    When doing performance data collection, getting errors.  Is there a log file or event log that captures why the errors are occurring?
    One posting said to look in bin\log - but there is no log directory under BIN for this version it seems.  
    Thank you, 
    Mustafa Hamid, System Center Consultant

    Hi Mark,
    There's no CLEANER_ADJUST_UTILIZATION in EnvironmentConfig for BDB JE 5.0.43 which I'm currently using, I also tried
       envConfig.setConfigParam("je.cleaner.adjustUtilization",
              "false");
    it fails to start up with below error
    Caused by: java.lang.IllegalArgumentException: je.cleaner.adjustUtilization is not a valid BDBJE environment parameter
        at com.sleepycat.je.dbi.DbConfigManager.setConfigParam(DbConfigManager.java:412) ~[je-5.0.43.jar:5.0.43]
        at com.sleepycat.je.EnvironmentConfig.setConfigParam(EnvironmentConfig.java:3153) ~[je-5.0.43.jar:5.0.43]

  • Split the log file based on size

    Hi All,
    I have created a log on oracle directory by using UTL_FILE. Now I need to create a new file based on the old file size. How to create a new file based on the size? Please provide your suggestion..
    Thanks & Regards
    Sami

    declare
      v_cnt NUMBER := 0;
    begin
        filehandle        := UTL_FILE.FOPEN('DIR_TEMP','oops1.txt','r');
        LOOP
         UTL_FILE.GET_LINE(filehandle, v_line);
         v_cnt NUMBER := v_cnt + 1;
         if v_cnt NUMBER  >= 1000 then
             -- create new file
            filehandle2        := UTL_FILE.FOPEN('DIR_TEMP','oops2.txt','w');
         end if;
        END LOOP;
        UTL_FILE.FCLOSE(filehandle);
    END;Edited by: oracle on Apr 5, 2012 3:47 AM
    Edited by: oracle on Apr 5, 2012 3:53 AM

  • Log file restore takes long time

    Hi,
    My log file restore takes very long time to complete, for 128 MB it takes around 3-4 hours, most of the time it is in suspended state and wait type is 'SLEEP_BPOOL_FLUSH' 
    I checked for virtual logs its around 534 files, also there is not disk IO issues as the other DB using the same drive restore faster than this DB...
    Am using lg shipping and the backup/restore schedule is 5 mins.. by surfing i feel this could be a checkpoint issue so i manually tried to issue a checkpoint but can not as the DB is in restoring state most of the time.
    Please advise on what could be the possible scenarios?
    Best Regards Moug

    Hi Pradeep and Praveen,
    Thanks for your suggestions, VLF's is 534, though i reduced it, it keeps on growing..
    I guess this is because incorrect autogrowth setting , for proper autogrowth setting please read
    https://www.simple-talk.com/sql/database-administration/sql-server-database-growth-and-autogrowth-settings/
    You should also read below blog by Kimberly
    http://www.sqlskills.com/blogs/kimberly/transaction-log-vlfs-too-many-or-too-few/
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Jafa log file is suplicated each time the process is run

    Hi all,
    I am trying to create a file logger,,Following is part of my coding.
    Now I can see the log file being created. However my problem is that every time I run the process the log is appended to the test.log file correctly. But the problem is that it also create test.log.1, test.log.2.. etc files each time the process is run. It will be great if anyone advise me how to eleminate these extra files being generated each time. I need just one log file to be genereted and all the logs to be appended to it.
    boolean append = true;
    FileHandler handler = new FileHandler(test.log);
    SimpleFormatter simpleFormatter = new SimpleFormatter();
    handler.setFormatter(simpleFormatter);
    logger.addHandler(handler);Thanks in adavance

    Are you saying that it is creating new logs AND appending to the other one? That doesn't seem quite right.

  • Probleme avec le log file path de Data Logging Control de Veristand

    Bonjour à tous,
    Mon problème est que j'utilise un ordinateur comme passerelle sur le réseau. Cette dernière est connecté au PXI pour acquisitionner en Real Time. J'ai un autre ordinateur connecté à la passerelle pour lire les donnés du PXI. Je n'arrive pas en enregistrer sur mon disque dur local en utilisant le Data logging Control de Veristand sur le deuxième ordinateur. Cependant, il peut m'enregistrer sur le disque dur  se trouvant sur le réseau. De plus, je n'ai pas de problème à enregistrer si l'ordinateur est une passerelle.
    Cordialement,
    Kamal Bouamran

    Apologies for Google translate...
    Am I correct in assuming that you have a Logging Control connected to a remote gateway running on another computer and you want to access the log file on your local computer?
    Excuses pour Google Translate ...
    Ai-je raison de supposer que vous avez un Log Control relié à une Gateway distante exécutée sur un autre ordinateur et que vous voulez accéder au fichier journal sur votre ordinateur local ?

  • Log NC based on data collection

    Is it possible to trigger the logging of an NC based on a data collection value being outside the acceptable range?
    ie. Acceptable range for the data collection is a number less than 6, if the user enters 7 I would like to log an NC that says the data collection is out or range.

    To summarize:
    What I'm taking away from this is that it is the best practice to have only one parameter per DC group if you intend to trigger the automatic logging of an NC when that group "fails." The one parameter in the DC group MUST have a min/max value assigned and a fail is triggered when the operator enters a value outside of that range.  The NC is logged using the value assigned to the LOGNC_ID_ON_GROUP_FAILURE parameter in activity maintenance.
    If there are multiple parameters in the DC group, they all have to have a min/max value assigned and ALL of the responses have to be out of range in order to fail the SFC.
    I cannot have a DC group that contains parameters of multiple types and expect an NC to be logged based on an incorrect answer (for one question or multiple.)
    I cannot expect an NC to be logged based on an incorrect answer of one question, if the rest of the questions in the DC group are answered "correctly."
    Sound correct?
    Edited by: Allison Davidson on Apr 18, 2011 10:06 AM  - typo

  • Search log file line entry (date and string)

    I use powershell 4 and I need to search from a text file if it has a line that contains a date like this '2014-02-12' AND the same line contains some text string like
    'execution successful', that line contains something else but those are the important things. I am a bit lost, I managed to parse it with select-string and split commands but it comes quite ugly and long code. Can I just use regex, something
    like this:
     select-string -Pattern '(2014-02-12)(execution successful)' -Path $myfile
    I want a single line output and then I make an IF sentence that checks if it exists and if it does not, then I create an email alert.

    Hi,
    Here's one possibility:
    $strFound = $false
    $dateStr = '2014-02-12'
    $searchStr = 'execution successful'
    Get-Content .\inputFile.txt | ForEach {
    if ($_.Contains($dateStr) -and $_.Contains($searchStr)) { Write-Host "Found - $_" ; $strFound = $true }
    If ($strFound -eq $false) { Send-MailMessage }
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • Problem with logging in log files.

    HI,
    Our's is a client/server application.
    In our application there are so many clients.
    They each have separate page(web page).
    When a client download any file from their site it logs(client name, time, file name etc.) into a common log file(access.log) and a client specific log file(access.client_name).
    Logging in common file(access.log) is performing well.
    Logging in client specific log file works for some clients and don't work for some clients.
    For example there is a client called 'candy'.
    Some times it logs in the log file, access.candy
    some times it don't log.
    Tell me wht is the problem.
    If you want more information regarding my problem, I will send.
    Please give me some solution.
    Thank you.............

    Third Party Client: ((__null) != m_lock && 0 == (*__error())) Can't create semaphore lock
    There seems to be something wrong with a handling (m_lock = method of lock) of semaphore mechanism-- It appears to be a program issue, which is either on your local machine or a remote Web site' page(s).
    'semaphore' Apple definition (quotation from ADC) :
    A programming technique for coordinating activities in which multiple processes compete for the same kernel resources. Semaphores are commonly used to share a common memory space and to share access to files. Semaphores are one of the techniques for interprocess communication in BSD.
    In short, it is a flag to terminate a task/thread efficiently without fail prior to another task/thread starts-- a synchronization mechanism among cooperating threads/tasks. (You might need to have some understanding of the basic concepts of locks and semaphores.)
    I would test any suspect applications to uninstall temporarily to see if the erratic events are displayed on Console. Perhaps, vlc player?
    Fumiaki
    Tokyo

  • Server shutdown with the following log file -?

    JAVA Memory arguments: -Xms256m -Xmx512m -XX:MaxPermSize=128m
    WLS Start Mode=Production
    CLASSPATH=:/home3/bea9/patch_weblogic922/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home3/bea9/jdk150_07/lib/tools.jar:/home3/bea9/weblogic92/server/lib/weblogic_sp.jar:/home3/bea9/weblogic92/server/lib/weblogic.jar:/home3/bea9/weblogic92/server/lib/webservices.jar::/home3/bea9/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/home3/bea9/weblogic92/server/lib/xqrl.jar::
    PATH=/home3/bea9/weblogic92/server/bin:/home3/bea9/jdk150_07/jre/bin:/home3/bea9/jdk150_07/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/hparray/bin:/opt/langtools/bin:/opt/imake/bin:/opt/perf/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/hpnp//bin:/opt/resmon/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/sec_mgmt/spc/bin:/opt/graphics/common/bin:/opt/OV/bin:/opt/ssh/bin:/opt/sec_mgmt/bastille/bin:.
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.5.0.07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.07-_20_mar_2007_05_31)
    Java HotSpot(TM) Server VM (build 1.5.0.07 jinteg:03.20.07-04:39 PA2.0 (aCC_AP), mixed mode)
    Starting WLS with line:
    /home3/bea9/jdk150_07/bin/java -server -Xms256m -Xmx512m -XX:MaxPermSize=128m -da -Dplatform.home=/home3/bea9/weblogic92 -Dwls.home=/home3/bea9/weblogic92/server -Dwli.home=/home3/bea9/weblogic92/integration -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home3/bea9/patch_weblogic922/profiles/default/sysext_manifest_classpath -Dweblogic.Name=Admin -Djava.security.policy=/home3/bea9/weblogic92/server/lib/weblogic.policy weblogic.Server
    <May 13, 2009 10:36:22 AM EDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /home3/bea9/weblogic92/platform/lib/p13n/p13n-schemas.jar:/home3/bea9/weblogic92/platform/lib/p13n/p13n_common.jar:/home3/bea9/weblogic92/platform/lib/p13n/p13n_system.jar:/home3/bea9/weblogic92/platform/lib/wlp/netuix_common.jar:/home3/bea9/weblogic92/platform/lib/wlp/netuix_schemas.jar:/home3/bea9/weblogic92/platform/lib/wlp/netuix_system.jar:/home3/bea9/weblogic92/platform/lib/wlp/wsrp-common.jar>
    <May 13, 2009 10:36:24 AM EDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0.07 jinteg:03.20.07-04:39 PA2.0 (aCC_AP) from Hewlett-Packard Company>
    <May 13, 2009 10:36:29 AM EDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
    <May 13, 2009 10:37:03 AM EDT> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /home3/bea9/license.bea>
    <May 13, 2009 10:37:03 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <May 13, 2009 10:37:03 AM EDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <May 13, 2009 10:37:04 AM EDT> <Notice> <Log Management> <BEA-170019> <The server log file /home3/bea9/user_projects/domains/Production/servers/Admin/logs/Admin.log is opened. All server side log events will be written to this file.>
    <May 13, 2009 10:37:08 AM EDT> <Alert> <Socket> <BEA-000414> <Could not initialize POSIX Performance Pack.>
    <May 13, 2009 10:37:08 AM EDT> <Warning> <Socket> <BEA-000444> <Could not load the performance pack that can take advantage of /dev/(e)poll device due to:
         weblogic.utils.NestedError: Could not initialize /dev/poll Performance Pack. Ensure that /dev/poll device exists and is initialized..
    Will attempt to use the performance pack that does not depend on /dev/(e)poll device.>
    <May 13, 2009 10:37:18 AM EDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <May 13, 2009 10:37:35 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <May 13, 2009 10:37:35 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <May 13, 2009 10:37:52 AM EDT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    <May 13, 2009 10:37:53 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <May 13, 2009 10:37:53 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <May 13, 2009 10:37:54 AM EDT> <Warning> <Server> <BEA-002611> <Hostname "ncsci015", maps to multiple IP addresses: 10.45.8.61, 127.0.0.1>
    <May 13, 2009 10:37:54 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:9001 for protocols iiop, t3, ldap, http.>
    <May 13, 2009 10:37:54 AM EDT> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 10.45.8.61, 127.0.0.1>
    <May 13, 2009 10:37:54 AM EDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.45.8.61:9001 for protocols iiop, t3, ldap, http.>
    <May 13, 2009 10:37:54 AM EDT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "Admin" for domain "Production" running in Production Mode>
    <May 13, 2009 10:37:54 AM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <May 13, 2009 10:37:54 AM EDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <May 13, 2009 10:39:55 AM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 13, 2009 10:43:47 AM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerConfigGeneralTabPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DTCSE%2CType%3DServer%22%29.>
    <May 13, 2009 10:44:08 AM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtcr%2CType%3DAppDeployment%22%29.>
    <May 13, 2009 10:44:12 AM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 13, 2009 10:44:12 AM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 13, 2009 10:44:12 AM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 13, 2009 10:44:12 AM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 13, 2009 10:44:12 AM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 13, 2009 12:34:44 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 13, 2009 12:43:36 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 13, 2009 1:12:29 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 14, 2009 12:27:16 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 14, 2009 12:27:29 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerConfigGeneralTabPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DTCSE%2CType%3DServer%22%29.>
    <May 14, 2009 12:29:21 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 14, 2009 12:29:30 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerConfigGeneralTabPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DTCSE%2CType%3DServer%22%29.>
    <May 14, 2009 12:29:44 PM EDT> <Error> <netuix> <BEA-423405> <An exception [Broken pipe (errno:32)] was thrown while rendering the content at [jsp/contentheader/ContentMenu.jsp].
    java.net.SocketException: Broken pipe (errno:32)
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:97)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:141)
         at weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
         at weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
         Truncated. see log file for complete stacktrace
    >
    <May 14, 2009 1:47:36 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 14, 2009 1:47:48 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerConfigGeneralTabPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DTCSE%2CType%3DServer%22%29.>
    <May 14, 2009 1:57:17 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 14, 2009 1:57:27 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=ServerConfigGeneralTabPage&handle=com.bea.console.handles.JMXHandle%28%22com.bea%3AName%3DTCSE%2CType%3DServer%22%29.>
    <May 15, 2009 9:15:48 AM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 15, 2009 12:07:05 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 15, 2009 12:07:14 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dtcr%2CType%3DAppDeployment%22%29.>
    <May 15, 2009 12:07:15 PM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 15, 2009 12:07:15 PM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 15, 2009 12:07:15 PM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 15, 2009 12:07:15 PM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 15, 2009 12:07:15 PM EDT> <Warning> <J2EE Deployment SPI> <BEA-260128> <Changes not allowed to DTD based descriptors. The attempt to modify property 'ServletName' in WEB-INF/weblogic.xml for module 'tcr.war' will be vetoed if possible. The change will not be persisted in either case.>
    <May 19, 2009 2:29:26 PM EDT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <May 31, 2009 10:27:32 PM EDT> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
    <May 31, 2009 10:27:32 PM EDT> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
    <May 31, 2009 10:27:32 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING>
    <May 31, 2009 10:27:32 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <May 31, 2009 10:27:32 PM EDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    <May 31, 2009 10:27:32 PM EDT> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 10.45.8.61:9001 was shutdown.>
    <May 31, 2009 10:27:32 PM EDT> <Notice> <Server> <BEA-002607> <Channel "Default[1]" listening on 127.0.0.1:9001 was shutdown.>
    The server shutdown with the above output in the log file, can you please let me know why this happened and any solution for it?
    Thanks.

    Have you see that in your posted log:
    <May 13, 2009 10:37:08 AM EDT> <Alert> <Socket> <BEA-000414> <Could not initialize POSIX Performance Pack.>
    <May 13, 2009 10:37:08 AM EDT> <Warning> <Socket> <BEA-000444> <Could not load the performance pack that can take advantage of /dev/(e)poll device due to:
    weblogic.utils.NestedError: Could not initialize /dev/poll Performance Pack. Ensure that /dev/poll device exists and is initialized
    Will attempt to use the performance pack that does not depend on /dev/(e)poll device.>
    it seems to be a trouble with server performance pack. Try to DISABLE performance pack on your server and restart (unckeck "Native IO Enabled" on your domain"). You can also found some suggestions on http://edocs.bea.com/wls/docs92/messages/Socket.html (check for "BEA-000414" message).
    Regards
    Nat.

  • Mozilla should always give open with option while downloading any file

    in Mozilla, when i click on the file to download the dialog box comes with the options of either opening it or saving it. say i get open with option when i click it, if i toggle to save it and go ahead with that process. Mozilla is remembering the last event, and showing me save it option selected when i click on download that file. i would want to set the mozilla config to have open with option selected for any kind of download in my browser. how to do this?

    yes this is a way to keep giving me "open with" option for that type of the file. but still if user clicks save option. next time it will show save option clicked while downloading. am not sure if i have put the query correctly. is the problem statement clear?
    the reason i want this is because my script which is automated script for an application, when download is clicked i want the open option to be enabled so that i just do a key down option. if it is going to be different everytime. i cant use this script.

  • Replay only particular logs (before a certain date) to restored Exchange 2010 database?

    Hello,
    I'm doing Exchange 2010 database full backup using windows server backup (windows 2008 R2) every weekend. I have a Mac user which Mac Outlook 2011 which somehow managed to corrupt his mailbox. I.e. on Wednesday many messages and contacts disappeared (all
    contact gone) after his Outlook told his something about "corrupted database". I'm not sure what Mac Outlook did, but fact is that his mailbox has zero contacts and many inbox message are gone. Hard deleted items don't contain lost messages. 
    So I have DB backup from weekend before and weekend after. No circular logging, so all logs in place.
    Is there a way how I can restore his mailbox back to the point in time? I want to restore his mailbox how it was on Wednesday morning. For it looks obvious that since I have log files from Monday to Friday, it should be possible to replay logs until certain
    time. 
    I tried to did thick trick by removing Friday and Thursday logs and doing soft recovery, but got Operation terminated with error -543 (JET_errRequiredLogFilesMissing, The required log files for recovery is missing.) They indeed missing:
             dbtime: 2221857861 (0x846edc45)
              State: Dirty Shutdown
       Log Required: 2895446-2895464 (0x2c2e56-0x2c2e68)
      Log Committed: 0-2895465 (0x0-0x2c2e69)
     Log Recovering: 2838005 (0x2b4df5)
    Log required are logs from they day of backup, so they are really missed in that case, but that's what I want - restore DB with less/older logs to get back in time, when mailbox was not corrupted.
    Is that possible? 
    Thanks

    ok so the problem is you have the dreaded  -1018 error and this is a very serious issue. -1018 is not a good deal at all, in short your DB has corruption within it
    and it is usually caused by a hardware or firmware related issue. Most of the time these occur somewhere within the storage subsystem, i.e. firmware upgrade or lack of firmware upgrade, Controller issue, cabling, disk, disk arrays, etc, however they can
    also be caused by memory upgrades or failures, Motherboard issues etc.   The -1018 tells you the DB is already damaged and if you see these its very bad and needs to be addressed ASAP else the DB's are sure to fail and the more stress you put on
    them the faster the chance of failure, i.e. database backups, defrag;s and repairs etc are not recommended at all until you solve the hardware issue.  So here is what I would recommend:
    A: Lets try to ensure the box is stable and whatever caused the DB to get the -1018's is solved before we do anything else.
    General Review:  Whats changed recently?  i.e. any hardware, memory, motherboard, any firmware updates on anything at all?
    Event Log Review: Look at your Application Log, how long have these 1018's been occurring?   Look at your System event log for errors and pay close attention to any errors regarding disk, memory or MB and report back
    Protect: I would dismount the database & copy it and any others off to a secure, safe drive that is NOT connected to this system
    Action:  Depending on what you find in your review there are really two options
         i: If you had a recent change that is easily identifiable you may be able to correct it and then we can look at finding a clean copy of the EDB and rolling up the logs OR we opt to repair the DB you have
         ii: if you cannot find the issue in short order then I would suggest that you build a new Exchange Server on new hardware and migrate your mailboxes immediately.
    B: Once you have addressed the -1018 issue then;
    1. We need to find a database from your backups that does NOT have the -1018 result code when attempting a rollup.
    2. Once you have a non -1018 result you can then grab a fresh copy of the EDB along with all logs from that point forward and make a consistent DB via rollup up to the 18th as desired.
    3. If you cannot find a good copy of the EDB then you are stuck with the latest data you have and should either move all mailboxes to a new EDB on that server but ONLY IF the source of the -1018 is found and resolved, else you will just be making thing s
    worse.  IF you CANNOT resolve the issue that causes the -1018 then build a brand new server and move all users over to it ASAP, else you are headed for a major failure on all users.
    Search, Recover, & Extract Mailboxes, Folders, & Email Items from Offline Exchange Mailbox and Public Folder EDB's and Live Exchange Servers or Import/Migrate direct from Offline EDB to Any Production Exchange Server, even cross version i.e. 2003 -->
    2007 --> 2010 --> 2013 with Lucid8's
    DigiScope

  • Wait Events "log file parallel write" / "log file sync" during CREATE INDEX

    Hello guys,
    at my current project i am performing some performance tests for oracle data guard. The question is "How does a LGWR SYNC transfer influences the system performance?"
    To get some performance values, that i can compare i just built up a normal oracle database in the first step.
    Now i am performing different tests like creating "large" indexes, massive parallel inserts/commits, etc. to get the bench mark.
    My database is an oracle 10.2.0.4 with multiplexed redo log files on AIX.
    I am creating an index on a "normal" table .. i execute "dbms_workload_repository.create_snapshot()" before and after the CREATE INDEX to get an equivalent timeframe for the AWR report.
    After the index is built up (round about 9 GB) i perform an awrrpt.sql to get the AWR report.
    And now take a look at these values from the AWR
                                                                       Avg
                                                 %Time  Total Wait    wait     Waits
    Event                                 Waits  -outs    Time (s)    (ms)      /txn
    log file parallel write              10,019     .0         132      13      33.5
    log file sync                           293     .7           4      15       1.0
    ......How can this be possible?
    Regarding to the documentation
    -> log file sync: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/waitevents003.htm#sthref3120
    Wait Time: The wait time includes the writing of the log buffer and the post.-> log file parallel write: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/waitevents003.htm#sthref3104
    Wait Time: Time it takes for the I/Os to complete. Even though redo records are written in parallel, the parallel write is not complete until the last I/O is on disk.This was also my understanding .. the "log file sync" wait time should be higher than the "log file parallel write" wait time, because of it includes the I/O and the response time to the user session.
    I could accept it, if the values are close to each other (maybe round about 1 second in total) .. but the different between 132 seconds and 4 seconds is too noticeable.
    Is the behavior of the log file sync/write different when performing a DDL like CREATE INDEX (maybe async .. like you can influence it with the initialization parameter COMMIT_WRITE??)?
    Do you have any idea how these values come about?
    Any thoughts/ideas are welcome.
    Thanks and Regards

    Surachart Opun (HunterX) wrote:
    Thank you for Nice Idea.
    In this case, How can we reduce "log file parallel write" and "log file sync" waited time?
    CREATE INDEX with NOLOGGINGA NOLOGGING can help, can't it?Yes - if you create index nologging then you wouldn't be generating that 10GB of redo log, so the waits would disappear.
    Two points on nologging, though:
    <ul>
    it's "only" an index, so you could always rebuild it in the event of media corruption, but if you had lots of indexes created nologging this might cause an unreasonable delay before the system was usable again - so you should decide on a fallback option, such as taking a new backup of the tablespace as soon as all the nologging operatons had completed.
    If the database, or that tablespace, is in +"force logging"+ mode, the nologging will not work.
    </ul>
    Don't get too alarmed by the waits, though. My guess is that the +"log file sync"+ waits are mostly from other sessions, and since there aren't many of them the other sessions are probably not seeing a performance issue. The +"log file parallel write"+ waits are caused by your create index, but they are happeninng to lgwr in the background which is running concurrently with your session - so your session is not (directly) affected by them, so may not be seeing a performance issue.
    The other sessions are seeing relatively high sync times because their log file syncs have to wait for one of the large writes that you have triggered to complete, and then the logwriter includes their (little) writes with your next (large) write.
    There may be a performance impact, though, from the pure volume of I/O. Apart from the I/O to write the index you have LGWR writting (N copies) of the redo for the index and ARCH is reading and writing the completed log files caused by the index build. So the 9GB of index could easily be responsible for vastly more I/O than the initial 9GB.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for