Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: password file question ...
sybrandb schrieb:
> steph wrote:
>>
How about this ?
oracle_at_col-fc3-02:/opt/oracle/product/10gR2/network/admin >cat listener.ora # listener.ora Network Configuration File: /opt/oracle/product/10gR2/network/admin/listener.ora # Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC = (GLOBAL_DBNAME = ORA102.world) (ORACLE_HOME = /opt/oracle/product/10gR2) (SID_NAME = ORA102) )
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = col-fc3-02)(PORT = 1521)) )
oracle_at_col-fc3-02:/opt/oracle/product/10gR2/network/admin >cat tnsnames.ora # tnsnames.ora Network Configuration File: /opt/oracle/product/10gR2/network/admin/tnsnames.ora # Generated by Oracle configuration tools.
ORA102 =
(DESCRIPTION =
(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = col-fc3-02)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ORA102.world) )
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 12 12:27:28 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining
Scoring Engine options
SQL> grant sysdba to scott;
Grant succeeded.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release
10.2.0.1.0 - Production
With the Partitioning, Oracle Label Security, OLAP and Data Mining
Scoring Engine options
oracle_at_col-fc3-02:/opt/oracle/product/10gR2/network/admin >unset ORACLE_SID
oracle_at_col-fc3-02:/opt/oracle/product/10gR2/network/admin >echo $ORACLE_SID
oracle_at_col-fc3-02:/opt/oracle/product/10gR2/network/admin >ps -ef|grep pmon oracle 27511 2100 0 12:28 pts/0 00:00:00 grep pmon oracle_at_col-fc3-02:/opt/oracle/product/10gR2/network/admin >sqlplus scott/tiger_at_ora102 as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jul 12 12:28:34 2006
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 167772160 bytes
Fixed Size 1218316 bytes Variable Size 88082676 bytes Database Buffers 75497472 bytes Redo Buffers 2973696 bytesDatabase mounted.
Maxim Received on Wed Jul 12 2006 - 05:25:52 CDT
![]() |
![]() |