---
title: "oracle listener"
author: "bnmnba"
date: "2017-07-26T10:52:34Z"
tags: []
categories: ["数据库"]
slug: "oracle-listener"
draft: false
lastmod: "2017-07-26T10:52:34Z"
id: 2386866
url: "https://bnmnba.iteye.com/blog/2386866"
---

listener.ora:（orcl在linux上区分大小写）

```
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = orcl)
      (ORACLE_HOME = E:\app\KBD004\product\11.2.0\dbhome_1)
      (SID_NAME = orcl)
    )
  )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
  )

ADR_BASE_LISTENER = E:\app\KBD004\product\11.2.0\dbhome_1\log
```