PDA

View Full Version : [ubuntu] problem in oracle 11g on ubuntu



faizan_comsian
September 14th, 2009, 01:12 PM
oracle@faizan-laptop:~$ sqlplus '/as sysdba'

SQL*Plus: Release 11.1.0.6.0 - Production on Mon Sep 14 07:45:41 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.

ERROR:
ORA-12162: TNS:net service name is incorrectly specified


Enter user-name: oracle
Enter password:
ERROR:
ORA-12162: TNS:net service name is incorrectly specified

MORE HELP REQUIRED:
i need the url to open oracle at browser

snicklefritz
September 22nd, 2009, 04:48 PM
have you tried:

https://127.0.0.1:5500/em

oogie72
October 23rd, 2009, 01:49 AM
A ORA-12162 error, TNS related but you are not specifying any sort of TNS connection string (ex: sqlplus scott/tiger@mydb) - kind of odd

Are you using a BEQ connection? Check the ORACLE_SID environment variable - is it correctly set?

Additionally, are you using a TWO_TASK variable at all? I think that was de-supported a while ago and best make sure it is not set.

Cheers!