Created On:  23 March 2011

Problem:

We are getting this error when trying to stop a region on the command-line using casstop /r:

CASCF0050S casgate: Console daemon not active, RC = 0015

Resolution:

This usually means that the region was started via the Enterprise Server Admin screen instead of via the command-line.  Since the region was started using a different userid (system userid) than that of the current user, casstop /r will not work.

To allow casstop to terminate a region started either by another user or via Enterprise Server Admin, you must use the /l option instead of /r (casstop /l).

Example:

casstop /lREGION

This way casstop will perform a lookup on the region name and will be able to communicate with the directory server to initiate a shutdown properly.
Old KB# 33747