When customer trying to upgrade or fresh install Vertica database version 7.2.3-7, once the user run dr_validate.sh script, they got this error as below:
# ./dr_validate.sh -p drinstall.properties
Log File: logs/install_log_validate_09-19-2016_21-31-34.log
===============================================================================
Checking Passwordless SSH to all hosts: XXX.XXX
===============================================================================
Passwordless SSH fromXXX.XXX to [email protected] [ OK ]
===============================================================================
Beginning Data Repository Prerequisite Compliance Enforcement on host XXX.XXX
===============================================================================
Red Hat Enterprise Linux Major Release: 6 ..............................[ OK ]
Processor Type: Intel ...................................................[ OK ]
Checking to see if required 'dialog' package is available.: Missing 'dialog' package required by Vertica server. [FAIL]
Please run 'yum install dialog' or equivalent to install the missing package.
CPU frequency scaling not available on this system ......................[ OK ]
Maximum number of open files allowed for dradmin is 65536 ...............[ OK ]
.
.
Validating connection to database host: XXX.XXX
Verifying database connection properties. ...............................[ OK ]
Could not enforce prerequisite compliance.
Data Repository Prerequisite Compliance Status on host XXX.XXX -- FAIL!
===============================================================================
CA Performance Management 3.0.0 and above
The fail was due to this linux machine has not installed the package dialog for the OS.
User needs to run the yum command to install dialog package for the linux system.
See example below:
1.
Run the installation for dialog
# yum install dialog
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel-cd | 3.9 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dialog.x86_64 0:1.1-9.20080819.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================
Package Arch Version Repository Size
======================================================================================================================
Installing:
dialog x86_64 1.1-9.20080819.1.el6 rhel-cd 197 k
Transaction Summary
======================================================
Install 1 Package(s)
Total download size: 197 k
Installed size: 515 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : dialog-1.1-9.20080819.1.el6.x86_64 1/1
Verifying : dialog-1.1-9.20080819.1.el6.x86_64 1/1
Installed:
dialog.x86_64 0:1.1-9.20080819.1.el6
Complete!
======================================================
2.
Check and make sure the dialog package has been installed to Data Repository machine:
# rpm -qa | grep dialog
dialog-1.1-9.20080819.1.el6.x86_64
#
3.
Rerun the dr_validate.sh script to verify all the prerequisites been meet.
# ./dr_validate.sh -p drinstall.properties
Log File: logs/install_log_validate_09-19-2016_21-49-34.log
===============================================================================
Checking Passwordless SSH to all hosts: XXX.XXX
===============================================================================
Passwordless SSH from XXX.XXX to [email protected] [ OK ]
===============================================================================
Beginning Data Repository Prerequisite Compliance Enforcement on host XXX.XXX
===============================================================================
Red Hat Enterprise Linux Major Release: 6 ..............................[ OK ]
Processor Type: Intel ...................................................[ OK ]
Checking to see if required 'dialog' package is available. ..............[ OK ]
CPU frequency scaling not available on this system ......................[ OK ]
Maximum number of open files allowed for dradmin is 65536 ...............[ OK ]
.
.
Validating connection to database host: XXX.XXX
Verifying database connection properties. ...............................[ OK ]
Data Repository Prerequisite Compliance Status on host XXX.XXX -- PASSED
=============================================================
Script finished - ./dr_validate.sh
=============================================================
User needs to run the yum command to install dialog package for the linux system.
See example below:
1.
Run the installation for dialog
# yum install dialog
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel-cd | 3.9 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package dialog.x86_64 0:1.1-9.20080819.1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================
Package Arch Version Repository Size
======================================================================================================================
Installing:
dialog x86_64 1.1-9.20080819.1.el6 rhel-cd 197 k
Transaction Summary
======================================================
Install 1 Package(s)
Total download size: 197 k
Installed size: 515 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : dialog-1.1-9.20080819.1.el6.x86_64 1/1
Verifying : dialog-1.1-9.20080819.1.el6.x86_64 1/1
Installed:
dialog.x86_64 0:1.1-9.20080819.1.el6
Complete!
======================================================
2.
Check and make sure the dialog package has been installed to Data Repository machine:
# rpm -qa | grep dialog
dialog-1.1-9.20080819.1.el6.x86_64
#
3.
Rerun the dr_validate.sh script to verify all the prerequisites been meet.
# ./dr_validate.sh -p drinstall.properties
Log File: logs/install_log_validate_09-19-2016_21-49-34.log
===============================================================================
Checking Passwordless SSH to all hosts: XXX.XXX
===============================================================================
Passwordless SSH from XXX.XXX to [email protected] [ OK ]
===============================================================================
Beginning Data Repository Prerequisite Compliance Enforcement on host XXX.XXX
===============================================================================
Red Hat Enterprise Linux Major Release: 6 ..............................[ OK ]
Processor Type: Intel ...................................................[ OK ]
Checking to see if required 'dialog' package is available. ..............[ OK ]
CPU frequency scaling not available on this system ......................[ OK ]
Maximum number of open files allowed for dradmin is 65536 ...............[ OK ]
.
.
Validating connection to database host: XXX.XXX
Verifying database connection properties. ...............................[ OK ]
Data Repository Prerequisite Compliance Status on host XXX.XXX -- PASSED
=============================================================
Script finished - ./dr_validate.sh
=============================================================