Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: can not sqlnet in local server
william wrote in message <7kq5pt$1np$1_at_news6.jaring.my>...
>hi, i can not sqlnet in local server. i try to type $sqlplus
>scott/tiger_at_sales_db
>it said, tns: could not resolve service name. what is that?
Exactly what it says - the TNS name/alias (sales_db in your case) can not be resolved. IOW, Oracle has no clue how to connect to that database alias.
>how to solve it. i already start the lsnrctl. thanks
Nothing to do with the listener as the error is on the client (i.e. SQL*Plus) side and not the server (i.e. listener or db instance) side.
To fix - edit the file TNSNAMES.ORA in your ORACLE_HOME/network/admin directory and create an alias called sales_db that points to your local database.
regards,
Billy
Received on Thu Jun 24 1999 - 02:09:59 CDT
![]() |
![]() |