Linear Encoder and Configure Logging

Hi All,
I am currently using a PCI-6280 M-series board with LV2010.
I have a Linear Encoder in X4 mode connected to Counter 0 and I was wondering if it is possible to stream the values on the counter as it keeps track of the distance into a TDMS file using "DAQmx Configure Logging" .  I tried this using MAX to configure this, but it does not seem to work, so I'm just wondering if this is even possible as I couldn't seem to find anything online about doing this.
Thanks,
Lester
Solved!
Go to Solution.

Hi Lester,
My apologies, I tried it out on a different board. It can work with yours, too, though. There is an example of a buffered counter task that should allow you to log the data by adding in the Configure Logging VI like we did before.
Open LabVIEW and go to Help >> Find Examples... it will open the Example Finder. In the Example Finder, expand the folders to get to Hardware Input and Output >> DAQmx >> Counter Measurements >> Count Digital Events >> Count Digital Events-Buffered-Countinuous-Ext Clk.vi
Put the correct counter channel and PFI channel in the controls, and run the VI to see what it does. Then you can modify the block diagram to add the Configure Logging VI (the same way as before) and run the VI again. You will end up with a TDMS log saved at the path you wire into the Configure Logging VI.
I hope that helps.
Regards,
Daniel H.
Customer Education Product Support Engineer
National Instruments
Certified LabVIEW Developer

Similar Messages

  • Managing and configuring log files for Oracle 9ias

    Hi all,
    I'm wondering where I can find documentation on managing and configuring log files like:
    ORACLE_HOME/admin/ sid/*dump/* ORACLE_HOME/assistants/opca/install.log ORACLE_HOME/webcache/logs/*
    ORACLE_HOME/dcm/logs/*
    ORACLE_HOME/ldap/log/*
    ORACLE_HOME/opmn/logs/*
    ORACLE_HOME/sysman/log/*
    ORACLE_HOME/j2ee/ OC4J_instance/log/*/* ORACLE_HOME/config/schemaload.log ORACLE_HOME/config/useinfratool.log
    because I didn't find anything in document like:
    Oracle9 i Application Server
    Administrator�s Guide
    Release 2 (9.0.2)
    May 2002
    Part No. A92171-02
    So, if anyone has any idea...
    Thanks in advance

    Does anyone know how or if it is possible to send the stdout and/or stderr to the log4j type of logging? I already capture the stdout and stderr to the flat file. But I would like to timestamp every line to compare and diagnose problems with each application that encounters problems. Each web app is using log4j to their own application log4j log file. When they encounter errors or resource draining problems, I would like to see the container logs and see what was occuring inside the container at around that same time.
    Any ideas?

  • Linear Encoder, Counting Ticks

    To all,
    I have the VI created for the linear encoder and everything works fine, except when it comes to counting ticks.  When the encoder moves in the positive direction from initial position, the ticks are counted correctly, but when I move the encoder in the negative direction from the initial position, the encoder immediately reads "4.29E+9".  It continually reads this value moving backwards, and will not accurately measure position until the encoder has been moved an equal distance forward, back to its initial position, then it counts forward correctly.  Any speculation as to why it reads this number?  Any suggestions for fixing?
    Thanks,
    Owen

    Could you please make a trial with an example from NI ?
    LV Menu >> Help >> Find Examples... >> Hardware Input and Output >> DAQmx >> Counter Measurements >> Position >> Measure Angular Position.vi
    You can easily adapt it for a linear encoder but even the original version will allow you to check your setup. Please read the NI-DAQmx help for the default terminals for your DAQ card.

  • Configure Logging VI start and stop without losing or dropping data

    Hi there,
    I am currently using a M-series PCI-6280 and a counter card PCI-6601 to do measurements on Labview 2010. 
    I have 3 tasks set up, 2 linear encoder counter tasks on the 6601 and 1 analog input task with 4 x inputs on my 6280.  These are all timed with a counter on the 6601 through an RTSI line.
    On all of these tasks, I have a similar set-up as the picture in http://zone.ni.com/devzone/cda/tut/p/id/9574 except they are all set up as "Log" only and "create/replace" file for the configure logging.vi.  
    Since I want to have the encoders continuously locate my position, I never "stop" the counter tasks.  However, I need to use the data acquired after every move along the path to obtain and process the location and the subsequent analog input data points I have.  What I have done, is I would "stop.vi" my sample clock on the counter, then open the tdms file, read the tdms file, get the array from there, close the tdms file, then "run.vi" the sample clock on the counter.  However, I found when I stop the sample clock, not ALL the data points have been streamed into the file.  
    For example, say I move my carriage to 100mm to the right while logging, then stop the sample clock, obtain the array from the tdms file, find the size of this array called "X" for future use.  Then, I move the carraige back to the origin WITHOUT starting the clock again.  THEN I start the sample clock again and move 100mm towards the left.  After this is done, I again, stop the sample clock and obtain the data from my tdms file starting the offset of read at "X+1".  I EXPECT that this array SHOULD start at 0 then move on to 100mm to the left.  However, what it does, is I see the data start at 100mm from the right for a few data points, then JUMPS to 0, then moves to the left as expected.
    I propose that this means that when I stop the sample clock, the data from the counters (buffer?) have not all been streamed to the tdms file yet, and when I start the clock again, the remaining gets dumped it.  Here, I am confused since I thought that "configure logging.vi" streams directly into the file without a buffer.
     I was wondering if I am doing anything wrong, expecting the wrong things, and if there is a way to implement what I want.  As in, is there a way to flush the remaning data in the "buffer" (i tried the flush tdms vi, but that didn't work and I didn't think it was relevant) after I stop the clock or something like that, or is my implementation competely off. 
    Thanks for reading,
    Lester
    PS.  Having a way to read the most recent point from the counters would be awesome too.  However, everytime I set the offset/relative to most current, it says that I cant do that while logging, even though I saw a community post saying that it works with analog inputs.  Maybe this is off topic, but yeah, currently I'm just trying to get the arrays from tdms working, THANKS!
    Solved!
    Go to Solution.

    Hello, Lester!
    There are a few solutions for you here.
    First, since you don't need the excess data points, you can set the "DAQmx Read" Property Node to "Overwrite" any data from previous acquisitions. 
    To do this, first select a "DAQmx Read Property Node" from the functions palette. The first property should default to "RelativeTo." Click on this, and instead select "OverWrite Mode" (see attached). Next, right-click on the input, create constant, and select "Overwrite Unread Samples" from the drop-down enum. After wiring the other inputs and outputs on the node, This should accomplish what you're looking for. If for some reason it doesn't, consider the following options.
    Your second option is to limit the buffer size. If you know how long you want to acquire data for, you can use the sampling rate (it looks like 5000Hz, in your case) to determine the number of samples to acquire. Simply use the "DAQmx Buffer Property Node" and input the number of samples desired. When the required number of samples is acquired, the buffer will begin to overwrite the old samples. This, of course, is not a very flexible method, and obviously requires a pre-set number of data points.
    Your final option is to do a brute-force open and close of your task with each acquisition. Simply use the "Clear Task" and "Create Task" functions with every new set of data desire. This should clear the buffer, but will be fairly slow (especially if you eventually change your program to take many sets of data very quickly). 
    As mentioned, the "OverWrite" property in the "DAQmx Read" node should take care of this for you, but feel free to try the other options if they better suit your needs.
    Let us know if you have any further questions!
    Best,
    Will H | Applications Engineer | National Instruments
    Will Hilzinger | Switch Product Support Engineer | National Instruments

  • DAQmx configure logging (TDMS) and counter

    Hi,
    I'm trying to stream analog data jointly with counter data to one TDMS file with use of DAQmx configure logging vi. This is quite new but powerful function but I can't manage with it successfully. I'm able to acquire analog data only and display no. of counts simultaneously (attached diagram). I have no idea how attach counter data to TDMS stream as separate channel group.
    It is important for me to stream data with this VI bacause I'm sampling analog data with 95kHz per channel (PCI-6143 board).
     Could you post any ideas how to resolve this problem?
    Best regards
    Mark
    Attachments:
    acq_analog_and_contr.PNG ‏44 KB

    Eric, hear is short info about DAQmx configure logging http://zone.ni.com/devzone/cda/tut/p/id/9574.
    Yes I thought about producer/consumer structure, It is first alternative way.
    There is also another very simple way -  connecting encoder to analog input and acquire together with analog signals. Of course It will be neccasary to process sigal from encoder after recording. I'm also concerning such solution
    Ok I have to sleep with this problem  
    Best regards
    Mark

  • Do I have to use an external clock with a cDAQ-9188 and NI 9401 to read a linear encoder? I'm seeing error message that implies that but the example code doesn't show it.

    We can set up a task that works on demand but when we go to continuous sampleing we see Error -200303, which claims an external sample clock source must be specified for this application.  However, some of the NI linear encoder example code doesn't show that (uses the cDAQ 80 Mhz clock) and the documentation didn't mention that. 

    It's mentioned in the 918x user manual:
    Unlike analog input, analog output, digital input, and digital output, the cDAQ chassis counters do not have the ability to divide down a timebase to produce an internal counter sample clock.  For sample clocked operations, an external signal must be provided to supply a clock source.  The source can be any of the following signals:
    AI Sample Clock
    AI Start Trigger
    AI Reference Trigger
    AO Sample Clock
    DI Sample Clock
    DI Start Trigger
    DO Sample Clock
    CTR n Internal Output
    Freq Out
    PFI
    Change Detection Event
    Analog Comparison Event
    Assuming you have at least one available counter (there are 4 on the backplane), I would suggest to configure a continuous counter output task and use its internal output as the sample clock.  Specify the internal counter using an "_" for example "cDAQ1/_ctr0".  The terminal to use for the sample clock source would be for example "/cDAQ1/Ctr0InternalOutput".
    Which example uses the 80 MHz timebase as a sample clock?  It is far too fast for a sample clock on the 9188 according to the throughput benchmarks (80 MHz * 4 byte samples = 320 MB/s).  There is also no direct route between the 80 MHz timebase and the sample clock terminal for the counters--making this route would use a second counter anyway.
    Best Regards,
    John Passiak

  • I write digital port by 'DAQmx Configure Logging.vi​' and receive TDMS file with 8 boolean channels. How can I write to 1 integer channel?

    Hello!
    I want to write 1 digital port from PXI-6536 with streaming to TDMS file.
    I'm writing by 'DAQmx Configure Logging.vi' and become TDMS file with 8 boolean channels.
    How can I write to 1integer channel?
    Attachments:
    1.JPG ‏27 KB

    Hey Atrina,
    The actual data stored on disk is just the raw data (that is, a byte per sample in your case).  It's really just a matter of how that data is being represented in LabVIEW whenever you read back the TDMS file.
    I'm not sure if there is a better way to do this, but here is a way to accomplish what you're wanting:
    Read back the TDMS file as a digital waveform.  Then there's a conversion function in LabVIEW called DWDT Digital to Binary.  This function will convert that set of digital channels into the "port format" that you're wanting.  I've attached an example of what I mean.
    Note: When looking at this VI, there are a few things that the downgrade process did to the VI that I would not recommend for these TDMS files.  It added a 1.0 constant on the TDMS Open function, and it set "disable buffering" on the TDMS Open function to false; you can get rid of both of those constants.
    Message Edited by AndrewMc on 01-27-2010 11:21 AM
    Thanks,
    Andy McRorie
    NI R&D
    Attachments:
    digitalconvert.vi ‏13 KB

  • Linear encoder (newall SGH) controlled with motion cotnroll UMI7764 and LabView

    Hi,
    I would like to intsall my linear encoder (SGH PC) onto the motion controll box (UMI7764). After that I have to use LabView to controll the encoder. It should give me the position of a piston and also the limits for this piston. So at first I just want to controll the position of the piston and then give the limits or controll the piston with it.
    My problem is I have no idea how? How can I get my signals out of the encoder into my LabView programm? I got the key for the pins but still unclear how to get my signals and what to do with them.
    Sorry, I am not used to use LabView. 
    Thanx

    Oh, ist mein Englisch so schlecht
    Dann formuliere ich meine Aufgabe einfach noch mal auf Deutsch um Missverstaendnisse auszuloeschen.
    Meine Aufgabe ist es einen Linear Encoder (SGH PC) an einen Piston (wie heisst das auf Deustch?) anzubringen und anzusteuern. Zunaechst soll nur die Position des Piston damit bestimmt werden, danach aber auch Vorgaben gesetzt werden. Heisst, ich gebe eine Routine vor und der Piston macht das dann hoffentlich auch.
    Um den Encoder ansteuern und auslesen zu koennen stehen mir eine Motion Controll Card (UMI 7764) und eine PCI 7324, sowie LabView 8.6.
    Zur Zeit sind wir noch mit der Installation des Encoders beschaeftigt, doch bald werd ich auch programmtechnisch handlegen muessen. Leider hab ich noch nie mit einer PCI oder all dem Anderem gearbeitet und kenne mich daher nicht damit aus. 
    Fang ich also mit einer Grundlegenden Frage an: Hat LabView ein VI was es mir ermoeglicht die benoetigten Kanaele aus dem PCI auslesen zu lassen und wieder zu schliessen? Dann waere die Positionsbestimmung ja hoffentlich nciht so kompliziert.

  • Best RAID configuration for storing Datafiles and Redo log files

    Database version:10gR2
    OS version: Solaris
    Whis is the best RAID level for storing Datafiles and Redo log files?

    Oracle recommends SAME - Stripe And Mirror Everything.
    In the RAC Starter Kit documentation, they specifically recommend not using RAID5 for things like voting disk and so on.
    SAN vendors otoh claims that their RAID5 implementations are as fast as RAID10. They do have these massive memory caches...
    But I would rather err on the safer side. I usually insist on RAID10 - and for those databases that I do not have a vested interest in (other than as a DBA), and owners, developers and management accept RAID5, I put the lead pipe away and do not insist on having it my way. :-)

  • Configure Log File for each web application deployed in weblogic server usi

    Hi All,
    How do I configure Log4J to log separately for each web application? i.e. Assuming, I have a web application "AWeb" and a web application "BWeb". I need a log file to be created for AWeb Separately and BWeb Separately. i.e. All the log information for "AWeb" web application will be stored in AWeb.log and all the "BWeb" web application will be stored in BWeb.log
    Do you have any sample code and configuration details for the above-mentioned requirement?
    Thanks in Advance,
    C R Baradwaj

    You do not need to do anything strange, just use log4j the usual way with the exception that you do not need to init log4j (this is not necesary when using a log4j.xml.)
    A minimal sample of a log4j.xml is
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
    <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
    <appender name="ConsoleAppender" class="org.apache.log4j.ConsoleAppender">
    <layout class="org.apache.log4j.SimpleLayout"/>
    </appender>
    <root>
    <priority value ="debug" />
    <appender-ref ref="ConsoleAppender"/>
    </root>
    </log4j:configuration>
    You just have to be sure that you have different log4j.xml in your classpath for different web applications.
    Regards,
    LG

  • Linear encoder

    Hi All
    I want to record the position(rotation) signal. If there are 1024 pulse per revolution, I want the position signal to increase linearly(1023,1024,1025......). Shall I use Linear encoder or Angular encoder (From DAQmx creat virtual channel).
    I am using NI-9411.
    Thank you!
    Solved!
    Go to Solution.

    Hi lvymerciqq,
    For Devices without Counters:
    Your module, the NI-9411 doesn't have any on board counters, so unfortunately you cannot use counter functions such as the Linear/Angular encoder DAQmx channel VIs. If you're using a Compact RIO, you can make use of Counters for the device via the use of Scan Mode (You can see this in the NI Example Finder). However, if you're using a Compact DAQ then there are no Counters to make use of so we'd have to implement our own methods in order to clock the signals. For now, I'd think that this application would be limited by being software driven (i.e. making the OS check that a rising edge has occured) however I'm going to do some research and see whether or not there are other possibilities that can be explored; however it won't consist of such a simple solution as just dropping down a single polymorphic VI.
    For Devices with Counters:
    You can configure a Counter task to count the number of rising edges recieved from the encoder; therefore this number will increment on every increased rotation of the encoder. You'll have to be careful with respect to this number rolling over, however. This is when you reach the maximum count of your counter task and then it resets back to 0; this changes from device to device as different counters have different resolutions.
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Install and configuration on the SharePoint server 2007 issue

    Hi All,
               I have Microsoft Sharepoint 2007 on Windows 2003 and I am trying to Integrate Adobe Lifecycle Rights Management Server which is on Windows 2008 R2 server.
              I am trying to Install and configuration on the SharePoint server 2007 but during installation getting error "Failure adding assembly to the cache: Unknown Error"
    Please check the Edited install.bat file and error log.
    Install.bat
    set _my_datetime=%date% %time%
    @echo on
    echo Begin Installation at %_my_datetime%
    echo "Customize <VER> <PORT> <SharepointServerNameOrIP> <SiteDirectory> <siteName> in this install.bat . Verify gacutil.exe path."
    @echo off
    @SET GACUTILEXE="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil.exe"
    @SET TEMPLATEDIR="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE"
    @SET RESOURCESDIR="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\Resources"
    @SET WEBAPPDIR="C:\Inetpub\wwwroot\wss\VirtualDirectories\80"
    @SET SITEURL="http://sharepoint7:80/sites/DCADC"
    @SET STSADM="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\STSADM.EXE"
    REM      cd $(ProjectDir)
    %GACUTILEXE% /nologo /i AdobeLCSharepoint.dll /f
    %GACUTILEXE% /nologo /i AdobeLiveCycleConnector.dll /f
    %GACUTILEXE% /nologo /i AdobeLiveCycleWorkflow.dll /f
    pushd %TEMPLATEDIR%\features
          Echo Deactivating LiveCycle Connector feature with WSS
          %STSADM% -o deactivatefeature -filename  LiveCycle\feature.xml  -url %SITEURL% -force
          Echo Deactivating LiveCycle Workflow feature with WSS
          %STSADM% -o deactivatefeature -name LiveCycle/Workflow -url %SITEURL% -force
          Echo Uninstalling LiveCycle Connector with WSS
          %STSADM% -o uninstallfeature -filename  LiveCycle\feature.xml -force
          Echo Uninstalling LiveCycle Workflow with WSS
          %STSADM% -o uninstallfeature -name  LiveCycle/Workflow -force
    popd
          Echo Copying source files to WSS \TEMPLATE directory
          xcopy TEMPLATE %TEMPLATEDIR% /e /y /i
          Echo Copying Feature Resource files to WSS 12\Resources directory
          xcopy Resources %RESOURCESDIR% /e /y /i
          Echo Copying Resource files to %WEBAPPDIR%\App_GlobalResources directory
          xcopy App_GlobalResources %WEBAPPDIR%\App_GlobalResources /e /y /i
    pushd %TEMPLATEDIR%\features
          Echo Installing LiveCycle Connector  with WSS
          %STSADM% -o installfeature -filename  LiveCycle\feature.xml -force
          Echo Installing LiveCycle Workflow with WSS
          %STSADM% -o installfeature -name  LiveCycle/Workflow -force
          Echo Activating LiveCycle Connector  with WSS
          %STSADM% -o activatefeature -filename  LiveCycle\feature.xml  -url %SITEURL% -force
          Echo Activating LiveCycle Workflow with WSS
          %STSADM% -o activatefeature -name LiveCycle/Workflow -url %SITEURL% -force
    popd
          Echo Restarting IIS worker process
          IISRESET
    set _my_datetime=%date% %time%
    @echo on
    echo End Installation at %_my_datetime%
    @echo off
    Error Log
    E:\Adobe LiveCycle Connector-2007>set _my_datetime=Wed 08/22/2012 14:40:28.27
    E:\Adobe LiveCycle Connector-2007>echo Begin Installation at Wed 08/22/2012 14:40:28.27 
    Begin Installation at Wed 08/22/2012 14:40:28.27
    E:\Adobe LiveCycle Connector-2007>echo "Customize <VER> <PORT> <SharepointServerNameOrIP> <SiteDirectory> <siteName> in this install.bat . Verify gacutil.exe path."
    "Customize <VER> <PORT> <SharepointServerNameOrIP> <SiteDirectory> <siteName> in this install.bat . Verify gacutil.exe path."
    Failure adding assembly to the cache: Unknown Error
    Failure adding assembly to the cache: Unknown Error
    Failure adding assembly to the cache: Unknown Error
    Deactivating LiveCycle Connector feature with WSS
    Operation completed successfully.
    Deactivating LiveCycle Workflow feature with WSS
    Operation completed successfully.
    Uninstalling LiveCycle Connector with WSS
    Operation completed successfully.
    Uninstalling LiveCycle Workflow with WSS
    Operation completed successfully.
    Copying source files to WSS \TEMPLATE directory
    TEMPLATE\FEATURES\LiveCycle\Elements.xml
    TEMPLATE\FEATURES\LiveCycle\Feature.xml
    TEMPLATE\FEATURES\LiveCycle\Workflow\feature.xml
    TEMPLATE\FEATURES\LiveCycle\Workflow\workflow.xml
    TEMPLATE\IMAGES\LiveCycle\applyPolicy.png
    TEMPLATE\IMAGES\LiveCycle\applyReaderExtn.png
    TEMPLATE\IMAGES\LiveCycle\createPdf.png
    TEMPLATE\IMAGES\LiveCycle\liveCycle.gif
    TEMPLATE\IMAGES\LiveCycle\pdficon_small.gif
    TEMPLATE\LAYOUTS\LiveCycle\ApplyPolicy.aspx
    TEMPLATE\LAYOUTS\LiveCycle\ApplyReaderExtensions.aspx
    TEMPLATE\LAYOUTS\LiveCycle\GeneratePDF.aspx
    TEMPLATE\LAYOUTS\LiveCycle\InvokeGenericProcess.aspx
    TEMPLATE\LAYOUTS\LiveCycle\LiveCycleSettings.aspx
    TEMPLATE\LAYOUTS\LiveCycle\LoggingSettings.aspx
    TEMPLATE\LAYOUTS\LiveCycle\Workflow\LCWorkflowSettings.aspx
    16 File(s) copied
    Copying Feature Resource files to WSS 12\Resources directory
    Resources\AdobeLiveCycleConnectorCore.de-DE.resx
    Resources\AdobeLiveCycleConnectorCore.de.resx
    Resources\AdobeLiveCycleConnectorCore.en-US.resx
    Resources\AdobeLiveCycleConnectorCore.en.resx
    Resources\AdobeLiveCycleConnectorCore.fr-FR.resx
    Resources\AdobeLiveCycleConnectorCore.fr.resx
    Resources\AdobeLiveCycleConnectorCore.ja-JP.resx
    Resources\AdobeLiveCycleConnectorCore.ja.resx
    Resources\AdobeLiveCycleConnectorCore.resx
    9 File(s) copied
    Copying Resource files to "C:\Inetpub\wwwroot\wss\VirtualDirectories\80"\App_GlobalResources directory
    App_GlobalResources\AdobeLiveCycleConnector.de-DE.resx
    App_GlobalResources\AdobeLiveCycleConnector.de.resx
    App_GlobalResources\AdobeLiveCycleConnector.en-US.resx
    App_GlobalResources\AdobeLiveCycleConnector.en.resx
    App_GlobalResources\AdobeLiveCycleConnector.fr-FR.resx
    App_GlobalResources\AdobeLiveCycleConnector.fr.resx
    App_GlobalResources\AdobeLiveCycleConnector.ja-JP.resx
    App_GlobalResources\AdobeLiveCycleConnector.ja.resx
    App_GlobalResources\AdobeLiveCycleConnector.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.de-DE.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.de.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.en-US.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.en.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.fr-FR.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.fr.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.ja-JP.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.ja.resx
    App_GlobalResources\AdobeLiveCycleWorkflow.resx
    18 File(s) copied
    Installing LiveCycle Connector  with WSS
    Operation completed successfully.
    Installing LiveCycle Workflow with WSS
    Operation completed successfully.
    Activating LiveCycle Connector  with WSS
    Operation completed successfully.
    Activating LiveCycle Workflow with WSS
    Operation completed successfully.
    Restarting IIS worker process
    Attempting stop...
    Internet services successfully stopped
    Attempting start...
    Internet services successfully restarted
    E:\Adobe LiveCycle Connector-2007>echo End Installation at Wed 08/22/2012 14:41:00.29 
    End Installation at Wed 08/22/2012 14:41:00.29
    Waiting...
    Regards,
    Amol Sahare

    This might be an issue with the gacutil that you are using. I have used the gacutil that comes with Microsoft SDK.
    You can install Microsoft SDK from http://www.microsoft.com/en-us/download/details.aspx?id=3138

  • How to find out logs related to which server, If i have 2 WFE's in the farm. How to configure logs path?

    Hi,
    I got this doubt, when searching logs on the servers. I have 2 WFE's in my farm, I got an error from enduser. So in which WFE server i need to check the logs.
    How to configure logs path. Is it is possible to specify logs path on our own instead of 14 hive folder.
    Badri

    That is a really bad idea, especially with idle disconnects and other unreliability of CIFS.
    You should instead check out the command
    Merge-SPLogFiles which will allow you to combine ULS logs from multiple servers into a single file.
    You can certainly specify your own path, but the path must be available on all servers. For example, if you specified D:\Logs, D:\Logs must exist on all SharePoint servers within the farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Oracle Enterprise Manager Agent deployment (Installation and Configuration) Error

    Hello,
    I am trying to create an agent on a linux server using Oracle Enterprise Manager 12.1.0.3. The user is created with root privilege on the server, by change /etc/sudoers entry username the same as the root entry. After that I tried to add host target by clicking Setup->Add Target->Add target Manually->Add Host Targets in the Oracle Enterprise Manager.
    In the Add Target view: I clicked on add, then I entry host and platform information. After that I click next. Then I provided the Linux x86-64 : Installation Details for
    Installation Base Directory, Instance Directory, Name Credential ... then click next. then click Deploy Agent.
    In the Add Host Status view: stages Initialization and Remote Prerequisite Check successfully passed, but in the stage Agent Deployment, it failed in the Installation and Configuration phrase of the Agent Deployment stage.
    The log content is shown below. There are numerous SEVERE Errors. But I don't have much experience in dealing with these type of problems. I thank you in advance for all the helps.
    lf
    WARNING: Validation of XML schema is disabled because AggregateDescriptions.xsd could not be found
    INFO: Creating new CFM connection
    INFO: Creating a new logger for oracle.sysman.top.agent
    INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/oracle.sysman.top.agent.12_1_0_3_0.xml
    INFO: Creating a new logger for OuiConfigVariables
    INFO: Unmarshalling /users/ncgf/em_agent/core/12.1.0.3.0/inventory/ContentsXML/ConfigXML/OuiConfigVariables.1_0_0_0_0.xml
    INFO: Aggregate Description oracle.sysman.top.agent:12.1.0.3.0:common successfully loaded
    INFO: Aggregate Description OuiConfigVariables:1.0.0.0.0:common successfully loaded
    INFO: Successfully returning from CfmFactory.connect()
    INFO: Cfm.save() was called
    INFO: Cfm.save(): 2 aggregate instances saved
    INFO: oracle.sysman.top.agent:IAction.perform() was called on {Action state:configuration in CfmAggregateInstance: oracle.sysman.top.agent:12.1.0.3.0:common:family=CFM:oh=/users/ncgf/em_agent/core/12.1.0.3.0:label=1}
    INFO: Framework waiting for Action to complete at 15:08:10.272
    INFO: CfwProgressMonitor:actionProgress:About to perform Action=configuration Status=is running with ActionStep=0 stepIndex=0 microStep=0
    WARNING: Skipping environment variable line: "}": oracle.sysman.emCfg.common.CfwException: A non-empty environment line must contain "=": }
    WARNING: Failed to read environment variable file /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties: java.io.FileNotFoundException: /users/ncgf/em_agent/core/12.1.0.3.0/install/envVars.properties (No such file or directory)
    INFO: oracle.sysman.top.agent:About to execute plug-in Agent Configuration Assistant
    INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant is running
    INFO: oracle.sysman.top.agent:Internal PlugIn Class: oracle.sysman.agent.config.AgentConfiguration
    INFO: oracle.sysman.top.agent:Classpath = /users/ncgf/em_agent/core/12.1.0.3.0/oui/jlib/srvm.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/agentConfig.jar:/users/ncgf/em_agent/core/12.1.0.3.0/jlib/emConfigInstall.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/emagentSDK.jar:/users/ncgf/em_agent/core/12.1.0.3.0/modules/oracle.http_client_11.1.1.jar:/users/ncgf/em_agent/core/12.1.0.3.0/sysman/jlib/log4j-core.jar
    INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration has been started
    INFO: oracle.sysman.top.agent:Parametes passed to agent configuration are:
    1.ORACLE_HOME=/users/ncgf/em_agent/core/12.1.0.3.0
    2.AGENT_PORT=3872
    3.ORACLE_HOSTNAME=nsn175-89.us.oracle.com
    4.b_doDiscovery=false
    5.AGENT_BASE_DIR=/users/ncgf/em_agent
    6.AGENT_INSTANCE_HOME=/users/ncgf/em_agent/agent_inst
    7.s_hostname=nsn175-89.us.oracle.com
    8.OMS_HOST=nsn175-105.us.oracle.com
    9.b_startAgent=false
    10.b_secureAgent=true
    11.b_chainedInstall=false
    12.b_forceConfigure=false
    13.EM_UPLOAD_PORT=4904
    14.b_forceAgentDefaultPort=false
    15.s_staticPorts=
    16.PROPERTIES_FILE=
    b_skipValidation=false
    INFO: oracle.sysman.top.agent:Validating OMS_HOST and EM_UPLOAD_PORT
    INFO: oracle.sysman.top.agent:Validating with http protocol ...
    INFO: oracle.sysman.top.agent:URL framed is:http://nsn175-105.us.oracle.com:4904/empbs/genwallet
    SEVERE: oracle.sysman.top.agent:Connection refusedUnexpected end of file from server
    INFO: oracle.sysman.top.agent:Validating with https protocol ...
    INFO: oracle.sysman.top.agent:URL framed is:https://nsn175-105.us.oracle.com:4904/empbs/genwallet
    SEVERE: oracle.sysman.top.agent:The EM_UPLOAD_PORT passed is a secure port. Hence AGENT_REGISTRATION_PASSWORD or s_encrSecurePwd should be passed
    INFO: oracle.sysman.top.agent:EM Protocol Switch determined: https
    INFO: oracle.sysman.top.agent:Performing free port detection..
    INFO: oracle.sysman.top.agent:Trying for host : nsn175-89/10.134.175.89 and port : 3872
    INFO: oracle.sysman.top.agent: Trying for host : /127.0.0.1 and port : 3872
    INFO: oracle.sysman.top.agent:** Agent Port Check completed successfully.**
    INFO: oracle.sysman.top.agent:Agent Port from User Passed Port3872
    INFO: oracle.sysman.top.agent:Paths after canonical format conversions are :
    1. state_dir=/users/ncgf/em_agent/agent_inst
    2. agentBaseDir=/users/ncgf/em_agent
    3. oraHome=/users/ncgf/em_agent/core/12.1.0.3.0
    INFO: oracle.sysman.top.agent:Parent directory of agent instance home:/users/ncgf/em_agent
    INFO: oracle.sysman.top.agent:AgentConfiguration:perform:AgentPortHandler for /users/ncgf/em_agent/core/12.1.0.3.0 and hosts=nsn175-89.us.oracle.com returned Port to Use=3872
    INFO: oracle.sysman.top.agent:Instantiating emctl.template file #DEFAULT_EMSTATE# with /users/ncgf/em_agent/agent_inst
    INFO: oracle.sysman.top.agent:Writing the following contents into /users/ncgf/em_agent/core/12.1.0.3.0/install/oragchomelist
    INFO: oracle.sysman.top.agent:/users/ncgf/em_agent/core/12.1.0.3.0:/users/ncgf/em_agent/agent_inst
    INFO: oracle.sysman.top.agent:Both /etc/oragchomelist and /var/opt/oracle/oragchomelist does not exist.
    INFO: oracle.sysman.top.agent:Executing emctl deploy agent command...
    INFO: oracle.sysman.top.agent:AgentConfiguration: Executing emctl deploy agent command...
    INFO: oracle.sysman.top.agent:Executing the command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com
    INFO: oracle.sysman.top.agent:Creating shared install...
    INFO: oracle.sysman.top.agent:Source location: /users/ncgf/em_agent/core/12.1.0.3.0
    INFO: oracle.sysman.top.agent:Destination (shared install) : /users/ncgf/em_agent/agent_inst
    INFO: oracle.sysman.top.agent:Secure Mode: No
    INFO: oracle.sysman.top.agent:DeployMode : agent
    INFO: oracle.sysman.top.agent:
    INFO: oracle.sysman.top.agent:Creating directories...
    INFO: oracle.sysman.top.agent:Creating private.properties...
    INFO: oracle.sysman.top.agent:Creating blackouts.xml...
    INFO: oracle.sysman.top.agent:Creating targets.xml...
    INFO: oracle.sysman.top.agent:Creating emctl control program...
    INFO: oracle.sysman.top.agent:Creating emtgtctl control program...
    INFO: oracle.sysman.top.agent:Agent will not be secured.
    INFO: oracle.sysman.top.agent:Secure REPOSITORY_URL found. New agent should be configured for secure mode
    INFO: oracle.sysman.top.agent:Secure emdWalletSrcUrl found. New agent should be configured for secure mode
    INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
    INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    INFO: oracle.sysman.top.agent:Property 'agentTZRegion' is  missing from /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties. Updating it...
    INFO: oracle.sysman.top.agent:An agentTZregion of 'US/Pacific' is installed in /users/ncgf/em_agent/agent_inst/sysman/config/emd.properties.
    INFO: oracle.sysman.top.agent:The command: /users/ncgf/em_agent/core/12.1.0.3.0/bin/emctl deploy agent -L -o nsn175-105.us.oracle.com:4904 -N /users/ncgf/em_agent/agent_inst nsn175-89.us.oracle.com:3872 nsn175-89.us.oracle.com completed with status=0
    SEVERE: oracle.sysman.top.agent:Securing of agent step will be skipped because of the following reasons:
    1. Agent Registration Password was not passed.
    2. b_secureAgent was passed as false
    3. The flag -forceConfigure was assed from agentDeploy.sh
    INFO: oracle.sysman.top.agent:Plugin File:/users/ncgf/em_agent/plugins.txt
    INFO: oracle.sysman.top.agent:Plugin Homes found.
    INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/core/12.1.0.3.0/perl/bin/perl /users/ncgf/em_agent/core/12.1.0.3.0/bin/AgentPluginDeploy.pl -oracleHome /users/ncgf/em_agent/core/12.1.0.3.0 -agentDir /users/ncgf/em_agent -pluginIdsInfoFile /users/ncgf/em_agent/plugins.txt -action configure -emStateDir /users/ncgf/em_agent/agent_inst
    INFO: oracle.sysman.top.agent:
    INFO: oracle.sysman.top.agent:
    INFO: oracle.sysman.top.agent:The Agent emStateDir location passed is /users/ncgf/em_agent/agent_inst
    INFO: oracle.sysman.top.agent: The log file is /users/ncgf/em_agent/agent_inst/install/logs/agentplugindeploy_2013_10_16_15_08_11.log
    INFO: oracle.sysman.top.agent: The temp file created to check R/W permissions in Oraclehome: /users/ncgf/em_agent/core/12.1.0.3.0 is /users/ncgf/em_agent/core/12.1.0.3.0/rwFile
    INFO: oracle.sysman.top.agent:Plugin command completed with status=0
    INFO: oracle.sysman.top.agent:Executing command :/users/ncgf/em_agent/agent_inst/bin/emctl listplugins agent -type all
    INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
    INFO: oracle.sysman.top.agent:Oracle Enterprise Manager Cloud Control 12c Release 3
    INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    INFO: oracle.sysman.top.agent:Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
    INFO: oracle.sysman.top.agent:---------------------------------------------------------------
    INFO: oracle.sysman.top.agent:---------------------------------------------------------------
    SEVERE: oracle.sysman.top.agent:ERROR: The Management Agent configuration failed. The plug-in configuration for the oracle.sysman.oh monitoring plug-in may have failed, or this plug-in may not be present in the Management Agent software. Ensure that the Management Agent software has the oracle.sysman.oh monitoring plug-in, if not then retry the operation. If the agent software has the oracle.sysman.oh monitoring plug-in, view the plug-in deployment log /users/ncgf/em_agent/agent_inst/install/logs to check if the plug-in configuration for the oracle.sysman.oh monitoring plug-in failed.
    SEVERE: oracle.sysman.top.agent:Agent configuration has failed
    INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
    INFO: oracle.sysman.top.agent:AgentConfiguration:agent configuration finished with status = false
    INFO: oracle.sysman.top.agent:The plug-in Agent Configuration Assistant has failed its perform method
    INFO: Cfm.save() was called
    INFO: Cfm.save(): 2 aggregate instances saved
    INFO: done waiting for Action from 15:08:10.272
    Thank you for your help AkankshaSheoranKaler. I have executed the following command based on your request. If there is any issue, please let me know. Thanks!
    "Can you run this command to make sure that the agents bits were downloaded correctly : oms home /bin /emcli verify_updates
    Share the output of the command. I am suspecting this is a know issue (Bug 17300008) but i will wait for your output.  Also if you can open an SR with oracle support to track this issue and its resolution. "
    [ncgf@nsn175-105 bin]$ ./emcli setup -url=https://nsn175-105.us.oracle.com:7803/em -u sername=SYSMAN
    Oracle Enterprise Manager 12c 3.
    Copyright (c) 1996, 2013 Oracle Corporation and/or its affiliates. All rights reserve d.
    The configuration directory "/users/ncgf" may not be local. See the "dir" option in t he help for the setup command.
    Do you want to continue using this directory? [yes/no] yes
    Enter password
    Emcli setup successful
    [ncgf@nsn175-105 bin]$ ./emcli verify_updates
    Verifying updates. Starting validation...
    Type       : Plug-in
    Description: Demo Hostsample Test Plugin
    Attributes
            Version: 1201000100
            Revision: 0
            OS Platform: Generic Platform
            Plug-in Name: Demo Host Sample Plugin
    Archives are missing from the Software Library. Unable to determine the URL for downloading the update. The update might not have come from Oracle Enterprise Manager Store.
    For each update with missing archives, emcli import_update can be used with a -force option to re-upload the archives to the Software Library.

       Hello AkankshaSheoranKaler
    We have done the following, but we aren't able to resolve this issue. Thank you for your help!
    lf
    “This  happen if the software library is not accessible, readable or unmounted (if it is in shared file system).”
    On Enterprise Manager server [nsn175-105], we did the following:
    1. we modified /etc/exports to include this line: /export *(rw,no_root_squash,sync)
    we start nfs service by executing command “service nfs start”.  
    On Management Agent server (nsn175-89), we verified that we are able to mount /export directory of EM server.
    On Management Agent server, we started firefox browser and were able to run successfully https://nsn175-105.us.oracle.com:4904/empbs/genwallet
    After making this change, we ran agent deployment again. We encountered the same error as shown above.
    “You can fix the software library or you can download the agent bits in offline mode.”
    For fixing the software library, select Setup->Provision and Patching->Offline Patching, then select Offline Patching radio button, download: https://updates.oracle.com/download/em_catalog.zip. Next upload this zip file.
    “Try downloading the bits again”
    We are not sure what agent bits are. Would you please explain this and provide procedure how we can download this?
    (Here I have attempted to fix the software library, but I am new to Enterprise Manager and not sure how to interpret this).

  • How to install and configure Oracle 10g Express Edition on Fedora 11?

    Hi everyone!
    I have recently installed Oracle 10g XE on my Laptop Gateway T-1625, which has Fedora 11.
    I followed the install instructions on [http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm] , and configured the server as explained, but something is wrong... When I try to go to the database home page http://127.0.0.1:8080/apex, I get "Failed to Connect" on Firefox 3.5b4... I don't think it's because of the Firefox version because it's proved to be very stable (for a beta).
    I've search for similar issues on GNU/Linux and I found this thread in these forums: [ http://forums.oracle.com/forums/thread.jspa?threadID=915218&tstart=0] , but the solution is for Ubuntu 9.04, and if it's possible I would like to know a specific solution for Fedora 11.
    I also tried to see the oracle server status with:
    # /etc/init.d/oracle-xe status
    And I got this....
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-JUN-2009 22:10:31
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=talos)(PORT=1521)))
    TNS-12545: Connect failed because target host or object does not exist
    TNS-12560: TNS:protocol adapter error
    TNS-00515: Connect failed because target host or object does not exist
    I hope someone can help me out and guide me on the right direction. Thanks a lot!

    Hi again!
    After your last post I realized that the dba group and the oracle user already existed.
    #groupadd dba
    groupadd: group dba exists
    #useradd oracle -d /home/oracle -s /bin/bash -g dba
    useradd: user oracle existsHowever, I finally assigned a password for that account and changed the ownership of the /usr/lib/oracle/xe
    with the commands you suggested:
    passwd oracle
    chown -R oracle:dba /usr/lib/oracle/xeAfter this, I can log in as the oracle user but the SELinux showed a warning and the /usr/lib/oracle/xe
    is treated as the oracle home, and no .bashrc file is located on this home. This is the SELinux warning:
    SELinux is preventing gdm-session-wor (xdm_t) "write" to /usr/lib/oracle/xe (lib_t).
    Details:
    SELinux denied access requested by gdm-session-wor. /usr/lib/oracle/xe may
    be a mislabeled. /usr/lib/oracle/xe default SELinux type is user_home_dir_t, but its
    current type is lib_t. Changing this file back to the default type, may fix your problem.
    File contexts can be assigned to a file in the following ways.
      * Files created in a directory receive the file context of the parent
        directory by default.
      * The SELinux policy might override the default label inherited from the parent directory
    by specifying a process running in context A which creates a file in a directory
    labeled B will instead create the file with label C.
        An example of this would be the dhcp client running with the dhclient_t type and
    creates a file in the directory /etc. This file would normally receive the etc_t type due
    to parental inheritance but instead the file is labeled with the net_conf_t type
    because the SELinux policy specifies this.
      * Users can change the file context on a file using tools such as chcon, or restorecon.
    This file could have been mislabeled either by user error, or if an normally confined
    application was run under the wrong domain.
    However, this might also indicate a bug in SELinux because the file should not have
    been labeled with this type.
    If you believe this is a bug, please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
    against this package.
    Allowing Acces:
    You can restore the default system context to this file by executing the restorecon command.
    restorecon '/usr/lib/oracle/xe', if this file is a directory, you can recursively restore using
    restorecon -R '/usr/lib/oracle/xe'.
    Fix command:
    restorecon '/usr/lib/oracle/xe'I suppose the command #useradd oracle -d /home/oracle -s /bin/bash -g dba is where I can define the user's home, but if this user already exists how can I modify its settings?
    is SELinux preventing the .bashrc file to be created? or what could be causing this?.
    I hope you know how much I appreciate your help and want to thank you for your time.

Maybe you are looking for