Can't load NetAdmin.dll for module Win32::NetAdmin while running roothas.pl -prepatch command (Doc ID 2105816.1)

Last updated on MARCH 27, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Microsoft Windows x64 (64-bit)

Symptoms

roothas.pl -prepatch fails to load the perl module on the windows platform.

c:\>%ORACLE_HOME%\perl\bin\perl -I%ORACLE_HOME%\perl\lib -I%ORACLE_HOME%\crs\install %ORACLE_HOME%\crs\install\roothas.pl
-prepatch

Can't load 'C:\oracle\OEMAgent\core\12.1.0.4.0\perl\site\lib/auto/Win32/NetAdmin/NetAdmin.dll' for module Win32::NetAdmin <<== Here

: load_file:The specified module could not be found at C:\Oracle\Product\12.1.0\grid\perl\lib/DynaLoader.pm line 190.
at C:\Oracle\Product\12.1.0\grid\crs\install/s_crsutils.pm line 41
Compilation failed in require at C:\Oracle\Product\12.1.0\grid\crs\install/s_crsutils.pm line 41.
BEGIN failed--compilation aborted at C:\Oracle\Product\12.1.0\grid\crs\install/s_crsutils.pm line 42.
Compilation failed in require at C:\Oracle\Product\12.1.0\grid\crs\install/crsohasd.pm line 67.
BEGIN failed--compilation aborted at C:\Oracle\Product\12.1.0\grid\crs\install/crsohasd.pm line 67.
Compilation failed in require at C:\Oracle\Product\12.1.0\grid\crs\install/crsutils.pm line 327.
BEGIN failed--compilation aborted at C:\Oracle\Product\12.1.0\grid\crs\install/crsutils.pm line 327.
Compilation failed in require at C:\Oracle\Product\12.1.0\grid\crs\install/crsinstall.pm line 148.
BEGIN failed--compilation aborted at C:\Oracle\Product\12.1.0\grid\crs\install/crsinstall.pm line 148.
Compilation failed in require at C:\Oracle\Product\12.1.0\grid\crs\install\roothas.pl line 85.
BEGIN failed--compilation aborted at C:\Oracle\Product\12.1.0\grid\crs\install\roothas.pl line 85.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms