Hi. Stefan
the returned error is TNS-12162 TNS:service name is incorrectly specified
Cause: The connect descriptor corresponding to the service name in
TNSNAMES.ORA is incorrectly specified.
Action: Make sure there are no syntax errors in the connect descriptor.
Particularly look for unmatched parentheses or stray characters. Any error
in a
TNSNAMES.ORA file makes it unusable. See the SQL*Net V2 Administrator's
Guide.

This allways seems to be an error with PHP4 they identify an TNS error as
ORA error.
Check oracle a76999.pdf for all errors.

Try tnsping <dbname> to see if your TNSNAMES.ora is set correct.

You do NOT need to start a listener on the machine where the application
runs,
only on the server.

> Stefan Fokuhl schrieb:
> Hi,
>
> i've compiled my php modul with oci8.But I can't connect to my db. It
> tells me the error ORA-12162.  In the documentation there is no such
> error mentioned.
>
> Do I need to start to Oracle listner?
> Is tere somebody who had solved this problem in the past?
>
> Thanks
>
> Stefan
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to