本文主要是介绍Linux:This is a prerequisite condition to test whether sufficient total swap space is...,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Linux创建Oracle时,在Prerequis ite Checks时出现如下问题
解决方法:
[oracle@*** oracle]$ dd if=/dev/zero of=/home/swap bs=1024 count=8010460
dd: failed to open '/home/swap': Permission denied
[oracle@*** oracle]$ su root
Password: [root@*** oracle]# dd if=/dev/zero of=/home/swap bs=1024 count=8010460
8010460+0 records in
8010460+0 records out
8202711040 bytes (8.2 GB) copied, 49.8596 s, 165 MB/s
You have new mail in /var/spool/mail/root
[root@*** oracle]# mkswap /home/swap
Setting up swapspace version 1, size = 8010456 KiB
no label, UUID=970978e3-224f-470f-ac11-b8be7f72c919
[root@*** oracle]# swapon /home/swap
swapon: /home/swap: insecure permissions 0644, 0600 suggested.
再次check时,问题已解决。
如果有写的不对的地方,请大家多多批评指正,非常感谢!
这篇关于Linux:This is a prerequisite condition to test whether sufficient total swap space is...的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!