Bug 987120 - Storage node start script fails on Solaris
Summary: Storage node start script fails on Solaris
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Launch Scripts
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: RHQ 4.9
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-07-22 18:12 UTC by John Sanda
Modified: 2014-04-15 23:10 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-24 19:25:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1088046 0 unspecified CLOSED JON storage node script displays error ./cassandra: numactl: not found 2021-02-22 00:41:40 UTC
Red Hat Knowledge Base (Solution) 791213 0 None None None Never

Internal Links: 1088046

Description John Sanda 2013-07-22 18:12:49 UTC
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:

Comment 2 Heiko W. Rupp 2013-08-22 20:23:58 UTC
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.

Comment 3 Filip Brychta 2013-09-02 14:15:38 UTC
Works for me on SunOS solaris11 5.11 11.1 i86pc i386 i86pc 

RHQ version:
Version: 4.9.0-SNAPSHOT
Build Number: a9245fd

Comment 4 Mike Foley 2013-09-09 18:50:41 UTC
based on comments #2 and #3 ... marking this verified.

Comment 5 Heiko W. Rupp 2013-09-09 18:58:58 UTC
To amend my comment:
detection of 32/64 bit mode can't be done via uname, but needs

# isainfo -kv


Note You need to log in before you can comment on or make changes to this bug.