Installation fatal error with message "om.zerog.ia.customcode.util.miscutils.ThrowInstallError"
search cancel

Installation fatal error with message "om.zerog.ia.customcode.util.miscutils.ThrowInstallError"

book

Article ID: 426159

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

Pre-installation check did not pick up any errors:

Noticed the following error in the installation log:

com.zerog.ia.customcode.util.miscutils.ThrowInstallError
                          Status: FATAL ERROR
                          Additional Notes: FATAL ERROR -    class com.zerog.ia.customcode.util.miscutils.ThrowInstallError FatalInstallException: An error occurred while running the post-install script for the Database component.  The stderr output is: initdb: warning: enabling "trust" authentication for local connections
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
Can't locate Cwd.pm:   /usr/local/lib64/perl5/Cwd.pm: Permission denied at ./install_ddl.pl line 9.
BEGIN failed--compilation aborted at ./install_ddl.pl line 9.
ERROR: Unable to install the database schema

Environment

All supported NCM versions

Cause

The Perl directory does not have correct permission.

Resolution

Customer ran the following to give customer correct permission:

chmod -R g+rwX /usr/local/share/perl5
chmod -R o+rX /usr/local/share/perl5