ibm-mas / ansible-devops

Ansible collection supporting devops for IBM Maximo Application Suite
https://ibm-mas.github.io/ansible-devops/
Eclipse Public License 2.0
47 stars 79 forks source link

MAS Manage DB2 install issue with the latest version - db2: command not found, db2u_restore_morph.log. #1338

Closed zoltanpesko closed 3 weeks ago

zoltanpesko commented 3 weeks ago

I did some more digging and there is a logfile on the pod, /mnt/blumeta0/db2/.lifecycle/db2u_restore_morph.log.

+ db2 -v 'update dbm cfg using SVCENAME db2c_db2inst1'
/db2u/scripts/include/db2_functions.sh: line 51: db2: command not found
+ echo 'List DBM instance memory settings'
List DBM instance memory settings
+ db2 get dbm cfg
/db2u/scripts/include/db2_functions.sh: line 55: db2: command not found
+ grep -i memory
+ db2u_db2start
+ local RC
+ local n=0
+ sleep 5
+ echo 'Running db2start'
Running db2start
+ [[ 0 -le 1 ]]
+ RC=0
+ db2start
/db2u/scripts/include/db2_functions.sh: line 893: db2start: command not found
+ sleep 5
++ db2gcf -s
++ awk -F : '{print $2}'

/db2u/scripts/include/db2_functions.sh: line 895: db2gcf: command not found

I wonder if there something wrong with the db2inst1 user...

image

zoltanpesko commented 3 weeks ago

resolved (BP issue)