This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.
Control-M Self Service
Control-M Self Service
Control-M Self Service version 8.0.00,9.0.00,9.0.18,9.0.19
Control-M Self Service stop and restart every few minutes, only Batch Impact Manager services displayed in the Web interface and the WLA gui Services monitor windows
Reviewing the Self Service logs from the Log folder under ctm_em/log we can see the Self Service fails to authenticate in the Gui server and being stopped , as per the error messages :
10/03/2015 15:39:44.811  gsrdatacentermgr GsrDataCenterMgr::RunDataCenterNewDay(thread 2622793472) PSR: Start New Day for 'All '.
10/03/2015 15:39:44.845  gsrdatacentermgr GsrDataCenterMgr::RunDataCenterNewDayEnd(thread 2622793472) PSR: New Day Ended NewDay Metric: LapTime=0.033897 seconds DataCenterToLoad=All,xxxxxx(20150310-150310001_A) NoOfJobsBeforeNewday=0 NoOfJobsAfterNewday=444 NoOfDcs=1 Memory=0 MemoryBlocks=0
10/03/2015 15:39:45.810  slsserverengine SlsServerEngine::Run(thread 2623162112) Self service engine is bounded
10/03/2015 15:39:45.827  slsserverengine SlsServerEngine::LoadDefinitionFromDB(thread 2623162112) Services Definition Load Metric: LapTime=0.015911 seconds NumberOfRegularServiceDef=1 NumberOfRuleServiceDef=17
10/03/2015 15:39:45.843  servicelogdb ServiceLogDB::GetUserNoteRecords()(thread 2623162112) User Note Records read 0
10/03/2015 15:39:45.850  emexception EmException(thread 2623162112) user not authorized - USER_NOT_AUTHORIZED (IDL:USER_NOT_AUTHORIZED:1.0)
10/03/2015 15:39:45.850  slsserverengine SlsServerEngine::Run(thread 2623162112) Server has encountered an unexpected exception and will exit. 2 GsrCorbaSimulJobDataAdapter.cpp:1003
10/03/2015 15:39:56.851  slsserver main Not all Threads were notified of exit, tids: 140357859428096. Dump all off threads:
10/03/2015 15:40:01.852  diagstacks DiagStacks::Print *** Stacks of threads *** (current thread is 2768869152)
10/03/2015 15:40:01.852  diagstacks DiagStacks::Print Stack of thread 2622056192, depth 2
CAR00049804 : No Self Services are created and Self Service Server crashes when bimuser is deleted or removed from AdminGroup.
The bimuser doesn't have the required authorizations since it is member of none of the groups so the Active authorizations are missing.
The bimuser is an hidden user that member of 'AdminGroup' and since this group was deleted (and the group 'Administrators' created instead) then the authorizations of the bimuser deleted as well.
In order to bypass the problem, please follow the next steps:
1) Stop the GUI Server, Batch Impact Manager (BIM) and Control-M Self Service.
2) From the Configuration Manager (CCM) -> Tools -> System Configuration -> Control-M/EM System Parameters -> Advanced,
Please set the System Parameter "BIMUserName" to 'bimuser1' (this will expose the bimuser under the Authorizations).
3) From the CCM -> Tools -> Security -> Authorizations -> Users,
Please update the user 'bimuser' and set it to be Member of 'AdminGroup' and save the changes.
4) From the CCM -> Tools -> Security -> Authorizations -> Group
Check the AdminGroup settings
The Active tab must have such settings :
Modify the settings if needed , then save the changes
From the CCM -> Tools -> System Configuration -> Control-M/EM System Parameters -> Advanced,
Please set the System Parameter "BIMUserName" back to 'bimuser' (Restore Default).
6) Start the GUI Server, BIM and Self Service.