shared memory realm does not exist

nolog> nolog> ORA-27125: unable to create shared memory segment
Linux-x86_64 Error: 1: Operation not permitted

(voir WCTSRV0060 ou WCTSRVDBTCINT1)

Pour ajouter oracle au group wheel

root@wctsrv0056:# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)

vim /etc/group
ajouter ,oracle à la fin du groupe wheel si pas dans la liste id

 Grant autorisation sur hugepages

pour vérifier avant :
sysctl -a |grep hugetlb
sysctl: reading key « net.ipv6.conf.all.stable_secret »
sysctl: reading key « net.ipv6.conf.default.stable_secret »
sysctl: reading key « net.ipv6.conf.eth0.stable_secret »
sysctl: reading key « net.ipv6.conf.lo.stable_secret »
vm.hugetlb_shm_group = 0

pour écrire dans sysctl => sysctl -w vm.hugetlb_shm_group=${ORACLE_INSTALL_GROUPE} (voir en haut id oracle)
sysctl -w vm.hugetlb_shm_group=54321

pour vérifier après
sysctl -a |grep hugetlb
sysctl: reading key « net.ipv6.conf.all.stable_secret »
sysctl: reading key « net.ipv6.conf.default.stable_secret »
sysctl: reading key « net.ipv6.conf.eth0.stable_secret »
sysctl: reading key « net.ipv6.conf.lo.stable_secret »
vm.hugetlb_shm_group = 54321

root@wctsrv0056:# id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),10(wheel),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)

 

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *