WARNING: FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so

Database instance starts up failure with below errors:

ORA-15183: ASMLIB initialization error [driver/agent not installed]
Wed Jan 31 17:48:16 2018
WARNING: FAILED to load library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so

Check “oracleasm.service” with errors:

# systemctl status oracleasm.service
 oracleasm.service - Load oracleasm Modules
 Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
 Active: inactive (dead) since Wed 2018-01-31 18:31:50 AEDT; 2s ago
 Process: 34627 ExecStop=/usr/sbin/service oracleasm stop_sysctl (code=exited, status=0/SUCCESS)
 Process: 429 ExecStart=/usr/sbin/service oracleasm start_sysctl (code=exited, status=0/SUCCESS)
 Main PID: 429 (code=exited, status=0/SUCCESS)

Jan 31 17:58:46 racnode1 systemd[1]: Starting Load oracleasm Modules...
Jan 31 17:58:46 racnode1 service[429]: Initializing the Oracle ASMLib driver: [ OK ]
Jan 31 17:58:48 racnode1 service[429]: Scanning the system for Oracle ASMLib disks: [ OK ]
Jan 31 17:58:48 racnode1 systemd[1]: Started Load oracleasm Modules.
Jan 31 18:31:50 racnode1 systemd[1]: Stopping Load oracleasm Modules...
Jan 31 18:31:50 racnode1 service[34627]: Dropping Oracle ASMLib disks: [ OK ]
Jan 31 18:31:50 racnode1 service[34627]: Shutting down the Oracle ASMLib driver: [ OK ]

Stop “oracleasm.service’, and re-enable it. After this, all works fine and database instance can be started up successfully.

# systemctl stop oracleasm.service

# systemctl status oracleasm.service
 oracleasm.service - Load oracleasm Modules
 Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
 Active: inactive (dead) since Wed 2018-01-31 18:31:50 AEDT; 2s ago
 Process: 34627 ExecStop=/usr/sbin/service oracleasm stop_sysctl (code=exited, status=0/SUCCESS)
 Process: 429 ExecStart=/usr/sbin/service oracleasm start_sysctl (code=exited, status=0/SUCCESS)
 Main PID: 429 (code=exited, status=0/SUCCESS)

Jan 31 17:58:46 racnode1 systemd[1]: Starting Load oracleasm Modules...
Jan 31 17:58:46 racnode1 service[429]: Initializing the Oracle ASMLib driver: [ OK ]
Jan 31 17:58:48 racnode1 service[429]: Scanning the system for Oracle ASMLib disks: [ OK ]
Jan 31 17:58:48 racnode1 systemd[1]: Started Load oracleasm Modules.
Jan 31 18:31:50 racnode1 systemd[1]: Stopping Load oracleasm Modules...
Jan 31 18:31:50 racnode1 service[34627]: Dropping Oracle ASMLib disks: [ OK ]
Jan 31 18:31:50 racnode1 service[34627]: Shutting down the Oracle ASMLib driver: [ OK ]
Jan 31 18:31:50 racnode1 systemd[1]: Stopped Load oracleasm Modules.

# systemctl enable oracleasm.service

# systemctl start oracleasm.service

# systemctl status oracleasm.service
 oracleasm.service - Load oracleasm Modules
 Loaded: loaded (/usr/lib/systemd/system/oracleasm.service; enabled; vendor preset: disabled)
 Active: active (exited) since Wed 2018-01-31 18:32:30 AEDT; 2s ago
 Process: 35360 ExecStart=/usr/sbin/service oracleasm start_sysctl (code=exited, status=0/SUCCESS)
 Main PID: 35360 (code=exited, status=0/SUCCESS)

Jan 31 18:32:29 racnode1 systemd[1]: Starting Load oracleasm Modules...
Jan 31 18:32:29 racnode1 service[35360]: Initializing the Oracle ASMLib driver: [ OK ]
Jan 31 18:32:30 racnode1 service[35360]: Scanning the system for Oracle ASMLib disks: [ OK ]
Jan 31 18:32:30 racnode1 systemd[1]: Started Load oracleasm Modules.

Alert.log

Wed Jan 31 18:40:09 2018
NOTE: Loaded library: /opt/oracle/extapi/64/asm/orcl/1/libasm.so

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.