2020年4月16日木曜日

CenOS7 oracle 11g インストール

下記からダウンロード1

https://www.oracle.com/technetwork/jp/indexes/downloads/index.html

1239269270  4月 15 00:19 linux.x64_11gR2_database_1of2.zip
1111416131  4月 15 00:22 linux.x64_11gR2_database_2of2.zip

# useradd oracle
# passwd oracle
# usermod -aG wheel oracle
# yum --enablerepo=base install gcc libaio-devel compat-libstdc++-33 elfutils-libelf-devel mksh gcc-c++ libstc++-devel
# su - oracle
$ mkdir Inst
$ cd Inst
$ unzip linux.x64_11gR2_database_1of2.zip
$ unzip linux.x64_11gR2_database_2of2.zip
$ cd database
$ export LANG=C
$ sudo firewall-cmd --add-port=1521/tcp --zone=public --permanent
$ sudo firewall-cmd --reload
$ ./runInstaller
mail address -> blank -> next->yes
Create and configure a database
Server Class
Single instance database installation
Typical install
/home/oracle/app/oracle
/home/oracle/app/oracle/product/11.2.0/dbhome_1
File System
/home/oracle/app/oracle/oradata
Enterprisee Edition(4.29GB)
oracle
orcl
OraclePassword01
OraclePassword01
/home/oracle/app/oraInventory
oracle
Fix & ChekAgain
OK
スワップ領域とバージョンが新しすぎてエラー、取り敢えずignore ALLで先に進んでみる。

エラーが発生してSTOP
NFO: gcc -o ctxhx -m64 -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/ -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/stubs/  /home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ctxhx.o -L/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz  -lctxhx -Wl,-rpath,/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -
INFO: lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11  `cat /home/oracle/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist`

INFO: //usr/lib64/libstdc++.so.5: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status

INFO: make: *** [ctxhx] Error 1

INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'install' of makefile '/home/oracle/app/oracle/product/11.2.0/dbhome_1/ctx/lib/ins_ctx.mk'. See '/home/oracle/app/oraInventory/logs/installActions2020-04-16_11-29-15AM.log' for details.
Exception Severity: 1










0 件のコメント:

コメントを投稿

zabbix7 amazon linux2023 インストール postgres15

【postgres】 dnf -y install postgresql15-server postgresql15-server-devel postgresql-setup initdb passwd postgres vi `find / -name pg_hba.con...