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

What are the common problems with VBOX RAC 12C installation

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly shows you "what are the common problems in the installation of VBOX RAC 12C", which is easy to understand and well organized. I hope it can help you solve your doubts. Let the editor lead you to study and learn what are the common problems in the installation of VBOX RAC 12C.

There is a problem with vbox installation

If the tool installation is not successful, it is usually due to the lack of the kernel. You can query it.

Yum install kernel-devel kernel-headers gcc gcc-c++ make

Yum install kernel-devel-external core module

Yum install kernel-headers-necessary for installing, compiling, and driving the kernel

Yum install gcc-Compiler

Yum install gcc-c++

Yum install make-A tool for automatically compiling source code. If you write makefile, you can compile it easily.

Version 7.0 or above

The kernel startup mode also needs to be modified.

# cat / boot/grub2/grub.cfg | grep Fedora

Results:

Menuentry 'Fedora Linux, with linux 3.1.2-1.fc16.i686.PAE'-- class fedora-- class os {

Menuentry 'Fedora Linux, with Linux 3.1.1-1.fc16.i686.PAE'-- class fedora-- class os {

Menuentry 'Fedora Linux, with Linux 3.1.0-7.fc16.i686.PAE'-- class fedora-- class os {

# grub2-set-default "Fedora Linux, with Linux 3.1.2-1.fc16.i686.PAE"

# grub2-editenv list

# grub2-mkconfig-o / boot/grub2/grub.cfg

Install the graphical interface

Yum groupinstall "Desktop"

Yum groupinstall "X Window System"

Yum groupinstall "Chinese Support"

Startx

Modify the graphical interface to start

# multi-user.target: analogous to runlevel 3

# graphical.target: analogous to runlevel 5

#

# To view current default target, run:

# systemctl get-default

#

# To set a default target, run:

# systemctl set-default TARGET.target

Set up

# systemctl set-default graphical.target

File sharing

Mount-t vobxsf soft / media on OK

Delete user

Error occurred in usedel

Home# vipw delete the user and then vipws-s delete the password file

-- ASM error

C:\ Users\ Administrator > "c:\ Program Files\ Oracle\ VirtualBox\ VBoxManage" storageat

Tach ol7-122-rac2-storagectl "SATA"-port 1-- device 0-- type hdd-- medium as

M1.vdi-mtype shareable

VBoxManage.exe: error: Could not find file for the medium'C:\ Users\ Administrato

R\ asm1.vdi' (VERR_FILE_NOT_FOUND)

VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component M

EdiumWrap, interface IMedium, callee IUnknown

VBoxManage.exe: error: Context: "OpenMedium (Bstr (pszFilenameOrUuid). Raw (), enmDe

VType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam () "at line 179 of

File VBoxManageDisk.cpp

VBoxManage.exe: error: Invalid UUID or filename "asm1.vdi"

Can be mounted manually

Delete disk Partition

VBoxManage closemedium disk / home/freeoa/winxp.vdi-- delete

-- installation error

# rpm-ivh cvuqdisk-1.0.9-1.rpm

Preparing... # [100%]

Ls: cannot access / usr/sbin/smartctl: No such file or directory

/ usr/sbin/smartctl not found.

Error:% pre (cvuqdisk-1.0.9-1.x86_64) scriptlet failed, exit status 1

Error: install:% pre scriptlet failed (2), skipping cvuqdisk-1.0.9-1

Solution: install rpm package smartmontools

Check whether the two-side configuration is appropriate.

Runcluvfy.sh stage-pre crsinst-n ol7-122ltel rac1 ol7 ol7-122-rac2-verbose

KERNEL== "sd?1", SUBSYSTEM== "block", PROGRAM== "/ usr/lib/udev/scsi_id-g-u-d / dev/$parent", RESULT== "1ATA_VBOX_HARDDISK_VB2904c39d-6ae45f47", SYMLINK+= "oracleasm/asm-disk1", OWNER= "oracle", GROUP= "dba", MODE= "0660"

KERNEL== "sd?1", SUBSYSTEM== "block", PROGRAM== "/ usr/lib/udev/scsi_id-g-u-d / dev/$parent", RESULT== "1ATA_VBOX_HARDDISK_VB3fcb1cbf-5b7b8cb5", SYMLINK+= "oracleasm/asm-disk2", OWNER= "oracle", GROUP= "dba", MODE= "0660"

KERNEL== "sd?1", SUBSYSTEM== "block", PROGRAM== "/ usr/lib/udev/scsi_id-g-u-d / dev/$parent", RESULT== "1ATA_VBOX_HARDDISK_VB3f6e81c0-525d0b1a", SYMLINK+= "oracleasm/asm-disk3", OWNER= "oracle", GROUP= "dba", MODE= "0660"

KERNEL== "sd?1", SUBSYSTEM== "block", PROGRAM== "/ usr/lib/udev/scsi_id-g-u-d / dev/$parent", RESULT== "1ATA_VBOX_HARDDISK_VBde18a207-898264ae", SYMLINK+= "oracleasm/asm-disk4", OWNER= "oracle", GROUP= "dba", MODE= "0660"

Runcluvfy.sh stage-pre crsinst-n ol7-122ltel rac1 ol7 ol7-122-rac2-verbose

VBoxManage storageattach ol7-122-rac2-storagectl "SATA"-port 1-- device 0-- type hdd-- medium asm1.vdi-- mtype shareable

VBoxManage closemedium disk F:\ vbox\ ol7-122-rac2\ ol7-122-rac2-disk1.vdi-- delete

12C packages that need to be installed

Yum install-y compat-libstdc++-33 compat-libstdc++-33.i686 gcc gcc-c++ glibc glibc.i686 glibc-devel glibc-devel.i686 ksh libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 libaio libaio.i686 libaio-devel libaio-devel.i686 libXext libXext.i686 libXtst libXtst.i686 libX11 libX11.i686 libXau libXau.i686 libxcb libxcb.i686 libXi libXi.i686 make sysstat unixODBC unixODBC-devel zlib-devel zlib-devel.i686

-change the database character set

QL > alter system enable restricted session

The system has been changed.

SQL > alter system setjob_queue_processes=0

The system has been changed.

SQL > alter database open

The database has been changed.

SQL > alter database character set zhs16gbk

Alter databasecharacter set zhs16gbk

*

An error occurred on the first line:

ORA-12712: the new character set must be a superset of the old character set

SQL > Alter DATABASE character set INTERNAL_USE zhs16gbk;- use INTERNAL_USE to skip checking for supersets

The default value of tmpfs is half of the system memory, this configuration can be used normally under Redhat system, but I tested under oracle Linux 6.1and found that this parameter does not take effect, even if it is set here to 3G tmpfs OS startup, the size of the check memory will still become half of the memory.

The solution is to add parameters to: / etc/fstab so that the configuration is loaded automatically when the system starts:

Tmpfs / dev/shm tmpfs defaults,size=3G 0 0

So if we just modify / etc/fstab, there will be no effect under Oracle Linux6.1.

We also need to modify another configuration file for the modification of tmpfs in fstab to take effect: / etc/rc.d/rc.sysinit

Step 1: comment the following statement

# mount-f / dev/shm > / dev/null2 > & 1

Step 2:

Find the following in rc.sysinit:

# Mount all other filesystems (except forNFS and / proc, which is already

# mounted). Contrary to standard usage

# filesystems are NOT unmounted in singleuser mode.

If ["$READONLY"! = "yes"]; then

Action $"Mounting local filesystems:" mount-a-tnonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2-O no_netdev

Else

Action $"Mounting local filesystems:" mount-a-n-tnonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2-O no_netdev

Fi

Add the type tmpfs in the following section:

If ["$READONLY"! = "yes"]; then

Action $"Mounting local filesystems:" mount-a-t tmpfs,nonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2-O no_netdev

Else

Action $"Mounting local filesystems:" mount-a-n-t tmpfs,nonfs,nfs4,smbfs,ncpfs,cifs,gfs,gfs2-Ono_netdev

Fi

Pack the rwlrap package

. / configure

Make

Make install

Libtermcap-devel-2.0.8-39.i386.rpm

Readline-4.3-13.i386.rpm

Readline-devel-4.3-13.i386.rpm

These are all the contents of the article "what are the common problems with VBOX RAC 12C installation?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

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