Re: OCI8 and Listener

From: Date: Wed, 17 Jan 2001 12:45:24 +0000
Subject: Re: OCI8 and Listener
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-5919@lists.php.net to get a copy of this message
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: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#5919) next »