Any scripts to show status of instance and oracle

Does anyone have scripts that they could share to show if SAP is up/down and Oracle up/down?
I realize grep awk etc etc...but if anyone has any complex queries to query multiple instance maybe via remsh?
Thanks
Mikie

Hi,
One is option as you know ps -aef|grep ora,ps -aef|grep smon etc ...
second you can check tnsping service if not able to ping that means db not available.$ tnsping <sid/servicename>
third if you have mulitple instances then run below query
SQL> conn / as sysdba
SQL>select instance_number, instance_name,status from v$instance
SurendraJain

Similar Messages

  • Is there any script to scrabble the salary information in oracle apps HCM.

    Hi,
    Is there any script to scrabble the salary information in oracle apps HCM.
    regards
    Edited by: Maya on Feb 12, 2013 11:43 PM

    Hi Maya,
    We've used a tool called Data Masker (http://www.datamasker.com/) to mask our entire eBusiness Suite database in order to make the environment suitable for training and offshore development (financials, hcm, iproc, etc) - there's an evaluation copy of the website if you want to give that a go, in the background it's just using SQL scripts to manipulate the data.
    If you just wanted to scrabble the Salary information (grades & spinal points / salary?) a couple of API's would probably be sufficient (HR_ASSIGNMENT_API.update_emp_asg_criteria, HR_SP_PLACEMENT_API.update_spp), or if you're not concerned with keeping the instance supported by Oracle then a few direct table updates to fiddle the information around (PER_PAY_PROPOSALS, PER_SPINAL_POINT_PLACEMENTS_F, etc).
    Regards, Jay

  • Several processes in SM50 show status as stopped and reason SLEEP

    I have several batch jobs that are running and then sometime it shows up status "stopped" and Reason "SlEEP". There have been some slow DB writes but not sure what I can do about this.
    Should I let them go and let them resolve themselves. Sometimes these jobs will cause performance issues.
    Or do I delete cancel them to restart in the low usage periods.
    Thansk
    Weyland Yutani

    Hi..
    Not sure about your KERNEL PATCH LEVEL.
    Check this note..
    Note 1357780 - Long "stop" status for batch proc.; reason for wait "sleep"
    Secondly as Dibya said...
    Look a closer look at work proces trace file,
    if you do not see any info desired....
    increase the "TRACE LEVEL" of work process and chase for reason log in tracef file.
    WORKPROCESS Trace info should give some clue / info to do a deep dive analyiss of your issue.
    If you avail SAP Verion/ Kernel Version/ DB Version / OS Version ...
    give more light to the signing in users to put their comments close to your issue.
    We are sure, With Dibya reply itself, you would have got the reasons for the issue.
    Finally,
    What is your system utlization during peakload to rate low usage periods.
    Rgds

  • Script for showing status

    Hi Guys,
    I need a script, that will show the status of the script
    for example,
    It is creating a paragraph styles then, Like vb label, it has to show,
    "Paragraphy style creating"
    something like this.
    regards,
    sudar.

    A JavaScript example:
    #targetengine "session"
    var myProgressPanel;
    var myMaximumValue = 100; // should be set to the amount of cycles (could be myDocument.pages.length, for a script looping all pages)
    var myProgressBarWidth = 300; // width in the window
    var myIncrement = myMaximumValue/myProgressBarWidth;
    myCreateProgressPanel(myMaximumValue, myProgressBarWidth);
    var myProgressPanel = myCreateProgressPanel(myMaximumValue, myProgressBarWidth);
    myProgressPanel.show();
    for (i = 0; i < myMaximumValue; i++) {
         myProgressPanel.myProgressBar.value = i;
         myProgressPanel.myStatus.text = "Cycle number: " + i ;
         for (n = 0; n < 10000; n++) {
             myProgressPanel.mySecondaryStatus.text = "Sub cycle number: " + n;
    myProgressPanel.close();
    function myCreateProgressPanel(myMaximumValue, myProgressBarWidth){
         myProgressPanel = new Window('window', 'Progress');
         with(myProgressPanel){
             myProgressPanel.myStatus = add('statictext', [12, 12, 300, 30], 'Working ...', {alignment: "left"});
             myProgressPanel.mySecondaryStatus = add('statictext', [12, 12, 300, 30], 'Working ...', {alignment: "left"});
             myProgressPanel.myProgressBar = add('progressbar', [12, 12, myProgressBarWidth, 24], 0, myMaximumValue);
         return myProgressPanel;
    Hope this helps you
    Thomas B. Nielsen
    http://www.nobrainer.dk

  • Scripts not showing up in console

    Hi all
    I have put my folder scripts in the correct location as far as I know but I can't get any scripts to show up.
    See the screenshot below
    Any Ideas?
    Trevor

    I hope this is the last one on this topic!
    With a one line script I can use the consul easily but lets say I have something really complicated like the script below. Other than fitting it on one line how can I run it from the console?
    for (var i = 0; i < 10; i++) {
        console.println(i);
    Ctrl Enter after the } throws the following error
    SyntaxError: syntax error
    1:Console:Exec
    undefined
    Sorry for asking such pathetically basic questions

  • Forms 4.5 and Oracle 8i

    Hello,
    we want to upgrade from Oracle 7.3 to Oracle 8i and we still want to use Forms 4.5.
    Are there any known problems using Forms 4.5 and Oracle 8i? Do we need some patches or are there any other things to do?
    Thanks and greets,
    Markus

    I use Forms 4.5.7.1.7 & Oracle 8.1.7, When I Modify
    "Record Groups", I Get a Message
    | |
    | Oracle From 4.5 |
    | |
    | unhandle err in icrg 102 |
    | |
    Record Group Type : Query
    Record Group Query: Select MyPackage.STR From dual
    I Change Query to "Select SUBSTR(MyPackage.STR,1,1000) From dual"
    Forms 4.5 can recreate the record group...
    I Change Query to "Select SUBSTR(MyPackage.STR,1,1001) From dual"
    Forms 4.5 Show Error!
    On Oracle 7.3.4 Return Datatype From Functions(Package)
    is varchar2(2000), but Oracle 8.1.7 is Varchar2(4000)!
    I must change all of my Record Group?
    The return value can be a varchar2(2000)?

  • Urgent: Can MS and Oracle providers coexist?

    I need to make a quick decision, so would appreciate any definitive input on whether the Microsoft and Oracle .Net Data Providers can co-exist peacefully on the same workstations or the same server. I need to have different apps/services on the same computer access different instances of Oracle 8i, one using MS' provider, and one using Oracle's provider. We would use the newest 9i Client.
    Can anyone say whether they coexist peacefully?

    Thanks for the information, though the comment about the lack of Microsoft support for the 9i Client appears to be out of date. I just received confirmation from our Microsoft technical sales support rep and a priority support services analyst that Microsoft DOES officially support it's Managed .Net Provider for Oracle with the 9i client. The support will be limited to supported features, but all standard support services will be provided (e.g. diagnosis assistance and hot fixes). I have also received confirmation from both Microsoft (via priority support) and Oracle (via MetaLink) that the two company's providers can coexist on the same computer.
    Interestingly, the most comprehensive support for Oracle features seems to be in a third-party provider - OraDirect from Core Labs. This product would eliminate my need to use two providers to support existing and new applications. Unfortunately, my employer is too conservative to take a chance on a third party driver.

  • BODS and Oracle RAC

    Do we know of any problems with BODS and Oracle Real Application Clusters architecture? For example, a RAC TNS entry would specify one service name but multiple hosts for load balancing and failover. In BODS the connections are specified in many places (web console, datastores, job server). As far as I remember in some of those places we do have to enter the host name. Would this disqualify BODS from benefiting from RAC or would it (even worse) cause problems? Any official note by SAP on BODS and Oracle RAC?
    Thanks.

    Hi Mahir,
    As far as I know it's only the web console that requires the hostname, however I am using DS XI 3.1 and when selecting database type Oracle in the web console there is a checkbox for 'Oracle RAC'. If you check this box then you do not require to enter the hostname.

  • Problems installing TCL 7.5 and Oracle Intelligent Agent

    All
    Has anyone had any success in installing TCL 7.5 and Oracle
    Intelligent Agent? If so could you please provide a step by step
    summary of the installation process. I keep getting error
    messages when I run gmake for TCL. I commented out the lines
    specified in the instructions. Does one have to use TCL 7.5? I
    even tried to run version 8.2 and it restarted my machine while
    running gmake test. Maybe it is how I commented the lines. I
    used the # character to comment out the lines. Please help. IFve
    got everything else running I can even use Net8 and SQL plus
    from my Windows NT Client. I now need to be able to use Oracle
    Enterprise Manager, which requires TCL 7.5 and Oracle
    Intelligent Agent.
    Many thanks
    null

    Thor Erik Jelstad (guest) wrote:
    : I am using Oracle 8.0.5.0 and Red Hat 5.2/i386
    : When I try to start Oracle Intelligent Agent I receive the
    : following error message:
    : "DBSNMP: error in loading shared libraries /usr/lib/libtcl.so:
    : undefined symbol: stat"
    : I have installed TCL package 8.0.3-20.
    : Thor Erik Jelstad
    I ran into "stat" symbol issues during some builds. I don't
    recall if the subject program had to be built, but if so, adding
    "-shared" to the cc (for linking) command helps. I think the make
    variable is LDCCOM.
    -Later.
    null

  • Safari status bar disappears.  I have tried clicking on show status bar and it will only appear when I move the cursor to the top of the screen.  I can not minimize the open page only full screen or close the browser.  Any idea how the rectify this

    Safari status bar disappears. I have tried clicking on show status bar, under the View tab and it will only appear when I move the cursor to the top of the screen. I can not minimize the open page, only full screen or close the browser. Any idea how the rectify this issue?

    One enters and exits full-screen with control+command+F keys. This is on the View menu in Safari. Optionally, the green traffic light in your browser title bar, if you roll over it, has the full-screen control it it. While in full-screen mode with Safari, moving your mouse pointer virtually up, and off-screen reveals the Safari title bar again, and you can click the green traffic light to exit full-screen mode.
    You can hide/show the status bar by simply typing command+/. This too, is on the Safari View menu. and in 10.10.1 — it works reliably for me.

  • The OEM is showing the instance and listener down but they are up

    Hi,
    I'm facing one problem with my OEM. On the OS level, I checked that the listener and the instance are running. But when I put the information on the file portlist.ini adding these info on the address http of the OEM, on the browse on the Windows environment, it show me that the instance and the listerner are down.
    The instance and the listener are running on one unix machine. no problems to connect using sqlplus.
    Any idea about this?
    Thanks,
    Serg

    Sorry the delay Rob,
    follow the message that I see on the : Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Then bellow on the same window open on my browse I see that for OEM the database instance and the listener are down status. On the right side the startup botton is able.
    Any idea?
    Tks,
    Serg

  • Any script included in the system to check all major processes/status?

    Hi,
    I have ebs R12.1.1 running, and I have a question regarding to the script availability.
    For example, I can see that there are several scripts for each services controls under $INST_TOP/admin/scripts like adopmnctl.sh, concurrent manager, apps listener, web server, form server and other scripts...
    But, is there any script which lists more on system status of major services with one command?
    adopmnctl.sh shows 4 services like OC4J related and HTTP server.
    But, I expected a bit longer list. :) And I also heard there was such a script in 11i....
    Does anyone know about it?
    Thanks,
    SH

    All the scripts can be found under the same directory mentioned above by you.
    Not sure what other major processes/status you are looking, so please elaborate more.
    You may also see these docs.
    Maintaining Oracle Applications Documentation Set
    http://download.oracle.com/docs/cd/B53825_03/current/html/docset.html
    Script to find Apache, Java, JRE, Forms version for Oracle E-Business Suite R12 [ID 468311.1]
    Thanks,
    Hussein

  • My iphoto will not load, all it does when i open it is just show a blank iphoto and won't load any of my photos that were already in there.

    My iphoto will not load, all it does when i open it is just show a blank iphoto and won't load any of my photos that were already in there. Any way to fix it ?

    Remember: we cannot see your machine. There are 9 different versions of iPhoto and they run on 8 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS.  So to get help you need to give as much information as you can. Basic things like :
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For instance: 'iPhoto won't export' is best explained by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • SCCM 2012 Clients at Secondary Site don't update and shows status as INACTIVE

    I have 1 Primary site and 1 Secondary sites. I have setup Secondary site Boundaries using IP subnet.  I see that the systems from secondary
    site show in the console and they all have clients installed but however 60% of the system shows client activity as INACTIVE and not receiving any heartbeat DDR none of the system showing hardware inventory.   I am not positive
    where to look as far as logs are concerned.  I think the clients aren't receiving policy like they should.
    Just to give a brief idea, Secondary Site server crashed and we had to rebuild the server and re install secondary site after rebuilding all the
    problem. Everything is working fine in Primary site.
    Secondary site is communicating with primary site MP and DP
    I have checked MPcontrol.log it shows status as OK
    I am able to install client through console but yes when I check the configuration manager properties it shows CCM Notification Agent as DISSABLED
    and in the Action Tab Machine and User policy are the only cycles showing.
    Checked replmgr.log and rclctrl.log but it’s not showing any error
    Only log file which shows error is bgdserver.log  ( pasting log errors )
    ERROR: SQL exception when retrieve client certificate from DB. Exception: The EXECUTE permission was denied on the object 'sp_GetPublicKeyForSMSID', database 'CM_PRI',
    schema 'dbo'. -2146232060           SMS_NOTIFICATION_SERVER     05-07-2014 12:09:01               3968 (0x0F80)
    ERROR: Can't do post authentication without client certificate stored in regsitration.            SMS_NOTIFICATION_SERVER    
    05-07-2014 12:09:01                3968 (0x0F80)
    ERROR: Failed to authenticate with client [::ffff:10.5.55.88]:49623.        SMS_NOTIFICATION_SERVER     05-07-2014
    12:09:01               3968 (0x0F80)
    ERROR: SQL exception when retrieve client certificate from DB. Exception: The EXECUTE permission was denied on the object 'sp_GetPublicKeyForSMSID', database 'CM_PRI',
    schema 'dbo'. -2146232060           SMS_NOTIFICATION_SERVER     05-07-2014 12:09:01               3968 (0x0F80)
    ERROR: Can't do post authentication without client certificate stored in regsitration.            SMS_NOTIFICATION_SERVER    
    05-07-2014 12:09:01                3968 (0x0F80)
    ERROR: Failed to authenticate with client [::ffff:10.5.62.68]:49923.        SMS_NOTIFICATION_SERVER     05-07-2014
    12:09:01               3968 (0x0F80)
    ERROR: SQL exception when retrieve client certificate from DB. Exception: The EXECUTE permission was denied on the object 'sp_GetPublicKeyForSMSID', database 'CM_PRI',
    schema 'dbo'. -2146232060           SMS_NOTIFICATION_SERVER     05-07-2014 12:09:06               3968 (0x0F80)
    ERROR: Can't verify signature in message without client certificate for client SCCM GUID:B47059B1-D4E4-41A2-BC88-486A597FE399               
    SMS_NOTIFICATION_SERVER     05-07-2014 12:09:06               3968 (0x0F80)
    ERROR: Invalid hook to be decoded. Authentication                SMS_NOTIFICATION_SERVER    
    05-07-2014 12:09:06               3968 (0x0F80)
    ERROR: Failed to decode message body (<BgbSignInMessage TimeStamp="2014-07-05T06:39:01Z"><ClientType>SCCM</ClientType><ClientVersion>5.00.7804.1000</ClientVersion><ClientID>GUID:B47059B1-D4E4-41A2-BC88-486A597FE399</ClientID></BgbSignInMessage>)
    with message header
    Help me resolve this issue as I am struggling to resolve this for almost 2 weeks.
    Please let me know which logs are helpful and I'll try to add it to replies.

    Hi,
    Quote:"see that the systems from secondary site show in the console and they all have clients installed but however 60% of the system shows client activity as INACTIVE and not receiving any heartbeat DDR none of the system showing hardware inventory. "
    So not all the clients show inactive? Have you checked the logs in an inactive client? Such as ClientIDManagerStartup.log.
    Have you checked Secondary Site server's computer name from SQL logins? You could try to remove this account, wait a while, recreate the same computeraccount login with sysadmin access. (http://social.technet.microsoft.com/Forums/en-US/d5383c23-6b71-47cc-9fad-fda82a44a3aa/secondary-site-showing-inactive-clients?forum=configmanagerdeployment)
    You could use Configuration Analyzer for System Center 2012 R2 to troubleshoot issues.
    http://technet.microsoft.com/en-us/library/dn469435.aspx
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Stored procedure for getting host name, host instance and status of that host is it running or stopped.

    Hello all,
    yesterday I got one task in that I have to stored procedure for getting host name, host instance and status of that host is it running or stopped.
    any body knows where exactly, In which table this details are there in BizTalk databases.
    thanks

    Status of the host instance is not stored in the SQL database for you to query the status using stored procedure. You have to either use Powershell or WMI to get the status.
    In SQL, following table contains the details about the host like Name, LoginName, IsDisables etc but status of the host instance is not stored in the database.
    SELECT * FROM BizTalkMgmtDb..adm_HostInstance
    Powershell to get the status:
    http://axonolympus.nl/?page_id=186&post_id=969&cat_id=6&lang=en
    WMI to get the status:
    https://msdn.microsoft.com/en-us/library/aa561820.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/aa578621.aspx
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Maybe you are looking for

  • CD/DVD DRIVE NO LONGER SEEN ON LAPTOP

    Have a HP dc4223cl with a Mat**bleep**a uj840d. As of today, drive no longer seen by system. Device manager states driver is O.K. but device is not attached? Best way to find drive and re-install?? Thanks

  • SAP PI for EDI

    Hi experts, We would like to use SAP PI for creating EDI Documents, Could you let me know what are the options available other than using Seeburger.We would be mostly using this for sending invoices to external edi systems.I would appreciate your hel

  • Replacement for PhaseListener in RAP 3.0 - execute code on the UI thread

    Hello, we've used a PhaseListener to open/close a database connection for each request. The database connection is tied to the current UI thread. Do you have any suggestion how to realize this without using a phase listener in RAP 3.0? I've tried to

  • Are L2TPv3 endpoints not supported to source from VRFs?

    Hi, I have a customer that needs to tunnel serial data from remote sites to a central site. This serial data is HDLC encapsulated and the remote site has a Cisco 1921 router with HWIC4A/S. The central router is a Cisco 2951, also with HWIC4A/S. This

  • I chat user showing as offline

    Okay so I have a pretty serious issue here and I will list everything hopefully that you will need. I have a 2008 Mac book (black edition) it has the latest version of Mac OS. I am studying in Sweden right now and like to talk to my freinds and famil