ORACLE, 리스너가 떴는데도...
시스템 부팅 → su - oracle → dbstart → lsnrctl start 순으로
DBMS를 시작하고 sqlplus로 계정을 들어가려니까 오류가 뜹니다.
$ su - oracle$ dbstart
Oracle Server Manager Release 3.1.5.0.0 - Production
(c) Copyright 1997, Oracle Corporation. All Rights Reserved.
Oracle8i Release 8.1.5.0.0 - Production
With the Java option
PL/SQL Release 8.1.5.0.0 - ProductionSVRMGR> Connected.
SVRMGR> ORACLE instance started.
Total System Global Area 71998864 bytes
Fixed Size 64912 bytes
Variable Size 54984704 bytes
Database Buffers 16777216 bytes
Redo Buffers 172032 bytes
Database mounted.
Database opened.
SVRMGR>
Server Manager complete.Database "ORCL" warm started.
$ lsnrctl start
LSNRCTL for Linux: Version 8.1.5.0.0 - Production on 11-MAR-03 11:13:47
(c) Copyright 1998 Oracle Corporation. All rights reserved.
Starting /home/oracle/app/oracle/product/8.1.5/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 8.1.5.0.0 - Production
System parameter file is /home/oracle/app/oracle/product/8.1.5/network/admin/listener.ora
Log messages written to /home/oracle/app/oracle/product/8.1.5/network/log/listener.log
Listening on: (ADDRESS=(PROTOCOL=IPC)(KEY=ORCL))
Listening on: (ADDRESS=(PROTOCOL=IPC)(KEY=PNPKEY))
Listening on: (ADDRESS=(PROTOCOL=TCP)(Host=dev.mydomain.pe.kr)(Port=1521))Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=ORCL))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 8.1.5.0.0 - Production
Start Date 11-MAR-03 11:13:47
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File /home/oracle/app/oracle/product/8.1.5/network/admin/listener.ora
Listener Log File /home/oracle/app/oracle/product/8.1.5/network/log/listener.log
Services Summary...
ORCL has 1 service handler(s)
extproc has 1 service handler(s)
The command completed successfully$ netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:1521 *:* LISTEN
tcp 0 0 *:1205 *:* LISTEN
tcp 0 0 *:4001 *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:cvspserver *:* LISTEN
tcp 0 0 *:auth *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
raw 0 0 *:icmp *:* 7
raw 0 0 *:tcp *:* 7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 1 [ ] STREAM CONNECTED 25130 @00000028
unix 0 [ ACC ] STREAM LISTENING 25115 /var/tmp/.oracle/s#17648.1
unix 0 [ ACC ] STREAM LISTENING 25117 /var/tmp/.oracle/sPNPKEY
unix 0 [ ACC ] STREAM LISTENING 428 /tmp/.font-unix/fs-1
unix 0 [ ACC ] STREAM LISTENING 390 /dev/gpmctl
unix 0 [ ACC ] STREAM LISTENING 25113 /var/tmp/.oracle/sORCL
unix 0 [ ] DGRAM 22442 /dev/log
unix 0 [ ] STREAM CONNECTED 126 @00000015
unix 1 [ ] STREAM CONNECTED 25131 /var/tmp/.oracle/sPNPKEY
unix 0 [ ] DGRAM 443
unix 0 [ ] DGRAM 406
unix 0 [ ] DGRAM 392
unix 0 [ ] DGRAM 318$ sqlplus username/passwd@ORCL
SQL*Plus: Release 8.1.5.0.0 - Production on Tue Mar 11 11:16:56 2003
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ERROR:
ORA-12541: TNS:no listenerEnter user-name: _
ㅡ_-)
Listening on:
리스너 파일의 아래부분
Listening on: (ADDRESS=(PROTOCOL=TCP)(Host=dev.mydomain.pe.kr)(Port=1521))
dev.mydomain.pe.kr 부분에 host ip address 입력하고 저장한후
리스너 죽인후(lsnrctl stop)
다시 스타트(lsnrctl start)
결과는 리스너가 아래와 같이 되어야 함
tcp 0 0 ip address*:1521 *:* LISTEN
리스너의 상태확인 하시고( netstat /
sqlplus id/passwd 하시면 되요
오오오오 ㅠ.ㅠ;!~ 감사합니다... * 100
Oracle 8i Listener 갑자기 죽어서 장애밝생해서 쫄았는되
나와 있는되로 작업을 하니 살아났습니다.
정말 감사 합니다.... ^0^/;!~
아나 그런되 장애보고서 써야 하자나 젠장 ㅠ.ㅠ;;
왜 갑자기 죽고 그랭 ㅠ.ㅠ;;
----------------------------------------
밥은 먹고 다니냥?
deuxksy@gmail.com
www.zzizily.com
----------------------------------------
밥은 먹고 다니냥?
deuxksy@gmail.com
www.zzizily.com
댓글 달기