Re: cannot connect as sys
Quote:
Originally posted by diwakar
When I do it through telnet, I get the same error:
SQL> connect dcbl/dcbl@dcbl
ERROR:
ORA-12154: TNS:could not resolve service name
Warning: You are no longer connected to ORACLE.
When you telnet to the box hosting the database, you need not give the connect string (provided you have only one service on the box).
Just give...
connect dcbl/dcbl
HTH.
Check your client connect string !
Diwakar,
Through telnet getting connected to an idle instance via SYS means, your DB is not started yet. Pls check if the connect string 'dbcl' in the client is pointing to the right database. If the instance has not been started, you can in no way get connected from a client as connect dcbl/dcbl@dcbl
- Nandu
Connect as SYS user- possible without PWD??
Dear Gnanraj,
Your idea has finally paid off. Oracle dosent even verify the password that we give for SYS.
But right now I have a different kind of a problem (opposite to the one that I faced before). In one of the database, Iam able to connect as sys user with SYSDBA privs even though that user is not even in the group DBA ( I checked the group the user is assigned to with the ID command).
SUN OS 5.8
Oracle 9.0.1
Looking forward to hear further from you in this regard.
I have posted this as a seperate thread in this forum.
K.Diwakar