<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: checking databases are running in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581474#M832689</link>
    <description>ps -ef will suffice in this case. A better way would be checking with exact program names to avoid grep errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep pmon will grep for&lt;BR /&gt;&lt;BR /&gt;pmon_xxx&lt;BR /&gt;pmon_yyy, so you can do it as follows.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -C"pmon"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Wed, 13 Jul 2005 06:18:19 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-07-13T06:18:19Z</dc:date>
    <item>
      <title>checking databases are running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581473#M832688</link>
      <description>is a disk array is rebooted....and you want to check that all the databases on the server are working fine once the disk array is up... &lt;BR /&gt;&lt;BR /&gt;is it simply a matter of doing:&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep pmon  &lt;BR /&gt;&lt;BR /&gt;&amp;amp; checking that the databases are there?</description>
      <pubDate>Wed, 13 Jul 2005 06:08:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581473#M832688</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-07-13T06:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: checking databases are running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581474#M832689</link>
      <description>ps -ef will suffice in this case. A better way would be checking with exact program names to avoid grep errors.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep pmon will grep for&lt;BR /&gt;&lt;BR /&gt;pmon_xxx&lt;BR /&gt;pmon_yyy, so you can do it as follows.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -C"pmon"&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 13 Jul 2005 06:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581474#M832689</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-07-13T06:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: checking databases are running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581475#M832690</link>
      <description>tnsping would do it for you...&lt;BR /&gt;&lt;BR /&gt;Should be in the /app/oracle/product/&lt;VERSION&gt;/bin/ dir...&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;/app/oracle/product/9.2.0/bin/tnsping mydb&lt;BR /&gt;&lt;BR /&gt;TNS Ping Utility for HPUX: Version 9.2.0.4.0 - Production on 13-JUL-2005 07:28:03&lt;BR /&gt;&lt;BR /&gt;Copyright (c) 1997 Oracle Corporation.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;Used parameter files:&lt;BR /&gt;/app/oracle/admin/network/sqlnet.ora&lt;BR /&gt;&lt;BR /&gt;Used ONAMES adapter to resolve the alias&lt;BR /&gt;Attempting to contact (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=prdbf)(PORT=1527))(CONNECT_DATA=(SID=prd)(SERVER=DEDICATED)))&lt;BR /&gt;OK (10 msec)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;/VERSION&gt;</description>
      <pubDate>Wed, 13 Jul 2005 06:28:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581475#M832690</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-07-13T06:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: checking databases are running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581476#M832691</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you should check the following:&lt;BR /&gt;1. the listener is still up&lt;BR /&gt;  e.g. lsnrctl status&lt;BR /&gt;2. can connect to the database&lt;BR /&gt;  e.g. sqlplus scott/tiger&lt;BR /&gt;&lt;BR /&gt;with the appropriate script, you can be dead sure that your database is up and accessible.&lt;BR /&gt;&lt;BR /&gt;if you need further help, let us know&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Wed, 13 Jul 2005 06:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581476#M832691</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-07-13T06:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: checking databases are running</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581477#M832692</link>
      <description>Check for the pmon processes&lt;BR /&gt;Make sure the listener is up&lt;BR /&gt;Connect to the database and do a simple SELECT statement.&lt;BR /&gt;&lt;BR /&gt;e.g SQL&amp;gt; select * from dba_users;&lt;BR /&gt;&lt;BR /&gt;If you get a return from this SELECT you are talking to the database.&lt;BR /&gt;&lt;BR /&gt;This is for Oracle.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If all comes back OK, you have a running database&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2005 07:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-databases-are-running/m-p/3581477#M832692</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-07-13T07:08:34Z</dc:date>
    </item>
  </channel>
</rss>

