Вы находитесь на странице: 1из 3

ILDB2:/home/oracle/scr>echo $ORACLE_HOME

/oracle/app/product/10g
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>echo $ORACLE_SID
ILDB2
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Fri May 13 16:07:41 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to an idle instance.
SQL>
SQL>
SQL>
SQL>
SQL> startup
ORACLE instance started.
Total System Global Area 1258291200 bytes
Fixed Size 2083728 bytes
Variable Size 486540400 bytes
Database Buffers 754974720 bytes
Redo Buffers 14692352 bytes
Database mounted.
Database opened.
SQL>
SQL>
SQL>
SQL>
SQL>
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>ps -ef | grep -i tns
oracle 946260 1032358 0 16:08:14 pts/0 0:00 grep -i tns
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>lsnrctl
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 13-MAY-
2011 16:08:31
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> exit
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>
ILDB2:/home/oracle/scr>cd $ORACLE_HOME
ILDB2:/oracle/app/product/10g>cd net
ksh: net: not found.
ILDB2:/oracle/app/product/10g>*
ksh: CPUAPR2009: 0403-006 Execute permission denied.
ILDB2:/oracle/app/product/10g>cd net*
ILDB2:/oracle/app/product/10g/network>cd ad
ksh: ad: not found.
ILDB2:/oracle/app/product/10g/network>cd ad*
ILDB2:/oracle/app/product/10g/network/admin>ls -rt
shrept.lst libnrad10.imp libnrad10.exp libnk510.imp samples liste
ner.bak listener.ora tnsnames.ora
ILDB2:/oracle/app/product/10g/network/admin>ls -lrt
total 32
-rw-r----- 1 oracle dba 172 Dec 26 2003 shrept.lst
-rw-r----- 1 oracle dba 0 Aug 14 2005 libnrad10.imp
-rw-r----- 1 oracle dba 0 Aug 14 2005 libnrad10.exp
-rw-r----- 1 oracle dba 0 Aug 14 2005 libnk510.imp
drwxr-x--- 2 oracle dba 256 Jan 19 2009 samples
-rw-r----- 1 oracle dba 480 Jan 21 2009 listener.bak
-rw-r----- 1 oracle dba 734 Jan 23 2009 listener.ora
-rw-r----- 1 oracle dba 2073 Apr 25 14:20 tnsnames.ora
ILDB2:/oracle/app/product/10g/network/admin>cat listener.ora
# listener.ora Network Configuration File: /oracle/app/product/10g/network/admin
/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/product/10g)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ILDB2)
(ORACLE_HOME = /oracle/app/product/10g)
(SID_NAME = ILDB2)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = SVHJ0180)(PORT = 1527))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)

#----ADDED BY TNSLSNR 21-JAN-2009 16:41:17---


PASSWORDS_LISTENER = CE036DC57E140F58
#--------------------------------------------
ILDB2:/oracle/app/product/10g/network/admin>lsnrctl start
LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 13-MAY-
2011 16:09:15
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /oracle/app/product/10g/bin/tnslsnr: please wait...
TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production
System parameter file is /oracle/app/product/10g/network/admin/listener.ora
Log messages written to /oracle/app/product/10g/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=boot1_SVHJ0180)(PORT=152
7)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=SVHJ0180)(PORT=1527)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for IBM/AIX RISC System/6000: Version 10.2.0.4
.0 - Production
Start Date 13-MAY-2011 16:09:15
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Password or Local OS Authentication
SNMP ON
Listener Parameter File /oracle/app/product/10g/network/admin/listener.ora
Listener Log File /oracle/app/product/10g/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=boot1_SVHJ0180)(PORT=1527)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "ILDB2" has 1 instance(s).
Instance "ILDB2", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

Вам также может понравиться