2489 Illegal instruction

Hello

I am trying to execute a back up from one queue manager from one script saveqmgr.sh

but I am getting 2489 Illegal instruction on line 16

$ sh +x ./saveqmgr.sh S1SEAGULL

QueueManager=S1SEAGULL Retention=

S1SEAGULL.MQS.14Jan2005 not found
./saveqmgr.sh[16]: 2836 Illegal instruction(coredump)
S1SEAGULL.SEC.14Jan2005
find: cannot stat /var/mqm/config/backup/S1SEAGULL.MQS.*
/var/mqm/config/backup

There is not much to go here. Illegal instruction means the cpu was about to execute a unknown instruction. This could be because the executable itself was corrupted somehow. But it usually means that the program encountered a very unexpected situation and did not handle it very well. To get technical, data overlaid other stuff on the stack and destroyed a return address causing the program to jump into data. I would look at those other error messages and see if I could make sense of them. And hopefully a MQ expert might chime in with some wisdom.