Oralce on Ubuntu?
Derek Broughton
news at pointerstop.ca
Mon Oct 16 13:00:04 UTC 2006
stan wrote:
> OK, I reloaded the I386 version of the binaries, and I was able
> to apt-get install XE. Then I ran the configure script as instructed.
>
> Then I se ORACLE_HOME, and added the appropriate directory to the
> path. Now sqlplus will start, but when I try to log in to the database,
> I get an error message about the tns:name being incorectly specified.
> I seached for tnsname.ora, and it does not seem to exist. Where should I
> create this file?
>
Mine is:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/tnsnames.ora
While I've added an entry there for a client's database, it looks to me like
the base file should have been created during the install - I don't recall
creating the XE entries:
# tnsnames.ora Network Configuration File:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
--
derek
More information about the ubuntu-users
mailing list