Batch script (stopping oracle bi services using executable files)

Hello experts! :)

I do a script of DOS commands to automate the migration of files Oracle BI from one environment to another. I am just a beginner with the creation of batch files so far as I know are the basic commands. So far, I am able to create a backup of the files to be transferred to a new directory. I reached the part of the script in which I connect to another environment and perform all the tasks (i.e. to stop services, create a backup, copy files, etc.)...

If someone knows all of the executable files associated with starting and stopping of oracle bi services? I've identified those that start services, I do not know which files I have to run to stop the services.

And if you also have any advice for me while I'm working on the batch file, please share your thoughts.

Thank you very much! : D

Kind regards
Cha

You can use Microsoft net start / stop control for the services. See below for example. You can add other services also.

echo% Date % % time Restarting Oracle BI Scheduler
echo =====================================================
net stop 'Oracle BI' Planner
net start 'Oracle BI Planner'
echo ======================================================
echo% Date %% time % Oracle BI Scheduler started

HTH,
Prakash

Tags: Business Intelligence

Similar Questions

  • Impossible to stop all the services of oracle R12 applications

    Hi experts,

    I installed oracle apps R12 on RHEL 5.2 box. and all is well wait you I can't access forms in mozilla firefox
    as he throws the java exception.

    but I even allow to stop all application services as I nee to restart my machine... I ran the $INST_HOMe/apps/PROD_appsserver/admin/scripts/adstpall.sh script and after:
    Enter the APPS password: 
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adapcctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adapcctl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adoacorectl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adoacorectl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adformsctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adformsctl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adoafmctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adoafmctl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adalnctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adalnctl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adcmctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adcmctl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/jtffmctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/jtffmctl.sh stop -nopromptmsg
    ****************************************************
    
    
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adopmnctl.sh stop
    script returned:
    ****************************************************
    ERROR : 
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adopmnctl.sh stop -nopromptmsg
    ****************************************************
    
    
    
    adstpall.sh:Exiting with status 8
    
    adstpall.sh: check the logfile /oracle/PROD/inst/apps/PROD_appsserver/logs/appl/admin/log/adstpall.log for more information ...  
    When I checked the log file that has been the result
    ........
    Executing service control script:
    /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adopmnctl.sh stop
    Timeout specified in context file: 100 second(s)
    
    RC-50208: Exception  in method TimedProcessProcess.run
    Raised by oracle.apps.ad.util.TimedProcess$TimedProcessProcess: java.io.IOException: java.io.IOException: /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adopmnctl.sh: cannot execute
    script returned:
    ****************************************************
    ERROR :
    Exception in TimedProcess...Failed to  execute command = /oracle/PROD/inst/apps/PROD_appsserver/admin/scripts/adopmnctl.sh stop -nopromptmsg
    ****************************************************
    
    
    
    [Service Control Execution Report]
    The report format is:
      <Service Group>            <Service>                                   <Script>         <Status>
    
      Web Entry Point Services   Oracle HTTP Server PROD_appsserver          adapcctl.sh      Failed
      Web Application Services   OACORE OC4J Instance PROD_appsserver        adoacorectl.sh   Failed
      Web Application Services   FORMS OC4J Instance PROD_appsserver         adformsctl.sh    Failed
      Web Application Services   OAFM OC4J Instance PROD_appsserver          adoafmctl.sh     Failed
      Batch Processing Services  OracleTNSListenerAPPS_PROD_appsserver       adalnctl.sh      Failed
      Batch Processing Services  OracleConcMgrPROD_appsserver                adcmctl.sh       Failed
      Batch Processing Services  Oracle ICSM PROD_appsserver                 ieoicsm.sh       Disabled
      Batch Processing Services  Oracle Fulfillment Server PROD_appsserver   jtffmctl.sh      Failed
      Other Service Group        OracleFormsServer-Forms PROD_appsserver     adformsrvctl.sh  Disabled
      Other Service Group        Oracle Metrics Client PROD_appsserver       adfmcctl.sh      Disabled
      Other Service Group        Oracle Metrics Server PROD_appsserver       adfmsctl.sh      Disabled
      Other Service Group        Oracle MWA Service PROD_appsserver          mwactlwrpr.sh    Disabled
      Root Service Group         Oracle Process Manager for PROD_appsserver  adopmnctl.sh     Failed
    
    
    ServiceControl is exiting with status 8
    How can I check the status of all services?

    any help will be appreciated

    Thanks and greetings
    VD

    Hello

    but I'm a new plan for oracle apps... can you please guide me on how to run the automatic configuration to stop all the services?

    You must run the script of adautocfg.sh under the INST_TOP/admin/scripts directory $.

    Note: 387859.1 - AutoConfig helps manage system Configurations in Oracle E-Business Suite Release 12
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=387859.1

    Kind regards
    Hussein

  • Import a csv file to workspace root folder using Batch script

    Hello

    I usually use LCM to export/import from one instance to another in my planning and HSS and Reporting objects.

    Here, I have a specific requirement where I want to import couple of CSV file from a path on the server specified in the root directory of the workspace that is accessible to users similar to other FR and IR reports.

    I was looking for a utility to import or batch scripts I use to import the file to specific path from the server to the folder root of the workspace. \

    any help?

    -KP

    Checkbox Oracle - Hyperion Labs...: upload files in bulk of permissions in the workspace he wrote for the pdf files, but you can change it

    Concerning

    Celvin

  • the service windows defender on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

    the service windows defender on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.

    Hello

    read this information on the Defender:

    ·                         If you use microsoft security essentials avg avira mcafee norton etc they disable the vista version of windows defender by default

    the basics of Microsoft security has its own version of windows defender

    and other anti-virus programs use their own particular type of application to scan for spyware and malware

    It of nothing to worry and is the default action, which is designed for them to do

    If the above does not apply to your machine to read the information on the below link on how to disable the windows defender service in vista or make an autostart to enable

    http://www.groovypost.com/HOWTO/Microsoft/Vista/disable-Windows-Defender-service-in-Windows-Server-2008-or-Vista/

    and here is the method to remove it from startup in vista

    http://www.groovypost.com/HOWTO/Microsoft/Vista/remove-Windows-Defender-from-Vista-system-startup/

    and this is how you would normally activate or disable windows defender in vista from within defenders of own and options tools

    http://www.groovypost.com/HOWTO/Microsoft/Vista/disable-Windows-Defender-for-Microsoft-Vista/

         and read this information to microsoft:

    Error message when you run Windows Defender: «Error 0x800106ba»

    http://support.Microsoft.com/kb/931849

    and if you need to change startup programs read this information on the other methods of doing it without using defender

    using msconfig read this tutorial;

    How to use MSCONFIG in Windows Vista

    Here's how to use MSCONFIG in Windows Vista to disable some unnecessary programs that load automatically at startup

    http://netsquirrel.com/Msconfig/msconfig_vista.html

    and also try this program;

    This utility, which has a knowledge of auto-starting locations of any startup monitor, shows you what programs configured to run at system startup or login and that the entries in the order of processing windows. These programs include those in your startup folder, Run, RunOnce, and other registry keys. You can configure Autoruns to show other locations, including Explorer shell, toolbar extensions, helper objects to the browser, Winlogon notifications, auto and many start-up services more

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

  • Using single quotes with MaxL in batch scripts

    I have the following MaxL, I need to pass to essmsh via a batch script:

    run the calculation ' FIX("Member 1") CLEARDATA "member 2"; ENDFIX' on App.Db;

    The problem is that the single quotes cause problems when it is passed as a variable in the batch script. However, if I change single quotes to double quotes the batch script is happy but the MaxL is not valid.

    Please can anyone suggest how I can get this to work?

    You also try that works

    ( @echo login %USER% identified by %PASS% on %SERVER%; & @echo execute calculation "'FIX(\"Member 1\") CLEARDATA \"Member 2\"; ENDFIX'" on App.Db; & @echo logout; & @echo exit; ) | essmsh
    

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Is there a a way to "Consolidate all" using the FDM parallel batch Script?

    Hello

    When you run the BatchStdParallel script in FDM, the lngProcessLevel will take place in the consolidation, but it's only "consolidate" in HFM. I would like to know if there is a way instead "consolidate all With Data. Does anyone know if there is a way to do this?

    Here is the part of the script. Any help would be greatly appreciated,

    Dim BATCHENG
    Set BATCHENG = CreateObject ("upsWBatchLoaderDM.clsBatchLoader")
    BATCHENG.mInitialize API, SCRIPTENG

    ' Initialize variables Variables
    lngProcessLevel = 10 ' top consolidate
    strDelimiter = "_" ' delimiter in file name
    blnAutoMapCorrect = True ' automatic Correction of the card is on
    lngParallelProcessCount = 2 ' the number of parallel processes (must equal the number of processors)
    strLoadBalanceServerName = "MCK120" "server load for a parallel balance

    Check your settings for integration. The strengthening method is not specified by the batch script.

  • Problem running scripts with Oracle Test Manager (MTM)

    Hi all!

    I am facing a problem to run any test in OTM.
    I'm adding scripts that I created in OpenScript (and which take place in perfect inside) but running in Test Manager fails.
    To be more precise, I even created a very simple script for the case in which I open the browser, navigate to an existing page (for example www.fmstocks.com/fmstocks - like documentation for example) and then I close the browser.
    What is happening is that the test fails after a few seconds. In the report results, summary of Script, it there a failure result to give Total iteration:

    + Object "/ web:window[@index='0" [or @title =' subject: empty '] "+."
    + did not action: +.
    + < name of message = "Navigate" > < parameter WindowIndex = '0' > +.
    + < / parameter > +.
    + < parameter Url = "http://www.fmstocks.com/fmstocks" > +.
    + < / parameter > < / Message > +.

    This is the same result that I get in any script I run (with different Url of course).
    I tried to alternate some settings in the Manager (Tools-> system) systems and change my OTM server, I've seen in a thread. I found that if I write as a user name and password to my windows or my OTM username and password (instead of JMSAdmin I see is the default user name) when I run the test simply never stops!
    To be clear, I just started using OATS. All the foregoing is done with the default settings after installation. OpenScript works fine but I need OTM so that I can perform several set of test scripts.

    Any help is appreciated!

    Hello
    You must first set back the remote system OTM to JMSAdmin / the_pwd_you_supplied_during_installation
    Then, you must stop the Windows Service called "Oracle Application Testing Suite Agent Service" and put it in the manual.
    Then, you start the agent from the command line
    C:\OracleATS\agentmanager\bin\AgentManagerService.exe - c C:\OracleATS\agentmanager\bin\AgentManagerService.conf (something like that according to the installation path).

    Let us know if it is ok then.

    JB

  • Oracle Apps Services monitoring

    Hi Hussein/helios

    EBS 11i

    I had this hourly report control if services Oracle Apps is upwards or downwards by using this example command:

    adalnctl.sh status | outgoing grep

    Then, I called this everyhour via cron program and save the output.

    adalnctl
    ----------
    2-Nov-2010 00:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 01:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 02:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 03:00:01     adalnctl.sh: exiting with status 0
    2-Nov-2010 04:00:01     adalnctl.sh: exiting with status 0
    2-Nov-2010 05:00:06     adalnctl.sh: exiting with status 1
    2-Nov-2010 06:00:06     adalnctl.sh: exiting with status 1
    2-Nov-2010 07:00:05     adalnctl.sh: exiting with status 1
    2-Nov-2010 08:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 09:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 10:00:04     adalnctl.sh: exiting with status 0
    2-Nov-2010 11:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 12:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 13:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 14:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 15:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 16:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 17:00:04     adalnctl.sh: exiting with status 0
    2-Nov-2010 18:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 19:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 20:00:03     adalnctl.sh: exiting with status 0
    2-Nov-2010 21:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 22:00:02     adalnctl.sh: exiting with status 0
    2-Nov-2010 23:00:02     adalnctl.sh: exiting with status 0
    adapcctl
    -----------
    2-Nov-2010 00:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 01:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 02:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 03:00:01     adapcctl.sh: exiting with status 0
    2-Nov-2010 04:00:01     adapcctl.sh: exiting with status 0
    2-Nov-2010 05:00:03     adapcctl.sh: exiting with status 1
    2-Nov-2010 06:00:03     adapcctl.sh: exiting with status 1
    2-Nov-2010 07:00:02     adapcctl.sh: exiting with status 1
    2-Nov-2010 08:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 09:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 10:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 11:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 12:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 13:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 14:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 15:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 16:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 17:00:04     adapcctl.sh: exiting with status 0
    2-Nov-2010 18:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 19:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 20:00:03     adapcctl.sh: exiting with status 0
    2-Nov-2010 21:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 22:00:02     adapcctl.sh: exiting with status 0
    2-Nov-2010 23:00:02     adapcctl.sh: exiting with status 0
    adcmctl
    ----------
    2-Nov-2010 00:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 01:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 02:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 03:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 04:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 05:00:06     adcmctl.sh: exiting with status 0
    2-Nov-2010 06:00:07     adcmctl.sh: exiting with status 0
    2-Nov-2010 07:00:06     adcmctl.sh: exiting with status 0
    2-Nov-2010 08:00:03     adcmctl.sh: exiting with status 0
    2-Nov-2010 09:00:05     adcmctl.sh: exiting with status 0
    2-Nov-2010 10:00:05     adcmctl.sh: exiting with status 0
    2-Nov-2010 11:00:05     adcmctl.sh: exiting with status 0
    2-Nov-2010 12:00:04     adcmctl.sh: exiting with status 0
    2-Nov-2010 13:00:03     adcmctl.sh: exiting with status 0
    2-Nov-2010 14:00:05     adcmctl.sh: exiting with status 0
    2-Nov-2010 15:00:03     adcmctl.sh: exiting with status 0
    2-Nov-2010 16:00:04     adcmctl.sh: exiting with status 0
    2-Nov-2010 17:00:05     adcmctl.sh: exiting with status 0
    2-Nov-2010 18:00:04     adcmctl.sh: exiting with status 0
    2-Nov-2010 19:00:04     adcmctl.sh: exiting with status 0
    2-Nov-2010 20:00:04     adcmctl.sh: exiting with status 0
    2-Nov-2010 21:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 22:00:02     adcmctl.sh: exiting with status 0
    2-Nov-2010 23:00:03     adcmctl.sh: exiting with status 0
    addisctl
    ---------
    2-Nov-2010 00:00:03     addisctl.sh: exiting with status 0
    2-Nov-2010 01:00:03     addisctl.sh: exiting with status 0
    2-Nov-2010 02:00:03     addisctl.sh: exiting with status 0
    2-Nov-2010 03:00:03     addisctl.sh: exiting with status 0
    2-Nov-2010 04:00:03     addisctl.sh: exiting with status 0
    2-Nov-2010 05:00:08     addisctl.sh: exiting with status 0
    2-Nov-2010 06:00:08     addisctl.sh: exiting with status 0
    2-Nov-2010 07:00:07     addisctl.sh: exiting with status 0
    2-Nov-2010 08:00:04     addisctl.sh: exiting with status 0
    2-Nov-2010 09:00:07     addisctl.sh: exiting with status 0
    2-Nov-2010 10:00:08     addisctl.sh: exiting with status 0
    2-Nov-2010 11:00:07     addisctl.sh: exiting with status 0
    2-Nov-2010 12:00:06     addisctl.sh: exiting with status 0
    2-Nov-2010 13:00:05     addisctl.sh: exiting with status 0
    2-Nov-2010 14:00:07     addisctl.sh: exiting with status 0
    2-Nov-2010 15:00:04     addisctl.sh: exiting with status 0
    2-Nov-2010 16:00:06     addisctl.sh: exiting with status 0
    2-Nov-2010 17:00:06     addisctl.sh: exiting with status 0
    2-Nov-2010 18:00:06     addisctl.sh: exiting with status 0
    2-Nov-2010 19:00:05     addisctl.sh: exiting with status 0
    2-Nov-2010 20:00:06     addisctl.sh: exiting with status 0
    2-Nov-2010 21:00:04     addisctl.sh: exiting with status 0
    2-Nov-2010 22:00:04     addisctl.sh: exiting with status 0
    2-Nov-2010 23:00:04     addisctl.sh: exiting with status 0
    adfmcctl
    -----------
    2-Nov-2010 00:00:03     adfmcctl.sh: exiting with status 0
    2-Nov-2010 01:00:03     adfmcctl.sh: exiting with status 0
    2-Nov-2010 02:00:03     adfmcctl.sh: exiting with status 0
    2-Nov-2010 03:00:03     adfmcctl.sh: exiting with status 0
    2-Nov-2010 04:00:02     adfmcctl.sh: exiting with status 0
    2-Nov-2010 05:00:07     adfmcctl.sh: exiting with status 1
    2-Nov-2010 06:00:08     adfmcctl.sh: exiting with status 1
    2-Nov-2010 07:00:07     adfmcctl.sh: exiting with status 1
    2-Nov-2010 08:00:04     adfmcctl.sh: exiting with status 0
    2-Nov-2010 09:00:07     adfmcctl.sh: exiting with status 0
    2-Nov-2010 10:00:07     adfmcctl.sh: exiting with status 0
    2-Nov-2010 11:00:06     adfmcctl.sh: exiting with status 0
    2-Nov-2010 12:00:05     adfmcctl.sh: exiting with status 0
    2-Nov-2010 13:00:04     adfmcctl.sh: exiting with status 0
    2-Nov-2010 14:00:06     adfmcctl.sh: exiting with status 0
    2-Nov-2010 15:00:04     adfmcctl.sh: exiting with status 0
    2-Nov-2010 16:00:05     adfmcctl.sh: exiting with status 0
    2-Nov-2010 17:00:06     adfmcctl.sh: exiting with status 0
    2-Nov-2010 18:00:05     adfmcctl.sh: exiting with status 0
    2-Nov-2010 19:00:05     adfmcctl.sh: exiting with status 0
    2-Nov-2010 20:00:05     adfmcctl.sh: exiting with status 0
    2-Nov-2010 21:00:03     adfmcctl.sh: exiting with status 0
    2-Nov-2010 22:00:03     adfmcctl.sh: exiting with status 0
    2-Nov-2010 23:00:04     adfmcctl.sh: exiting with status 0
    adfmsctl
    -----------
    2-Nov-2010 00:00:03     adfmsctl.sh: exiting with status 0
    2-Nov-2010 01:00:03     adfmsctl.sh: exiting with status 0
    2-Nov-2010 02:00:03     adfmsctl.sh: exiting with status 0
    2-Nov-2010 03:00:03     adfmsctl.sh: exiting with status 0
    2-Nov-2010 04:00:02     adfmsctl.sh: exiting with status 0
    2-Nov-2010 05:00:07     adfmsctl.sh: exiting with status 1
    2-Nov-2010 06:00:08     adfmsctl.sh: exiting with status 1
    2-Nov-2010 07:00:07     adfmsctl.sh: exiting with status 1
    2-Nov-2010 08:00:04     adfmsctl.sh: exiting with status 0
    2-Nov-2010 09:00:07     adfmsctl.sh: exiting with status 0
    2-Nov-2010 10:00:07     adfmsctl.sh: exiting with status 0
    2-Nov-2010 11:00:06     adfmsctl.sh: exiting with status 0
    2-Nov-2010 12:00:05     adfmsctl.sh: exiting with status 0
    2-Nov-2010 13:00:05     adfmsctl.sh: exiting with status 0
    2-Nov-2010 14:00:07     adfmsctl.sh: exiting with status 0
    2-Nov-2010 15:00:04     adfmsctl.sh: exiting with status 0
    2-Nov-2010 16:00:06     adfmsctl.sh: exiting with status 0
    2-Nov-2010 17:00:06     adfmsctl.sh: exiting with status 0
    2-Nov-2010 18:00:05     adfmsctl.sh: exiting with status 0
    2-Nov-2010 19:00:05     adfmsctl.sh: exiting with status 0
    2-Nov-2010 20:00:06     adfmsctl.sh: exiting with status 0
    2-Nov-2010 21:00:03     adfmsctl.sh: exiting with status 0
    2-Nov-2010 22:00:03     adfmsctl.sh: exiting with status 0
    2-Nov-2010 23:00:04     adfmsctl.sh: exiting with status 0
    adfrmctl
    -----------
    2-Nov-2010 00:00:02     adfrmctl.sh: exiting with status 0
    2-Nov-2010 01:00:03     adfrmctl.sh: exiting with status 0
    2-Nov-2010 02:00:03     adfrmctl.sh: exiting with status 0
    2-Nov-2010 03:00:02     adfrmctl.sh: exiting with status 0
    2-Nov-2010 04:00:02     adfrmctl.sh: exiting with status 0
    2-Nov-2010 05:00:07     adfrmctl.sh: exiting with status 1
    2-Nov-2010 06:00:07     adfrmctl.sh: exiting with status 1
    2-Nov-2010 07:00:06     adfrmctl.sh: exiting with status 1
    2-Nov-2010 08:00:03     adfrmctl.sh: exiting with status 0
    2-Nov-2010 09:00:06     adfrmctl.sh: exiting with status 0
    2-Nov-2010 10:00:06     adfrmctl.sh: exiting with status 0
    2-Nov-2010 11:00:05     adfrmctl.sh: exiting with status 0
    2-Nov-2010 12:00:04     adfrmctl.sh: exiting with status 0
    2-Nov-2010 13:00:04     adfrmctl.sh: exiting with status 0
    2-Nov-2010 14:00:05     adfrmctl.sh: exiting with status 0
    2-Nov-2010 15:00:03     adfrmctl.sh: exiting with status 0
    2-Nov-2010 16:00:05     adfrmctl.sh: exiting with status 0
    2-Nov-2010 17:00:05     adfrmctl.sh: exiting with status 0
    2-Nov-2010 18:00:04     adfrmctl.sh: exiting with status 0
    2-Nov-2010 19:00:04     adfrmctl.sh: exiting with status 0
    2-Nov-2010 20:00:05     adfrmctl.sh: exiting with status 0
    2-Nov-2010 21:00:02     adfrmctl.sh: exiting with status 0
    2-Nov-2010 22:00:03     adfrmctl.sh: exiting with status 0
    2-Nov-2010 23:00:03     adfrmctl.sh: exiting with status 0
    adrepctl
    -----------
    2-Nov-2010 00:00:03     adrepctl.sh: exiting with status 0
    2-Nov-2010 01:00:03     adrepctl.sh: exiting with status 0
    2-Nov-2010 02:00:03     adrepctl.sh: exiting with status 0
    2-Nov-2010 03:00:02     adrepctl.sh: exiting with status 0
    2-Nov-2010 04:00:02     adrepctl.sh: exiting with status 0
    2-Nov-2010 05:00:07     adrepctl.sh: exiting with status 1
    2-Nov-2010 06:00:07     adrepctl.sh: exiting with status 1
    2-Nov-2010 07:00:06     adrepctl.sh: exiting with status 1
    2-Nov-2010 08:00:04     adrepctl.sh: exiting with status 0
    2-Nov-2010 09:00:06     adrepctl.sh: exiting with status 0
    2-Nov-2010 10:00:06     adrepctl.sh: exiting with status 0
    2-Nov-2010 11:00:06     adrepctl.sh: exiting with status 0
    2-Nov-2010 12:00:05     adrepctl.sh: exiting with status 0
    2-Nov-2010 13:00:04     adrepctl.sh: exiting with status 0
    2-Nov-2010 14:00:06     adrepctl.sh: exiting with status 0
    2-Nov-2010 15:00:03     adrepctl.sh: exiting with status 0
    2-Nov-2010 16:00:05     adrepctl.sh: exiting with status 0
    2-Nov-2010 17:00:05     adrepctl.sh: exiting with status 0
    2-Nov-2010 18:00:04     adrepctl.sh: exiting with status 0
    2-Nov-2010 19:00:05     adrepctl.sh: exiting with status 0
    2-Nov-2010 20:00:05     adrepctl.sh: exiting with status 0
    2-Nov-2010 21:00:03     adrepctl.sh: exiting with status 0
    2-Nov-2010 22:00:03     adrepctl.sh: exiting with status 0
    2-Nov-2010 23:00:03     adrepctl.sh: exiting with status 0
    The report above take info if a service is down at some point in time.
    Do you think it is useful to you? or the customer?

    Moreover, 05:00 - 07:00 services apps/db are stop to give way to a "cold" backup. You have noticed that
    most of the services during this period have exit status '1 '. With the exception of addisctl and adcmctl, they are always '0 '. Can you tell me why
    even if the application is stopped, the two services in a test of their status... He is always '0 '?


    Thank you very much

    MsK

    Salvation;

    [appltrng@oracletrng monitor] $ /uo1/oracle/oatrngcomn/admin/scripts/OATRNG_oracletrng/adcmctl.sh apps/apps status

    You run adcmctl.sh version 115.28

    Internal Manager of simultaneous is active.

    adcmctl.sh: exit with status 0

    As you can see there is as always a few competitors to run, you must wait until every cm is declining

    When you don't see any session using the

    PS u appltrng< it="" should="" bring="" u="" someting="" similar="" as="">
    10955 pts/1 00:00:00 bash
    12117 pts/1 00:00:00 ps

    Use this
    [applvis@x SID_hostname] $./adcmctl.sh apps/apps status

    You are running version 115,30 adcmctl.sh

    Internal concurrent Manager is not active at the moment.

    adcmctl.sh: exit with status 0

    Respect of
    HELIOS

  • Call Shell Script from within PL/SQL - using DBMS_PIPE

    Hi all

    I'm trying to run a shell script inside my PL/SQL using DBMS_PIPE block (not sure if this is the right way or not)

    Pl Sql script

    ==========

    Set serveroutput size 100000

    declare

    cursor c1 is select * from mag_images

    where nom_image like '% comp2.

    v_path varchar2 (100): = ' / home/maguzzi/DOCUMENTS_DIR / ";

    v_result number: = 0;

    v_in_filename varchar2 (100): = v_path | ' test_file.jpg';

    v_out_filename varchar2 (100): = v_path | ' test_file_out.jpg';

    v_script varchar2 (100): = "tst_convert.sh";

    v_command varchar2 (200): = 'sh'. v_path | v_script | » '|| v_in_filename | » '|| v_out_filename;

    Start

    A1 to c1 loop

    dbms_output.put_line ('v_command: ' | v_command);

    write_to_file ('test_file.jpg', 'DOCUMENTS_DIR', a1. Content);

    dbms_output.put_line (' file write result: ' | v_result);

    v_result: = exec_host_command (v_command);

    dbms_output.put_line (' resize result :'|| file v_result);

    end loop;

    end;

    Result DBMS_OUTPUT

    ====================

    v_command: /home/maguzzi/DOCUMENTS_DIR/tst_convert.sh test_file.jpg test_file_out.jpg

    Result of the entry of the file: 0

    Result of resizing the file: 0

    PL/SQL procedure successfully completed.

    Function exec_host_command

    =======================

    FUNCTION to CREATE or REPLACE exec_host_command (lc_cmd IN VARCHAR2)

    RETURN INTEGER IS

    ln_status NUMBER;

    lc_errormsg VARCHAR2 (80);

    lc_pipe_name VARCHAR2 (30);

    BEGIN

    lc_pipe_name: = 'Maguzzi_PIPE ';

    DBMS_PIPE. PACK_MESSAGE (lc_cmd);

    ln_status: = dbms_pipe.send_message (lc_pipe_name);

    RETURN ln_status;

    END;

    /

    The Image of the BLOB is written to the correct location on the server "test_file.jpg", and although the exec_host_command function returns a value of 0, the shell script (tst_convert.sh) is not executed (i.e. no output file is created - outfile.txt and the image is not copied/converted to a new file name "" test_file_out.jpg" )

    Shell script

    ========

    tst_convert.sh

    echo 'Here' > outfile.txt

    Echo $1 > > outfile.txt

    Echo $2 > > outfile.txt

    resizing to convert $1 - $200 2

    Could this be problems with permissions on files?

    test_file1.jpg has permission - rw-rw-r-

    test_convert.sh a permission rwxrwxrwx

    When I run the script manually and pass in 2 parameters ($1 = infilename and $2 = outfilename), it works...

    I'd appreciate if someone can point out my mistake or suggest another method that works.

    Thanks in advance

    How long does it take to create the converted file? Remember that the external Scheduler is running asynchronously, so it is possible that the converted file does not exist yet when the PL/SQL block subsequently tries to open it.

    Try to add some delay seconds to the routine to ensure that the external task is completed:

        begin
          dbms_scheduler.create_job(
              job_name => 'MAG_IMAGE_CONVERT2'
            , job_type => 'EXECUTABLE'
            , job_action => '/home/oracle/DOCUMENTS_DIR/tst_convert2.sh' );--  '/home/oracle/DOCUMENTS_DIR/tst_convert.sh');
          dbms_scheduler.enable('MAG_IMAGE_CONVERT2');
          dbms_lock.sleep(3);
        end;
    

    This probably isn't really a viable solution in the long term if it turns out that this is really the problem.

  • How to hide the user id and password in the batch scripts

    Hello

    Can help me hide the user id and the password in the batch scripts to automate the process of running script to export and action.

    Context: In my client project does not display user id and password that's why they are looking for guaranteed way to hide them.

    Thanks for your response in advance.

    Kind regards

    Sandra.

    Sandra,

    As stated by Craig Administrator's Guide is a good option.

    Let me give you a few steps I did in one of my projects.

    Open the command prompt and navigate to the location "C:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client"... here you can see many see as well other utilities.

    DRM-batch-customer - credentials.exe is the one that is used to encrypt the user name and password.

    Open this in the command prompt and choose the application that you want to encrypt the password.

    then remove the username and password from command script can run it... It does what you want

  • using DBFS file system for request shell scripts

    Guy
    We use DBFS application shell scripts using Korn shell scripts. The default shell for use is/bin/ksh

    Exadata = X 2-2
    version = 11.2.2.2.1 BP4
    Version Oracle = 11.2.0.2

    WARNING: incorrect syntax, perhaps a fake '-'? See /usr/share/doc/procps-3.2.7/FAQ
    -ksh: xxx.ksh: xxx.ksh: cannot run [bad address]

    When you run as

    ksh xxx.ksh it works fine

    Thank you

    MOS 1054431.1 also discusses this:

    "DBFS filesystems can always hold files of shell script or binary file, but if it is mounted with the direct_io option, files on DBFS is not executable. In this case, a second file DBFS system may be used because it can be mounted without the option direct_io to support executable files or scripts. »

  • Audition 2.0 current Batch Script interrupted, do not save completed

    I'm trying prun a script on a few hundred mp3 files to increase the volume.  It's here

    Collection: normal120-economy
    Title: Untitled
    Description:
    Mode: 4
    Cancel: 1

    Selected: 0 to 6197758 scale 6197758 SR 44100
    FREQ: Off
    cmd: channels

    Selected: 0 to 6840575 scale 6197758 SR 44100
    FREQ: Off
    Comment: Amplitude\Normalize (process)
    cmd: {7EC45406-CFB6-4C54-99B9-84CE080C1914}
    1: 1
    2: 0
    3: 0
    4: 1.2
    5: 0

    FREQ: Off
    At the end:

    However, after a single file, it stops with error "Interrupted Batch Script, current save not completed" do I need to add a pause before the next file? (how) or any idea what causes the error?  Please, I have 3 000 files to do to and individually he kills me!

    To start the line

    Selected: 0 to 6840575 scale 6197758 SR 44100

    is not a very good idea, because you try to select beyond the end of the file on which you operate. If you select 6197758 in the scale of 0 to 6197785 SR 44100, then you will select the entire file. But then again, if you have selected 0 to 1 scale 1 SR44100 you reach exactly the same thing.

    If you are using this as a part of a batch file and backups do not work properly, you'll probably need to check all the parameters of format in the treatment by lots - but try to fix the script so that it seem weird first.

  • batch script?

    Hi people. I need a script that I wrote on all files in a given folder. How can this be achieved?

    I thought batch, but the menu file > > automate > > lot... works only with actions, not with scripts.

    Thank you very much.

    Save a new action that calls the script, start a new recording and paltte action fly select then "Insert Menu Item" file - Scripts and select your script, stop recording. You can now use this action in the batch.

  • Problem in running the Perl script by oracle

    Hello
    I am facing a problem in the perl script.

    «I have a perl script which is interacting with the sybase database.» We have migrated successfully to the sybase database to oracle. Now, I want to change the perl script to interact with the oracle database.
    I use code like this to the interaction of the oracle database

    Old Code with sybase database: use DBI::Sybase:GFAS;
    New oracle database code: use DBI::oracle:GFAS;

    When I execute the script perl, its display of the mentioned below error:

    Cannot find DBI/oracle.pm in @INC (@INC contains: C:\oracle\product\10.2.0\db_1)
    \perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib/mswin32
    x 86-multi-thread C:\oracle\product\10.2.0\db_1\perl\5.8.3\lib C:\oracle\product
    \10.2.0\db_1\perl\5.8.3\lib\MSWin32-x86 C:\oracle\product\10.2.0\db_1\perl\site\
    5.8.3 C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib/MSWin32-x86-multi-thread
    C:\oracle\product\10.2.0\db_1\perl\site\5.8.3\lib C:\oracle\product\10.2.0\db_1
    \sysman\admin\scripts C:/Perl/lib C: / Perl / site / lib.) on line 4 of the hello.pl.
    BEGIN failed--compilation abandoned at hello.pl line 4.


    Anyone has any idea about this error.

    Thanks in advance.

    If you look in the oracle in the perl\site\5.8.3\lib\MSWin32-x86-multi-thread directory, you will see two directories. Once is DBI and DBD is.

    Everything you need in your perl program is a line 'using the DBI '. It will use DBD automatically as needed. You can specify the necessary connection information when you cause the DBI-> connect statement.

    I managed to connect to the Oracle database and perform DML through the software installed by default. You don't need to download and install anything else.

    I'm no expert, so maybe it lacks some features by using the interfaces supplied by Oracle, but for my needs, it sufficed to perl.

    I hope this helps.

  • Flex with Oracle ESB Services

    Hi all

    I have a frustrating problem, call Oracle ESB of Flex services. I tried the two Flex 3 and 2.0 x.

    I have an ESB service that works fine with Flex and another who, when I try to call in Flex, results in the following error: "unrecognized binding style 'null'. Only 'Document' and 'rpc' styles are supported. »

    Two services of BSE have the WSDL generated by the Oracle system and they have similar 'features' (IE import a wsdl one other - namespace, it has generated this way) but they have different schemas.

    I can call two BSE since SoapUI services without any problem and also the Oracle test harness in their desks.

    The offending WSDL is lower (not that I think it's important that the other "good" looks a lot like what leads me to believe that the problem is on the side of Flex):-

    Ideas, suggestions, workarounds or ;-) much appreciated patch/patches.

    Kind regards
    Greg

    <? XML version = "1.0" encoding = "UTF-8"? >
    "" "" "" "" "" "" "" "" "" "" "< definitions targetNamespace =" http://oracle.com/esb/namespaces/WWS2BPMRS " xmlns =" http://schemas.xmlsoap.org/wsdl/ " xmlns:tns =" http://oracle.com/esb/namespaces/WWS2BPMRS " xmlns:ws =" http://www.example.com/webservice " xmlns:http =" http://schemas.xmlsoap.org/wsdl/http/ " xmlns:plt =" http://schemas.xmlsoap.org/ws/2003/05/partner-link/ " xmlns:esb =" http://www.oracle.com/esb/ " xmlns: XS =" http://www.w3.org/2001/XMLSchema " xmlns:soap =" http://schemas.xmlsoap.org/wsdl/ ' xmlns:wsdl = ' http://schemas.xmlsoap.org/wsdl/ " xmlns:import =" http://oracle.com/esb/namespaces/WWS2BPMRS "> "
    "" "< import namespace = ' http://oracle.com/esb/namespaces/WWS2BPMRS ' location = ' http://lc23hosoa1.lc.local:80 / BSE/slide/ESB_Projects/Application1_BPMRS_DVM/WWS2BPMRS_rsGe tDVMlist.wsdl" / > "
    < connection name = "__soap_rsGetDVMlist_execute_ppt" type = "tns:execute_ppt" >
    "" "< soap binding: xmlns:soap = ' http://schemas.xmlsoap.org/wsdl/soap/" style = "document" = transport " http://schemas.xmlsoap.org/soap/http" / > "
    < name of operation = "run" >
    "" < xmlns:soap soap: operation = ' http://schemas.xmlsoap.org/wsdl/soap/ " style ="document"soapAction ="execute"/ >
    < input >
    "" < xmlns:soap soap: body = ' http://schemas.xmlsoap.org/wsdl/soap/ " use ="literal"/ >
    < / Entry >
    < output >
    "" < xmlns:soap soap: body = ' http://schemas.xmlsoap.org/wsdl/soap/ " use ="literal"/ >
    < / output >
    < / operation >
    < / binding >
    < connection name = "__esb_rsGetDVMlist_execute_ppt" type = "tns:execute_ppt" >
    < esb:binding / >
    < name of operation = "run" >
    < esb:operation event-name="WWS2BPMRS.rsGetDVMlist.execute"/ >
    < input / >
    < output / >
    < / operation >
    < / binding >
    < service name = "ESB_rsGetDVMlist_Service" >
    < name of port = "__esb_rsGetDVMlist_execute_ppt" binding = "tns:__esb_rsGetDVMlist_execute_ppt" >
    < / port >
    < name of port = "__soap_rsGetDVMlist_execute_ppt" binding = "tns:__soap_rsGetDVMlist_execute_ppt" >
    "" "< xmlns:soap address: soap =" http://schemas.xmlsoap.org/wsdl/soap/ " location = ' http://lc23hosoa1.lc.local:8888 / WWS2BPMRS/event/rsGetDVMlist" / > "
    < / port >
    < / service >
    < plt:partnerLinkType name = "execute_pptLT" >
    < plt:role name = "execute_pptProvider" >
    < name plt:portType = "tns:execute_ppt" / >
    < / plt:role >
    < / plt:partnerLinkType >
    < / definitions >

    It seems that I finally found the answer - doh!

    You will notice in the WSDL file that precedes, there are 2 links "__soap_rsGetDVMlist_execute_ppt" and "__esb_rsGetDVMlist_execute_ppt". It seems that Flex has trouble deciding that one to use. The order in which they appear in the generated WSDL varies, and it seems that Flex chooses also varies (it can be one of first or second). To sum up, from time to time, Flex chooses to use the connection without SOAP! (I speak only using MXML here of course).

    To work around this problem, I saved the WSDL of BSE and in a file stored in the Oracle Application Server document space. I then removed the section linking BSE (link name = "__esb_rsGetDVMlist_execute_ppt") and the port which refers (port = "__esb_rsGetDVMlist_execute_ppt" name). Point the URL of WSDL Flex at this new location of WSDL and it works every time.

    You may think a better way to proceed would be to use the new Web Services in Flex 3 Import Wizard. Sounds good and uses axis 2 under the hood. It also allows you to choose which link to use (now we're talkin'!). Except there is a problem with it, it seems to generate the structure of incorrect data for the request! He wants to send one of the tags in twice (ie the same nested tag), which of course the web service rejects as invalid. I tried some jiggering things around without result for awhile, then I didn't want to spend a moment more to solve a problem Adobe seems to have left - oh well, next version Adobe!
    Without knowing the details, I can't help but wonder: - in the code generated under axis 2, he mentions "modified by Adobe" - would things worked better that they were * not * changed axis 2? It is hoped that the mods should integrate with Flex builder and nothing more.

    I hope that Adobe addresses these problems, such as referring to things in this way raises questions of SOA governance terrible! Now we must follow what services use the various WSDL files separate and keep the WSDL separate sync any changes should be to services they represent.

    SOA' happy ing!
    Aussie Greg

Maybe you are looking for

  • USB charger - 29W C - compatibility with 12.9 "iPad Pro

    I'm looking for an answer as to if the USB - C 29W charger is compatible with the iPad to 12.9 "Pro. I know this question has been asked and answered by the communities in the past, but when I went to the Apple Store to buy the charger today, the sta

  • Operating system not found. Help, please!

    I used a recovery disk for the factory restore my vgcjs210j office. Now when I turn on my computer, I get the operating system not found. My hard drive is listed, but I can't restore the default settings. Help, please.

  • Installation of svn is disable visual studio, administration tools, etc.

    I'm a web developer. I tried to upgrade Tortoise svn client 1.9.1 and am getting error unspecified when I open computer to manage. Visual studio does not open. Microsoft all associates that icons are corrupt. When I uninstall svn and restart the mach

  • Notification Email of Smartphones blackBerry ringtone

    I have a Blackberry 9000 "BOLD" phone and would like to change the message received notification by e-mail soundfor and the text.  I changed the ringtone and it only allows me to change the ringing of the phone not the message notification. Could som

  • Police Error (?)

    I use Photoshop CS5 Photoshop CC.I use it often for the edition of comic strip.But sometimes, when I click on the bubble to type text, the font size I used (which is usually 16) could not work.So I have to increase the font size maximum (1296) to typ