IBM / Db2

Db2 Universal Container deployment
Apache License 2.0
9 stars 34 forks source link

Segmentation Fault while applying db2 license for db2 image w/ tag 11.5.1.0:CN1 #32

Open yathendra opened 4 years ago

yathendra commented 4 years ago

I am trying to package the helm charts available here as helm operator . I am facing segmentation issue when db2u containers applies license internally

Here is the error

On db2 logs the notice segmentation fault issue when applying the license

Here is the command where it fails

Screenshot 2020-04-21 at 2 40 41 PM

[37286.872026] db2u_root_entrypoint.sh[20]: + sudo /opt/ibm/db2/V11.5.0.0/adm/db2licm -a /db2u/license/db2u-lic
[37287.256597] db2u_root_entrypoint.sh[20]: /db2u/db2u_entrypoint.sh: line 68: 1173 Segmentation fault sudo ${SQLLIB_BINARIES?}/adm/db2licm -a /db2u/license/db2u-lic```
yathendra commented 4 years ago

@Doout / @rmg : Will you able to help me with the above issue .

pdxwilson commented 4 years ago

@abikbaghdasarian1 could you help, as Omer is out on vacation?

jacke88 commented 1 year ago

Check your license file format. Last line need be to empty or after last parameter in license file you have a line break \n. Without this, you probable face segmentation fault.