Re: Oracle databases on a server



Bobby Z. wrote:
On Feb 20, 9:00 am, p...@xxxxxxxxxxxxx wrote:
I have Oracle installation on a SUN UNIX server. I tappears that it is
running Oracle 10.2 and Solaris 8.

I want to find out how many databases are installed on this server.

Would it be true to say that all databases installed on this server
are listed in tnsnames.ora where the 'HOST' entry points to this
server?

No, these might be different *services* served by the same instance.
The first place to look at is /var/opt/oracle/oratab file, which
should list all Oracle instances on your host. If your Oracle
installation follows OFA (Optimal Flexible Architecture,) which is
usually true, count $ORACLE_BASE/admin/<dbname> directories - each
database should have its own directory under admin. Alternatively, you
can also count spfile<SID>.ora files in $ORACLE_HOME/dbs directory.

It could be that he also could have multiple versions installed - I have a couple of boxes that run some variant of 8,9 and 10 (don't ask - I have already been beating them up to get current)


On UNIX learn the 'find' command... like
find / -name init*.ora -exec ls -la {} \; 2>/dev/null

This will find all of the init.ora files and tell you when they were last modified and if there are "permission denied" errors - send them to the bit bucket.


Hth,
Vladimir M. Zakharychev
N-Networks, makers of Dynamic PSP(tm)
http://www.dynamicpsp.com
.



Relevant Pages

  • RE: Server Explorer & Databases
    ... As for the visual studio's database server explorer, ... oracle, visual studio generally use the OLD DB provider which is for Oracle ... and support of most general funcctionalitis in latest version of Oracle. ... #Server Explorer for Oracle Databases ...
    (microsoft.public.vsnet.ide)
  • Re: Server Explorer & Databases
    ... I did not know the Oracle addins, ... As for the visual studio's database server explorer, ... designer tools support for orable databases(also mentioned something about ... #Server Explorer for Oracle Databases ...
    (microsoft.public.vsnet.ide)
  • Re: Oracle Grid Control vs 8i/9i
    ... This runs on a dedicated management server. ... >>EM 9.2 can not monitor 10g databases. ... >>- can I install Oracle 10g Grid Control on the same manegement server in ... > It is an established and documented fact that Oracle 10g can't connect ...
    (comp.databases.oracle.server)
  • Fwd: Re: Oracle and FC1
    ... Subject: Re: Oracle and FC1 ... products are only certified on Red Hat Advanced or Enterprise Server ... Having said that I have managed to install all databases versions from ...
    (Fedora)
  • Upgrade 8i to 9i --- multiple oracle_base !!!!!!
    ... it's own system owning account. ... installation of BMC's SQL-Backtrack for the backups! ... completely separate from any Oracle directories. ... Shutdown and cold backup both databases. ...
    (comp.databases.oracle.server)