tracker issue : CF-3339175

select a category, or use search below
(searches all categories and all time range)
Title:

"coldfusion status" command fails silently on Linux

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Jan Ruusuvuori / Jan Ruusuvuori (jruusu)

Created: 09/30/2012

Components: Installation/Config

Versions: 10.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: Final / 285118

Priority/Frequency: Critical / All users will encounter

Locale/System: English / Linux RH Enterprise 6

Vote Count: 4

Problem Description:
On Linux, if sudo is configured with the "env_reset" option, the "coldfusion status" command fails immediately without giving any output.
 
Steps to Reproduce:
1) Install ColdFusion 10 standalone
2) Ensure the env_reset option is enabled by default in /etc/sudoers

Actual Result:
No output

Expected Result:
"Server is running " or "Server is not running"

Any Workarounds:
Apply this patch: http://pastebin.com/sJUN5Rj4

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3339175

Keywords:
FixTested


External Customer Info:
External Company:  
External Customer Name: jruusu
External Customer Email:  
External Test Config: My Hardware and Environment details:

RHEL6 64-bit on x86_64

Attachments:

Comments:

Possibly related bug: CF-3325996
Comment by External U.
17780 | September 30, 2012 10:53:33 PM GMT
This bug leads to some ugly code in the coldfusion10 Chef cookbook: https://github.com/wharton/chef-coldfusion10/blob/master/definitions/coldfusion10_service.rb
Vote by External U.
17783 | May 30, 2013 08:25:27 AM GMT
This causes some holes in our automation, plus it just makes sense. A status check should return a status.
Vote by External U.
17784 | May 30, 2013 08:53:18 AM GMT
it would be nice to see this corrected.
Vote by External U.
17785 | May 30, 2013 02:33:03 PM GMT
This is a issue on OS X as well. Note from other related bugid, Pete has the same approach as jruusu here. http://www.petefreitag.com/item/810.cfm I'm building a Widget and can't get status using it do to this.
Comment by External U.
17781 | June 06, 2013 10:08:10 AM GMT
see comments...oops and now I need 25 chars here
Vote by External U.
17786 | June 06, 2013 10:09:30 AM GMT
Does this happen in Solaris? Assuming it is not it is not changed for Solaris.
Comment by Krishna R.
17782 | June 11, 2013 05:05:39 AM GMT