ITMS Administrator Group

 View Only
Expand all | Collapse all

AeXIRMSvc cannot start

  • 1.  AeXIRMSvc cannot start

    Posted Apr 01, 2014 04:43 PM

    I keep seeing an error showing up in the Altiris Log Viewer that reads:

     

    Unhandled exception in Support Service Service Restarter for service 'AeXIRMSvc'.

    System.InvalidOperationException (System.ServiceProcess): Cannot start service AeXIRMSvc on computer '.'.

    at System.ServiceProcess.ServiceController.Start(String[] args)

    at Altiris.NS.ServiceSupport.ServiceController.StartService(String serviceName, Boolean waitUntilStarted, TimeSpan timeout, Boolean restartDependencies)

    at Altiris.NS.SupportServices.ServiceMonitor.RestartServiceProc(Object serviceRestartData)

    System.ComponentModel.Win32Exception (): The service did not respond to the start or control request in a timely fashion

     

    Exception logged from:

    at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)

    at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)

    at Altiris.NS.SupportServices.ServiceMonitor.RestartServiceProc(Object serviceRestartData)

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)

    at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

     

    Has anybody seen this error before?  I've tried restarting the service manually with no luck.



  • 2.  RE: AeXIRMSvc cannot start

    Broadcom Employee
    Posted Apr 01, 2014 05:09 PM

    Hi,

    1. Please check what errors contain Windows NT Event Application and System logs.
    2. Ensure that "IRMWebServiceHost.exe.config" isn't corrupted
    • C:\Program Files\Altiris\InventoryRuleManagement\Web\Agent\Bin\

     

    Thanks,

    IP.



  • 3.  RE: AeXIRMSvc cannot start

    Posted Sep 10, 2021 03:29 PM
    dear up i have issue "IRMWebServiceHost.exe.config" is corrupted
    can you tell me how to fix this services? thanks



  • 4.  RE: AeXIRMSvc cannot start

    Broadcom Employee
    Posted Sep 11, 2021 01:22 AM

    Hi Allen Li!

    • What version of Notification Server you have?
    • You have only "AeXIRMSvc" service not running and all other Altiris Services & W3WP service are running?


    ------------------------------
    [JobTitle]
    [CompanyName]
    [State]
    ------------------------------



  • 5.  RE: AeXIRMSvc cannot start

    Posted Apr 02, 2014 03:27 AM

    I also get these errors on my system that has two nics (the NIC with internet access is usually disabled).



  • 6.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 10:55 AM

    This error is also being shown in the System event log.

     

    A timeout was reached (30000 milliseconds) while waiting for the Altiris Inventory Rule Management Service service to connect.



  • 7.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 11:03 AM
    How many nics does the smp have, does at least one have access to the internet, and are they all enabled before system startup?


  • 8.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 11:13 AM

    It's got 4 NICs in it, configured the same way our other SMP is, 1 NIC active, 3 disabled.  It does have internet access as well.



  • 9.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 11:20 AM
    Were one of the three disabled nics enabled at anytime from the pms install stage onwards, as the service may have bound itself to it?


  • 10.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 11:24 AM

    Yes, they were enabled.  How can we check which nic it is bound to?



  • 11.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 11:35 AM
    I cant remember off the top of my head; however, doing the following may resolve this situation: Enable all nics, restart system, and then check if errors are still appearing or not. If the ertors are no longer appearing, then my theory is correct. Disable the three nics one at a time, making sure you restart the invrule service after each disable action. Check the logs for the error after each service restart action. If the error is still not being recorded after the three nics have been disabled, restart the system to see if they appear when only the requited nic is active.


  • 12.  RE: AeXIRMSvc cannot start

    Broadcom Employee
    Posted Apr 21, 2014 12:54 PM

    I see that IRMService has following settings:

    • C:\Program Files\Altiris\InventoryRuleManagement\Web\Agent\Web.config

    <!--  SESSION STATE SETTINGS
              By default ASP.NET uses cookies to identify which requests belong to a particular session. 
              If cookies are not available, a session can be tracked by adding a session identifier to the URL. 
              To disable cookies, set sessionState cookieless="true".
        -->
        <sessionState 
                mode="InProc"
                stateConnectionString="tcpip=127.0.0.1:42424"
                sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
                cookieless="false" 
                timeout="20" 

     

    • C:\Program Files\Altiris\InventoryRuleManagement\Web\Agent\Bin\IRMWebServiceHost.exe.config

    <appSettings>
        <!-- since we do our own binding in code to workaround some bugs in WCF re: content-type these properties are included here so they can be configured -->
        <!--
        endpoint can be overidden here if so desired
        <add key ="consoleHTTPAddress" value="http://localhost/Altiris/InventoryRuleManagement/Agent/InventoryRuleService.svc/"/>
        <add key ="consoleHTTPSAddress" value="https://localhost:443/Altiris/InventoryRuleManagement/Agent/InventoryRuleService.svc/"/>
        <add key ="agentCEMAddress" value="https://localhost:4433/Altiris/InventoryRuleManagement/Agent/InventoryRuleService.svc/"/>
        -->
      </appSettings>

     

    Also verify what "IP address" is set for Web Site where SMP is installed (On IIS Management page)

     



  • 13.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 02:00 PM

    I've tried changing those values in the IRMWebServiceHost.exe.config under <appSettings> from localhost to putting the FQDN of the server in but that didn't make a difference.  My web.config looks the same in reference to the <sessionState>.  [EDIT] Looking at the bindings for the Default Web Site the IP Address is blank, this is the case on both of my SMP's though and one works fine.



  • 14.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 02:18 PM

    I'm also now seeing this error:

    Unhandled exception.

    System.Web.HttpException (System.ServiceModel): The service '/Altiris/InventoryRuleManagement/Agent/InventoryRuleService.svc' does not exist.

    at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)

    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)

    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext)

    at System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e)

    at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    System.ServiceModel.EndpointNotFoundException (System.ServiceModel): The service '/Altiris/InventoryRuleManagement/Agent/InventoryRuleService.svc' does not exist.

    at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)

    at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)

    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()

    at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()

    Exception logged from:

    at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception, String footer)

    at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)

    at Altiris.NS.UI.AltirisWebApplication.Application_Error(Object sender, EventArgs e)

    at System.EventHandler.Invoke(Object sender, EventArgs e)

    at System.Web.HttpApplication.RaiseOnError()

    at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)

    at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)

    at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)

    at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)

    at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)



  • 15.  RE: AeXIRMSvc cannot start

    Broadcom Employee
    Posted Apr 21, 2014 02:53 PM

    Maybe you can try to repair IRM service

    1. C:\Program Files\Altiris\Symantec Installation Manager\Installs\Altiris\
    2. Find "altiris_inventoryrulemanagement_7_5_x64.msi" (I have 7.5, so use version what you have now) ⇒ perform repair.
    3. Note: After repair, IRM Service will be running under "Local System" account, so in case if it is running before repair under Domain Account, please set back Domain account then.

    Thanks,

    IP.

     



  • 16.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 04:43 PM

    Tried this with no luck.  I also installed all available hotfixes and rebooted but still seeing the same issue.



  • 17.  RE: AeXIRMSvc cannot start

    Posted Apr 21, 2014 05:17 PM

    Tried this, even with all 4 nics enabled I'm getting the same errors.



  • 18.  RE: AeXIRMSvc cannot start

    Broadcom Employee
    Posted Apr 22, 2014 12:48 AM

    1. Did you change back to default settings IRMWebServiceHost.exe.config before HotFix installation and "altiris_inventoryrulemanagement_7_5_x64.msi" repair performing?

    • C:\Program Files\Altiris\InventoryRuleManagement\Web\Agent\Bin\IRMWebServiceHost.exe.config

    2. What was in log, when you've installed Hotfix? Was there any failures for IRM update?

    • C:\ProgramData\Symantec\SMP\Logs\

    3. Open SIM and check whether "Symantec Management Platform" 7.5 is properly configured or not?

    SIM_SMP.jpg

    4. Also you can try to reconfigure "InventoryRuleManagement" config, but we need to know, what is with all above questions.

     

    How to perform reconfiguration of "InventoryRuleManagement":

    C:\Program Files\Altiris\Notification Server\Bin>AeXConfig.exe /configure "C:\Program Files\Altiris\InventoryRuleManagement\Config\InventoryRuleManagement.config"

     

    Aditional questions:

    Do you have there any custom record for local SMP machine in C:\Windows\System32\drivers\etc\hosts?

     

     

    Thanks,

    IP.

     



  • 19.  RE: AeXIRMSvc cannot start

    Posted Apr 22, 2014 05:14 AM

    I had the same issue.

    After i disabled CRL lookup (for x86 and x64), the service started nicely.

    http://www.symantec.com/business/support/index?page=content&id=TECH216787

    1. Open the machine.config file in a text editor. (If you run in a x64 environment you will need to edit the x64 framework file)
      (x86) The machine.config file is located at %runtime install path%\Config\machine.config, where the runtime install path is usually C:\Windows\Microsoft.NET\Framework\v2.0.50727\.
      (x64) The machine.config file is located at %runtime install path%\Config\machine.config, where the runtime install path is usually C:\Windows\Microsoft.NET\Framework64\v2.0.50727\.
    2. Look for <runtime /> in the machine.config file and change to this:
        <runtime>
          <generatePublisherEvidence enabled="false" />
        </runtime>
    3. Save the machine.config file.
    4. Open a command prompt with Administrator rights, and type iisreset.


  • 20.  RE: AeXIRMSvc cannot start

    Posted Apr 23, 2014 10:56 AM

    After installing all of the available hot fixes and rebooting the server this error was occurring but then magically stopped.  I don't know what for sure has resolved this issue but it's not happening any longer.



  • 21.  RE: AeXIRMSvc cannot start

    Broadcom Employee
    Posted Apr 23, 2014 11:19 AM

    Mystery :) Then you can close this thread if problem has disappeared by itself.