CFGMGR fails: startacfsctl defacfsctl.bin: Dependent module libhasgen11.so could not be loaded.Posted: 07/12/2011 | |
Recently I faced an error when I execute the cfgmgr command on AIX.
root@aix:/ > cfgmgr Method error (/usr/lib/methods/startacfsctl): 0514-068 Cause not known. Could not load program /usr/lib/methods/defacfsctl.bin: Dependent module libhasgen11.so could not be loaded. Could not load module libhasgen11.so. System error: No such file or directory
At startup of AIX some services are not started automatically (eg: sshd and many others), the cause of issue is because “cfgmgr” command is returning error and it hold start of services.
At first sight I thought it was a AIX problem, but the lib “defacfsctl.bin” was not loaded because a module dependent ‘libhasgen11.so “was not loaded.
root@aix:/ >ldd /usr/lib/methods/defacfsctl.bin /usr/lib/methods/defacfsctl.bin needs: /u01/app/grid/grid_has/lib/libhasgen11.so /u01/app/grid/grid_has/lib/libttsh11.so /usr/lib/libcfg.a(shr_64.o) /usr/lib/libodm.a(shr_64.o) /usr/lib/libc.a(shr_64.o) /usr/lib/libpthreads.a(shr_xpg5_64.o) /u01/app/grid/grid_has/lib/libskgxn2.so /u01/app/grid/grid_has/lib/libocr11.so /u01/app/grid/grid_has/lib/libocrutl11.so /usr/lib/libdl.a(shr_64.o) /usr/lib/libc.a(aio_64.o) /usr/lib/libperfstat.a(shr_64.o) /unix /usr/lib/libcrypt.a(shr_64.o) /u01/app/grid/grid_has/lib/libocrb11.so /usr/lib/liblvm.a(shr_64.o) /usr/lib/libcorcfg.a(shr_64.o) /usr/lib/libsrc.a(shr_64.o)
Since lib “libhasgen11.so” is an lib of Oracle Database the issue is related to the AIX and Oracle.
The Filesystem where Grid Infrastructure was installed is not mounted or avaliable.
Oracle Grid Infrastructure 11.2 has a feature called ACFS (ASM Cluster Filesystem) that has own drivers called “Oracle Kernel Services Driver” (OKS).
The OKS drivers are installed into the native operating system, these drivers are required for managing the filesystem (ACFS) using OS commands. (e.g mount).
You can find these drivers in “$GUI_HOME/usm/V<AIX_VERSION>/powerpc/bin/”.
Is It Possible to Avoid ADVM Driver Install During Grid Infrastructure Install ?
The answer is – NO. It is not possible to disable that. The reasoning behind this is that Clusterware components are not user configurable.
ACFS is not mandatory to use, but it is mandatory to initially install and config ACFS (drivers).
In my case the host was a contingency, so do not want the filesystem where GUI are installled available.
1°: The easy solution is to make the filesystem of GUI available and retry command “cfgmgr”.
2°: If you are not using ACFS feature, we can disable them upon the installation.
To do that follow the next steps:
1) Dismount the ACFS filesystem first
2) Verify the ACFS filesystem is dismounted
3) Stop the OHAS services
4) Offload the ACFS/ADVM modules from memory (as root)
5) Then remove the ACFS/ADVM modules installation (as root)
After these steps I keep getting errors:
root@aix:/ >cfgmgr Method error (/usr/lib/methods/startadvmctl): 0514-068 Cause not known. sh: /usr/lib/methods/startadvmctl: not found
Theoretically after uninstall the OKS drivers from OS these errors should not appear, so I opened a ticket on MoS to check bugs.
Another important point:
Why Oracle does not install all the dependent files of OKS drivers within the rootvg (i.e /usr/), since these files are required at boot the server. I will questioning the Oracle.
- Share on Facebook (Opens in new window)
- Click to share on Twitter (Opens in new window)
- Click to share on Google+ (Opens in new window)
- Click to email (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Pinterest (Opens in new window)
- Click to print (Opens in new window)