The idscfgdb command fails with error code GLPCTL028E

The idscfgdb command might fail with error code GLPCTL028E while it is creating a database. You might be required to tune the kernel parameters to resolve this issue.

On AIX® and Linux™ systems, the idscfgdb command might fail while it is creating a database.

An example of the db2cli.log file with the information logged:
retcode = 1478; state = "01626"; message = "SQL1478W
The defined buffer pools could not be started. 
Instead, one small buffer pool for each page size supported by DB2 has been started.
SQLSTATE=01626
An example of the db2diag.log file with the information logged:
MESSAGE : ZRC=0x850F0005=-2062614523=SQLO_NOSEG
          "No Storage Available for allocation"
          DIA8305C Memory allocation failure occurred.
DATA #1 : 
Unable to attach 3 segments totalling 2478440448 bytes starting at address
0x0000000000000000. One possible cause may be an improper setting for the
shmmax Linux kernel tuneable.