Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Cassandra startup errors on AIX due to cassandra-env.sh 'grep'.

SA-39930

Summary



PRPC is deployed on IBM AIX (version 7.1); the following Pega-Provided shell-script is throwing errors (when PRPC is started):
[…]/cassandra/conf/cassandra-env.sh

Error Messages


SystemOut O […]/cassandra/bin/cassandra[124]: <: 0403-012 A test command parameter is not valid.
SystemOut O grep: Not a recognized flag: A
SystemOut O Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] -e pattern_list...
SystemOut O [-f pattern_file...] [file...]
SystemOut O Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] [-e pattern_list...]
SystemOut O -f pattern_file... [file...]
SystemOut O Usage: grep [-r] [-R] [-H] [-L] [-E|-F] [-c|-l|-q] [-insvxbhwyu] [-p[parasep]] pattern_list [file...]
SystemOut O [...]/cassandra/bin/cassandra[124]: <: 0403-012 A test command parameter is not valid.


Steps to Reproduce



Start the environment.

Root Cause



The IBM AIX implementation of the command 'grep' does not support the '-A' flag.

Resolution



Apply Hfix-35132
Suggest Edit

Published August 26, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us