Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Cameron Jacobs / Cameron Jacobs (Cameron.Jacobs)
Created: 02/24/2012
Components: Installation/Config
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta / CF10_Update14
Priority/Frequency: Major / All users will encounter
Locale/System: English / Linux All
Vote Count: 6
Problem Description:
After installing ColdFusion 10, I attempted to start Solr and solr was unable to start.
Steps to Reproduce:
cd /opt/coldfusion10/cfusion/jetty
sudo ./cfsolr start
Actual Result:
CF Administrator under ColdFusion Collections is unable to connect to Solr. Upon inspecting the log file: /opt/coldfusion10/cfusion/jetty/logs/start.log I noticed an error message:
/sbin/runuser: invalid option -- 'X'
Try `/sbin/runuser --help' for more information.
Any Workarounds:
Looking at the cfsolr start/stop script it appears that I'm running the following two lines:
SUCMD="/sbin/runuser -s /bin/sh $RUNTIME_USER -c"
SOLRSTART='cd $SOLR;$SUCMD $SOLR_JVM/bin/java $JVMARGS -jar start.jar >> $SOLR/logs/start.log 2>&1'
I expect that adding quotes around the -c script contained in the option would solve the problem, but I have not tested this. It just appears that the runuser script is intercepting the -XX options from the JVMARGS variable
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3123145
External Customer Info:
External Company:
External Customer Name: Cameron.Jacobs
External Customer Email:
External Test Config: My Hardware and Environment details:
Fedora 10 x86_64
SELinux
Attachments:
- February 28, 2012 00:00:00: 1_cfsolr.txt
- February 28, 2012 00:00:00: 2_coldfusion.txt
Comments: