Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Summary of the faults of installing Oracle10g on Oracle Linux Server 6.5s

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Summary of the faults of installing Oracle10g on Oracle Linux Server 6.5s

Oracle Linux Server 6.5 is fully compatible with Red Hat Enterprise Linux Server 6.5 and Centos6.5, but adds Oracle-specific features on the basis of RHEL6.5 or Centos6.5, so choose to install Oracle10g on this Linux.

There are 32-bit and 64-bit Linux versions of Oracle10g. Since my desktop computer is a 64-bit CPU, I chose the 64-bit version to install. First, download the corresponding 10g64 bit version from the Oracle official website to the local, decompress it to the / mnt directory, and a database folder will be generated. Then, before the actual installation, do a series of preparatory work, such as checking the size of the installation disk space and / tmp partition space, installing the rpm software package required for Oracle, adjusting the corresponding kernel parameters, creating Oracle users, groups, assigning permissions, adding environment variables for Oracle users, changing the version number in the / etc/redhat-release file of Oracle Linux Server 6.5, that is, from 6.5 to 4.5 Otherwise, the first step of Oracle installation check will not pass. I will not elaborate on these specific operating steps here, you can refer to them from google. At this point, we switch from the root user to the Oracle user and begin to execute the script file to install Oracle.

After executing the above script file, the following error prompt appears:

According to the prompt analysis of the red box, the system does not have the corresponding library file, so download the file from the YUM source. The YUM sources I configured here are both 32-bit and 64-bit CentOS6 in 163images, because although the 64-bit version of Oracle10g is installed, it also requires 32-bit individual rpm packages, so we have two Yum sources fully configured. )

After the installation is successful, execute the Oracle script file again.

According to the prompt analysis of the red box, the system lacks the corresponding library file, so download and install it from the Yum source.

Execute the Oracle installation script file, and the libXt.so.6 file is missing again, so download and install it from the YUM source.

When the installation is complete, execute the Oracle installation script file again with the following error prompt:

According to the analysis of the red box, the system lacks the library file for libXtst.so.6, so download and install it from the YUM source.

After installation, execute the Oracle installation script file again, as shown below:

Wait a few seconds, and the graphical installation interface appears, as shown below:

A prompt box pops up when the installation progress reaches 65%, as shown below:

This is a Bug of Oracle10g software, just click Continue and skip it.

When installing Oracle Net Configuration Assistant, another prompt box pops up, as shown below:

This is because the Linux system does not set the hostname, the network card does not set the IP address, or the corresponding relationship between the hostname and the IP address is not written in the / etc/hosts file. Then click OK.

Next, install Oracle Database Configuration Assistant, and when the installation progress is 2%, a prompt box pops up, as shown below:

The error message is that the shared memory cannot be created. After querying through Google, it is found that this problem has something to do with the hugetlb of Linux. Manually modify the kernel parameter hugetlb_shm_group directly to the ID number of the oracle user. The operation is as follows

Then click Ignore, return to the installation interface, click Retry again, and continue to install Oracle Database Configuration Assistant. Finally, the installation is successful. The following figure completes the installation interface:

At this point, the Oracle10g software is finally installed.

Note: in fact, the reason for the lack of library files and the graphical interface is that the rpm wheel package that is necessary for the system listed in the official Oracle installation documentation has not been installed.

The specific package names are as follows:

Binutils (x86 / 64)

Compat-db (x86 / 64)

Compat-libstdc++-296 (i686)

Compat-libstdc++-33 (i686)

Compat-libstdc++-33 (x86 / 64)

Control-center (x86 / 64)

Gcc (x86 / 64)

Gcc-c++ (x86 / 64)

Glibc (i686)

Gcc-c++ (x86 / 64)

Glibc-common (x86 / 64)

Glibc-devel (i686) glibc-devel (x86 / 64)

Glibc-headers (x86 / 64)

Ksh (x86 / 64)

Libaio (x86 / 64)

Libgcc (i686) libgcc (x86 / 64)

Libgnome (x86 / 64) libgnomeui (x86 / 64)

Libgomp (x86 / 64)

Libstdc++ (x86 / 64) libstdc++-devel (x86 / 64)

LibXp (i686) libX11 (i686)

LibXext (i686) libXau (i686)

Make (x86 / 64)

Sysstat (x86 / 64)

X8664-bit 64-bit, i686: 32-bit

As long as you strictly follow the Oracle official installation documentation step by step, there will be few problems of one kind or another.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report