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

Version 5
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M Self Service


    COMPONENT:

    Control-M Self Service


    APPLIES TO:

    Control-M Self Service version 8.0.00,9.0.00,9.0.18,9.0.19



    PROBLEM:

     

    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    [4]     gsrdatacentermgr        GsrDataCenterMgr::RunDataCenterNewDay(thread 2622793472)        PSR: Start New Day for 'All '.
    10/03/2015      15:39:44.845    [4]     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    [0]     slsserverengine SlsServerEngine::Run(thread 2623162112) Self service engine is bounded
    10/03/2015      15:39:45.827    [4]     slsserverengine SlsServerEngine::LoadDefinitionFromDB(thread 2623162112)        Services Definition Load Metric: LapTime=0.015911 seconds NumberOfRegularServiceDef=1 NumberOfRuleServiceDef=17
    10/03/2015      15:39:45.843    [0]     servicelogdb    ServiceLogDB::GetUserNoteRecords()(thread 2623162112)    User Note Records read 0
    10/03/2015      15:39:45.850    [2]     emexception     EmException(thread 2623162112)  user not authorized - USER_NOT_AUTHORIZED (IDL:USER_NOT_AUTHORIZED:1.0)
    Where: GsrCorbaSimulJobDataAdapter.cpp:1003
    Stack Trace:
    GsrCorbaSimulJobDataAdapter::LoadActiveJob
    SlsServerEngine::UpdateSlsServicesSet
    SlsServerEngine::CalcSlsServices
    SlsServerEngine::Run
    WorkingThread::svc

      

    10/03/2015 15:39:45.850 [1] slsserverengine SlsServerEngine::Run(thread 2623162112) Server has encountered an unexpected exception and will exit. 2 GsrCorbaSimulJobDataAdapter.cpp:1003
    GsrCorbaSimulJobDataAdapter::LoadActiveJob
    SlsServerEngine::UpdateSlsServicesSet
    SlsServerEngine::CalcSlsServices
    SlsServerEngine::Run
    WorkingThread::svc
    10/03/2015 15:39:56.851 [2] slsserver main Not all Threads were notified of exit, tids: 140357859428096. Dump all off threads:
    10/03/2015 15:40:01.852 [4] diagstacks DiagStacks::Print    *** Stacks of threads *** (current thread is 2768869152)
    10/03/2015 15:40:01.852 [4] diagstacks DiagStacks::Print    Stack of thread 2622056192, depth 2
     

      

     

     


    CAUSE:

    CAR00049804 : No Self Services are created and Self Service Server crashes when bimuser is deleted or removed from AdminGroup.


    SOLUTION:

     

     
    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 :

    User-added image

    User-added image
    Modify the settings if needed , then save the changes

    5)
    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.

     


    Article Number:

    000084149


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles