473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

PHP/Oracle Error

PHP Warning: ocilogon(): _oci_open_server: Error while trying to retrieve
text for error ORA-12154

Anyone get this error before?
Jul 17 '05 #1
7 5148
In article <0x****************@news.uswest.net>, pd*****@comcast.net
says...
PHP Warning: ocilogon(): _oci_open_server: Error while trying to retrieve
text for error ORA-12154

Anyone get this error before?


Oracle client being used by PHP's OCI library unable to resolve database
name and thus make a connection to database. Probably an error between
the DbName you are passing in your OCILogon script and your tnsnames.ora
file.

Geoff M
Jul 17 '05 #2
Thanks.

You think it's ok to run php w/ oracle in a production environment?
"gmuldoon" <gm*************@scu.edu.au> wrote in message
news:MP************************@news.asgard.net.au ...
In article <0x****************@news.uswest.net>, pd*****@comcast.net
says...
PHP Warning: ocilogon(): _oci_open_server: Error while trying to retrieve text for error ORA-12154

Anyone get this error before?


Oracle client being used by PHP's OCI library unable to resolve database
name and thus make a connection to database. Probably an error between
the DbName you are passing in your OCILogon script and your tnsnames.ora
file.

Geoff M

Jul 17 '05 #3
pd*****@comcast.net says...
You think it's ok to run php w/ oracle in a production environment?


Why not?

Currently running here:
Apache 1.3.26 + PHP 4.0.6 on a Tru64 UNIX web server querying Oracle
8.1.7.4 on a separate Tru64 UNIX database server behind a firewall.
Overdue on a couple of version upgrades.

Moving off the web server off Tru64 soon to a Linux cluster attached to
an EMC SAN, database server either going to Linux or Sun. Staying with
Apache + PHP for now, but investigating Tomcat + Java as one possible
alternative. Won't be moving off Oracle, integrated with other
enterprise systems.

Geoff M
Jul 17 '05 #4
"Philip D Heady" <pd*****@comcast.net> schrieb:
You think it's ok to run php w/ oracle in a production environment?


I do and I'm dealing with millions of records for a german lottery.

Regards,
Matthias
Jul 17 '05 #5
Ok. We've been using Oracle9i here at work w/ all custom Perl code. And I'm
recommending to start switching over to PHP cause it's just more efficient
and faster.

"Matthias Esken" <mu******************@usenetverwaltung.org> wrote in
message news:c0**********@usenet.esken.de...
"Philip D Heady" <pd*****@comcast.net> schrieb:
You think it's ok to run php w/ oracle in a production environment?


I do and I'm dealing with millions of records for a german lottery.

Regards,
Matthias

Jul 17 '05 #6
pd*****@comcast.net says...
Ok. We've been using Oracle9i here at work w/ all custom Perl code. And I'm
recommending to start switching over to PHP cause it's just more efficient
and faster.


More efficient and faster in terms of development - almost certainly.

More efficient and faster in terms of execution - maybe, maybe not,
dependent on lots of thing.

Geoff M
Jul 17 '05 #7
"Philip D Heady" <pd*****@comcast.net> wrote in message news:<0x****************@news.uswest.net>...
PHP Warning: ocilogon(): _oci_open_server: Error while trying to retrieve
text for error ORA-12154

Anyone get this error before?


It means (i) You got ORA-12154 (ii) The web server environment doesn't
have ORACLE_HOME set, so the Oracle process can't find the message
file to give you the correct text for the error.

A web search will bring up lots of disscussion on the error. Also see
http://otn.oracle.com/tech/opensourc...q.html#connect

-- CJ
Jul 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Jan Bols | last post by:
I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for days, but I'm still not able to get it running. I've tried several install instructions that I found on the internet but no...
7
by: Cherrish Vaidiyan | last post by:
hello, I am been getting mad with so many doubts and errors.. I have posted some doubts,test cases regarding listener,replication and standby database.But i havent got any response..(I am...
0
by: JWM | last post by:
I am trying to implement Oracle connection pooling for the following code, which was written by someone else. Here is my main question -- this java file creates code that is executed every hour,...
3
by: David Gray | last post by:
Hello all, Having problems connecting to an Oracle 9i database from within SQL/Server 2000 using the Security/Linked Servers feature. Server1 (SQL/Server) ----------- Windows Server 2003,...
1
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this...
13
by: Chris Botha | last post by:
The machine is running XP Pro with all the latest service packs, etc. I must access an Oracle database so I installed the Oracle client stuff. I can query Oracle from a Windows app, no problem....
5
by: petro | last post by:
Hello all, My asp.net web application works on my machine but I get the following error on our test web server, There is only one oracle home on the test server. Does anyone know how to resolve...
4
by: BookerW | last post by:
I am not sure which forum I should post this on, but here is the problem. I have a front end web application(VB) on asp,net 1.1 framework. Inside of the code, I have the following lines to...
5
by: Michael Rudolph | last post by:
Hi newsgroup, I have an issue with the configuration of a DB2 federated database (WebSphere Information Integrator) in conjunction with the relational wrapper for Oracle on AIX. DB2 seems to not...
5
by: Martin Solveig | last post by:
Hello, SLES9 SP1 is on PIII with two 800MHz procesors and 2GB RAM, on four SATA 156GBhard disks are created two RAID1 arays, on one RAID is OS with 1GB swap and Oracle 10.1.0.4 enterprise edition,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.