ADSTARTAL.sh

Hi,
EBS 11i
Is there a one line command to check if all the subprocesses of adstartal.sh are still active or running after sometime just to
check or validate or monitor them?
Something like to check the ff:
adapcctl.sh - Apache Web Server Listener
adalnctl.sh -  Listener APPS
adcmctl.sh -  Internal Concurrent Manager
adfrmctl.sh - forms server
adrepctl.sh - Reports Server
adfmcctl.sh - forms load balancing client
adfmsctl.sh - forms  metrics serverfor
jtffmctl.sh  -  Fulfillment Server
addisctl.sh  -  Oracle DiscovererOr do I have to run each manually like > adapcctl.sh status apps/apps ?
Thanks,
Ms K

hi helios/hussein,
I just done it manually for all the services checking for their status every hour and save it on text file for future analysis.
But there is one program that is hanging :( I wonder if it means it has problem. It is the "Fulfillment Server", when I run this command it just hang:
[appltrng@oracletrng Monitor]$ /uo1/oracle/oatrngcomn/admin/scripts/OATRNG_oracletrng/jtffmctl.sh status
You are running jtffmctl.sh version 115.16
Status of Fulfillment Server for OATRNG on port 9300 ...
SENDING>statIt does not exit so my monitoring program hangs too. how to I check if its running or not?
Thanks a lot

Similar Messages

  • Erratic behaviour of Concurrent Managers

    We have PCP configured on 2 node EBS. We have recently started seeing that our FNDSM on node 2 stops working and also couple of other managers got deativated. When we try to start them manually they won't start. The only thing we do is to bounce application services as pointed out in "Note ID 245563.1 Concurrent Processing - The Concurrent Manager Fails to Start on GSM Enabled Due to DBMS_LOCK.Request ResultCall Failed to Establish ICM" which is not always possible in production:
    ICM log file showed:
    Routine &ROUTINE has attempted to start the internal concurrent manager. The ICM is already running. Contact you system administrator for further assistance.afpdlrq received an unsuccessful result from PL/SQL procedure or function FND_DCP.Request_Session_Lock.
    Routine FND_DCP.REQUEST_SESSION_LOCK received a result code of 1 from the call to DBMS_LOCK.Request.
    Possible DBMS_LOCK.Request resultCall to establish_icm failed
    The Internal Concurrent Manager has encountered an error.
    I went through the note: Concurrent Managers Will Only Start on One Node in PCP/RAC Environment (Doc ID 264296.1)
    So I have questions regarding this:
    1. Does ICM runs only on primary node as I believe?
    2. When starting the application we start the node 1 and then node 2 by using adstartal.sh which internally executes adcmctl.sh on both the nodes, as the note points out we should run adcmctl.sh only from primary node. How to solve this problem?
    3. If this issue is common how should we start application on another node and still not execute adcmctl.sh?

    1. Does ICM runs only on primary node as I believe?You can setup the internal manager on both nodes but it will start (be running) on one node only.
    How to Setup and Test Failover of PCP on Non-RAC Environments. [ID 743716.1]
    Can a Concurrent Manager Tier be Added Without Setting Up PCP? [ID 389876.1]
    2. When starting the application we start the node 1 and then node 2 by using adstartal.sh which internally executes adcmctl.sh on both the nodes, as the note points out we should run adcmctl.sh only from primary node. How to solve this problem?You can start adcmctl.sh on both nodes so you use adstrtal.sh on both nodes and the internal manager will be running on one node only.
    3. If this issue is common how should we start application on another node and still not execute adcmctl.sh?I have already answered this above.
    Thanks,
    Hussein

  • RC-50004: Fatal: Error occurred in ApplyAppsTier

    Hi,
    We are on 12.0.4 on Microsoft windows 2003 server.
    and trying to do cloning, Database cloning is succesfull, but while doing application cloning we are getting the above error at the stage of 73%, the error message is as follows..
    ===========
    Log file located at c:\clone\inst\apps\clone_lenovo-4\admin\log\ApplyAppsTier_11
    081303.log
    \ 73% completed
    RC-50004: Fatal: Error occurred in ApplyAppsTier:
    StackTrace -
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:67)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NoSuchMethodError: oracle.apps.ad.autoconfig.InstantiateFil
    e.writeReport(Ljava/util/Vector;Loracle/apps/ad/util/LogFile;I)V
    at oracle.apps.ad.clone.ApplyApplTop.checkAutoConfigErr(ApplyApplTop.jav
    a:590)
    at oracle.apps.ad.clone.ApplyApplTop.runAutoConfig(ApplyApplTop.java:558
    at oracle.apps.ad.clone.ApplyApplTop.doConf(ApplyApplTop.java:339)
    at oracle.apps.ad.clone.ApplyApplTop.doApply(ApplyApplTop.java:382)
    at oracle.apps.ad.clone.ApplyApplTop.<init>(ApplyApplTop.java:267)
    at oracle.apps.ad.clone.ApplyAppsTier.<init>(ApplyAppsTier.java:105)
    ... 6 more
    ERROR while running Apply...
    Sat Nov 8 13:09:50 2008
    ERROR: Failed to execute C:\CLONE\apps\apps_st\comn\clone\bin\adclone.pl
    Please check logfile.
    ==========================
    after that we have run th autoconfig,
    The autoconfig is erroring out in adsvalsn.cmd
    ==
    adsvalsn.cmd INSTE8_APPLY 1
    =========
    Script Success, Applications Context update complete.
    Configuring templates from all of the product tops...
    Configuring AD_TOP........COMPLETED
    Configuring FND_TOP.......COMPLETED
    Configuring ICX_TOP.......COMPLETED
    Configuring IEO_TOP.......COMPLETED
    Configuring BIS_TOP.......COMPLETED
    Configuring AMS_TOP.......COMPLETED
    Configuring CCT_TOP.......COMPLETED
    Configuring WSH_TOP.......COMPLETED
    Configuring CLN_TOP.......COMPLETED
    Configuring OKE_TOP.......COMPLETED
    Configuring OKL_TOP.......COMPLETED
    Configuring OKS_TOP.......COMPLETED
    Listener Log File c:\clone\inst\apps\clone_lenovo-4\logs\ora\10.1.2\netw
    ork\apps_clone.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LENOVO-4)(PORT=1626)))
    Services Summary...
    Service "FNDFS" has 1 instance(s).
    Instance "FNDFS", status UNKNOWN, has 1 handler(s) for this service...
    Service "FNDSM" has 1 instance(s).
    Instance "FNDSM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    adalnctl.cmd exiting with status 0
    OpenService failed
    c:\clone\apps\apps_st\appl\ad\12.0.0\bin\adsstart.exe OracleCLONE_lenovo-4_TOOLS
    TNSListenerAPPS_clone auto failed
    adsvalsn.cmd exiting with status 1
    ERRORCODE = 1 ERRORCODE_END
    .end std out.
    .end err out.
    ==============================
    we checked the autoconfig FAQ 218089.1
    The script adsvalsn.cmd fails when I run AutoConfig. How do I resolve this issue?
    Answer:
    Check in your Service Control Panel to see if the 806 listener service is set to automatic or manual.
    If your service is set to automatic, then you hit a known issue, that can be ignored. You can use the following workaround to resolve the issue:
    copy %AD_TOP%\bin\adstart.exe %COMMON_TOP%\util\SrvStart.exe
    [top]
    Done the workaround as well as the services is "manual", still the same issue.
    =================================
    We ignored the error and tried to start the application..
    The forms are not opening..
    FRM-92101: There was a failure in the Forms Server during startup.This could happen due to invalid configuration.
    Please look into the web-server log file for details. Details.... Java Exception:
    oracle.forms.net.ConnectionException: Forms session <3> failed during startup: no response from runtime process
    at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
    ======
    followed the note Note:465926.1 to resolve the issue..
    We tried to run
    "make -f ins_forms.mk install " from 10.1.2 home/lib but we are finding the file in that location.
    Can anybody please guide us
    Regards
    Vasu

    Hi HSAWWAN,
    Alias APPS_clone
    Version TNSLSNR for 32-bit Windows: Version 10.1.0.5.0 - Production
    Start Date 08-NOV-2008 22:07:31
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\clone\inst\apps\CLONE_lenovo-4\ora\10.1.2\network\admin\listener.ora
    Listener Log File c:\clone\inst\apps\clone_lenovo-4\logs\ora\10.1.2\network\apps_clone.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=LENOVO-4)(PORT=1626)))
    Services Summary...
    Service "FNDFS" has 1 instance(s).
    Instance "FNDFS", status UNKNOWN, has 1 handler(s) for this service...
    Service "FNDSM" has 1 instance(s).
    Instance "FNDSM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    adalnctl.cmd exiting with status 0
    OpenService failed
    c:\clone\apps\apps__st\appl\ad\*12.0.0\*bin\adsstart.exe OraclePROD_erpsahara_TOOLSTNSListenerAPPS_clone* auto* failed_adsvalsn.cmd exiting with status 1
    ======
    In this It is taking the PRODUCTION "OraclePROD_erpsahara_TOOLSTNSListenerAPPS_clone" pl sugest how to rectify it..
    Regards
    Vasu

  • Rapid Clone hangs on 50% on Windows 2003

    Hi,
    I am running Rapid Clone for the first time on a fresh install of 11.5.10.2 on Windows 2003.
    I have applied all preprequisites and patches to the source environment, as per Metalink note 230672.1.
    I have successfully prepared the source system, copied the souce system to the target system and configured the target system database server.
    However when I attempt to configure the target system application tier, I get a small error message saying 'Installation failed'. The cloning process continues to run but hangs at 50%.
    The command I am executing is:
    cd <COMMON_TOP>\clone\bin
    perl adcfgclone.pl appsTier
    The last entries in the log file are:
    AutoConfig Services Phase
    Running Service Process 1 of 12 for AD_TOP
    Executing script in InstantiateFile:
    F:\MASTER\oracle\masterora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I F:\MASTER\oracle\masterora\iAS\Apache\perl\5.00503\lib\MSWin32-x86 -I F:\MASTER\oracle\masterora\iAS\Apache\perl\5.00503\lib -I F:\MASTER\oracle\masterora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86 -I F:\MASTER\oracle\masterora\iAS\Apache\perl\site\5.00503\lib -I F:\MASTER\oracle\masterappl\au\11.5.0\perl F:\MASTER\oracle\mastercomn\admin\install\MASTER_lsvgl01\adadmat.pl
    script returned:
    Validating information in AD_APPL_TOPS table........
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    AutoConfig Services Phase
    Running Service Process 2 of 12 for AD_TOP
    Executing script in InstantiateFile:
    F:\MASTER\oracle\mastercomn\admin\install\MASTER_lsvgl01\adsvalsn.cmd
    I have noted from Metalink Note 218089.1, FAQ 55 that there is a known issue with adsvalsn.cmd and AutoConfig. I have applied the solution:
    copy %AD_TOP%\bin\adstart.exe %COMMON_TOP%\util\SrvStart.exe
    and re-run adcfgclone.pl.
    This gets rid of the error message but the process still hangs at 50%.
    Any assistance is gratefully received.
    Thanks,
    Mark

    Many thanks for your replies, I have now successfully completed rapid clone.
    I checked the log files and there were no errors. The information I posted above was the final entry in the log file.
    Unfortunately I am having to perform this clone through remote desktop which is not ideal but unavoidable.
    For those of you attempting to rapid clone 11.5.10.2 on Windows, I found the key areas to be:
    (1) Before running adcfgclone.pl on the Apps tier:
    Add the target <806 ORACLE HOME>\bin to the system path.
    If, like me, you're unable to restart the server to globally export this variable (there's another running environment on the machine), you can set this dynamically in the command window by issuing the following command:
    set PATH=<806 ORACLE HOME>\bin;%PATH%
    To check if it's correctly set:
    echo %PATH%
    (2) Before running adcfgclone.pl on the Apps tier:
    copy %AD_TOP%\bin\adstart.exe %COMMON_TOP%\util\SrvStart.exe
    This overcomes a known issue with adsvalsn.cmd and AutoConfig (Metalink Note 218089.1, FAQ 55):
    (3) Whilst adcfgclone.pl runs on the Apps tier:
    At 50% the process appears to have trouble starting the Discoverer service. Give it a helping hand by starting it manually in the Services console.
    Now to see if everything works OK!
    Thanks again for your thoughts.
    Mark

  • Please don't laugh

    how do you get a site up on itunes u? trawled every help file which are great for designing etc but not the simple things like: where do i start? is there an application process? which button do i click? etc......
    ad

    Start here:
    http://education.apple.com/itunesu/
    Regards.

Maybe you are looking for

  • Repacement cartridge for HP officejet 4630 e-all-in-one series

    The black cartridge that came with the printer is numbered 61.  The replacement that I bought is 61XL.  The message i got is that the new one is not compatibile.  Why, and what do I do?             

  • Inconsistent Previewing Raw Files in Bridge

    About two weeks ago, without warning, I was no longer able view my raw files in bridge. The strange thing is, when looking at raw files from a CD in bridge, it will give a preview of about 75% of the files. I am running leopard on my MAC OS X 10.5.4,

  • How to rectify this error "Update was terminated" when i save the tcodeMe42

    Hi, I am working in Me42 transaction, after filling the messages when i give save its throwing an error message "Update was terminated" received from author" Author name". Why is error occuring what is the cause how to rectify

  • For Update In Cursor

    cursor t_c is select a.f1, b.f2, c.f3 from A, B, C where A.id = B.id and A.id = C.id for update B.f5, B.f6, B.f7, C.f8, C.f9; for item in t_c loop update B set f5 = something, f6 = something, f7 = something; where current of t_c; update C set f8 = so

  • Gnuplot in JSP ----- URGENT

    Hi I am trying to create a graph using "GNUPLOT". I use the Runtime.exec(cmd) to execute the gnuplot where cmd = gnuplot temp_cmdFile and i am trying to run this through a JSP. The problem i encounter is the temp_cmdfile is created by the JSP but the