Environment error
When I open CodeBlocks IDE warns on the screen as follows:
Error of the environment:
"Cannot find executable compiler in your path configured search for the compiler GCC GNU."
And then when I try to create/compile my codes, they don't get built and nothing happens because of which she also does not work.
And every time when I try to directly run the program, then a prompt message saying "this program is not build yet." You want to build now? »
And when I click on 'Yes' and then nothing happens.
I think there is a link to the error mentioned above and the problem I am facing.
Can someone tell me how to solve this problem?
This issue is beyond the scope of this site and should be asked on Technet or MSDN
Tags: Windows
Similar Questions
-
Error window options the boot environment
original title: Environment error window options!
Whenever I connect to my laptop, I get an error windowwith the message that Windows can not find the environment option that was entered. Can someone explain what it means, what has changed and how get rid of? I am a novice with computers, so I hope that is nothing too technical.
Hello
· Did you the latest changes on the computer?
I suggest that you check to see if the problem persists in safe mode.
Start your computer in safe mode
http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-modeRestart the computer to return to normal mode.
If you are facing a similar problem in both safe mode, then I suggest that you do a clean boot.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135It will be useful. Let us know for help.
Kind regards
Ramata Thakur
Microsoft Answers Support Engineer. Visit our Microsoft answers feedback Forum and let us know what you think.
-
Error of reconstruction recovery environment
I completely formatted and installed Windows 8.1 and upgraded to Windows 10. And today, I have installed Dell backup and restore. After I clicked on the system backup in the backup menu it says that
"We have detected that your recovery environment is missing or damaged. You want to rebuild it for you now.
So I clicked Yes and its closure. A new window opens called Dell backup and restore, and said
"Prepare the recovery environment - error".
I don't know if I had a recovery before partition. But why can't create a.
HELPPPPP PELASE.
Finally, I created the recovery environment. I completely uninstalled and reinstalled. He opened. He opens two windows. I left the computer on the whole night and in the morning, it was completed. And now I can access.
I think that it will work for you also.
-
Error message: "Build signature does not match environment.
Hello
I had a problem when you try to access the same data to two different computers through the library of BerkeleyDB. I stored data in berkeley db to Machine_A. Then I copy the data to another machine Machine_B. When I try to open it again. It by the following error message:
--------------------------------------------------------------------
Create signature does not correspond to environment
error in creating environment varialbe document 1
--------------------------------------------------------------------
The error message is raised by this code:
Database db = env.openDatabase (null, null, dbName, dbConfig);
The data are stored in native java code of Berkeley DB. In both machines, I used Berkeley DB 4.7.25.The berkeley db libraries are compiled independently on both machines. Machine_A is "Machine_A Linux 2.6.26 - 1-amd64 #1 SMP Sat Nov 8 18:25:23 UTC 2008 x86_64 GNU/Linux. Machine_B is "Linux MachineB 2.6.22 - 2-686 #1 SMP killed Aug 31 00:24:01 UTC 2007 i686 GNU/Linux",
I guess the problem is because as the data itself contains version information. But it's ironic for me. The library is dependent on the computer because it is written in C, but the data must be dependent. Am I missing something?
Thank you
Marie-ClaudeHello. Berkeley DB depends on having structures of uniform size for the life of the community, because these structures must be written and reading environment files. For this reason, each environment contains a signature of the size of the structure, and this stored signature is compared to a signature freshly calculated in open environment. My first guess as to why you see this error is that type sizes on Machine A (x86_64) don't match those of the Machine B (i686). To share files of the environment between 32 and 64-bit platforms, you will need to make sure that the library on the 64-bit platform uses 32-bit types sizes (4 bytes for example pointers, instead of 8-byte pointers.)
Ben Schmeckpeper
-
OS: OEL5x86
DB: 11.2.0.3
Nice day
I am creating the environment for my new database being upgraded, but I get an error message...
/Ora/Oracle/proddb/11.2.0/appsutil/install/PROD_mobay/adcrobj.sh and /ora/oracle/proddb/11.2.0/appsutil/install/PROD_mobay/txkcreateACL.sh
neglected later telling me the same error ORA-12705: cannot access NLS data or invalid environment specified files.
-from journal autoconfig-
Profile of AutoConfig Phase
Current profile process 1 of 1 for AppsUtil
The execution of script in InstantiateFile:
/Ora/Oracle/proddb/11.2.0/appsutil/install/PROD_mobay/afdbprf.sh
script gave:
****************************************************
afdbprf.sh started Thu Jan 23 12:14:45 EST 2014
The environment settings are...
ORACLE_HOME: /ora/oracle/proddb/11.2.0
ORACLE_SID: PROD
PATH : /ora/oracle/proddb/11.2.0/perl/bin:/ora/oracle/proddb/11.2.0/bin:/ora/oracle/proddb/11.2.0/perl/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:.
Library path: /ora/oracle/proddb/11.2.0/lib:/usr/X11R6/lib:/usr/openwin/lib:/ora/oracle/proddb/11.2.0/ctx/lib
Executable: /ora/oracle/proddb/11.2.0/bin/sqlplus
SQL * more: Production of liberation 11.2.0.3.0 Thu Jan 23 12:14:45 2014
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter the value 1: enter the value 2: enter the value 3: ERROR:
ORA-12705: cannot access files of NLS data or invalid environment specified
ERRORCODE = 1 ERRORCODE_END
.end std out.
.end err out.
Any Suggestions?
Kind regards
Shridath.
Please see:
AutoConfig is a failure with status 4 to a new database with NLS environment error ORA-12705 (Doc ID 1612017.1)
DatabaseTier Autoconfig errors ORA-12705: cannot access NLS files or invalid environment specified (Doc ID 548916.1)
AutoConfig is a failure with status 4 to a new database with NLS environment error ORA-12705 (Doc ID 1612017.1)
Thank you
Hussein
-
Hi all
I 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
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).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
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*)
It gave me the following result# pecl install oci8
Once installed OCI8 I've updated the */etc/php.ini* accordingly, by adding the following entries# 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 #
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 file;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 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"
To verify that these values are actually taken into account by Apache, I runORACLE_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
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.# service httpd restart
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
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# 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 #
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*.# 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 #
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.
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$ 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 $
It's almost 3 days I'm Googling to find a solution to this problem without success.# locate php.ini /etc/php.ini # # # php -i | grep Configuration Configuration File (php.ini) Path => /etc Loaded Configuration File => /etc/php.ini Configuration #
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
DariyooshSince 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. -
The works of extremely slow DB_REPMGR_ACKS_NONE policy
I run the replication group with 3 knots and ack policy set to DB_REPMGR_ACKS_NONE. I discovered, that the Scriptures are very slow, about ten times slower than the policy of DB_REPMGR_ACKS_QUORUM. I wonder what is the reason?
I use the 5.1 version of Berkeley DB. I also activated the diagnostic replication. Here are some samples of newspaper:
Master:
...
[1300377648:665288] [29653/140552691242768] the environment error: lease_check: eid 0 valid 0, lease_lsn [1] [145024]
[1300377648:665301] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:665324] [29653/140552691242768] the environment error: valid for 1, min 1
[1300377648:665789] [29653/140552691242768] the environment error: lease_check: try curtime 0 min_leases 1 1300377648 665789000, maxLSN [1] [145024]
[1300377648:665809] [29653/140552691242768] the environment error: lease_check: eid 0 valid 0, lease_lsn [1] [145024]
[1300377648:665820] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:665831] [29653/140552691242768] the environment error: valid for 1, min 1
[1300377648:665861] [29653/140552691242768] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_send_message: msgv = 5 logv 17 gen = 1 eid - 1, Journal type, LSN [1] [145168]
[1300377648:666193] [29653/140552691242768] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_send_message: msgv = 5 logv 17 gen = 1 eid - 1, Journal type, LSN [1] [145288]
[1300377648:666232] [29653/140552691242768] the environment error: lease_check: try curtime 0 min_leases 1 1300377648 666232000, maxLSN [1] [145024]
[1300377648:666249] [29653/140552691242768] the environment error: lease_check: eid 0 valid 0, lease_lsn [1] [145024]
[1300377648:666260] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:666272] [29653/140552691242768] the environment error: valid for 1, min 1
[1300377648:666290] [29653/140552691242768] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_send_message: msgv = 5 logv 17 gen = 1 eid - 1, the type of journal, perm [145358] rental hunting LSN [1]
[1300377648:666580] [29653/140552691242768] the environment error: lease_check: try curtime 0 min_leases 1 1300377648 666580000, maxLSN [1] [145358]
[1300377648:666599] [29653/140552691242768] the environment error: lease_check: eid 0 valid 0, lease_lsn [1] [145024]
[1300377648:666610] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:666621] [29653/140552691242768] the environment error: lease_check: eid 0 valid 1, lease_lsn [1] [145024]
[1300377648:666631] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:666641] [29653/140552691242768] the environment error: valid 0, min 1
[1300377648:666723] [29653/140552691242768] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_send_message: msgv = 5 logv 17 gen = 1 eid - 1, the type of log, perm [145358] rental LSN [1]
[1300377648:666761] [29653/140552691242768] the environment error: lease_check: try 1 min_leases 1 1300377648 666761000 curtime, maxLSN [1] [145358]
[1300377648:666777] [29653/140552691242768] the environment error: lease_check: eid 0 valid 0, lease_lsn [1] [145024]
[1300377648:666813] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:666824] [29653/140552691242768] the environment error: lease_check: eid 0 valid 1, lease_lsn [1] [145024]
[1300377648:666835] [29653/140552691242768] the environment error: lease_check: 1300377677 664194000 endtime
[1300377648:666845] [29653/140552691242768] the environment error: valid 0, min 1
[1300377648:666895] [29653/140552691242768] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_send_message: msgv = 5 logv 17 gen = 1 eid - 1, the type of log, perm [145358] rental LSN [1]
[1300377648:706266] [29653/140552749995792] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_process_message: msgv = 5 logv 17 gen = 1 eid 1, type lease_grant, LSN [1] [145358]
[1300377648:706296] [29653/140552749995792] the environment error: lease_grant: grant a msg 1300377648 666289000
[1300377648:706309] [29653/140552749995792] the environment error: lease_grant: eid 1, start 1300377648 666289000 end 1300377678 666289000, duration 30 0
[1300377648:706322] [29653/140552749995792] the environment error: lease_grant: eid 1, lease_lsn [1] [145358]
[1300377648:706413] [29653/140552741603088] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [145358]
[1300377648:706434] [29653/140552741603088] the environment error: lease_grant: grant a msg 1300377648 666289000
[1300377648:706446] [29653/140552741603088] the environment error: lease_grant: eid 0, start 1300377648 666289000 end 1300377678 666289000, duration 30 0
[1300377648:706458] [29653/140552741603088] the environment error: lease_grant: eid 0, lease_lsn [1] [145358]
[1300377648:706470] [29653/140552741603088] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_process_message: msgv = 5 logv 17 gen = 1 eid 1, type lease_grant, LSN [1] [145358]
[1300377648:706486] [29653/140552741603088] the environment error: lease_grant: grant a msg 1300377648 666723000
[1300377648:706497] [29653/140552741603088] the environment error: lease_grant: eid 1, start 1300377648 666723000 end 1300377678 666723000, duration 30 0
[1300377648:706511] [29653/140552741603088] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [145358]
[1300377648:706527] [29653/140552741603088] the environment error: lease_grant: grant a msg 1300377648 666895000
[1300377648:706538] [29653/140552741603088] the environment error: lease_grant: eid 0, start 1300377648 666895000 end 1300377678 666895000, duration 30 0
[1300377648:706552] [29653/140552741603088] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [145358]
[1300377648:706567] [29653/140552741603088] the environment error: lease_grant: grant a msg 1300377648 666895000
[1300377648:706600] [29653/140552749995792] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta1 rep_process_message: msgv = 5 logv 17 gen = 1 eid 1, type lease_grant, LSN [1] [145358]
...
one of the lines:
...
[1300377639:653736] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the newspaper, perm [140832] type hunting lease LSN [1]
[1300377639:653752] [29682/140349762348816] the environment error: rep_apply: Set apply_th 1
[1300377639:654013] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [140832] LSN lease [1]
[1300377639:654213] [29682/140349762348816] the environment error: rep_apply: decrement apply_th 0 [1] [140976]
[1300377639:654235] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [140832] nobuf
[1300377639:654296] [29682/140349762348816] error in the environment: ISPERM [1] [140832] return cmp = 0
[1300377639:654304] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [140832] nobuf
[1300377639:654381] [29682/140349753956112] error in the environment: ISPERM [1] [140832] return cmp = - 1
[1300377639:654315] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [140832] LSN lease [1]
[1300377639:654657] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [140832] nobuf
[1300377639:654695] [29682/140349762348816] error in the environment: ISPERM [1] [140832] return cmp = - 1
[1300377640:616800] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [140976]
[1300377640:616832] [29682/140349753956112] the environment error: rep_apply: Set apply_th 1
[1300377640:616849] [29682/140349753956112] the environment error: rep_apply: decrement apply_th 0 [1] [141096]
[1300377640:653564] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141096]
[1300377640:653605] [29682/140349753956112] the environment error: rep_apply: Set apply_th 1
[1300377640:653624] [29682/140349753956112] the environment error: rep_apply: decrement apply_th 0 [1] [141186]
[1300377640:653639] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [141186] rental hunting LSN [1]
[1300377640:653656] [29682/140349753956112] the environment error: rep_apply: Set apply_th 1
[1300377640:653859] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [141186] rental LSN [1]
[1300377640:654108] [29682/140349753956112] the environment error: rep_apply: decrement apply_th 0 [1] [141298]
[1300377640:654129] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [141186] nobuf
[1300377640:654191] [29682/140349753956112] error in the environment: ISPERM [1] [141186] return cmp = 0
[1300377640:654209] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [141186] rental LSN [1]
[1300377640:654228] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [141186] nobuf
[1300377640:654261] [29682/140349753956112] error in the environment: ISPERM [1] [141186] return cmp = - 1
[1300377640:654345] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [141186] nobuf
[1300377640:654386] [29682/140349762348816] error in the environment: ISPERM [1] [141186] return cmp = - 1
[1300377641:628410] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141298]
[1300377641:628445] [29682/140349753956112] the environment error: rep_apply: Set apply_th 1
[1300377641:628463] [29682/140349753956112] the environment error: rep_apply: decrement apply_th 0 [1] [141437]
[1300377641:665512] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141437]
[1300377641:665554] [29682/140349762348816] the environment error: rep_apply: Set apply_th 1
[1300377641:665572] [29682/140349762348816] the environment error: rep_apply: decrement apply_th 0 [1] [141509]
[1300377641:665589] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141509]
[1300377641:665605] [29682/140349762348816] the environment error: rep_apply: Set apply_th 1
[1300377641:665618] [29682/140349762348816] the environment error: rep_apply: decrement apply_th 0 [1] [141629]
[1300377641:665631] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141629]
[1300377641:665647] [29682/140349762348816] the environment error: rep_apply: Set apply_th 1
[1300377641:665659] [29682/140349762348816] the environment error: rep_apply: decrement apply_th 0 [1] [141701]
[1300377641:665672] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [141701] rental hunting LSN [1]
[1300377641:665688] [29682/140349762348816] the environment error: rep_apply: Set apply_th 1
[1300377641:665993] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [141701] rental LSN [1]
[1300377641:666122] [29682/140349762348816] the environment error: rep_apply: decrement apply_th 0 [1] [141845]
[1300377641:666141] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [141701] nobuf
[1300377641:666200] [29682/140349762348816] error in the environment: ISPERM [1] [141701] return cmp = 0
[1300377641:666218] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, the type of log, perm [141701] rental LSN [1]
[1300377641:666236] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [141701] nobuf
[1300377641:666270] [29682/140349762348816] error in the environment: ISPERM [1] [141701] return cmp = - 1
[1300377641:666348] [29682/140349753956112] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_send_message: msgv = 5 logv 17 gen = 1 eid 0, type lease_grant, LSN [1] [141701] nobuf
[1300377641:666389] [29682/140349753956112] error in the environment: ISPERM [1] [141701] return cmp = - 1
[1300377642:632755] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141845]
[1300377642:632789] [29682/140349762348816] the environment error: rep_apply: Set apply_th 1
[1300377642:632815] [29682/140349762348816] the environment error: rep_apply: decrement apply_th 0 [1] [141965]
[1300377642:669472] [29682/140349762348816] the environment error: / home/gawlinska/rfslocal/execfiles/env_meta2 rep_process_message: msgv = 5 logv 17 gen = 1 eid 0, LSN, Journal of type [1] [141965]
...
I'm looking forward to your reply.
See you soon,.
Edith
Published by: Edith on 2011-03-17 09:06
Published by: Edith on 2011-03-17 09:07Edith says:
I turned off master leases and chose heartbeats instead of. It seems that politics DB_REPMGR_ACKS_NONE works fine now.
So what's the problem with my master leases help?Everything goes well with your use of the main lease. It is expected that master leases slow performance because of the additional expectations and communications between the sites they do.
You can assess whether the performance of master leases are useful for your application. The major goal of master leases should provide readings that are authorities on the main site. This means that reads on the site of master returns only replicated data in a sustainable way. Many applications don't require this level of severity on their readings of masters.
Note that the heart beats have a different goal, which is to allow a client detect the loss of his connection to the captain more quickly.
I get lower performance with DB_REPMGR_ACKS_NONE as DB_REPMGR_ACKS_ONE or DB_REPMGR_ACKS_QUORUM.
Regardless of the leases, there may be a performance difference between the ACK_NONE and other policies that use receipts. The policies that use acknowledgements must wait as receipts and tend to spread their masters transactions accordingly. ACK_NONE is used, there is no waiting for acknowledgements and it becomes more possible for the master to generate transactions more quickly that some customers can treat them.
When you add leases to ACK_NONE, a customer who is farther behind will take more time to grant its leases. I can't leave the pieces of replication output you provided if it is without a doubt what is happening, but it is possible.
Paula Bingham
Oracle -
Work on a new machine code throws an exception
HI I've been using berkeley DB 4.7 for awhile now and it works fine. Today, I had to change my code to another machine. So I first installed BerkeleyDB on the new machine and then my compiled code. all this went well. However, when I try to run the code... I get an error saying...
(46965944827472) DB ENVIRONMENT error message: illegal flag specified to DB_ENV-> open
terminate called after throwing an instance of 'DbException.
What(): DbEnv::open: invalid argument
Abandoned
Its the same code on both machines and below...
u_int32_t envFlags = DB_CREATE | DB_INIT_MPOOL | DB_INIT_TXN | DB_INIT_LOCK | DB_THREAD;
dbenv.set_flags (DB_TXN_NOSYNC, 1);
dbenv. Open (sEnvPath.c_str (), envFlags, 0);
Details of old Machine
$ uname - a
Linux gritsbox.rsi.com 2.6.18 - 92.1.17.el5 #1 SMP Wed Oct 22 04:19:38 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
$ db_verify v
Berkeley DB 4.7.25: (15 May 2008)
New Machine details
$ uname - a
Linux mdguru.rsi.com 2.6.18 - 92.1.22.el5 #1 SMP Wed Dec 5 09:28:22 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
$db_verify v
Berkeley DB 4.7.25: (15 May 2008)
Any help is greatly appreciated.
Thank youHello. Normally, this behavior indicates that you are including an earlier version of the header file accidentally. It is not uncommon to find old versions of BDB in/usr/include and/usr/lib. If you want to check what version of DB you have included, you can ask your print DB_VERSION_STRING program, it is #define'd in db.h.
Check your paths include and library with care or explicitly point to where you have installed using 4, I-7 and L - flags.
Please, followed if this does not solve your problems.
Ben Schmeckpeper
-
I'm trying to understand why a complex function does not work and find it difficult to go by just strategically placing fn:error() orders. I would use fn:trace, but it does not seem to send output to stderr or stdout. Fn:trace() works? How can I capture the output?
Hello
In XML DB, fn:trace() sends output to the environment error log. Take a look at these links to see how to activate the error log (or in the envelope XML DB, use the 'v - v' options):
http://www.Oracle.com/technology/documentation/Berkeley-DB/XML/api_cxx/env_set_error_stream.html
http://www.Oracle.com/technology/documentation/Berkeley-DB/XML/api_cxx/DbXml_setLogLevel.htmlJohn
-
Hello
I have a request ('A') that I am trying to build another application ("BuildA").
I can create a request for A manually of its project using the Build specification, and it works fine (A.exe).
Also, when I run BuildA.vi in the development environment he calls the "Build.vi" properly and again generates application A.exe very well.
Then, when I ask BuildA (manually) and run BuildA.exe, I would expect that it also creates A.exe as BuildA.vi did in the development environment.
However, it fails with the error:
Code: 1025
Reference VI opened in .vi NI_App_Builder_API.lvlib:Build (path)-> BuildA.vi
Path of the VI: C:\TEMP\AppBuild\BuildA\vi.lib\AppBuilder\BuildTarget.viI noticed this thread , which looks like a similar problem, but has reached no conclusion.
Why BuildA.vi works fine in the LabVIEW environment, but the application that builda.exe does not work? All paths are hard-coded, so it shouldn't be a path problem.
Thank you
-john
eye_in_the_sky wrote:
I guess we will have to keep the application building separated the disappointment... automated scripts
There are still other options. Lets say configure you VI to run then. If you ran the following command from your script line
"C:\Program NIUninstaller Instruments\LabVIEW 2011\LabVIEW.exe" "C:\BuildA.vi".
It would then open your BuildA.vi in LabVIEW and run in the development environment.
-
HP Pavilion g4-1117dx laptop computer 4 GB, Win 7 Home Premium SP1 64-bit running
Tried to boot into the recovery environment through the HP Recovery Manager (v 2.0.9.0 Rebecca.exe 3/25/12)
However, I get to the Windows Boot Manager screen that says error 0xc000000e - device is not accessible
I scanned the partition HP_TOOLS for errors, including an analysis of the sector, but it does detect any errors.
FYI - I have repair disks that I created. Is it possible to repair or recover only the partition HP_TOOLS?
Just to be clear, the problem is with my Recovery partion only. Win 7 in main boot works fine.
Suggestions to fix or repair, please?
Don't know what else to suggest other than using recovery discs to reinstall. If you have recovery disks, the recovery partition is not really necessary, more a convenience than using disks, that's all.
-
Hello
This is my first time on this forum so bear with my ignorance! I'll expose the background of my setup and then explain the error.
We have a small business with a server running SBS2011 and PC running Windows 8 and 8.1 connected to the server in a domain environment.
We use a CRM product called Emu Tall that uses SQL Server 2008 R2 on the server for the database and the PC run a local application that connects to this database.
On a daily basis, but completely randomly and sometimes several times a day, a user will try and open the application on a PC and get the following error message.
Could not load file or assembly 'Microsoft.SqlServer.SqlEnum, Version = 10.0.0.0, Culture = neutral, PublicKeyToken = 89845dcd8080cc91' or one of its dependencies. The system cannot find the specified file.
At first, I thought it must be a matter of waiting time as it seemed to happen every morning, but I've proved since that it occurs at any time of the day and is apparently unrelated to amount of users or idle time or something like that.
Here's another oddity that hopefully sheds some light on it. If I go to the server and open the CRM application on the server, it works very well since it is only the PC that have the connection problem. In addition, as soon as I connected to the server of any PC can connect immediately (until it happens again later in the day). I don't need to stay connected to the server, connect one time and close the session and he "fixed" it for a few hours for all PC users.
I contacted the CRM vendor, and they are completely confused and have no idea what to do.
We are trolling along at the moment with me opening a session on the server for launch launch whenever a user receives the error message but it is far from satisfactory.
A final observation is that it does not always. It used to work fine. The problem began just two months ago and seems to coincide with the increase in our user from 5 to 12 users license even if the CRM provider swear that it is nothing to do with the license. They may agree; I don't know enough to argue the point.
Any help will be appreciated! I'm sure it will be a simple solution and someone there will know why and the answer immediately but is elusive at this time.
This issue is beyond the scope of this site and must be placed on Technet or MSDN
-
on my notebook, I have an error fatal java runtime Environment Daemon thread what should I do
HS-err-pid6676-block-notes a fatal error has been detected by run time java environment: Exception_Access_ Violation (0xc0000005) at pc = 0xcccccccc, pid = 6676, tid = 6852 basically says accident occurred outside the java virtual machine in native code what need help
Hi Ned,.
Uninstall the current and all other earlier versions of Java.
Download and install the latest version of Java for your computer and operating system: http://www.java.com/en/download/index.jsp and then restart.
If all goes well, which will solve the problem.
If not, please repost it here: http://answers.microsoft.com/en-us/windows/forum/windows_programs?page=1&tab=all&tm=1300700638376.
Good luck!
-
Error of environment health Scanner Microsoft IT 'WEBSBPA_Engine '.
-get [3540], ' 2011/05/09 15:51:50.186","WEBSBPA_Engine","Error"," Microsoft.WEBS.BPA.Engine.DataCollectionException: "
The NS record is properly set for mccarter.com domain of the local DNS server configured. A fully qualified domain name nwkdc03.mccarter.com is set, but an IP address is not defined. Correct the NS record.
A quick glance at my record NS contains an IP address.
Any suggestion would be appreciated. This product would be very useful.
Thank you.
Hi Susan grubiak,.
Because the question you posted is related to a COMPUTING environment, it would be better suited in the Technet Windows network. Please post your question in the following TechNet forum to get help:
http://social.technet.Microsoft.com/forums/en/itprovistasp/threads
-
Cannot run programs or restore Windows - error not able to detect options or environment variables
original title: HELP!
My netbook has changed, windows is no longer genuine, I can't run the tasks, restoring, recovering, absolutely nothing, not even download any help whatsoever. I need help, I don't know if I was in charge by another entity, a virus or what, but I was totally disabled. I can always get on line and access basic information about my computer. An error message that comes up often is "not being able to detect options or environment variables. In my view, that it is a virus that has locked all forms of assistance and recovery. What can I do? Help
also I can't turn on my firewall and my current antivirus says that everything is ok. It is not the case. This problem started when a website popped up and said that I had been infected that I have to pay and download their program to save my computer. This program would go not far, my current antivirus, locking and it kept popping up again and again until finally I ended up with a green background and disabled the system.
This problem started when a website popped up and said that I had been infected that I have to pay and download their program to save my computer.
It seems you have been affected and have installed malware now. It is a common program of scareware designed to trick you out if your moneyI suggest that you get better results here:
Maybe you are looking for
-
Impossible to change the video quality YouTube app when using cellular data?
Basically, when I'm on my data (AT & T) and decided to watch a video automatically plays it at 1080 but it burns my fast data. I tried to change through the video, these three points there and says unavailable. I go into settings YouTube app and I do
-
Wireless Satellite L350D - 10 p
I had a Satellite L350D - 10 p with PSLE0E-00700PCE model number. Even thw wireless switch is turned on I see not all net wireless. I have another computer with wireless next to the L350D option and I see 4 different nets. What should I do to activat
-
DeskJet 2540: cannot convert mac wireless usb printer
Hello I'm having a problem setting my printer all-in-one Deskjet 2540 on my macbook (osx El Capitan). After basic implementation through usb connection, I was able to connect my printer to my router, which makes possible wireless printing. I was then
-
Bluetooth mouse not working from time to time (X 220)
Bluetooth (Microsoft Bluetooth Notebook Mouse 5000) from time to time my mouse stops working. I have to either move the mouse around a lot or cycle power to operate again. The problem is not with the mouse, which works fine with other computers.
-
HP Pavilion g6 - 2229ee Notebook: driver Bluetooth HP Pavilion g6 - 2229ee Notebook PC
Hey... could you help me please to solve problem bluetooth laptop HP Pavilion g6-2229ee... n with Win 8.1 (32 bit) I tried a lot of packages such as (sp58944) identified bluetooth, but it did not work. Thank you