Oracle php connectivity

HI,
I already told about my pblm. Another one issue is oracle is in one login which is not root. But apache ,php is in root login. Whether these things cause errors.

no, they don't cause problems.

Similar Messages

  • ORACLE-PHP CONNECTION

    I'm looking for the right syntax to connect php 5 to oracle 9i and the right php configuration. I enabled the php_oci8.dll extension in the php.ini file and I copied the php5ts.dll into the Windows System folder. Could you suggest me ?Thanks!!

    cool, a PHP question in a java forum. How lost are you?

  • ORA- 12154 Error: while php connect to oracle?

    While I use OCILogon connect to Oracle9i,show error message as follow:
    Warning: ociopen_server: Error while trying to retrieve text for error ORA-12154 in /var/www/html/inc/sev.inc.php on line 57
    most of people think of its tnsname' problem,but I modify my tnsnames.ora,and sqlplus can connect with correct username and password.
    page source as follow:
    <?
    function db_connect()
    //putenv("ORACLE_SID=test");
    //putenv("NLS_LANG=SIMPLIFIED CHINESE.ZHS16CGB231280");
    putenv("ORACLE_HOME=/home/oracle/OraHome1");
    $connect = OCILogon("system","manager","test");
    if ($connect)
    return $connect;
    else
    return -1;
    ?>
    server Env: linux red hat 8.0,apache 2.0.44,php4.3.1,oracle9.2.0
    please! Thank in advance!

    Do you have more than ONE oracle homes created?
    Does your PATH env. variable correctly references the ORACLE_HOME directory?

  • PHP connections  using "zend" generates information on database logs

    Hi
    A customer has detected a strange issue on his database with PHP connections.
    Lots of messages like next are reported on the shared server logs:
    *** TRACE DUMP CONTINUES IN FILE /oradata/oraaa002/admin/bdump/oraaa002_s001_24956.trc ***
    Dump file /oradata/oraaa002/admin/bdump/oraaa002_s001_24956.trc
    *** TRACE DUMP CONTINUED FROM FILE /oradata/oraaa002/admin/bdump/oraaa002_s001_24956.trc ***
    This is a problem as the files grown and grown until the filesystem is full.
    After a lot of testing they have confirmed that these messages are generated by the connections from application connected to database using zend. Other applications using PHP without zend doesn't generate these messages.
    Do you hear about similar issues?
    Do you know about any difference on connections which could generate this behaviour?
    Is there any kind of certification?
    - The database is 10.2.0.5
    - oracle oci8 used = 1.4.5
    - PHP is 5.2.14 64bits.
    Thanks in advance
    Mercedes

    Sorry for the delay
    I was not able to work on this issue again until now.
    Yes, the non-Zend PHP applications also connect to oracle database but they don't generate this information.
    I work on Oracle Support but rhere isn't any information about this problem on our knowledge database and unfortunately there is few information about Zend connection. I have open this thread to know if anyone could help us to know the differences between this connections which could help us to identify the cause.
    what is the difference between these connections?
    Thanks
       Mercedes

  • Error while creating Oracle DB connection in Endeca Intergrator 3.1

    Hi All,
    I am facing an issue while creating a new Oracle DB connection using Inegtator in 3.1 version.
    I get the following exception:
    loader constraint violation in interface itable initialization: when resolving method "oracle.jdbc.OracleConnectionWrapper.setWrapper(Loracle/jdbc/OracleConnection;)V" the class loader (instance of org/jetel/util/classloader/GreedyURLClassLoader) of the current class, oracle/jdbc/driver/OracleConnection, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for interface oracle/jdbc/OracleConnection have different Class objects for the type oracle/jdbc/OracleConnection used in the signature
    we dont have SID but service name and we use like the following in earlier versions:
    jdbc:oracle:thin:@localhost:1556/xx_yy.us.oracle.com
    Not sure what is the issue... Any pointers are appreciated!!
    Thanks in Advance,
    Kartik P.

    Could you have installed Integrator ETL Server into the same Tomcat instance as Studio?  That's not a supported configuration per http://docs.oracle.com/cd/E40518_01/integrator.311/integrator_install/toc.htm#Installing%20Integrator%20ETL%20Server%20on%20Tomcat : "Integrator ETL Server must be installed on a standalone Apache Tomcat. Do not install Integrator ETL Server on a Tomcat server that is being used to host other applications. For example, do not install Integrator ETL Server on the Tomcat that is hosting Studio. ".

  • Select in Oracle's Connection

    Hi
    I've had two connection, one for Oracle Database and other for SQL Server Database, both it have worked fine and my question is
    How I can show data with one Select in Oracle's Connection for one table in SQL Server ?
    I mean
    Select * from ConnectSQL..dbo.Table ???
    Is it possible ?

    Karthick
    thanks
    I made the DataBase Link but send me this error
    ORA 12541 TNS no listener
    the connection request could no be completed because the listener is no running
    I click in your link, but I can't created the Oracle ODBC ....
    How I can to install the oracle client in my local PC ?

  • Database Table Resource via Oracle RAC connection Manager

    Hello,
    Our current IDM 8.1 syncs off a HR Database Table using the Database Table connector.
    Our DBA's are moving the view into an Oracle RAC environment.
    Question: Is there a way for us to connect and sync off our DB table through an Oracle RAC connection manager.
    I understand that for the IDM repository, this is possible.
    jdbc:oracle:thin@(DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = ON)
    (FAILOVER = ON)
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1.ser.com)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = server2.ser.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = db.com)
    servers server1 and server2 are oracle connection managers
    Thank you for your input,
    -RC

    We moved the repository to Oracle RAC recently. The syntax to switch to the new databasecluster was something like this:
    lh setRepo -tOracle -ujdbc:oracle:thin:@//dbcluster1.domain:1521/service_idm.oradb.domain -Uwaveset -Pwachtwoord
    For the 'lh setRepo' command the old database had to be up, and we had to use the old ojdb5.jar. After that we switched to ojdb6.jar.
    One of our resources is a database table with HR data in the same database. The following Database Access Parameters work for us:
    Database Type:      Oracle
    JDBC Driver:      oracle.jdbc.driver.OracleDriver
    JDBC URL Template:      jdbc:oracle:thin:@//%h:%p/%d
    Host :     dbcluster1.domain
    Database: service_idm.oradb.domain
    Port: 1521
    Greetings,
    Marijke

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • Oracle 6i connection problem

    Dear All,
    good afternoon:
    i am facing problem with oracle 6i connecting to oracle RAC two nodes cluster. which was working fine from last 3-4 years and there was no issue with application as well as database.
    now i am getting error with oracle 6i forms , sometimg its not connecting with database . when i enabled the trace on 6i sqlnet.ora file.
    i goted the result
    trace file:
    -- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is "C:\ora6i\NET80\ADMIN\trace\conection.trc.trc"
    New trace level is 16
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    [02-MAY-10 12:33:07] nigini: entry
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nigini: Count in NI global area now: 1
    [02-MAY-10 12:33:07] nrigbi: entry
    [02-MAY-10 12:33:07] nrigbni: entry
    [02-MAY-10 12:33:07] nrigbni: Unable to get data from navigation file tnsnav.ora
    [02-MAY-10 12:33:07] nrigbni: exit
    [02-MAY-10 12:33:07] nrigbi: exit
    [02-MAY-10 12:33:07] nigini: exit
    [02-MAY-10 12:33:07] niqname: Using nnfsn2a() to build connect descriptor for (possibly remote) database.
    [02-MAY-10 12:33:07] nnftboot: entry
    [02-MAY-10 12:33:07] nnftboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfoboot: entry
    [02-MAY-10 12:33:07] nnfoboot: exit
    [02-MAY-10 12:33:07] nnfhboot: entry
    [02-MAY-10 12:33:07] nnfhboot: exit
    [02-MAY-10 12:33:07] nncpmlf_make_local_addrfile: construction of local names file failed
    [02-MAY-10 12:33:07] nncpmsf_make_sys_addrfile: system names file is C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpcin_maybe_init: first request sent to name server will have ID 0
    [02-MAY-10 12:33:07] nncpcin_maybe_init: initial retry timeout for all name servers is 1500 csecs
    [02-MAY-10 12:33:07] nncpcin_maybe_init: max request retries per name server is 1
    [02-MAY-10 12:33:07] nngsini_init_streams: initializing stream subsystem, cache size is 10
    [02-MAY-10 12:33:07] nngtini_init_msg: initializing PDU subsystem, initial pool size is 2
    [02-MAY-10 12:33:07] nncpcin_maybe_init: default name server domain is [root]
    [02-MAY-10 12:33:07] nnfun2a: entry
    [02-MAY-10 12:33:07] nnftqnm: entry
    [02-MAY-10 12:33:07] nnfcagmd: entry
    [02-MAY-10 12:33:07] nnfcagmd: Attempting to find metadata for type a.smd
    [02-MAY-10 12:33:07] nnfcagmd: Attribute name a.smd is a predefined meta type, syntax is 4.
    [02-MAY-10 12:33:07] nnfcagmd: exit
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nnfotran: Checking local tnsnames.ora file
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: initial load of names file C:\ora6i\NET80\admin\tnsnames.ora
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: failure, error stack follows
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    NL-00425: bad continuation line
    [02-MAY-10 12:33:07] nncpldf_load_addrfile: NOTE: FILE CONTAINS ERRORS, SOME NAMES MAY BE MISSING
    [02-MAY-10 12:33:07] nnftqnm: Using tnsnames.ora address (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic)))) for name mscdxb
    [02-MAY-10 12:33:07] nnfcraa: entry
    [02-MAY-10 12:33:07] nnfun2a: Obtaining answer records for mscdxb
    [02-MAY-10 12:33:07] nnftans: entry
    [02-MAY-10 12:33:07] nnfcran: entry
    [02-MAY-10 12:33:07] nnfcran: 64 rrs requested, 1 remaining, 1 total
    [02-MAY-10 12:33:07] nnfcran: exit
    [02-MAY-10 12:33:07] nnfotrv1: entry
    [02-MAY-10 12:33:07] nnfotrv1: translated "mscdxb" to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip1.dxbdom08.com)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = dbsr15-vip2.dxbdom08.com)(PORT = 1521)) (LOAD_BALANCE = yes) (FAILOVER = ON) (CONNECT_DATA = (SERVICE_NAME = mscdxb)(SERVER=DEDICATED) (FAILOVER_MODE=(TYPE=select)(METHOD=basic))))
    [02-MAY-10 12:33:07] nngsdei_deinit_streams: deinit
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    [02-MAY-10 12:33:07] nngscls_close_stream: UID 0 not established, ignored
    please help me,
    thanks in advance.
    sher khan

    thanks dear this is my tnsfile please check it. if any error can you corect me.
    mscdxb =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.2)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.3)(PORT = 1521))
    (LOAD_BALANCE = on)
    (FAILOVER = ON)
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = mscdxb)
         (FAILOVER_MODE=
    (TYPE=select)
    (METHOD=basic))     
    thanks,
    sher khan

  • Oracle BPM Connection to SFTP

    Hi all,
    Can Oracle BPM connect to SFTP .. If yes, how?
    There is no External Resource Connection?
    Or do we just have to add the URL in the code, in one of the automatic activities?
    Or do we use Fuego.Net.FTPServer?
    Will this work for SFTP?
    Edited by: user8766631 on Dec 20, 2010 11:43 AM

    Hi all,
    Can Oracle BPM connect to SFTP .. If yes, how?
    There is no External Resource Connection?
    Or do we just have to add the URL in the code, in one of the automatic activities?
    Or do we use Fuego.Net.FTPServer?
    Will this work for SFTP?
    Edited by: user8766631 on Dec 20, 2010 11:43 AM

  • Business Rules:Non-oracle db connections not shown in the ADF-BC Facts sect

    Hi everyone
    I'm working with Oracle BPM 11.1.1.5.0
    JDeverloper: 11.1.1.5.0
    Database : SQL Server 2008.
    I'm trying to create some rules based on some value in my tables in the database.
    The problem:
    My non-oracle DB connections are not shown in my Business rule, in the ADF-BC Facts section on the Facts tab.
    I have two oracle db connections and one SQL Server connection, and all three have been working perfectly before.
    But in the business rules facts section, when I want to add a new ADF-BC fact, only the oracle connections are shown.
    I have tried recreating all of them a few times, re registering my sqljdbc jar file, creating a new test application from scratch, but none seems to work.
    Can some one give me any hint please?
    Thanks in advance

    has anyone else had this problem ?

  • Sybase oracle heterogeneous connection

    Hi all,
    I created a connection from oracle to sybase using oracle heterogeneous connection. However I have a problem with numeric characters, I cannot get floating parts of numbers.
    when I use create as syntax it maps to correct data types(with the correct precision and scale) but 12,49 comes like 12,00.
    My Database is 10.2.0.3.0 32bit windows
    Any help would be appreciated..

    The problem was because of language settings. Setting NLS_LANG in the registery to correct setting solved the problem..

  • Oracle Generic Connectivity in Oracle Application Ser ver 10g.

    Hi Tak and All!
    With the help of your great guidence, I have connect the Generic Connectivty for MS Access and MS Excel successfully in client server environment.
    The topology was..
    Host A = Custom installation of Oracle9i database + MS ACCESS
    Host B = Oracle 9i Database (Complete)
    But...
    tell me How the Oracle Generic Connectivity will connect in ORACLE APPLICATION SERVER. What will be the concept and topology? Because the client only have the URL which is used for getting application on browser.
    I will be extremely thankful.
    All these forums always help me.
    Thanks
    Rana Adnan

    It depends. Oracle Reports can connect to Oracle and non-Oracle databases directly, without using Generic Connectivity.
    Your Forms application would presumably connect only to the Oracle database. The Oracle database might well connect to other Oracle and non-Oracle databases via database links. The non-Oracle database links would utilize Generic Connectivity.
    Given the three machines A, B, and C
    A could connect to B and B could connect to C
    A could connect to C for reporting queries
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Query  regarding oracle 10g connection in Visual Studio 2005

    Hi ,
    I am having visual studio 2005 installed in my system . when i am adding oracle database connection it is displaying that "use this connection for oracle 7 ,8, 9i versions ..i want to connect oracle 10g database in visual studio 2005. plz tell me how to do that?

    looks like u'r try connecting to oracle using server explorer, just hit OK an then fill in your server name, userid and password.
    server name might be SID defined in your tnsnames.ora, or in the form of //<machine_name>/<service_name>

  • Entity Framework -  unable to select the oracle data connection

    Entity Framework - unable to select the oracle data connection from the wizard that allows you to select the data provider. Even though we successfully added a data connection that points to an oracle database, we still can't select an existing data connection or create a new database provider that points to an oracle instance.
    we are using both vs 2008 sp1 and vs 2010. We connect to oracle 11g and we use the latest oracle odp.net driver. the Driver is installed and working in vs studio.

    I had this exact problem when I started. I think I had downloaded the wrong odbc (the 64x version). When I unloaded that version and downloaded the 32bit version it worked.
    Hope that helps. ~ Darla

Maybe you are looking for