Description of problem: A community user reported a problem with the cassandra shell script prevents Cassandra from starting up. The error is, bash-3.2$ bin/rhqctl start --storage 11:56:15,477 INFO [org.jboss.modules] JBoss Modules version 1.2.0.CR1 ./cassandra: numactl: not found ./cassandra: bad substitution 11:56:15,853 ERROR [org.rhq.server.control.RHQControl] Failed to stop services [Cause: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)] The error stems (in part) from the numactl command not being available on his platform. He is running on 5.10 Generic_148889-01 i86pc i386 i86pc. I do not know whether or not this is an issue on other versions of Solaris. The problem is more than the numactl not being available because I do not have numactl on my Mac and do not get any such error. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I have just tried that on OpenSolaris 11.1 inside a virtualbox from master hrupp@solaris:~/rhq-server-4.9.0-SNAPSHOT$ uname -a SunOS solaris 5.11 11.1 i86pc i386 i86pc and it worked as expected.
Works for me on SunOS solaris11 5.11 11.1 i86pc i386 i86pc RHQ version: Version: 4.9.0-SNAPSHOT Build Number: a9245fd
based on comments #2 and #3 ... marking this verified.
To amend my comment: detection of 32/64 bit mode can't be done via uname, but needs # isainfo -kv