database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Q&A 1314 게시물 읽기
No. 1314
tnsname , listener 설정
작성자
이재인
작성일
2000-08-14 12:36
조회수
10,583

밑의 에러메세지를 보시고 좀 도와주세요.....

클라이언트에는 Oracle Client 프로그램을..

서버에는 물론 Oracle 8i를 깔았구...

원격으로 엑세스를 하려그러는데......

스크립트가 잘못되었는지 잘안되는군여....

 

*****서버쪽에서******

(물론 서버매니저에서 인스턴스를 시작하고)

 

1.$ lnsrctl start

하면 listener.ora에 있지도않은 프로토콜로 접속이되긴합니다..

2.$ lnsrctl start ROOT (ROOT는 listener.ora에 있는 Alias이름)

하면 에러가 뜹니다

밑에 listener.ora의 내용과 에러내용이 자세히(?) 있습니다...

 

*****클라이언트쪽에서******

 

1.$ tnsping 190.5.12.123

하면 잘됩니다(과연 잘되는건지 모르겠습니다)

2.$ tnsping ROOT (ROOT는 tnsnames.ora에 있는 Alias 이름)

하면 안됩니다...

 

이것도 역시

밑에 tnsnames.ora의 내용과 에러내용이 자세히(?) 있습니다...

 

 

도와 주세요...

 

 

=============================================================

클라이언트에서의 메세지들...

=============================================================

 

 

*********** tnsnames.ora 파일내용 ***********

 

 

ROOT = #설정할 sql*net alis 이름

(DESCRIPTION =

(ADDRESS = (PROTOCOL= TCP)(Host= 190.5.12.123)(Port= 1521))

(GLOBAL_DBNAME= DBROOT)

(SID = ORCL)

)

 

 

*********** tnsping 190.5.12.123 했을때의 내용 ***********

 

 

TNS Ping Utility for Linux: Version 8.1.5.0.0 - Production on 14-AUG-00 12:02:22

 

(c) Copyright 1997 Oracle Corporation. All rights reserved.

 

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=190.5.12.123)(PORT=1521))

OK (0 msec)

 

 

*********** tnsping ROOT 했을때의 내용 ***********

 

 

TNS Ping Utility for Linux: Version 8.1.5.0.0 - Production on 14-AUG-00 12:11:53

 

(c) Copyright 1997 Oracle Corporation. All rights reserved.

 

TNS-03505: Failed to resolve name

 

 

 

=============================================================

서버에서의 메세지들...

=============================================================

 

 

*********** listener.ora 파일내용 ***********

 

 

#1.listener.ora

# Filename: Listener.ora

 

ROOT =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS= (PROTOCOL= TCP)(Host=190.5.12.123)(Port= 1521))

#HOST= 에다가 자신의 컴이름이나 IP를 적는다.

)

)

)

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(GLOBAL_DBNAME= DBROOT)

(ORACLE_HOME= /DB1)

(SID_NAME = ORCL)

)

)

 

 

STARTUP_WAIT_TIME_LISTENER = 0

CONNECT_TIMEOUT_LISTENER = 10

TRACE_LEVEL_LISTENER = OFF

 

 

*********** listener start 했을때의 내용 ***********

 

 

LSNRCTL for Linux: Version 8.1.5.0.0 - Production on 14-AUG-00 11:57:53

 

(c) Copyright 1998 Oracle Corporation. All rights reserved.

 

Starting /DB1/bin/tnslsnr: please wait...

 

TNSLSNR for Linux: Version 8.1.5.0.0 - Production

System parameter file is /DB1/network/admin/listener.ora

Log messages written to /DB1/network/log/listener.log

Listening on: (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))

Listening on: (ADDRESS=(PROTOCOL=tcp)(PORT=1521))

 

Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))

STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for Linux: Version 8.1.5.0.0 - Production

Start Date 14-AUG-00 11:57:53

Uptime 0 days 0 hr. 0 min. 0 sec

Trace Level off

Security OFF

SNMP OFF

Listener Parameter File /DB1/network/admin/listener.ora

Listener Log File /DB1/network/log/listener.log

The listener supports no services

The command completed successfully

 

 

*********** listener start ROOT 했을때의 내용 ***********

 

 

LSNRCTL for Linux: Version 8.1.5.0.0 - Production on 14-AUG-00 11:58:09

 

(c) Copyright 1998 Oracle Corporation. All rights reserved.

 

Starting /DB1/bin/tnslsnr: please wait...

 

TNSLSNR for Linux: Version 8.1.5.0.0 - Production

System parameter file is /DB1/network/admin/listener.ora

Log messages written to /DB1/network/log/root.log

TNS-01152: All addresses specified for the listener name, ROOT, failed

[Top]
No.
제목
작성자
작성일
조회
1322오라클 ... 권한설정
이동한
2000-08-14
10330
1318흠..리눅스용 라이브러리가 프비에 깔리거든여..
김정욱
2000-08-14
10121
1321┕>Re: 흠..리눅스용 라이브러리가 프비에 깔리거든여..
소몰이
2000-08-14 16:21:31
11058
1315[질문]오라클에서 날짜검색?
zeus
2000-08-14
10451
1319┕>Re: [질문]오라클에서 날짜검색?
신형륜
2000-08-14 15:13:09
11085
1314tnsname , listener 설정
이재인
2000-08-14
10583
1316┕>Re: tnsname , listener 설정
소몰이
2000-08-14 13:40:06
11853
1317 ┕>Re: Re: tnsname , listener 설정
이재인
2000-08-14 14:07:14
10902
1320  ┕>Re: Re: Re: tnsname , listener 설정
소몰이
2000-08-14 16:11:53
11651
1312[질문]오라클 8i설치시 "SIGSEGV received at bfbfebd..."같은 에라는?
김정욱
2000-08-14
16189
1313┕>Re: [질문]오라클 8i설치시
소몰이
2000-08-14 11:03:34
10699
1998┕>Re: [질문]오라클 8i설치시
김윤규
2000-11-09 16:54:20
8353
1311php+apache+oracle 연동
이용삼
2000-08-12
13949
1306간단한 에러같은데요!
이동한
2000-08-12
10563
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.023초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다