- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- checking databases are running
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:08 PM
07-12-2005 11:08 PM
checking databases are running
is it simply a matter of doing:
ps -ef | grep pmon
& checking that the databases are there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:18 PM
07-12-2005 11:18 PM
Re: checking databases are running
ps -ef | grep pmon will grep for
pmon_xxx
pmon_yyy, so you can do it as follows.
UNIX95= ps -C"pmon"
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:28 PM
07-12-2005 11:28 PM
Re: checking databases are running
Should be in the /app/oracle/product/
Example:
/app/oracle/product/9.2.0/bin/tnsping mydb
TNS Ping Utility for HPUX: Version 9.2.0.4.0 - Production on 13-JUL-2005 07:28:03
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/app/oracle/admin/network/sqlnet.ora
Used ONAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=prdbf)(PORT=1527))(CONNECT_DATA=(SID=prd)(SERVER=DEDICATED)))
OK (10 msec)
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2005 11:33 PM
07-12-2005 11:33 PM
Re: checking databases are running
you should check the following:
1. the listener is still up
e.g. lsnrctl status
2. can connect to the database
e.g. sqlplus scott/tiger
with the appropriate script, you can be dead sure that your database is up and accessible.
if you need further help, let us know
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 12:08 AM
07-13-2005 12:08 AM
Re: checking databases are running
Make sure the listener is up
Connect to the database and do a simple SELECT statement.
e.g SQL> select * from dba_users;
If you get a return from this SELECT you are talking to the database.
This is for Oracle.
If all comes back OK, you have a running database