JBoss ON storage node fails to start after applying 3.3 Update-04 after using cassandra-jvm.properties.new

Solution Verified - Updated

Environment

  • Red Hat JBoss Operations Network (ON) 3.3.4
  • Linux/Unix install

Issue

  • rhn-storage failures after upgrading to 3.3.4
  • cassandra-jvm.properties.new includes weird "^M" characters

Resolution

This issue has been resolved in JBoss ON 3.3 Update-05.

For update-04, remove the offending line termination characters from the cassandra-jvm.properties.new file or the lines copied from it. A command such as the below should remedy the issue.

tr -d '\r' < cassandra-jvm.properties.new > cassandra-jvm.properties.new.unix

Or:

dos2unix cassandra-jvm.properties.new

Root Cause

The cassandra-jvm.properties.new file distributed in the 3.3 Update-04 includes the carriage return character at the end of each line, resulting in Linux/Unix installations to fail to start if the entire line from the .new properties file is used.

This issue has been captured in This content is not included.Red Hat Bugzilla 1278215.

SBR
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.