Welcome! Log In Create A New Profile

Advanced

Не работает соединение с ORACLE

Posted by CRM 
из phpinfo()

OCI8 Support enabled
Version 1.2.5
Revision $Revision: 293036 $
Active Persistent Connections 0
Active Connections 0
Oracle Version 10.1
Compile-time ORACLE_HOME /u01/app/oracle
Libraries Used no value
Temporary Lob support enabled
Collections support enabled

PATH /usr/local/bin:/usr/bin:/bin:/u01/oracle/bin:/u01/oracle
ORACLE_HOME /u01/oracle
ORACLE_BASE /u01/oracle
ORACLE_SID orcl

при попытке коннекта
2010/09/09 17:00:44 [error] 4237#0: *130 FastCGI sent in stderr: "PHP
Warning: ocilogon() [<a href='function.ocilogon'>function.ocilogon</
a>]: OCIEnvNlsCreate() failed. There is something wrong with your
system - please check that ORACLE_HOME is set and points to the right
directory in /usr/local/nginx/html/doki/inc/cls_oradb.php on line 20

плиз подскажите что сделать чтоб заработало
Разобрался тема закрыта

On 9 сен, 17:06, CRM <pasha...@gmail.com> wrote:
> из phpinfo()
>
> OCI8 Support    enabled
> Version 1.2.5
> Revision        $Revision: 293036 $
> Active Persistent Connections   0
> Active Connections      0
> Oracle Version  10.1
> Compile-time ORACLE_HOME        /u01/app/oracle
> Libraries Used  no value
> Temporary Lob support   enabled
> Collections support     enabled
>
> PATH    /usr/local/bin:/usr/bin:/bin:/u01/oracle/bin:/u01/oracle
> ORACLE_HOME     /u01/oracle
> ORACLE_BASE     /u01/oracle
> ORACLE_SID      orcl
>
> при попытке коннекта
> 2010/09/09 17:00:44 [error] 4237#0: *130 FastCGI sent in stderr: "PHP
> Warning:  ocilogon() [<a href='function.ocilogon'>function.ocilogon</
> a>]: OCIEnvNlsCreate() failed. There is something wrong with your
> system - please check that ORACLE_HOME is set and points to the right
> directory in /usr/local/nginx/html/doki/inc/cls_oradb.php on line 20
>
> плиз подскажите что сделать чтоб заработало
Алексей Бобок
Re: Не работает соединение с ORACLE
September 09, 2010 03:34PM
так а в чем проблема была?

9 сентября 2010 г. 16:50 пользователь CRM <pashajob@gmail.com> написал:

> Разобрался тема закрыта
>
> On 9 сен, 17:06, CRM <pasha...@gmail.com> wrote:
> > из phpinfo()
> >
> > OCI8 Support enabled
> > Version 1.2.5
> > Revision $Revision: 293036 $
> > Active Persistent Connections 0
> > Active Connections 0
> > Oracle Version 10.1
> > Compile-time ORACLE_HOME /u01/app/oracle
> > Libraries Used no value
> > Temporary Lob support enabled
> > Collections support enabled
> >
> > PATH /usr/local/bin:/usr/bin:/bin:/u01/oracle/bin:/u01/oracle
> > ORACLE_HOME /u01/oracle
> > ORACLE_BASE /u01/oracle
> > ORACLE_SID orcl
> >
> > при попытке коннекта
> > 2010/09/09 17:00:44 [error] 4237#0: *130 FastCGI sent in stderr: "PHP
> > Warning: ocilogon() [<a href='function.ocilogon'>function.ocilogon</
> > a>]: OCIEnvNlsCreate() failed. There is something wrong with your
> > system - please check that ORACLE_HOME is set and points to the right
> > directory in /usr/local/nginx/html/doki/inc/cls_oradb.php on line 20
> >
> > плиз подскажите что сделать чтоб заработало
>



--
Think before you print.
Best regards, Alexey Bobok.
Pasha Sh
Re: Не работает соединение с ORACLE
September 10, 2010 05:40AM
В конфиге не правильно описал переменные окружения оракла

9 сентября 2010 г. 22:38 пользователь Алексей Бобок
<alexey.bobok@gmail.com>написал:

> так а в чем проблема была?
>
> 9 сентября 2010 г. 16:50 пользователь CRM <pashajob@gmail.com> написал:
>
>> Разобрался тема закрыта
>>
>> On 9 сен, 17:06, CRM <pasha...@gmail.com> wrote:
>> > из phpinfo()
>> >
>> > OCI8 Support enabled
>> > Version 1.2.5
>> > Revision $Revision: 293036 $
>> > Active Persistent Connections 0
>> > Active Connections 0
>> > Oracle Version 10.1
>> > Compile-time ORACLE_HOME /u01/app/oracle
>> > Libraries Used no value
>> > Temporary Lob support enabled
>> > Collections support enabled
>> >
>> > PATH /usr/local/bin:/usr/bin:/bin:/u01/oracle/bin:/u01/oracle
>> > ORACLE_HOME /u01/oracle
>> > ORACLE_BASE /u01/oracle
>> > ORACLE_SID orcl
>> >
>> > при попытке коннекта
>> > 2010/09/09 17:00:44 [error] 4237#0: *130 FastCGI sent in stderr: "PHP
>> > Warning: ocilogon() [<a href='function.ocilogon'>function.ocilogon</
>> > a>]: OCIEnvNlsCreate() failed. There is something wrong with your
>> > system - please check that ORACLE_HOME is set and points to the right
>> > directory in /usr/local/nginx/html/doki/inc/cls_oradb.php on line 20
>> >
>> > плиз подскажите что сделать чтоб заработало
>>
>
>
>
> --
> Think before you print.
> Best regards, Alexey Bobok.
>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 181
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready