• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 761
  • Last Modified:

modifing oracle 7.3.4 listerner install on solaris 7

hello expert,

I running oracle 7.3.4 on solaris 7 platform.

I have a one listener that service two database host on the solaris server

(sid name har701 and nbs701)

The databse with sid_name har701 is no longer need as this was a test database

that has been transfer to another server

HOW can in modify the listener to remove the entries pertaining to har701 database.

Also i know with oracle 9i you can use oracle net manager graphical tool to

create delete and modify a listener service , are they any such tools for

oracle 7.3.4.

below is copy of the listener.ora file
 
solaris server.



foredba>cat listener.ora
LISTENER =
  (ADDRESS_LIST =
        (ADDRESS =
          (PROTOCOL = TCP)
          (HOST = nbssun-svr)
          (PORT = 1521)
        )
  )
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = har701)
      (ORACLE_HOME = /applics/oraclev732)
    )
    (SID_DESC =
      (SID_NAME = nbs701)
      (ORACLE_HOME = /applics/oraclev732)
    )
  )
TRACE_LEVEL_LISTENER = OFF
REMOTE_DBA_OPS_ALLOWED = (nbs701)
0
jomfra
Asked:
jomfra
  • 2
  • 2
1 Solution
 
slightwv (䄆 Netminder) Commented:
copy the original file for a backup.  Just edit it with vi and remove the other instance.   You just need to be careful because Oracle likes things in the correct places.   Even spaces.

This should work (I hope):
-----------------------------------------
LISTENER =
  (ADDRESS_LIST =
        (ADDRESS =
          (PROTOCOL = TCP)
          (HOST = nbssun-svr)
          (PORT = 1521)
        )
  )
SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = nbs701)
      (ORACLE_HOME = /applics/oraclev732)
    )
  )
TRACE_LEVEL_LISTENER = OFF
REMOTE_DBA_OPS_ALLOWED = (nbs701)
0
 
jomfraAuthor Commented:
HELLO expert,

do i have to stop the listener to effect change?
0
 
slightwv (䄆 Netminder) Commented:
You don't need to stop the listener to edit the file.  After you edit the file, you will need to stop/start the listener for it to take effect.
0
 
jomfraAuthor Commented:
hello expert,

thanks
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now