Unable to load library ' / usr/lib64/php/modules/oci8.so'-libclntsh.so.11.1
Hi allI have a problem with installing OCI8 and I would be grateful if you could kindly guide me how to solve this problem.
I started to read the following articles to find out how to install the package OCI8 to install between PHP and oracle
http://www.php.net/manual/en/oci8.installation.php
http://www.Oracle.com/technetwork/articles/TechNote-PHP-instant-084410.html
Here is my description of the environment
OS: Fedora Core 17 (X86_64)
Oracle version: Oracle Enterprise Edition 11gR2 (11.2.0.1.0) X86_64
PHP Version: 5.4.13
Apache version: 2.2.23
Just a detail: almost every documentation begins by explaining the instant client installation. However, on the same physical machine, before you even install Apache and PHP. Oracle server was completely installed, i.e. both server and client (SQL * Plus, SQL * Loader,...). Accordingly, I have omitted this step in the documentation and I continued by measured install OCI8 and apparently everything has been compiled successfully (no error message).Problem: OCI8 does not appear in the phpinfo() function
This suggests that there is a problem. I'll write exactly how I did and I would be grateful if you could well want to take a look at these steps and say if I made errors
I started by running as ROOT. As I said the oracle server has already been installed on the machine and therefore all environment variables required as LD_LIBRARY_PATH ORACLE_SID,... have already been defined in ~/.bash_profile
And if you look at the output below, you can see that for example ORACLE_HOME is detected automatically during the installation (* check Oracle ORACLE_HOME install directory... u01/app/oracle/product/11.2.0/db_1*)
# pecl install oci8
It gave me the following result# pecl install oci8
downloading oci8-1.4.9.tgz ...
Starting to download oci8-1.4.9.tgz (169,255 bytes)
.....................................done: 169,255 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
Please provide the path to the ORACLE_HOME directory. Use 'instantclient,/path/to/instant/client/lib' if you're compiling with Oracle Instant Client [autodetect] :
building in /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9
running: /var/tmp/oci8/configure --with-oci8
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for Oracle Database OCI8 support... yes, shared
checking PHP version... 5.4.13, ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long int... 8
checking checking if we're on a 64-bit platform... yes
checking Oracle ORACLE_HOME install directory... /u01/app/oracle/product/11.2.0/db_1
checking ORACLE_HOME library validity... lib
checking Oracle library version compatibility... 11.1
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c -o oci8.lo
libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8.c -fPIC -DPIC -o .libs/oci8.o
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c -o oci8_lob.lo
libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_lob.c -fPIC -DPIC -o .libs/oci8_lob.o
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c -o oci8_statement.lo
libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_statement.c -fPIC -DPIC -o .libs/oci8_statement.o
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c -o oci8_collection.lo
libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_collection.c -fPIC -DPIC -o .libs/oci8_collection.o
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=compile cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c -o oci8_interface.lo
libtool: compile: cc -I. -I/var/tmp/oci8 -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -c /var/tmp/oci8/oci8_interface.c -fPIC -DPIC -o .libs/oci8_interface.o
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=link cc -DPHP_ATOM_INC -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/include -I/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/main -I/var/tmp/oci8 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/u01/app/oracle/product/11.2.0/db_1/rdbms/public -I/u01/app/oracle/product/11.2.0/db_1/rdbms/demo -DHAVE_CONFIG_H -g -O2 -o oci8.la -export-dynamic -avoid-version -prefer-pic -module -rpath /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules oci8.lo oci8_lob.lo oci8_statement.lo oci8_collection.lo oci8_interface.lo -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh
libtool: link: cc -shared -fPIC -DPIC .libs/oci8.o .libs/oci8_lob.o .libs/oci8_statement.o .libs/oci8_collection.o .libs/oci8_interface.o -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh -O2 -Wl,-rpath -Wl,/u01/app/oracle/product/11.2.0/db_1/lib -Wl,-soname -Wl,oci8.so -o .libs/oci8.so
libtool: link: ( cd ".libs" && rm -f "oci8.la" && ln -s "../oci8.la" "oci8.la" )
/bin/sh /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/libtool --mode=install cp ./oci8.la /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
libtool: install: cp ./.libs/oci8.so /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.so
libtool: install: cp ./.libs/oci8.lai /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules/oci8.la
libtool: finish: PATH="/usr/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/op
t/libreoffice4.0/program:/root/.local/bin:/root/bin:/usr/local/jdk1.7.0_05/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/u01/app/oracle/product/11.2.0/db_1/bin:/opt/libreoffice4.0/program:/sbin" ldconfig -n /var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
----------------------------------------------------------------------
Libraries have been installed in:
/var/tmp/pear-build-rootGiD7YE/oci8-1.4.9/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" install
Installing shared extensions: /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/
running: find "/var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9" | xargs ls -dils
3679979 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9
3680009 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr
3680010 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64
3680011 4 drwxr-xr-x. 3 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php
3680012 4 drwxr-xr-x. 2 root root 4096 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules
3680008 596 -rwxr-xr-x. 1 root root 606865 Apr 4 15:48 /var/tmp/pear-build-rootGiD7YE/install-oci8-1.4.9/usr/lib64/php/modules/oci8.so
Build process completed successfully
Installing '/usr/lib64/php/modules/oci8.so'
install ok: channel://pecl.php.net/oci8-1.4.9
configuration option "php_ini" is not set to php.ini location
You should add "extension=oci8.so" to php.ini
#
Once installed OCI8 I've updated the */etc/php.ini* accordingly, by adding the following entries;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
.
.
.
extension=oci8.so
.
.
.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;
;
.
.
.
extension_dir="/usr/lib64/php/modules"
Also I updated the * / etc/sysconfig/httpd * in order to export the specified operating system environment variables set. So I added the following lines at the end of the fileORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
LD_LIBRARY_PATH64=/u01/app/oracle/product/11.2.0/db_1/lib:/u01/app/oracle/product/11.2.0/db_1/network/lib
TNS_ADMIN=/u01/app/oracle/product/11.2.0/db_1/network/admin
NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
ORACLE_SID=db01
To verify that these values are actually taken into account by Apache, I run# service httpd restart
Can I run a PHP script with the phpinfo() function and present especially in the environment section were the values above the LD_LIBRARY_PATH variable.As I said, however, there is no OCI8 input output of the phpinfo() function. I checked the apache log file and saw that there is a problem
# cat /var/log/httpd/error_log
[Thu Apr 04 16:02:13 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Apr 04 16:02:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Apr 04 16:02:13 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Apr 04 16:02:13 2013] [notice] Digest: done
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - libclntsh.so.11.1: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Compiled for Python/2.7.2.
[Thu Apr 04 16:02:13 2013] [warn] mod_wsgi: Runtime using Python/2.7.3.
[Thu Apr 04 16:02:13 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.13 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
#
What I understand log above, is that the libclntsh.so.11.1 shared library is not found. Yet I checked and saw that it is present in LD_LIBRARY_PATH# locate libclntsh.so
/u01/app/oracle/product/11.2.0/db_1/inventory/Scripts/ext/lib/libclntsh.so.11.1
/u01/app/oracle/product/11.2.0/db_1/inventory/backup/2012-06-25_12-08-41PM/Scripts/ext/lib/libclntsh.so.11.1
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.10.1
/u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1
#
If the last line, shows that the specified library exists in * / u01/app/oracle/product/11.2.0/db_1/lib/libclntsh.so.11.1*.So I seem really what is the problem and the strangest thing is that, in the command line PHP seems to detect my oracle server settings.
$ php --ri oci8
oci8
OCI8 Support => enabled
Version => 1.4.9
Revision => $Id: e2241cffb72c940cb2ca267b7a6a0ce436de7e5e $
Active Persistent Connections => 0
Active Connections => 0
Oracle Run-time Client Library Version => 11.2.0.1.0
Oracle Version => 11.2
Compile-time ORACLE_HOME => /u01/app/oracle/product/11.2.0/db_1
Libraries Used => -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/lib -L/u01/app/oracle/product/11.2.0/db_1/lib -lclntsh
Temporary Lob support => enabled
Collections support => enabled
Directive => Local Value => Master Value
oci8.max_persistent => -1 => -1
oci8.persistent_timeout => -1 => -1
oci8.ping_interval => 60 => 60
oci8.privileged_connect => Off => Off
oci8.statement_cache_size => 20 => 20
oci8.default_prefetch => 100 => 100
oci8.old_oci_close_semantics => Off => Off
oci8.connection_class => no value => no value
oci8.events => Off => Off
$
I thought that maybe there are several different php.ini and one used in GUI is not the same used in CLI but research has shown that there is only a single php.ini file# locate php.ini
/etc/php.ini
#
#
# php -i | grep Configuration
Configuration File (php.ini) Path => /etc
Loaded Configuration File => /etc/php.ini
Configuration
#
It's almost 3 days I'm Googling to find a solution to this problem without success.So, could someone help me, what is the problem? Why the OCI8 module cannot be loaded by PHP and become visible in the output of the phpinfo() function?
Thanks in advance,
Kind regards
Dariyoosh
Since you say that the PHP command line is OK, I'm sure the problem comes from the Apache environment variables set.
The last time I saw a similar problem, it was because I forgot to use "export". It was on Oracle Linux, equivalent to RHEL.
I can't explain a couple of your most recent results, for example what you're seeing when using 'export' in/etc/sysconfig/httpd.
Try to disable SELinux. On Oracle Linux would change/etc/selinux/config, SELINUX set to DISABLED and reboot. See also the setenforce command.
About starting Apache, you must use apachectl start or /etc/init.d/httpd only if you set environment variables in your shell terminal and you want those to go down to Apache. If you look at the script of shell/sbin/service (Linux, Oracle), you can see that it works 'env-i' to start with a vacuum environment. If the environment values that you set in the terminal shell would be ignored. That's why they should be added to/etc/sysconfig/httpd when using 'service '.
Oh, and don't forget to give the permissions for the owner of the process Apache to read the Oracle libraries and other data files in u01/app/oracle/product/11.2.0/db_1. After a new installation of DB I always change the permissions on the ~ 700 to 755 oracle directory. See 'frequently observed connection and environment errors.
page 107 of the book.
Tags: Database
Similar Questions
-
Fatal error: unable to load library "pdh.dll."
When I double click on Skype icon, a dialog box appears. It says "Fatal error" at the top, and inside, it says: "cannot load library 'pdh.dll.'" "I can't Skype to open at all.
I used Skype without problem the day before, and I did nothing for all the files or anything like that. I don't think so.
I restarted my computer, uninstalled and reinstalled Skype and entered %APPDATA%\microsoft\windows\sendto and renamed the Skype folder, tried to open Skype, then renamed the file back again. None of this has worked.
I did a scan for Malware, and he came clean. I am running a virus scan.
Can someone help me?Try to run the tool (sfc.exe) System File Checker
-
Unable to load library "d3d9.dll".
Get the above error, and when I run regsvr32 I get this error. "The 'd3d9.dl' module was loaded, but the DllRegisterServer entry point was not found. Make sure 'd3d9.dll' is a valid DLL or OCX file and then try again. "I downloaded and installed the latest version of DirectX, and that did not help.
Running WIndows 7 64 - bit WIndows update is current as of today, 26/03/12.
Any idea on how to solve this problem?
Download and reinstall DirectX package will not help you in this case especially because d3d9.dll is a base file of Windows 7 (part of Windows 7). You're better advised with any type of system repair (restoring from a restore point 'good', from a system backup using system repair options - restart with type F8 before Windows starts - or by using the OEM recovery features).
-
Sierra and Photos: unable to load library of pictures located on a NAS
I have a 300 GB photo library located on a NAS.
No problem with El Capitan and Yosemite.
With Sierra when I opened the Photos I had a spinning wheel and even after a night full, nothing happened (Finally, the NAS disconnected... but I think it's something Sierra... never happened before)
Now, I am trying to get all the Masters folder within the library of Photos...
I have the same problem. Cannot open the pictures library that is located on a Synology NAS. Finder (not answer)
-
I tried to install VMWare Server for the past few hours now, but nothing helped. I use Ubuntu 8.10.
I have already patched, had to move manually the files, and now I'm here:
VMware
VMware is installed, but it has not been configured (correctly)
for this system. To (re-) set, invoke the following command:
usr/bin/vmware-config.pl.
root@xxxxxx-laptop: /usr/bin/vmware-config.pl
Ensuring services for VMware Server are stopped.
Stopping VMware services:
Virtual machine monitor makes
Networks bridged on/dev/vmnet0 made
Server DHCP on/dev/vmnet1 did
Guest network only on/dev/vmnet1 made
Server DHCP on/dev/vmnet8 is
NAT service on/dev/vmnet8 is
Guest network only on/dev/vmnet8 is
Virtual Ethernet is
Configure libraries GTK + 2.4 relief.
In which directory you want to install the mime type icons?
This directory contains your desktop menu input files? These files have a
.desktop file extension. / usr/share/applications
In which directory you want to install the application icon?
/usr/share/applications/VMware-Server.desktop: warning: value ' vmware - server.png ' key 'Icon' in the group "Desktop Entry" is an icon of name with an extension, but there should be no extension as described in the icon theme specification if the value is not an absolute path
/usr/share/applications/VMware-console-URI-handler.desktop: warning: value ' vmware - server.png ' key 'Icon' in the group "Desktop Entry" is an icon of name with an extension, but there should be no extension as described in the icon theme specification if the value is not an absolute path
Try to find a vmmon module suitable for your running kernel.
None of the vmmon modules pre-built for VMware Server is suitable for your
kernel running. Do you want this program to try to build the vmmon module for
your system (you must have a C compiler installed on your system)?
Using compiler "/ usr/bin/gcc". Environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? /lib/modules/2.6.27-11-generic/build/include
Extract the sources of the vmmon module.
The construction of the vmmon module.
Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
do: enter the directory ' / tmp/vmware-config4/vmmon-only '.
do /lib/modules/2.6.27-11-generic/build/include/ - C... SUBDIRS = $PWD SRCROOT = $PWD. modules of
make [1]: Entering directory ' / usr/src/linux-headers-2.6.27-11-generic'
CC /tmp/vmware-config4/vmmon-only/linux/driver.o
CC /tmp/vmware-config4/vmmon-only/linux/driverLog.o
CC /tmp/vmware-config4/vmmon-only/linux/hostif.o
/tmp/vmware-config4/vmmon-only/linux/hostif.c: in function 'HostIF_SetFastClockRate ':
/tmp/vmware-config4/vmmon-only/linux/hostif.c:3441: warning: argument passing "send_sig" 2 rejects the characterization of target of pointer type
CC /tmp/vmware-config4/vmmon-only/common/comport.o
CC /tmp/vmware-config4/vmmon-only/common/cpuid.o
CC /tmp/vmware-config4/vmmon-only/common/hash.o
CC /tmp/vmware-config4/vmmon-only/common/memtrack.o
CC /tmp/vmware-config4/vmmon-only/common/phystrack.o
CC /tmp/vmware-config4/vmmon-only/common/task.o
cc1plus: WARNING: command line option "- Werror - implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: WARNING: command line option ' - Wdeclaration - apres-declaration "is valid for C/ObjC but not for C++
cc1plus: WARNING: command line option ' - Wno - pointer-sign "is valid for C/ObjC but not for C++
cc1plus: WARNING: command line option ' - Wstrict - prototypes "are valid for Ada/C/ObjC but not for C++
In file included from /tmp/vmware-config4/vmmon-only/common/task.c:1195:
/tmp/vmware-config4/vmmon-only/common/task_compat.h: function ' void Task_Switch_V45 (VMDriver *, Vcpuid)':
/tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/tmp/vmware-config4/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
CC /tmp/vmware-config4/vmmon-only/common/vmciContext.o
CC /tmp/vmware-config4/vmmon-only/common/vmciDatagram.o
CC /tmp/vmware-config4/vmmon-only/common/vmciDriver.o
CC /tmp/vmware-config4/vmmon-only/common/vmciDs.o
CC /tmp/vmware-config4/vmmon-only/common/vmciGroup.o
CC /tmp/vmware-config4/vmmon-only/common/vmciHashtable.o
CC /tmp/vmware-config4/vmmon-only/common/vmciProcess.o
CC /tmp/vmware-config4/vmmon-only/common/vmciResource.o
CC /tmp/vmware-config4/vmmon-only/common/vmciSharedMem.o
CC /tmp/vmware-config4/vmmon-only/common/vmx86.o
CC /tmp/vmware-config4/vmmon-only/vmcore/compat.o
CC /tmp/vmware-config4/vmmon-only/vmcore/moduleloop.o
LD /tmp/vmware-config4/vmmon-only/vmmon.o
Construction modules, step 2.
MODPOST modules 1
WARNING: modpost: vmmon.ko module uses the marked "init_mm" symbol is not USED
CC /tmp/vmware-config4/vmmon-only/vmmon.mod.o
LD /tmp/vmware-config4/vmmon-only/vmmon.ko
make [1]: leaving directory ' / usr/src/linux-headers-2.6.27-11-generic'
CP f vmmon.ko. /... vmmon.o
make: leaving directory ' / tmp/vmware-config4/vmmon-only '.
The module loads perfectly in the kernel running.
This program already created the file/dev/vmmon and was about to remove
He someone else apparently already made.
You have already setup network.
You want to skip the network configuration and keep your old settings as they are?
Extract the module vmnet sources.
tar: /usr/lib/vmware/modules/source/vmnet.tar: cannot open: no such file or directory
tar: error is not recoverable: leave now
Unable to decompress the "/ usr/lib/vmware/modules/source/vmnet.tar" file in the
directory ' / tmp/vmware-config4.
For more information about how to troubleshoot module, please
visit our Web site at " " http://www.VMware.com/download/modules/modules.html "and "
" http://www.VMware.com/support/reference/Linux/prebuilt_modules_linux.html ". "
The execution is canceled. [/ b]
I know that vmnet.tar was here before... and he suddenly disappeared. How do we do it back, or can I download it somewhere? Thank you.
A little worrying that this file should simply disappear - never happened on any of my guests. Check the logs, etc. for possible reasons. You get also warnings much more when you run vmware - config.pl I've ever encountered. What files did you manually have to move?
If you download the tarball, extract the file from here and place it in the folder "/ usr/lib/vmware/modules/source", then you should probably go further. Should also be vmci.tar, vmnet.tar and vsock.tar in there.
---
If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.
-
Error message "unable to load the shared library.
I try to get my programs for school to work, and I get these error message whenever I try to run anything. The last line of the State of deployment is as follows:
Deployment time get NLVSim and isAcceptedStep.vi IsAcceptedStep.vi and NILVSim get busy with errors on the target and has been closed.
LabVIEW: Unable to load the shared library NILVSim.*: SIM_GetTimeAndIsAccepted:C. make sure the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries.
I tried everything I can think of to fix this. I checked NEITHER Max and I'm all for date on the software. I reinstalled LabVIEW twice, and I reset my myRIO. My classmates do not experience problems with getting theres to work. I start to lose hope and hope someone might know what the question. Thank you for your help.
WubaDee,
NILVSim is part of the LV Control Design and Simulation Module. This one is correctly installed on your Windows development system and you installed it on your myRIO?
Norbert
-
Hi people, I have a project in VB. NET (VS2010 specifically), which has been updated from an old VB6 project. The old project
use Niglobal.bas and Vbib - 32.bas to communicate with the GPIB plugged into one of our litters.
Now in the 64-bit Win7 with the Niglobal.bas and the Vbib - 32.bas converted to Niglobal.vb and Vbib - 32.vb,.I get an error when debugging to
Public void RegisterGPIBGlobals()
in the Vbib - 32.vb, the error msg says:
Unable to load DLL 'Gpib - 32.dll': the specified module could not be found. (Exception from HRESULT: 0x8007007E)
It seems like this Gpib - 32.dll, that I found under SysWOW64 on my Win7 is not designed for a 64-bit application and when I copy this dll file on
C:\Windows\System32, the msg of error becomes:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
So I think my question is double: 1. the drafting of my own app in VB. NET can I still use Gpib - 32.dll (including the Niglobal.vb and Vbib - 32.vb)?
2 Will the application I am writing with .NET work in x 64 Windows 7?
The Almighty gurus and Mods please help. Thank you!
Hi Joel, thanks for the answer! I have the 3.0.2 driver.
I was looking around for a while after I posted here and further in the use of NI4882 manual, page 4-4, I found this:
«To bring an application in an environment 64-bit requires the application to migrate the NI4882 API and be recompiled.»
So I'm ditching the gpib - 32.dll (vbib - 32 & niglobal) and currently I am using NI4882.dll and restructuring of my project.
-
Unable to load the shared library LVASPT_WA.*
Hello
I have a hope that easy to fix the error: I want to use the function "WA Detrend' to the signal processing tool advanced in a real-time application running on a cRio 9030. When I try to run the VI I get the following error:
...
Deployment NI_AdvSigProcWA.lvlib:WA decimation Filter.vi
NI_AdvSigProcWA.lvlib:WA decimation Filter.vi loaded with errors on the target and was closed.
LabVIEW: Unable to load the shared library LVASPT_WA.*ptDecimationFilterH:C. make sure that the library is present on the target of RT. Either MAX allows you to install software from OR or FTP to transfer custom RT target libraries....
I reinstalled signals Advanced processing toolkit and linked things 'add new software' MAX, but the error persists.
A picture of what the system looks like to the MAX is attached.
Also, I Fund this post:
could someone tell me what he means by "Please check the installation of the custom software all mode '?
Can you telll me what I am doing wrong?
Thank you very much in advance!
I ran your situation in R & D, and the problem seems to be as a result of Advanced Signal Processing Toolkit is not not compatible on the x 64 under Linux RT OS in the 9030. The product page could be clearer on this gap. I am currently a web application to get this fixed!
Best,
David
-
Hi all!
Yesterday, I worked all day in a VI and today, unfortunately, I'm frustrated when I tried to open it. Received the following error message:
LABVIEW: Unable to load dynamic library due to lack of external symbols or dependencies, or a format file not valid. The "ENG633 v1.vi" file could not be loaded.
This message repeats when I try else open a Subvi.
Step by step:
1. I created a copy of the LabVIEW VI example: "FuzzyEx Tanks with control of PI." I kept the copy in the same original directory.
2 - I have edited the copy, created Subvi etc.
3 - once I finished my course of programming I closed all the cut (ctrl-x) files and copied (ctrl v) into the other folder.
4. then I tried to open the next day and... bug! I just couldn't do
What can I do to open/recover the VI?
I am using 32-bit LabVIEW 2016 in a Windows 10
I tried opening them and got the same error you did, so I them opened with a hex editor to see if there was something in the file, and there is literally nothing other than the value of 0x00 for the entire file.
-
Unable to load the shared library nilvce.*
When you try to deploy a Labview 2009 real-time application, I get the message:
Deployment XDNodeRunTimeDep.lvlib:loadnilvce.viXDNodeRunTimeDep.lvlib:loadnilvce.vi loaded with errors on the target and was closed.
LabVIEW: Unable to load the shared library nilvce. *: niLVCtrlEngineReserveProc:C on the target RT device.
Completed with errors of deploymentI reformatted the CRIO-9073 and reinstalled the software, but this did not help.
Any ideas on how to solve this problem?
I was able to solve this problem by changing the settings in a timed loop Structure.
The Source Type has been set to "synchronize in the scan engine. This change to the problem solved 1 kHz clock source.
This vi was initially written for the interface of the scan engine and reused on another project that uses the FPGA interface.
-
uploaded to. 3.6 and tried to install
...
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 # ls
application.ini components dependentlibs.list greprefs libnspr4.so libnssutil3.so libsoftokn3.so LICENSE plugins searchplugins
.autoreg crashreporter dictionaries icons libnss3.so libplc4.so libsqlite3.so modules README.txt Throbber - small.gif
blocklist.XML crashreporter.ini libfreebl3.chk libnssckbi.so libplds4.so libssl3.so files extensions removed mozilla-xremote-client update.locale
Crashreporter BrowserConfig.Properties - firefox libfreebl3.so libnssdbm3.chk libsmime3.so libxpcom.so res platform.ini override.ini updated
chrome default firefox-bin libmozjs.so libnssdbm3.so libsoftokn3.chk libxul.so plugin-container run - mozilla.sh updater.ini
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 #. / firefox
. / firefox-bin: error while loading shared libraries: libdbus-glib - 1.so.2: cannot open shared object file: no such file or directory
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 # mc
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 # s /usr/lib64/libdbus-glib-1.so.2 /usr/lib/libdbus-glib-1.so.2 ln
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 #. / firefox
. / firefox-bin: error while loading shared libraries: libdbus-glib - 1.so.2: evil class ELF: ELFCLASS64
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 #. / updater
Use: updater < path-dir > [parent-pid [work-dir reminder args...]]
linux-User251868:/usr/src/packages/SOURCES/firefox-3.6 #.I don't want to depend on and if OpenSuSE updated to 3.6 - actually before using OpenSuSE 11.2 I had installed firefox 3.5, which has updated automatically, sort of b-Tester, as I trully trust firefox for browsing on the day the day for years.
Firefox is a 32-bit application, you will need to create a symbolic link to the 32-bit version of this library of dbus (libdbus-glib - 1.so.2). If this library is not installed, you must install it via the installation of the software.
See also http://www.mozilla.com/firefox/system-requirements.html - Firefox 3.6 system requirements
-
Error message: FRM-1808: unable to load the following items
Hi gurus
I copied the forms of my server on my local machine and got the following message when I try to open this form:
Message
FRM-1808: unable to load the following items.
Source Module: test_property_class.fmb
Source object: J_OBJ_GRPAfter that, I see another message to fix some PL/SQL libraries, now I have a plan to fix the missing library, but I don't know how to get rid of the message above...
Appreciate your help. Thanks in advance.
Concerning
Muzz
Forms is unable to find your form tamplate and your PLL.
Check FORMS_PATH (in the registry) and add the appropriate paths where to find them.
-
error:
HelloOBJM_54538 Unable to connect to the reposiREP_51002 Database driver event...Error occurred loading library [libclntsh.so.10.1: cannot oopen shared object file:No such file or directory] Database driver event...Error occurred loading library [libpmora8.so]
I'm on Oracle Enterprise Linux 5 update 6, 32 - bit
Oracle 11g. R2 32 bit without customer (I have both oracle & lower on the same box)
INFA 9.0.1 32bits
I am able to successfully connect to sqlplus too good sh/[email protected] & repo domain user users
tnsping is good
lsnrctl start is good
tnsnames.ora is good
I already libclntsh.so.10.1 in $ORACLE_HOME/lib /... .i also copied the same file to $INFA_HOME/server/bin/...alredy added the variables env, including LD_LIBRARY_PATH... also I have even I copied both files in / lib.... not even a chance...
literally, I'm exhausted of ideas after googling in the last 48 hours: (all the expert advice on what Miss me would be gr8tly apprected. TQ.
[infa901hf2@oel5u6 root]$ which libpmora8.so ~/Informatica/9.0.1/server/bin/libpmora8.so [infa901hf2@oel5u6 root]$ which libclntsh.so.10.1 /usr/bin/which: no libclntsh.so.10.1 in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/sbin:/home/oracle/app/oracle/product/11.2.0/dbhome_2/bin:/home/infa901hf2/Informatica/9.0.1/server/bin:/home/infa901hf2/Informatica/9.0.1/server/tomcat/bin) [infa901hf2@oel5u6 root]$ ls -al /home/infa901hf2/Informatica/9.0.1/server/bin/libclntsh.so.10.1 lrwxrwxrwx 1 infa901hf2 infa901hf2 69 Dec 25 01:02 /home/infa901hf2/Informatica/9.0.1/server/bin/libclntsh.so.10.1 -> /home/oracle/app/oracle/product/11.2.0/dbhome_2/lib/libclntsh.so.11.1 [infa901hf2@oel5u6 root]$ ls -al /home/infa901hf2/Informatica/9.0.1/server/bin/libpmora8.so -rwxrwxrwx 1 infa901hf2 infa901hf2 314325 Dec 24 22:17 /home/infa901hf2/Informatica/9.0.1/server/bin/libpmora8.so
.bash_profile with all the variables env set is less thanOBJM_54538 Unable to connect to the repository RepoSrvc on database orcl REP_51002 Database driver event...Error occurred loading library [libclntsh.so.10.1: cannot oopen shared object file:No such file or directory] Database driver event...Error occurred loading library [libpmora8.so]
Listener.ora====================================== TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN ORACLE_HOSTNAME=oel5u6.localdomain; export ORACLE_HOSTNAME ORACLE_UNQNAME=orcl; export ORACLE_UNQNAME ORACLE_BASE=/home/oracle/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_2; export ORACLE_HOME ORACLE_SID=orcl; export ORACLE_SID PATH=$PATH:/usr/sbin:$ORACLE_HOME/bin; export PATH LD_LIBRARY_PATH=.:$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH # JAVA HOME JAVA_HOME=/usr/java/jdk1.6.0_30; export JAVA_HOME #INFA ENV VARIABLES LANG=C; export LANG LC_ALL=C; export LC_ALL INFA_JAVA_OPTS=-Xmx1024m; export INFA_JAVA_OPTS INFA_HOME=/home/infa901hf2/Informatica/9.0.1; export INFA_HOME INFA_DOMAINS_FILE=/home/infa901hf2/Informatica/9.0.1/domains.infa; export INFA_DOMAINS_FILE LC_CTYPE=en_US.utf8; export LC_CTYPE INFA_DEFAULT_DOMAIN=Domain_oel5u6.localdomain; export INFA_DEFAULT_DOMAIN PATH=$PATH:$INFA_HOME/server/bin:$INFA_HOME/server/tomcat/bin; export PATH LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH:$INFA_PATH/server/bin; export LD_LIBRARY_PATH
tnsnames.ora# listener.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) ) ) ADR_BASE_LISTENER = /home/oracle/app/oracle
tnsping successful# tnsnames.ora Network Configuration File: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/tnsnames.ora # Generated by Oracle configuration tools. LISTENER_ORCL = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) ORCL.LOCALDOMAIN = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL.LOCALDOMAIN) ) )
listener successful start-up[oracle@oel5u6 bin]$ tnsping orcl.localdomain TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 25-DEC-2011 00:20:33 Copyright (c) 1997, 2009, Oracle. All rights reserved. Used parameter files: /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = oel5u6.localdomain)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORCL.LOCALDOMAIN))) OK (0 msec)
TQ.[oracle@oel5u6 bin]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 25-DEC-2011 00:19:48 Copyright (c) 1991, 2009, Oracle. All rights reserved. Starting /home/oracle/app/oracle/product/11.2.0/dbhome_2/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.2.0.1.0 - Production System parameter file is /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora Log messages written to /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521))) Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production Start Date 25-DEC-2011 00:19:48 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /home/oracle/app/oracle/product/11.2.0/dbhome_2/network/admin/listener.ora Listener Log File /home/oracle/app/oracle/diag/tnslsnr/oel5u6/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oel5u6.localdomain)(PORT=1521))) The listener supports no services The command completed successfully
Issue certainly seems to be with your Oracle env installation and configuration. Have a symlink point to another symbolic link is not necessarily a problem.
So, just to be sure, can you confirm the 2 below:
(1) you have installed the Oracle 32-bit (full) client and use libraries in the Client as part of the LD_LIBRARY_PATH to the operating system user that runs the process of INFA. In other words your ORACLE_HOME (in .bash_profile) points to the directory of the CLIENT with the .so files... correct. You have confirmed this by su - as the user of the OS (for example, ' oracle') and do an echo on LD_LIBRARY_PATH. fix? If necessary, I would even recommend using the FULL path to the 32-bit client directory.
(2) you have confirmed that all files in the directory .so have permissions for the operating system user that runs the process of INFA. You can check this through ls - alt and confirming none questioned .so files are limited.
(3) also... is your OS for the Oracle DB and LOWER the same username? Or you have 2 different users of the OS?
-
The Mozilla FF page loads, but no site that is open in FF. I checked the Proxy box, I disabled my Windows Firewall. There is a firewall for my Norton, but which has been there since day 1. One day, I do all my things FF without problem; the next morning I turn the computer on & nothing in FF will work. That is to say works well. AOL works fine if my internet connection is not the problem. This is the message that I get any site I try to open (I also copied the text of troubleshooting below this): thanks for any help - it's really driving me crazy!
Unable to connect
Firefox can't establish a connection to the server www.aol.com.The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
Troubleshooting 'copy text to the Clipboard.
The application databasesName: Firefox
Version: 33.0.2
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; RV:33.0) Gecko/20100101 Firefox/33.0
Windows multiprocessing: 0/1Reports of incidents for the last 3 days
All Crash reports
Extensions
Name: AVG toolbar backup
Version: 17.1.3.3
Enabled: false
ID: avg@toolbarName: InfoAtoms
Version: 1.5.0.0
Enabled: false
ID: [email protected]Name: Norton Toolbar
Version: 2014.7.8.23
Enabled: false
ID: {2D3F3651-74B9-4795-BDEC-6DA2F431CB62}Name: PasswordBox
Version: 1.20.0.2308
Enabled: false
ID: [email protected]Name: RealDownloader
Version: 1.3.3
Enabled: false
ID: {DF153AFF-6948-45d7-AC98-4FC4AF8A08E2}Name: Skype Click-to-Call
Version: 6.13.0.13771
Enabled: false
ID: {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}Graphics
Description of the adapter: Intel G41 Express Chipset
Drivers: igdumd64 igd10umd64 igdumdx32 igd10umd32
RAM card: unknown
Device ID: 0x2e32
Direct2D Enabled: true
DirectWrite Enabled: true (6.2.9200.16571)
Driver date: 11/02/2011
Driver version: 8.15.10.2302
GPU #2 Active: false
GPU accelerated Windows: 1/1 Direct3D 11 (OMTC)
Vendor ID: 0 x 8086
WebGL Renderer: Google Inc. - ANGLE (Intel G41 Express Chipset Direct3D9Ex vs_3_0 ps_3_0)
windowLayerManagerRemote: true
AzureCanvasBackend: direct2d
AzureContentBackend: direct2d
AzureFallbackCanvasBackend: Cairo
AzureSkiaAccelerated: 0Important change preferences
Browser.cache.Disk.Capacity: 358400
Browser.cache.Disk.smart_size.first_run: false
Browser.cache.Disk.smart_size.use_old_max: false
Browser.cache.frecency_experiment: 1
browser.places.smartBookmarksVersion: 7
browser.sessionstore.upgradeBackup.latestBuildID: 20141027150301
Browser.Startup.homepage_override.buildid: 20141027150301
Browser.Startup.homepage_override.mstone: 33.0.2
extensions.lastAppVersion: 33.0.2
GFX. Direct3D.last_used_feature_level_idx: 1
network.cookie.prefsMigrated: true
places. History.expiration.transient_current_max_pages: 103947
plugin.disable_full_page_plugin_for_types: application/pdf
plugin.importedState: true
privacy.sanitize.migrateFx3Prefs: trueImportant preferences locked
JavaScript
Incremental GC: true
Accessibility
Enabled: false
Prevent accessibility: 0Versions of the library
NSPR
The expected minimum version: 4.10.7
Version: 4.10.7NSS
The expected minimum version: 3.17.1 Basic ECC
Version: 3.17.1 Basic ECCNSSSMIME
The expected minimum version: 3.17.1 Basic ECC
Version: 3.17.1 Basic ECCNSSSSL
The expected minimum version: 3.17.1 Basic ECC
Version: 3.17.1 Basic ECCNSSUTIL
The expected minimum version: 3.17.1
Version: 3.17.1Experimental features
An update: as mysteriously as it started last Friday, it fixed itself today (apparently). I left my computer when I'm out in early afternoon after having tried again to open up all sorts of websites in FF with no luck. When I came back from my races it was back to normal - able to open all Web sites again. Obviously, firefox Elves snuck into my house while I was out and fixed what it was. I would like to know what!
-
I installed LibreOffice and now it says "is unable to lod library dlbaprp.dll.
I installed LibreOffice and now it says "is unable to lod library dlbaprp.dll. So I uninstalled. Now my Openoffice.org did the same thing.
Check out these links for a fix:
http://user.Services.OpenOffice.org/en/forum/viewtopic.php?f=9&t=38430
Maybe you are looking for
-
I can't get rid of an unwanted side bar, this is a site that I had listed on my toolbar bookmark (?) in the top of my page.
-
Does anyone know why my iMac G5 osx10.5.8 suddenly developed continuous small networks of lines on the screen please? I tried to provide screenshots - insert an image does not accept. Just happened while the iMac was asleep. Thanks in advance Tony
-
1010 chassis PXI-6052E. to access the unused channels to HAVE
Hello people, I have a 1010 (combo PXI/SCXI) chassis with a PXI-6052E installed in slot 8. The 6052E connector is connected to a terminal block of 68 pins. If I use the mulitplexed mode scxi modules, can I use the other 6052E analog inputs to measu
-
manually scan the values based on the multicolumn listbox
Hello I have developed a program that includes the area of multicolumn as shown below list DUT VGS_Start VGS_Step VGS_Stop VDS_Start VDS_Step VDS_Stop 1 0.1 0.05 0.2 0.3 0.05 0.4 I wan
-
DirectX 9 on Windows 7 64 bit home
I have a problem with installing Viewrightwebinstaller 3.6 in my 64 bit windows home 7 because during the installation of directx 9 it shows a display of the error: Microsoft.VC80.CRT, version type: win32: 8.0.50727.6195, publickeytoken:1fc8b3b9a1e18