Re: How to add an entry to TNSNAMES.ORA?



you dont need to reboot when you add any entry to the tnsnames.ora,
just check tnsname via tnsping in the command promt

tnsping test1_10.121.34.56

"A. Farber" <Alexander.Farber@xxxxxxxxx> wrote in message
news:1652e95d-33c9-4eca-a9b4-b4fb366ce215@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

if I add the following entry to the TNSNAMES.ORA:

test1_10.121.34.56 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.121.34.56)(PORT = 1521))
)
(CONNECT_DATA =
(SID = test1)
(SERVER = DEDICATED)
)
)

how could I activate it please without rebooting.

I'm using Oracle 9i Release 9.2.0.8.0 at CentOS 4.7
Linux machine (which is compatible to RHEL 4.7).

Also I wonder what are the commands to startup
and shutdown Oracle, the installation CD hasn't
created the /etc/init.d/oracle script for some reason.
Currently I have to "lsnrctl start" and then set ORACLE_SID
and sqlplus as sysdba to startup every instance.

Thank you
Alex


.



Relevant Pages

  • Re: Whats a quick simple way to test Oracle connectivity between client and database server?
    ... Try the tnsping utility: tnsping service_name ... The utility sends a message to listener specified by the tnsnames.ora ... On your client machine - in the tnsnames.ora file - you must have an entry ...
    (comp.databases.oracle.misc)
  • Re: SBS 2K3 reboots at noon everyday
    ... reboots the server, and the permission issue was apparently crashing the ... it is the System Event Log entry to which I am refering. ... > events and save the files, it uses the System account. ... it does not reboot at noon now. ...
    (microsoft.public.windows.server.sbs)
  • Re: Daily security report oddity...
    ... it up - that's my bad, but that's not the puzzling part. ... perhaps can I force the entry of the year into the date field for the ... If you look at the syntax of the logfile, you will see no year is listed. ... security patches for the OS will at some point mandate a reboot - and ...
    (freebsd-questions)
  • Re: Innocent Virgins
    ... Looked in the startup folder & remove program if found ... empty the recycle bin and reboot ... When I rebooted I had a porn window on my desktop, ... > entry in the registry, ...
    (microsoft.public.security)
  • Re: Whats a quick simple way to test Oracle connectivity between client and database server?
    ... Try the tnsping utility: tnsping service_name ... Is service_name a placeholder for something or do I literally type ... On your client machine - in the tnsnames.ora file - you must have an entry   ...
    (comp.databases.oracle.misc)