tracker issue : CF-3325996

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

Status command fails in Linux Startup Script when Default Shell Empty

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Peter Freitag / Peter Freitag (Peter Freitag)

Created: 09/06/2012

Components: Web Container (Tomcat)

Versions: 10.0

Failure Type: Incorrect w/Workaround

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Linux RH Enterprise 6

Vote Count: 0

Duplicate ID:	CF-3339175

Problem Description: If you have setup your ColdFusion user on linux with a default shell of something like /sbin/nologin when you try to run /etc/init.d/coldfusion_10 status it fails.

Steps to Reproduce: 

1) Create a user with a default shell of /sbin/nologin 
2) Install CF and run CF as that user
3) Run /etc/init.d/coldfusion_10 status

Actual Result: "This account is currently not available."

Expected Result: "Server is running" 

Any Workarounds: Yes, you can modify the script as I blogged about here: http://www.petefreitag.com/item/810.cfm

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

Watson Bug ID:	3325996

External Customer Info:
External Company:  
External Customer Name: pete_freitag
External Customer Email:  
External Test Config: My Hardware and Environment details: RedHat Enterprise Linux 6.3

Attachments:

Comments: