Install_Oracle_Database_11g on RedHat 6.4-problems and solution, oracledatabase11g

Source: Internet
Author: User

Install_Oracle_Database_11g on RedHat 6.4-problems and solution, oracledatabase11g

The installation process lasted for one month.

At first, I installed Linux 6.4 without a virtual machine. I directly installed my Asus Notebook into a Linux server, of course with a desktop.

Installation failed twice.

Finally, the installation of Linux is complete, and oracle 11g is also downloaded.

Find an article on the Internet to teach you how to install it. The first step is to check the hardware and find that the swap partition is not configured. It is the easiest to reinstall the system, but I have seen some articles about partition modification and disk commands.

If you encounter "Partition does not start onphysical sector boundary ?" And so on.

At that time, I didn't have enough knowledge about the concept of partition, but I was just impressed. The Linux system crashes after the machine runs into a choppy box. I think I ran into/root when setting partitions.

The first week passed.

Find a video explaining the Linux system and oracle and start the lecture.

Understand the four partitions, extended partitions, and logical partitions in Linux, and reinstall the system after some installation suggestions.

Successful.

-- When you know why, you will have a bottom in your mind and know what you are doing.

The second week passed.

The first problem encountered when installing oracle is that the graphical installation interface cannot be started ." The installation interface of oracle cannot be opened.

This is a weekend.

Most of the results obtained after Baidu are xhost +

However, what I get after xhost + is an error prompt, so how can I solve this new error on Baidu.

Two days of failure. On the third day, I suddenly woke up and went back and checked "the image installation interface cannot be started ." How to solve the problem.

The optimal answer is to log out of the current user and Log On As an oracle user.

Start the oracle Installation interface.

-- Always know what your goal is and the direction cannot be wrong

The third week passed.

The system checks and lists the rpm packages to be installed.

There is no concept for rpm packages. Following the results of Baidu, the rpm and yum commands are always prompted about the "dependency" issue.

You can't be so confused.

After learning how to install the rpm package and solve the dependency, download the required packages. Fortunately, most of them are small.

Finally, all the required packages are installed.

Oracle Installation started.

Installation is complete.

However, I installed a simplified version. To facilitate the exercises, I uninstalled the installed oracle and re-installed it.

This time, the database used for the exercise is configured and the advanced installation is selected.

Complete.

-- Listen to people, eat enough food

End of week 4

 

Install_Oracle_Database_11g on RedHat 6.4-problems and solution

Reference: Oracle_11g_R2_For_RedHat_Enterprise_Linux_6.4 _ installation instructions

  1. Linux installation recommendations: Custom partitions

Partition name

Size

/Boot

200 M

Swap

See Table)

/

/Home or other

Custom

 

 

A) For the swap size, refer to the following oracle suggestions.

RAM

Swap Space

Between 1 GB and 2 GB

1.5 times the size of the RAM

Between 2 GB and 16 GB

Equal to the size of the RAM

More than 16 GB

16 GB

 

B) we recommend that you learn the Partition Rules for Linux disk partitions to help you understand why such partitions are required.

 

  1. Before starting oracle Installation, you need to create new oracle users and corresponding user groups, and modify some parameters. After these modifications are completed, run the installation command to use:

[Xxx @ xxx] $./runInstaller

The following error message is displayed: the graphical installation interface cannot be started.

Solution: log out of the current user, log in with the oracle user, and then execute./runInstaller

 

  1. The following figure shows the oracle Installation interface. When you go to the "Database Pre-Installation check" step, some software packages are not installed and some parameters are incorrect.
    1. If the software package is not installed, go

Http://pkgs.org/search? Query = gcc-3 & typet = smart download.

 

The following is the installation package prompted by oracle:

Elfutils-libelf-devel

Compat-libstdc ++-33-3.2.3-47.3.i386.rpm

Libaio-0.3.105-2.i386.rpm

Libaio-devel-0.3.105-2.i386.rpm

Libgcc-3.4.6-3.1.i386.rpm

Libstdc ++-3.4.6-11. i386.rpm

Pdksh-5.2.14-30.x86_64.rpm

UnixODBC-2.2.11-7.1.i386.rpm

UnixODBC-devel-2.2.11-7.1.i386.rpm

 

    1. When installing the rpm package, the following error occurs:

Glibc-header-2.12is needed by glibc-devel-2.12

 

Solution: (if the installation package is glibc-devel)

Enter the rpm package directory;

Execute the command yum install glibc-devel-2.12-1.149.el6.i686

If promptedGlibc-header-2.12is needed by glibc-devel-2.12

InstallGlibc-header-2.12Package

 

    1. Understand the dependency between RPM packages and help you install the RPM packages smoothly. For more information, see

Tree dependency: a-> B-> c

Install c first, then B, and finally

Circular dependency: a-> B->

In the same fashion as Package a and Package B, the command is yum install a B

Module dependency:

Find the package to which the module belongs and install it with the help of the website http://www.rpmfind.net in case of module dependency

 

    1. The parameter settings are incorrect. Modify the value in etc/sysctl. conf by referring to the given value.

 

  1. After Oracle Installation starts, an error may occur, indicating that a file in the oracle/stage/Component directory cannot be found.

Solution:

When downloading the oracledatabase compressed file, there are two zip files,

Oracle_database_XXXXXX_1of2.zip

Oracle_database_xxxxxxdigest f2.zip

A. Decompress oracle_database_xxxxxx_1of2.zip to get the database folder, which is the oracle installation directory;

B. Decompress oracle_database_xxxxxx5of2.zip to get another database folder;

C. Copy all files under the second database/Component to the first database/Component path;

Because the two folders extracted from the compressed files are called databases, decompression in linux will overwrite the first folder in the second database, and specify different paths for the second compressed file.

 

There is no major problem left. Refer to the installation instructions to complete the installation and configuration.


Sugeei

2015.8.3



Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.