Create log entries with command-line client?

I am getting an error message that seems to indicate that it's impossible to create log entries with the command-line client. Can I ask one of you FCS gurus to advise me?
Note the disturbing error message below: *Entity /log doesn't know how to do create*
root# ./fcsvr_client create /log --xml < /tmp/logentry.xml
<?xml version="1.0"?>
<session>
<values>
<value id="CODE">
<atom>E_NOTSUPP</atom>
</value>
<value id="DESC">
<string xml:space="preserve">Entity /log doesn't know how to do create</string>
</value>
<value id="SRC_FILE">
<string xml:space="preserve">PmdEntity.C</string>
</value>
<value id="SRC_LINE">
<int>2017</int>
</value>
<value id="ERROR_TYPE">
<atom>ET_PERM</atom>
</value>
<value id="ADDRESS">
<string xml:space="preserve">/log</string>
</value>
</values>
</session>
root# cat /tmp/logentry.xml
<?xml version="1.0"?>
<session>
<values>
<value id="LOGASSETID">
<string xml:space="preserve">26</string>
</value>
<value id="LOG_DETAIL">
<string xml:space="preserve">I am your log entry detail.</string>
</value>
<value id="LOG_STATUS">
<string xml:space="preserve">OK</string>
</value>
<value id="LOG_TYPE">
<atom>response</atom>
</value>
<value id="LOG_USER">
<string xml:space="preserve">admin</string>
</value>
<value id="LOG_SUMMARY">
<string xml:space="preserve">Log Summary from Command-Line</string>
</value>
</values>
</session>
Message was edited by: dpotter-ntc

Hmm, no, my 1.5.2 instance logs script responses twice- once to say it is executing and again after the process terminates to say that it ran. The second entry is where any stdout is printed. I don't know of any setting that would turn this off, it has always been there for me.
A typical script response log entry looks like this:
Summary
"response \[Response Title] script triggered by Subscription \[Subscription Title] complete"
Detail
"response complete, completed command /fcsvrbin/\[scriptname.sh] with arguments { 43, 8 } "
"stdout would print here, if there is any"
You probably already tried it, but try filtering your log search for "script triggered" since it can be easy to miss spotting entries on a busy system, and they don't necessarily show up side by side in the logs with the other responses in their respective stack.

Similar Messages

  • Function module to create log entry with notification

    Hi All,
      I need to create log entry with respect to functional location and it should be attached to notification in transaction LBK1.
    for creating log entry we have separate function module - DIACL_LOG_ENTRY_CREATE.
    for creating Notification also we have separate function module
    BAPI_ALM_NOTIF_CREATE.
    how to link this notification to log entry.
    is there any function module available.
    Its urgent.
    Points will be awarded.
    Regards,
    vinoth.

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • Create biar file with command line for link universe

    Hi
    I am using boxi 3.1 and I am trying to create 2 biar files with the command line
    One file for " main" universe and it's reports and another is for a link universe and it's reports
    The problem that on "main " biar file that been created , the link universe and it's reports also appear in it.  Even so in the queries only the relevant objects are selected
    I try to remove from the properties file the parameter 'exportDependencies=true ', and then when I check the xml of the biar I so that the link universe and it's report no longer appear. But when I importing the file I receive the error message 'Required dependencies not found on target system : '[ARgp0DCiBRBOsL3EHYQaHBY, AdfkNagAE59Nsbazh40nwTU]'
    Does anyone have an idea what I need to do , in order to see in the main biar bust the main objects?

    I have done it before on BOXI R2 with the IW, and it works fine
    But any how, this is the way that we have to work with, since it is part of a customer product and the link universe and it's reports  is an additional part of the product.
    So is there a way that I can pull just the main universe and it's reports?

  • Can't start DTR Command Line Client

    Hi all,
    I have problems with starting the DTR Command Line Client. I followed tips given by Ken in [configure dtr command line client;
    But when I launch the dtrshell.bat file i get an error message :
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/tc/logging/Location at com.tssap.dtr.client.commandline.DTRShell.<clinit>(DTRShell.java:21)
    The dtrshell file is under IDE\IDE70\eclipse\plugins\com.tssap.dtr.client.vfs_2.0.0. I can not find it under IDE\JDT. Is this correct ?
    Please help.

    Hi,
    This thread might help you,
    configure dtr command line client
    If you still get error, then unintstall and install again !
    Regards
    Srinivasan T

  • Creating Job definition using Command line.

    Hi all,
    is there a possibility to create a job through command line, with parameter as CMD and source as any batch file and scheduling it on the fly.
    Let me know...
    Always
    sai.

    yes, you can use ldapmodify to add objectclasses. You should modify cn=schema and follow the objectclasses and attributes syntax. You can check config/schema directory in any dsee instance for examples.
    Other way is adding objectclasses editing directly 99user.ldif schema file whereas dsee is down.

  • How to change a setting in the Java Control Panel with command line

    Hi,
    I am trying to figure out how to change a setting in the Java Control Panel with command line or with a script. I want to enable "Use SSL 2.0 compatible ClientHello format"
    I can't seem to find any documentation on how to change settings in the Java Control Panel via the command line
    Edited by: 897133 on Nov 14, 2011 7:15 AM

    OK figured it out. This is for the next person seeking the same solution.
    When you click on the Java Control Panel (found in the Control panel) in any version of Windows, it first looks for a System Wide Java Configuration (found here: C:\Windows\Sun\Java\Deployment). At this point you must be wondering why you don't have this folder (C:\Windows\Sun\Java\Deployment) or why its empty. Well, for an enterprise environment, you have to create it and place something in it - it doesn't exist by default. So you'll need a script (I used Autoit) to create the directory structure and place the the two files into it. The two files are "deployment.properties" and "deployment.config".
    Example: When you click on the Java Control Panel it first checks to see if this directory exists (C:\Windows\Sun\Java\Deployment) and then checks if there is a "deployment.config". If there is one it opens it and reads it. If it doesn't exist, Java creates user settings found here C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7.
    __deployment.config__
    It should look like this inside:
    *#deployment.config*
    *#Mon Nov 14 13:06:38 AST 2011*
    *# The First line below specifies if this config is mandatory which is simple enough*
    *# The second line just tells Java where to the properties of your Java Configuration*
    *# NOTE: These java settings will be applied to each user file and will overwrite existing ones*
    deployment.system.config.mandatory=True
    deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
    If you look in C:\Users\USERNAME\AppData\LocalLow\Sun\Java\Deployment on Windows 7 for example you will find "deployment.properties". You can use this as your default example and add your settings to it.
    How?
    Easy. If you want to add *"Use SSL 2.0 compatible ClientHello format"*
    Add this line:
    deployment.security.SSLv2Hello=true
    Maybe you want to disable Java update (which is a big problem for enterprises)
    Add these lines:
    deployment.javaws.autodownload=NEVER
    deployment.javaws.autodownload.locked=
    Below is a basic AutoIt script you could use (It compiles the files into the executable. When you compile the script the two Java files must be in the directory you specify in the FileInstall line, which can be anything you choose. It will also create your directory structure):
    #NoTrayIcon
    #RequireAdmin
    #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
    #AutoIt3Wrapper_UseX64=n
    #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
    Func _JavaConfig()
         $ConfigFile_1 = @TempDir & "\deployment.properties"
         $ConfigFile_2 = @TempDir & "\deployment.config"
         FileInstall ("D:\My Documents\Autoit\Java config\deployment.properties", $ConfigFile_1)
    FileInstall ("D:\My Documents\Autoit\Java config\deployment.config", $ConfigFile_2)
         FileCopy($ConfigFile_1, @WindowsDir & "\Sun\Java\Deployment\", 9)
         FileCopy($ConfigFile_2, @WindowsDir & "\Sun\Java\Deployment\", 9)
         Sleep(10000)
         FileDelete(@TempDir & "\deployment.properties")
         FileDelete(@TempDir & "\deployment.config")
    EndFunc
    _JavaConfig()
    Now if you have SCUP and have setup Self Cert for your organization, you just need to create a SCUP update for JRE.
    Edited by: 897133 on Nov 16, 2011 4:53 AM

  • Launch executable with command line arguments

    I have a programmer that I need to launch in my cvi code.  I tried the system command and lauchexecutable command but cannot get the programmer to lauch correctly.  If I run it from the command prompt or create a windows shortcut it works fine.  Here is the shortcut I created:
    C:\TPD\SAVS20P3\asix\up\up.exe /e c:\tpd\savs20p3\q33.hex/erase /q /p
    I'm trying to run the up.exe software with /e c:\tpd\v20_hex\v20.hex /erase /q /p as the command line paramters.
    I tried the following code which created the above path with command line
     strcpy(filename,"C:\\tpd\\savs20p3\\asix\\up\\up.exe /e c:\\tpd\\savs20p3\\hex_ee\\");   ///e c:\\tpd\\savs20p3\\hex_ee\\"");
      strcat(filename, hfile);//hex file name will change dynamically
      strcat(filename, "/q /p");
    I then tried LaunchExecutable(filename) and system(filename).  The system functions gives an error.  Its trying to lauch the /e c:\tpd\v20_hex\v20.hex file
    any suggestions.  I beieve its a simple syntax error.

    Well, apart evident typos in the code you posted, which is not creating the command line you stated, I can only think that before "/q" you should add a space to separate the option from the filename.
    This code should create the correct command line:
    strcpy (hfile, "c:\\tpd\\v20_hex\\v20.hex");
    strcpy (filename, "C:\\tpd\\savs20p3\\asix\\up\\up.exe /e ");
    strcat (filename, hfile);
    strcat (filename, " /erase /q /p");
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Can I add a New Folder to existing Business Area with Command Line?

    Hi,
    Can I add a New Folder to existing Business Area with Command Line in Discoverer (java or executable)? I am trying to do this with /load...
    /connect walkep_apps/walkep@smpdev1
    /load Visualizations /eul walkep_apps /user smp_naps_apps /object VISUAL_20K /capitalize /remove_prefix /insert_blanks
    /aggregate DETAIL /show_progress
    ... but this creates a new business area, "Visualizations 1", which is not what we want! We want to add the VISUAL_20K to the existing "Visualizations" business area. Many thanks in advance.
    Phil

    Bang on. thanks
    three's always an obvious solution.
    I'll post another question about how to attached a file into a Mail message which is automatically compressed/zipped. Or do i have to find the file in Finder, compress it and then attached it?

  • SQL Server 2008 Express Installation with command line options , FAILED.

    HI,
    I Have SQL Server 2005 Express instances on my PC. Now i am trying to install 2008 Express edition with Advance Services(Reporting.)
    I am trying to install the SQL Server 2008 Express with command line Options.
    /qs /Action=Install /Hideconsole /SecurityMode=SQL /Features=SQL,Tools,RS /InstanceName=XXXXXX /SAPWD="StrongPassword" /SQLSYSADMINACCOUNTS="Builtin\Administrators" /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /RSSVCACCOUNT="NT
    AUTHORITY\SYSTEM" /BROWSERSVCSTARTUPTYPE=Automatic /TCPENABLED=1 /NPENABLED=1
    But installation exits. It says the previous version 2005 tool are already exists, Remove them to Continue the 2008 Server Installation.
    please suggest me how to avoid that check and continue installation by replacing the older tool with 2008 automatically.
    regards 
    Pratap M:)

    Have you found any error in event logs?
    In my case even after uninstalling all 2005 related components it didn't worked. I had to resort to a brute force way and
    remove following registry keys
    32 Bit OS: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90
    64 Bit OS: HKLM\Software\Wow6432Node\Microsoft\Microsoft SQL Server\90
    Check below threads
    http://stackoverflow.com/questions/175881/sql-server-express-2008-install-side-by-side-w-sql-2005-express-fails
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5fc58507-9f40-4213-acbd-32a57c8822d7/cant-uninstall-sql-server-2005-express-tools?forum=sqlsetupandupgrade
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • Create a GPO using command line

    Hello,
    I want to create a GPO to configure Schedule tasks or local Administrators,... . as below:
    http://3.bp.blogspot.com/-XuOa0P1qbMA/U19D6GWOySI/AAAAAAAAB1U/B66ICTvMa3M/s1600/05.jpg
    How can I do this via command line (Powershell or cmd). 
    New-GPO New_GPO_Name ???
    Regards

    I have 15 different domains. And I don't want to do same operations on GPMC in all my domains. So I want to configure my GPOs with command line.
    I also tried Migration tables. But it didn't worked. I asked a question to this forum but no one has responded yet
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/3fb381b9-d3c6-4002-86a2-ee27a528b718/unable-to-use-migration-table-in-local-users-and-groups?forum=winserverGP

  • Import biar file with command line

    Hi
    I am trying to import biar file with command line on unix environment with BOXI R3.1 and Oracle DB
    The biar file include one universe and it's connection (eFashion), one report and one user
    when I run the command line:
    java -jar /BO/boxi/bobje/java/lib/biarengine.jar /BO/boxi/test.properties
    I recive the following error:
    Failed to commit objects to server : Undefined Info Store error
    An error occurred at the server during security batch commit:
    Request 6 of type 36 failed with server error : Object not found (1433)
    Request 11 of type 36 failed with server error : Object not found (1433)
    Request 20 of type 38 failed with server error : Object not found (1433)
    Request 26 of type 38 failed with server error : Object not found (1433)
    Do you have any idea , what is the problem?
    Thank you

    Hi Denis
    I found out after I create a biar file ,with only the user, through a command line. that the user did import since it was in a concurrent connectiontype , a type that not exit in the target environment.
    But after I fix this in the source environment and saw that a biar file with only the user is loaded , I recreate the biar file with all the objects as before (user, universe, report , folder) and I still got the same error message as before.
    So now I try to create the biar file with all those object through the command line. and I get a new errer message "Required dependencies not found on target system : '[AZK_.9sbf_lMgdQRpsbZfVw]"
    I check it , and understand that the object is the report , but I do not see what missing..... : (
    Those are the quries in the properties file:
    exportQuery= SELECT * FROM CI_APPOBJECTS where si_kind = 'Universe' and si_name='eFashion'
    exportQuery= SELECT  * FROM CI_APPOBJECTS WHERE SI_ID in ( 894,926)
    exportQuery= SELECT * from CI_SYSTEMOBJECTS WHERE SI_KIND = 'user' and SI_Name='repadmin'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE si_kind= 'Folder' and SI_name = 'test'
    exportQuery= SELECT * FROM CI_INFOOBJECTS WHERE      SI_ID IN (2188)
    Can you tell what is missing?

  • How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    Hello,
    How to convert XPS file to a PDF one via Adobe Acrobat XI Pro with command line?

    It is not good. If I need to export some hundred of separate *.XPS files to hundred separate *.PDF files, I need to do this manually with each file. It is stone age.

  • Creating SVG Chart with multiple lines

    Hi All,
    I want to create a chart with multiple lines.
    Ex: I have one emp table with empno, sal and deptno columns.
    I want to print deptno in x axis and no of employees on y axis.
    I want to print one line for employees with sal > 15000 and one more line for employee with sal =< 15000
    So one line will show no of employees with sal more than 15000 for each dept. Similar case for the other line and these 2 lines should be in different colors.
    For one line the query will go as
    select link, deptno, count(empno)
    from emp where sal > 15000 group by null, deptno
    Is this possible to draw this chart?
    Thanks,
    Manoj

    I wasn't able to do something like what you describe, but I was able to do this:
    I defined column A of the table as a Header Row, selected the cells in the table, and chose this chart type (2D 2 Axis):
    Then I clicked the chart and in the pane at the right checked 'Axis Name' in the Axis tab and added the axis names.
    Maybe this can give you an idea of how you can illustrate the relationships that you want to show.
    SG

  • How To Run An External .exe File With Command Line Arguments

    Hiya, could anyone tell me how I can run an external .exe file with command line arguments in Java, and if possible catch any printouts the external .exe file prints to the command line.
    Thanks.

    Using the Runtime.exec() command. And read this:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

Maybe you are looking for

  • Adobe Camera Raw 7.4 update for PSE 11 for Mac

    I've tried repeatedly to download this update to my iMac running OS X 10.6.8, but it does NOT appear in English (United States). How do I get the English version?

  • New MacBook video on youtube?

    This youtube video has a person showing us the new MacBook, it has the edge to edge keyboard and top right earphone jack, is this legitimate? https://www.youtube.com/watch?v=pF9NWy_rRF4

  • RFC adapter installation in SAP XI 2.0

    HI all, Can any one inform me how to install outbound rfc adapter in sap xi 2.0. In tech_adapter directory i didnot find any batch file to install rfc adapter whereas installation batch files are available for file,jdbc,soap and jms adapters. Any hel

  • Log-File to analyze problem with crash/bluescreen

    Hi, im new - not only here also in my current job. I have got a test-sqz, which crashes after a few rounds. The test has to be finished 330 times, it only works 10...40 times (without errors), then crashes windows and get a bluescreen. I want to log

  • Tab "A CERTIFICATE NO" found not editable using tcode J1IGA

    Hi Guru's We unable to add JV number under tab "A CERTIFICATE NO" due to field is not editable using transaction J1IGA. Will you please let us know the problem, we able to the same in our Quality system. Thanks in Advance, Firoz.