Applies to:
Oracle Server - Enterprise Edition - Version 11.2.0.2.0 and laterInformation in this document applies to any platform.
Symptoms
While installing the Oracle 11gR2 binaries on Linux x86-64, you may receive the following error:
INFO: (if [ "compile" = "compile" ] ; then \
/opt/oracle/product/11.2.0.3_BR/bin/gennttab > ntcontab.c ;\
gcc -m64 -fPIC -c ntcontab.c ;\
rm -f /opt/oracle/product/11.2.0.3_BR/lib/ntcontab.o ;\
mv ntcontab.o /opt/oracle/product/11.2.0.3_BR/lib/ ;\
/usr/bin/ar rv /opt/oracle/product/11.2.0.3_BR/lib/libn11.a /opt/oracle/product/11.2.0.3_BR/lib/ntcontab.o ; fi)
INFO: ntcontab.c:7:23: error: sys/types.h: No such file or directory
INFO: mv: cannot stat `ntcontab.o': No such file or directory
INFO: /usr/bin/ar: /opt/oracle/product/11.2.0.3_BR/lib/ntcontab.o: No such file or directory
INFO: make: *** [ntcontab.o] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/opt/oracle/product/11.2.0.3_BR/network/lib/ins_net_client.mk'. See '/opt/oracle/oraInventory/logs/installActions2012-01-05_01-27-04PM.log' for details.
Exception Severity: 1
INFO: Adding ExitStatus STOP_INSTALL to the exit status set
INFO: Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -4
INFO: Shutdown Oracle Database 11g Release 2 Installer
Changes
Installation of Oracle 11gR2 binaries on Linux x86_64 platform.
Cause
The error shows that the file : sys/types.h is missing or is corrupted.
OR
It might be due to the corrupted package.
OR
It might be due to the corrupted package.
Solution
1. The types.h file belongs to glibc-header package. Please execute the following command to confirm:
% rpm -ql glibc-headers-2.5-49.el5_5.7 ( The output shows the file is included in the package )
2. To check the integrity of the package please execute the following commands:
% rpm -V glibc-headers-2.5-49.el5_5.7 (shows if all the files included are missing or not )
3. If the installed package is corrupted, the output of " rpm -V <package> " will be like following output:
---
rpm -V glibc-headers-2.5-49.el5_5.7
---
missing /usr/include/sys/termios.h
missing /usr/include/sys/time.h
missing /usr/include/sys/timeb.h
missing /usr/include/sys/times.h
missing /usr/include/sys/timex.h
missing /usr/include/sys/ttychars.h
missing /usr/include/sys/ttydefaults.h
missing /usr/include/sys/types.h
missing /usr/include/sys/ucontext.h
---
4. In this case, perform the following steps:
Re-install the package by using the following command
% rpm -ivh --force <package_name>
or If you have YUM configured then execute the following command:
% yum install glibc-headers
5. Make sure that no files are found in the output after issuing the following command:
rpm -V glibc-headers-2.5-49.el5_5.7
This ensures that no files are corrupt/missing now.
6.Re-try installing the Oracle 11gR2 binaries.
6.Re-try installing the Oracle 11gR2 binaries.
Niciun comentariu:
Trimiteți un comentariu