Re: [URGENTE]Error ORA-24327 Conectando php con oracle
| From: | Federico PACO | Date: | Wed, 17 Apr 2002 14:30:34 +0000 |
| Subject: | Re: [URGENTE]Error ORA-24327 Conectando php con oracle | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-21554@lists.php.net to get a copy of this message | ||
Quizas esto sirva
Problem Description
-------------------
Your environment is iAS 1.0.1 on WinNT or iAS 1.0.2 on
UNIX. You use Oracle Database Cache (iCache) and you want
to connect to the database, for example:
sqlplus username/password@connect_string. You can get
ORA-24327: need explicit attach before authenticating a user
error mesage or the next error messages:
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-24324: service handle not initialized
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
ORA-24323: value not allowed
SP2-0614: Server version too low for this feature
ORA-24324: service handle not initialized
ORA-24323: value not allowed
Connected to:
Cannot obtain ORACLE version number
Error messages are depending on your username. SYSTEM, SYS and unknown
database user get ORA-24327 error message and normal user get ORA-24324,...
error messages. Your Database Cache is up and there is a listener to this
database.
If there is a listener to Database Cache but cache database is down you will
get "ORA-24327: need explicit attach before authenticating a user"
error message on UNIX. You will get this error message on WinNT if cache
database
is down but the Database Cache service is running.
You use Oracle Database Cache (iCache) and you set ORA_OCI_CACHE environment
variable to 1. If you unset ORA_OCI_CACHE environment variable then you get
ORA-12154: TNS:could not resolve service name
(If there is not listener to Database Cache you will get
ORA-12154: TNS:could not resolve service name.)
Solution Description
--------------------
Check your connect_string and tnsnames.ora file. If you unset ORA_OCI_CACHE
environment variable and you get
ORA-12154: TNS:could not resolve service name
error message then your connect string is wrong.
Explanation
-----------
When you set ORA_OCI_CACHE environment variable to 1 then your client,
for example sql*plus, wants to connect to the cache database and to
the original database, too. If your application cannot connect to the
original
database but can connect to the cache database, you get the above error
messages (ORA-24327 or ORA-24324).
A possible reason why ORA-24327 or ORA-24324 appear - for example -
that sqlnet.ora file is not used due to Bug 1469303 and therefore your
connect
string is invalid (cannot be resolved without sqlnet.ora).
----- Original Message -----
From: "Albérica García" <alberica@canaryweb.es>
To: <lista@phpes.com>
Sent: Wednesday, April 17, 2002 10:14 AM
Subject: [PHP-ES] [URGENTE]Error ORA-24327 Conectando php con oracle
Hola a tod@s,
Espero que alguien me pueda ayudar porque la verdad es que me corre un
poco de prisa....
Tengo una máquina con lo siguiente APACHE + PHP + ORACLE y algunas veces
me da este error el ORA-24327 al intentar conectarse a la base de
datos.... a alguien le ha pasado lo mismo??? me podría alguien decir por
donde empiezo a buscar el bug???
Gracias de antemano....
A+