Set hostname in silent install of netca?

From: jnojr <jnojr_at_yahoo.com>
Date: Fri, 11 Apr 2008 12:31:28 -0700 (PDT)
Message-ID: <414694f4-5e7c-4a1b-a101-f082f04fd143@r9g2000prd.googlegroups.com>


In the netca GUI, when going through Local Net Service Name configuration, I'm prompted for a hostname, and netca refuses to proceed without one. But there is no field for HOSTNAME in netca.rsp After filling out netca.rsp as much as I can, the tnsnames.ora it generates looks like:

# tnsnames.ora Network Configuration File: /opt/oracle/product/10.2.0/ db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)

)
)

The one created by a manual run of netca looks like:

# tnsnames.ora Network Configuration File: /opt/oracle/product/10.2.0/ db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

MY_SERVICE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = MY_HOSTNAME)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = vcas)

)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)

)
)

There is no mention of this anywhere in netca.rsp or in any documentation I've found. How do I get the silent install to work properly? I could bang up a script that will add the necessary lines to tnsnames.ora, but I'd prefer that this be done correctly by the installer. Received on Fri Apr 11 2008 - 14:31:28 CDT

Original text of this message