My Oracle Support Banner

Huge Page Script Getting Error "./hugepages_setting.sh: line NN: bc: command not found" (Doc ID 2506467.1)

Last updated on MAY 02, 2019

Applies to:

Linux OS - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] and later
Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1]
Linux x86
Linux x86-64

Goal

When executing huge page script getting below error: 

$ ./hugepages_setting.sh
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
./hugepages_setting.sh: line 20: bc: command not found
./hugepages_setting.sh: line 21: [: -gt: unary operator expected
Unrecognized kernel version 4.14. Exiting.
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.