Installation oracle11g indicates insufficient swap space

Source: Internet
Author: User

Tag: type ack with dev space color www. Height ONS

1 system Environment

CentOS 6.5

Oracle 11g

Memory 16G

HDD SSD 250G

2 Run the Install command:

[Email protected] database]$./runinstaller-silent-responsefile/home/oracle/db_install.rsp
Starting Oracle Universal Installer ...

Checking Temp space:must be greater than MB. Actual 150565 MB Passed
Checking Swap space:0 MB available, MB required. Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

Continuing with the installation,


Exiting Oracle Universal Installer, log for the session can be found At/tmp/orainstall2017-06-07_02-08-39pm/installactio Ns2017-06-07_02-08-39pm.log

Workaround:

1. Check swap space before you set up swap files, it is necessary to check the system for any existing swap files. Run the following command:

1 swapon-s

If the summary of information returned is empty, then the Swap file does not exist.

2, check the file system before setting up swap files, it is also necessary to check the file system to see if there is enough hard disk space to set swap. Run the following command:

1 Df-hal


3. Create and allow swap files to create swap files using the DD command below. Check the returned information and have enough hard disk space left.

1 dd if=/dev/zero of=/swapfile bs=1024 count=512k

Parameter interpretation: if= file name: Enter the file name, default to standard input. The source file is specified. < if=input file >of= file name: Output file name, default is standard output. That is, the specified destination file. < of=output file >bs=bytes: Set the read/output block size to bytes bytes Count=blocks: Copy only blocks blocks, the block size equals the number of bytes specified by BS.

4, format and activate swap file above has created a good swap file, but also need to format before use. to run the command :

Mkswap/swapfile


To activate Swap, run the command :

Swapon/swapfile

Finish the above steps and run the command again:

Swapon-s

You will find a summary of the information returned:

1 Filename Type Size used priority2/swapfile file 524284 0-1

If the Swap is mounted automatically when the machine is restarted, then the fstab configuration needs to be modified. Open the/etc/fstab file with vim and add the following line at the end:

1/swapfile swap swap defaults 0 0

Finally, give the Swap file the appropriate permissions:

1 chown root:root/swapfile 2 chmod 0600/swapfile


Installation oracle11g indicates insufficient swap space

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.