Support Center > Search Results > SecureKnowledge Details
"syntax error: operand expected" errors from "fwaffinity_mq_apply.sh" after running the 'cpstart' command
Symptoms
  • The following syntax errors appear after running the cpstart command:

    /opt/CPsuite-R77/fw1//scripts/fwaffinity_mq_apply.sh: line 90: let: cpu_id =  % 2: syntax error: operand expected (error token is "% 2") 
    /opt/CPsuite-R77/fw1//scripts/fwaffinity_mq_apply.sh: line 30: 1<<: syntax error: operand expected (error token is "<")
    
Cause

When there are more than one CPU core on the machine, and the Multi-Queue flags are not set (i.e., there are no '-tx' or '-rx' flags in the /proc/interrupts; this is the case on X-Series chassis), the $FWDIR/scripts/fwaffinity_mq_apply.sh script still tries to parse the results of /proc/interrupt.


Solution
Note: To view this solution you need to Sign In .