ORA-15183 Unable to Create Database on Server using 11.2 ASM
ORA-15183 Unable to Create Database on Server using 11.2 ASM and Grid Infrastructure [ID 1054033.1]
Applies to:
Oracle Server - Enterprise Edition - Version: 11.1.0.6 to 11.2.0.1.0 - Release: 11.1 to 11.2
Information in this document applies to any platform.
Symptoms
Using 11.2.0.1 Grid Infrastructure and ASM, try to create 11.1.0.7 database as oracle user "oratest",
while Grid is installed as grid user "grid", getting error in "create database ..." command:
ERROR: asm_version error. err: driver/agent not installed rc:2
ORA-15183: ASMLIB initialization error [driver/agent not installed]
WARNING:FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so
ERROR: asm_init(): asm_erc:-5 msg:Driver not installed pid:25261
The grid and oratest users are defined as:
[root@node2]# id grid
uid=212(grid) gid=201(oinstall) groups=201(oinstall),202(dba),204(asmadmin),205(asmdba),220(asmoper)
[grid@node2]$ id oratest
uid=215(oratest) gid=201(oinstall) groups=201(oinstall),202(dba),205(asmdba),222(oper)
Changes
New installation
Cause
This is caused by the use of job role separation and oracle binary not having the proper group ownership
preventing the database software owner "oratest" from accessing the ASMlib driver.
The output of "/usr/sbin/oracleasm configure" shows:
ORACLEASM_UID=grid
ORACLEASM_GID=asmadmin
Only users that are members of the asmadmin group have direct access to ASM disks and maintenance. For
other database users (software owners), the access is gained via the oracle executable
($ORACLE_HOME/bin/oracle). It should have a setgid bit with group set to "asmadmin". The "oracle" binary
is changed automatically via setasmgidwrap when the instance is started by the CRS daemon (e.g. srvctl
start database/instance).
In this case, the oracle binary is owned by
-rwsr-s--x 1 oratest oinstall
instead of
-rwsr-s--x 1 oratest asmadmin
Solution
Manually change the oracle binary ownership and permission:
as root user:
cd $ORACLE_HOME/bin
chgrp asmadmin oracle
chmod 6751 oracle
ls -l oracle
Ensure the ownership and permission is now like:
-rwsr-s--x 1 oratest asmadmin
Then retry "create database" command.
* Note 1: This change is only required for RDBMS $ORACLE_HOME/bin/oracle. Please do not modify
$GRID_HOME/bin/oracle binary ownership.
* Note 2: Anytime when a patch is applied to the database ORACLE_HOME, please ensure above ownership and
permission is corrected after the patch.
References
Show Related Information Related
Products
* Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
Keywords
ASMLIB; INFRASTRUCTURE; GRID; ORACLEASM
Errors
ORA-15183
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-688236/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Fatal error in launcher: Unable to create process using '"'Error
- recover database using backup controlfile理解Database
- ORA-01031 CREATE TRIGGER ON DATABASEDatabase
- ftp_rawlist: Unable to create temporary file.FTP
- Create orders using SAP Commerce Cloud Restful APICloudRESTAPI
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- ORA-15055 Unable to Connect to ASM When Starting an InstanceASM
- 4.3.3 使用CREATE DATABASE語句建立CDBDatabase
- G009-ORACLE-ASK Using In-Database ArchivingOracleDatabase
- How to create the Gold gold using RGB color values All In OneGo
- 2.4.1 使用 CREATE DATABASE 子句建立資料庫Database資料庫
- 【PDB】Oracle 建立pdb說明(create pluggable database)OracleDatabase
- Oracle 12C Database File Mapping for Oracle ASM FilesOracleDatabaseAPPASM
- 2.4 使用 CREATE DATABASE 語句建立資料庫Database資料庫
- 4、MySQL建立資料庫(CREATE DATABASE語句)MySql資料庫Database
- java.lang.OutOfMemoryError- unable to create new native thread 問題排查JavaErrorthread
- Sanic create_server() 方法/函式Server函式
- Failed to run 'create login' or 'sp_addsrvrolemeber' in sql Linux using windows authentcationAIVRSQLLinuxWindows
- 網站報錯:“Database Server Error”網站DatabaseServerError
- 4.3.4 使用CREATE DATABASE語句建立一個CDB:示例Database
- Oracle Database 19c(19.9) RAC On RedHat 8.3 Using VirtualBox and MacBookOracleDatabaseRedhatMac
- git拉取程式碼報錯filename too long unable to create fileGit
- [FATAL] [INS-32012] Unable to create directory: /u01/app/19.3.0/grid,APP
- ORA-31633: unable to create master table "SYSTEM.SYS_EXPORT_FULL_XX"ASTExport
- MySQL5.7 Unable to find a match: MySQL-community-serverMySqlUnityServer
- CRS-2101:The OLR was formatted using version 3 ORACLE單機ASM報錯ORMOracleASM
- 遷移Report Server DataBase時遇到的坑ServerDatabase
- Linux 無許可權建立資料夾( 報錯:Unable to create ... directory.)Linux
- 安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- 【SQL】14 UNION 操作符、SELECT INTO 語句、INSERT INTO SELECT 語句、CREATE DATABASE 語句、CREATE TABLE 語句SQLDatabase
- Debug a Server–Side Rendered SAP Spartacus Storefront Using Chrome Dev ToolsServerIDEChromedev
- Connect SQL Server from Linux Client using Windows Authentication and troubleshoot stepsSQLServerLinuxclientWindows
- 11.2
- ORACLE 19C RAC FOR RHEL7 打補丁報錯OPatchException: Unable to create patchObjectOracleExceptionObject
- 靜默安裝11.2.0.1資料庫軟體報[FATAL] [INS-32035] Unable to create資料庫
- SQL Server database mail問題診斷一例SQLServerDatabaseAI
- Oracle Database Server 'TNS Listener'遠端資料投毒漏洞OracleDatabaseServer
- Kettle: pentaho-server-ce-9.4 : ERROR [SchemaUpdate] could not get database metadataServerErrorDatabase
- Unable to execute SonarScanner analysis: Fail to get bootstrap index from server: Host is unreachable(Host unreachable)AIbootIndexServer