How to run ZAC CDP from a Linux Bundle

Hi all,
I am trying to work out how to run "ZAC CDP" from a Linux bundle. We have 330 Satelites that I need to force the replication of the TFTP folder too in one staggered process.
Is there any reason why this would not work? would a script do it and anyone have a sample?
cheers,
Trev.

I would imagine it's possible.
I'm assuming something (run as root user?)
#!/bin/bash
zac cdp
(you may have to put the absolute path in for the location of "zac")
I'm not a linux guru by any means, just that if you can script this via a cron job, I'm sure it can be done via ZCM Bundle.

Similar Messages

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • How to open a RPD, from a linux folder? OBIEE 11g

    Hi,
    How to open a RPD, from a linux folder? Is there a tool, or any command line command to open the RPD?
    Thanks for your time and help.

    Hi,
    You cannot open an rpd on a Linux manchine.
    You have to install the client (Admin tool) on windows and open the rpd remotely in online mode
    Thanks
    Deva

  • How to run java program from website?

    Hello
    I'd like to know how to run java program from my web page.
    I'd like to push some button in this web page so java program that would be on my server
    would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
    Cheers

    I rather thought about RMI. But I could try servlets. So how it would look like?.
    I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
    But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
    Message was edited by:
    macmacmac

  • How to run db.xml from ORPOS 13.4 version on standalone

    Hi All,
    How to run db.xml from ORPOS 13.4, We dont have ORBO.
    Thanks & Regards
    GM

    Go to the location where your installer is residing and execute the following command:
    install.cmd ant install-database
    Regards,
    Uttam Kumar

  • How to run batch file from oracle forms 9i

    Hi everyone.
    i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
    i have made a batch file which run the sql loader and transfer my data to database.
    How to run batch file from oracle forms 9i.
    when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
    here is my code
    Begin
    HOST('C:\temp\batchfile.bat');
    message('done');
    end;
    Thanks in advance
    regards
    sajid

    this is my log file, when i run manually.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: file_to_upload.ctl
    There are 2 data files:
    Data File: sk.csv
    Bad File: sk.bad
    Discard File: none specified
    (Allow all discards)
    Data File: sk1.csv
    Bad File: sk1.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table KHAN, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    SR FIRST * , O(") CHARACTER
    DATES NEXT * , O(") CHARACTER
    AGENT NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    TRANSACTIONS NEXT * , O(") CHARACTER
    PKR NEXT * , O(") CHARACTER
    USD NEXT * , O(") CHARACTER
    BANK NEXT * , O(") CHARACTER
    Table KHAN:
    11088 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 132096 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 11088
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Thu Jul 01 23:27:53 2010
    Run ended on Thu Jul 01 23:27:54 2010
    Elapsed time was: 00:00:00.63
    CPU time was: 00:00:00.17

  • How do run my library from an external drive?

    How do run my library from an external drive? I've tried changing destination locations but nothing seems to work. help please

    You might find this article useful, there's a section in it on moving to an external drive:
    iLounge - Transferring your iTunes Library to Another Drive

  • How to run .EXE files from Linux Portal page?

    We have an IIS web server that runs a Photoshow_player.exe slide show program. I'm not sure if this can run from Linux Portal, but we are trying.
    The link in an IIS web page looks like this:
    <a> href="file:///\\mulsrv22\share\PCS\PhotoshowPlayer.exe" title="clean slate">clean slate</a>
    Portal is installed and running from two Linux servers. If I create a link using the above syntax, I get "can not display page" browser errors.
    I copied the entire PCS directory from the Windoz box to a Portal web_dav folder, but running the .EXE link from that Portal page gives errors indicating that the /PDS/data/.XML and /PCS/data/.jpg files can not be found.
    Any ideas on how I can run this slide show from Linux Portal?
    Thanks.
    --Don                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    if you just need to run a slideshow in you portal, why don't you use a javascript slide show ?
    Just "googleize" and you'll find tons of javascripts taht can do that.
    for example : http://www.barelyfitz.com/projects/slideshow/

  • How to run the oracle form in linux system

    Hello all,
    My config is :-
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    I can easily run my on Windows and Linux platform untill i am not use java bean in my form. After using the getMacaddress JAVA BEAN. I am not able to run my form on linux platform. If i remove the java bean from my form than form will run on linux.
    I am not familiar with linux so i am not able to trace the problem basicaly i don't  know which version of jre is used by linux system and i don't know how to find it.
    Please guide me.

    Now i install the jdk 1.6.0_20 and add into the jdeveloper 10.1.3.
    and i change my code for get mac id is -
    package demo;
    import java.net.InetAddress;
    import java.net.NetworkInterface;
    import java.net.SocketException;
    import java.net.UnknownHostException;
    public class App{
       public static void main(String[] args){
    InetAddress ip;
    try {
    ip = InetAddress.getLocalHost();
    System.out.println("Current IP address : " + ip.getHostAddress());
    NetworkInterface network = NetworkInterface.getByInetAddress(ip);
    byte[] mac = network.getHardwareAddress();
    System.out.print("Current MAC address : ");
    StringBuilder sb = new StringBuilder();
    for (int i = 0; i < mac.length; i++) {
    sb.append(String.format("%02X%s", mac[i], (i < mac.length - 1) ? "-" : ""));
    System.out.println(sb.toString());
    } catch (UnknownHostException e) {
    e.printStackTrace();
    } catch (SocketException e){
    e.printStackTrace();
    in form i create one jave bean area and add the implement class is
    demo.get_info.
    and on B1 (button) when-button-pressed
    :T1 :=GET_CUSTOM_PROPERTY('BEAN_MAC',1,'get_info');
    No error comes and no out put comes. So please guide me how to use the getHardwareAddress to get mac id.

  • How to run an executable from command-line

    I'm learning how to use the Terminal and I got stuck in a silly thing (I suppose it is). How can I run an executable file from command-line in Terminal?
    For example: I have a file named "Hello" in the folder /sample. If I use the ls command (ls sample), I can see the file Hello. Then I move to the directory (cd /sample) and try to run the file Hello (typing "Hello") but I got "command not found" message.
    If I drag the Hello file from Finder to Terminal and hit Return, it runs perfectly. And if I type the full path to the file (even if I'm already inside its directory), it also runs.
    So, my doubt is if there is any command to run an executable from command-line.
    Thanks

    KJK555 wrote:
    Hi VK:
    Can you enlighten me on why it's neccessary to do the "./" thingy in OS X when in unix/linux
    I never had to resort to doing that?
    Kj
    I took the trouble of reading *man bash* and it explains the issue. to add the current directory to PATH you need to add an empty path to PATH like this
    PATH=$PATH::
    you can add it to ~/.bash_profile so that it's executed automatically when you start bash. I suspect the linux system you are talking about had this set up by default or had it added to PATH in /etc/profile which defines PATH globally.

  • How to run a report from WCF

    hi,
    I am trying to run a report from a WCF service application, and then render it in PDF Format to a caller WPF application. But I cant get it! In more detail, this is what my app should do
    1. from WPF, call a web service procedure, pass a report name, report path and parameters. Report is store at the same server where Web Service is installed
    2. WCF procedure loads report, set parameters, retrieve data from DB and renders it as an array of bytes
    3. WPF gets the array, save it into a PDF file, then open it.
    this is the code of the WCF procedure.
        Function DownloadCRReport(codEnte As String, connString As String, reportDir As String, reportName As String, Parameters As Dictionary(Of String, Object)) As Byte() Implements IGesiService.DownloadCRReport
            Try
                Dim bytes As Byte()
                Dim infile As BinaryReader
                Dim fs As FileStream
                Dim rep As New ReportDocument
                Dim RepAddress As String
                logPath = reportDir & "log\"
                sb = New StringBuilder()
                timestamp = Now.Year.ToString & Now.Month.ToString & Now.Day.ToString & Now.Hour.ToString & Now.Minute.ToString & Now.Second.ToString
                logFileName = timestamp & "_" & reportName & ".txt"
                logFile = New StreamWriter(logPath & logFileName, FileMode.CreateNew)
                logFile.WriteLine("----
    Date and time: " &amp; Now.ToString &amp; " -
                If My.Computer.FileSystem.FileExists(reportDir & reportName & ".rpt") = False Then
                    Throw New Exception("file RPT non found in: " & reportDir)
                End If
                RepAddress = reportDir & reportName & ".rpt"
                logFile.WriteLine("rep address: " & RepAddress)
                rep.Load(RepAddress, OpenReportMethod.OpenReportByDefault)
                logFile.WriteLine("load rep")
                If rep.DataSourceConnections.Count > 0 Then
                    rep.DataSourceConnections.Item(0).SetLogon("usr", "pwd")
                    logFile.WriteLine("data source connection")
                End If
                For Each i In Parameters
                    rep.SetParameterValue(i.Key, i.Value)
                    logFile.WriteLine("param: " & i.Key & " - " & i.Value)
                Next
                Try
                    fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
                    logFile.WriteLine("export to stream")
                    infile = New BinaryReader(fs)
                    logFile.WriteLine("created binaryreader")
                    bytes = infile.ReadBytes(CInt(fs.Length))
                    logFile.WriteLine("render pdf. fine")
                    logFile.Close()
                    Return bytes
                Catch ex As Exception
                    logFile.WriteLine("vbCrLf & ex.Message & vbCrLf & ex.InnerException.Message)
                    logFile.Close()
                    Return Nothing
                End Try
            Catch ex As Exception
                logFile.WriteLine("vbCrLf & ex.Message & "-" & vbCrLf & ex.InnerException.Message)
                logFile.Close()
                Return Nothing
            End Try
        End Function
    I detected that error occurs on rep.ExportToStream(ExportFormatType.PortableDocFormat). I should point out that the same procedure works under WPF application. In the WCF server I installed CR Runtime engine for .NET framework (13.0.9.1312) and CR version for Microsoft Visual Studio (same version). Moreover, all DB operations are stored into the report, so I should not pass any dataset, just parameters.
    Anyway, just to begin, I tried to call a simple report with just two string parameters and no queries, but I alwais get error ("An exception of type 'System.NullReferenceException' occurred in MyApp... Object reference not set to an instance of an object)!
    How can I make it work? thanks for help

    hi Ludek,
    Im trying to change DB connection info at runtime for all of the report tables. this is the code I used in my Web Service
              Function DownloadCRReport(...)
    If rep.DataSourceConnections.Count > 0 Then
       Dim conn As New ConnectionInfo
       Dim tabLogon As TableLogOnInfo
       conn.ServerName = "10.10.15.90" 'IP address of DB server
       conn.DatabaseName = "MyDB"   'Database name as set in TNSNAMES.ORA
       conn.UserID = "newuser"
       conn.Password = "newpwd"
       For Each t As Table In rep.Database.Tables
          tabLogon = t.LogOnInfo
          tabLogon.ConnectionInfo = conn
          t.ApplyLogOnInfo(tabLogon)
          logFile.WriteLine("changed logon tab. " & t.Name)
       Next
       rep.Refresh()
       logFile.WriteLine("changed data source connection")
    End If
    'set parameters
    If Not IsNothing(Parameters) Then
       For Each i In Parameters
          rep.SetParameterValue(i.Key, i.Value)
          logFile.WriteLine("set parameter" & i.Key & " - " & i.Value)
       Next
    End If
    fs = rep.ExportToStream(ExportFormatType.PortableDocFormat)
              End Function
    that comes to an error on rep.ExportToStream: "Unable to access database".
    Running web service in debug mode, I noticed that, after t.ApplyLogonInfo(tabLogon), the new ConnectionInfo has "password" property empty. Maybe this could cause the error, or is there some mistake in the new connectioninfo?

  • How to run .html file from .java file..?

    Hi All,
    I was just trying as mentioned in the subject of how to run an html file from a java file.We have runtime class which inturn is having exec method which returns process but it supports only .exe as an argument .Is there any way to do this???
    Thanks in advance.

    viswa07 wrote:
    You mean to say Desktop class in java...???I'm so sorry, I thought you knew enough Java to look up the API.
    [This link|http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html] might be more at your level.
    db

  • How to run the JNLP from Command Line

    Hi All,
    how to run the JNLP file from the remote machine from our command line. I have requirement to run this JNLP file in java 1.4.2 version. Can any one tell me the procedure or the steps that are needed to run this file at command prompt.
    Regards,
    Prasanna.
    Edited by: VPrasanna on May 19, 2008 4:43 AM

    >
    I am getting "**java.security.AccessControlException: access denied (java.net.SocketPermission wwwgate0.mot.com:1080 connect,resolve)**" when I start the Web Start Client. >This seems like a largely separate problem to running the JNLP from the command line. It might have been better to end this thread (assign the dukes) and start a new one.
    >
    ..Can you help me in resolving this issue. >However, I suspect I can guess the problem.
    If this app. is normally hosted on wwwgate0.mot.com then it can 'phone home' to the server without further permission, but if you are running it from the command line, that might not be the codebase anymore.
    If you wish to do 'local testing' of such an app., I would recommend setting up a server like Tomcat on the local machine, and serving the test app. directly off that.
    >
    ..Its urgent...>Sun offers a number of options for urgent matters, such as support tickets. Perhaps you should look into one of those.

  • How to run two applications from same application server

    hi,
    i am working on oracle application server 10g , is it possible to run 2 applications from one application server by using different url ? but same report server name .
    if i can do so plz tell me how ?
    regards

    hi,
    offcourse,you can do this you.you can deploy n no of applications on a single application server.
    and even you can run all the reports on a single report server
    to the below location.
    $ORACLE_HOME/forms/server
    create a new enviroment file(for eg fd.env) using the default.env as follows and make the following FORM_PATH and REPORTS_PATH changes in the fd.env
    FORMS_PATH=/oraApp/Ora_bi/forms:/oraApp/backup_29_11_2010_0.12/fd/pll:/oraApp/backup_29_11_2010_0.12/fd/forms
    REPORTS_PATH=/oraApp/backup_29_11_2010_0.12/fd/reports
    similarily create another env file (eg appr.env) and make the above changes in it.
    Now make the following changes in formsweb.cfg
    for example:
    [xyz]
    envFile=appr.env(env file name)
    form=xyz.fmx(your start form)
    lookandfeel=oracle
    separateFrame=false
    userid=appraisal/[email protected]
    splashscreen=NO
    logo=NO
    background=NO
    color=automatic
    render=yes
    archive=frmall.jar
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,ofasIcons.jar,icons.jar,OfasPrint.jar,newicons.jar(these jar file are the images files of your applications..needs to be stored in $ORACLE_HOME/forms/java.
    imagebase=codebase
    term=frmpcweb.res
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    WebUtilArchive=frmwebutil.jar,jacob.jar
    [fd]
    envFile=fd.env
    form=fd.fmx
    lookandfeel=oracle
    separateFrame=true
    userid=fdmmfsl/fdmmfsl@mmfdlive
    splashscreen=NO
    logo=NO
    background=NO
    color=automatic
    render=yes
    archive=frmall.jar
    archive_jini=frmall_jinit.jar,frmwebutil.jar,jacob.jar,icons.jar
    imagebase=codebase
    term=frmpcweb.res
    baseHTML=webutilbase.htm
    baseHTMLjinitiator=webutiljini.htm
    This depends on your application which your deploying
    now for about accessing the seperate application then
    use as follows
    1st application
    http://ip address:7778/forms/frmservlet?config=xyz
    2nd application
    http://ip address:7778/forms/frmservlet?config=fd
    you can even deploy 2 war files on one application server...and you can even make these 2 war files to access the same report server
    If you require any other help then do let me know
    Regards
    Fabian D'souza

  • How to run a script from Calculation Manager

    Hi All,
    I would like to know how to run a script made by using Calculation Manager. I have converted a simple rule script which has just one statement(HS.EXP "A#Sales = 100") in "Sub Calculate()" by using FMRulesMigrator.exe and then imported, deployed to an application. when I execute "Calculate" from a Data Grid, the rule didn't take effect to application data. If I load the script by using classic rule editor, it works fine.
    Is there anything I have to know to run a rule script which is made by using Calculation Manager?
    Thanks in advance.
    CY.

    Hi,
    Refer the following the link for calling logic from new custom buttons using VBA.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f085dd92-a40c-2c10-dcb1-a7c24476b23a
    hpe this ll help.
    thnks.

Maybe you are looking for