Client Management Suite

 View Only
  • 1.  Agent not initialized and other errors

    Posted Jul 25, 2011 06:00 PM

    We are migrating from altiris 6.9 to 7.1 and we have a problem with connecting clients to the server. When we try and install the symantec management agent on computer it seems it insalls correctly however when looking under task status it states "Agent not initialized". We have looked into all solutions found on this site and tried them all with no success. We looked into the install logs and came up with this 

     

    2011-07-25 16:40:06: ==========================
    2011-07-25 16:40:06: AeXInstallPreCheck started
    2011-07-25 16:40:06: Symbolic link between 64 and 32 bit registry views either created or not required.
    2011-07-25 16:40:06: Current dir: C:\Users\ADMINI~1\AppData\Local\Temp\apt1
    2011-07-25 16:40:06: AeXInstallPreCheck Finished
    2011-07-25 16:40:06: ===========================
    2011-07-25 16:40:06: 
    2011-07-25 16:40:06: Passing control to AeXNSAgent
    2011-07-25 16:40:06: InstallPrecheck: target platform: x64
    2011-07-25 16:40:06: Command line: AeXNSAgent.exe /install /ns=altiris.unomaha.edu /webns=https://altiris.unomaha.edu/altiris
    2011-07-25 16:40:06: Invalid characters in server name (/ns=<server name>) parameter. Will continue installation with blank ns and nsWeb values.
    2011-07-25 16:40:06: ===============================
    2011-07-25 16:40:06: Core Agent Installation started
    2011-07-25 16:40:06: Symbolic link between 64 and 32 bit registry views either created or not required.
    2011-07-25 16:40:06: Installed agent version: 7.1.6797.13797
    2011-07-25 16:40:06: New agent version: 7.1.6851.13851
    2011-07-25 16:40:09: Installed agent will be upgraded to version 7.1.6851.13851, platform x64
    2011-07-25 16:40:09: StopAgent: agent is running. Stopping agent service
    2011-07-25 16:40:09: FindProcess, aexnsagent.exe is running
    2011-07-25 16:40:14: StopService: aexnsclient has Stopped
    2011-07-25 16:40:14: StopWait: Waiting for aexnsagent.exe to stop
    2011-07-25 16:40:15: FindProcess, aexnsagent.exe is not running
    2011-07-25 16:40:15: FindProcess, aexnsagent.exe is not running
    2011-07-25 16:40:15: Locating and stopping 6.x agent programs
    2011-07-25 16:40:15: FindProcess, aexagentuihost.exe is not running
    2011-07-25 16:40:15: FindProcess, aexswdusruiwin.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentlogon.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentdesktop.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentactivate.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentuihostsurrogate32.exe is not running
    2011-07-25 16:40:15: FindProcess, aexnsagenthostsurrogate32.exe is not running
    2011-07-25 16:40:15: FindProcess, aexgaugesubsystem.exe is not running
    2011-07-25 16:40:15: FindProcess, aexmetricprov.exe is not running
    2011-07-25 16:40:15: FindProcess, aexsmappdetector.exe is not running
    2011-07-25 16:40:15: FindProcess, aexsmlogupload.exe is not running
    2011-07-25 16:40:15: End of stopping routine
    2011-07-25 16:40:15: StopAgent, agent is not running.
    2011-07-25 16:40:15: Core Agent Installation Ended  
    2011-07-25 16:40:15: ===============================
    2011-07-25 16:40:15: ==================================
    2011-07-25 16:40:15: Core Agent Re-Installation started
    2011-07-25 16:40:15: StopAgent: agent is not running. Checking to see if any associated agent processes are still running...
    2011-07-25 16:40:15: Locating and stopping 6.x agent programs
    2011-07-25 16:40:15: FindProcess, aexagentuihost.exe is not running
    2011-07-25 16:40:15: FindProcess, aexswdusruiwin.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentlogon.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentdesktop.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentactivate.exe is not running
    2011-07-25 16:40:15: FindProcess, aexagentuihostsurrogate32.exe is not running
    2011-07-25 16:40:15: FindProcess, aexnsagenthostsurrogate32.exe is not running
    2011-07-25 16:40:15: FindProcess, aexgaugesubsystem.exe is not running
    2011-07-25 16:40:15: FindProcess, aexmetricprov.exe is not running
    2011-07-25 16:40:15: FindProcess, aexsmappdetector.exe is not running
    2011-07-25 16:40:15: FindProcess, aexsmlogupload.exe is not running
    2011-07-25 16:40:15: End of stopping routine
    2011-07-25 16:40:15: StopAgent, agent is not running.
    2011-07-25 16:40:15: Starting upgrade.
    2011-07-25 16:40:20: + Running action: StopCoreAgent
    2011-07-25 16:40:20: + Running action: CheckPackageIntegrity
    2011-07-25 16:40:20: + Running action: DumpInstallationEnvironment
    2011-07-25 16:40:20: Installation environment:
    2011-07-25 16:40:20: %AGENT_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:20: %AGENT_LOGS_FOLDER% => C:\Users\Public\Documents\Altiris\Altiris Agent\Logs
    2011-07-25 16:40:20: %INSTALLED_AGENT_PLATFORM% => x64
    2011-07-25 16:40:20: %INSTALL_SOURCE_FOLDER% => C:\Users\ADMINI~1\AppData\Local\Temp\apt1
    2011-07-25 16:40:20: %NEW_AGENT_PLATFORM% => x64
    2011-07-25 16:40:20: %OLD_AGENT_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:20: %PROGRAM_FILES_COMMON% => C:\Program Files (x86)\Common Files\Altiris
    2011-07-25 16:40:20: %PROGRAM_FILES_COMMON_X64% => C:\Program Files\Common Files\Altiris
    2011-07-25 16:40:20: %PROGRAM_FILES_COMMON_X86% => C:\Program Files (x86)\Common Files\Altiris
    2011-07-25 16:40:20: %TARGET_PLATFORM% => x64
    2011-07-25 16:40:20: %UPGRADE_AGENT_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:20: Installation environment: %TARGET_PLATFORM% => x64
    2011-07-25 16:40:20: Installation environment: %AGENT_INSTALLATION_FOLDER_SAVE% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:20: Installation environment: %AGENT_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:20: + Running action: StopCoreAgent
    2011-07-25 16:40:20: + Running action: UninstallSurrogatesForX86
    2011-07-25 16:40:20: Unregistering 32-bit host surrogate app (AeXNSAgentHostSurrogate32.exe)...
    2011-07-25 16:40:20: Unregistering 32-bit UI surrogate app (AeXAgentUIHostSurrogate32.exe)..
    2011-07-25 16:40:20: + Running action: UnregisterCoreAgentComponents
    2011-07-25 16:40:20: Action UnRegAndDelete: error 0x8002801C returned from DllUnregisterServer call for C:\Program Files\Altiris\Altiris Agent\AeXAgentDiagnostics.dll.
    2011-07-25 16:40:21: Unregistering Core Agent service...
    2011-07-25 16:40:21: Unregistered AeXNSAgent.exe
    2011-07-25 16:40:21: Installation environment: %PLUGINS_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent\Agents
    2011-07-25 16:40:21: + Running action: UnregisterExternalAgents
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Agent Tasks\BaseTaskHandlers.dll"
    2011-07-25 16:40:21: (Uninstalling Base Task Handlers (Client Task Management - CTA)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent\CTAgentUI.dll"
    2011-07-25 16:40:21: (Uninstalling Client Task Agent UI...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\x86\Agents\Client Task Agent\client task agent.dll"
    2011-07-25 16:40:21: (Installing Client Task Agent...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent\client task agent.dll"
    2011-07-25 16:40:21: (Uninstalling Client Task Agent...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\InventoryRuleAgent.dll"
    2011-07-25 16:40:21: (Uninstalling Inventory Rule Agent Agent (step 1)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\AeXStdRuleProvider2.dll"
    2011-07-25 16:40:21: (Uninstalling Inventory Rule Agent Agent (step 2)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\AeXStdRuleProvider.dll"
    2011-07-25 16:40:21: (Uninstalling Inventory Rule Agent Agent (step 3)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\AeXWin32RuleProvider.dll"
    2011-07-25 16:40:21: (Uninstalling Inventory Rule Agent Agent (step 4)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\smfagent.dll"
    2011-07-25 16:40:21: (Uninstalling Software Management Agent (step 1)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\AeXWiseRuleProvider.dll"
    2011-07-25 16:40:21: (Uninstalling Software Management Agent (step 2)...)
    2011-07-25 16:40:21: Succeeded
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0C0A.dll"
    2011-07-25 16:40:21: (Uninstalling Software Management Agent (step 3)...)
    2011-07-25 16:40:21: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:21: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_040B.dll"
    2011-07-25 16:40:21: (Uninstalling Software Management Agent (step 4)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_040C.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 5)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_041D.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 6)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_041F.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 7)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0404.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 8)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0405.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 9)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0406.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 10)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0407.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 11)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0410.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 12)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0411.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 13)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0412.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 14)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0413.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 15)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0414.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 16)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0415.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 17)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0416.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 18)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0419.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 19)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process Regsvr32 /u /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0804.dll"
    2011-07-25 16:40:22: (Uninstalling Software Management Agent (step 20)...)
    2011-07-25 16:40:22: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:22: Performing custom step. Starting external process "C:\Program Files\Altiris\Altiris Agent\Agents\WMIProviderAgent\AltirisAgentProvider.exe" /unregserver
    2011-07-25 16:40:22: (Uninstalling WMI Agent Provider...)
    2011-07-25 16:40:22: Succeeded
    2011-07-25 16:40:22: + Running action: UninstallCommonDllForUpgrade
    2011-07-25 16:40:22: Communications registry settings stored in com_reg_save.reg
    2011-07-25 16:40:22: Action UnRegAndDelete: file C:\Program Files (x86)\Common Files\Altiris\AgentScheduler.dll does not exist.
    2011-07-25 16:40:22: Communications registry settings restored from com_reg_save.reg
    2011-07-25 16:40:22: + Running action: DeleteFilesForUpgrade
    2011-07-25 16:40:22: Action UnRegAndDelete: file C:\Program Files\Altiris\Altiris Agent\AeXSWD.dll does not exist.
    2011-07-25 16:40:22: Action UnRegAndDelete: file C:\Program Files\Altiris\Altiris Agent\AeXSWDAgent.dll does not exist.
    2011-07-25 16:40:22: Action UnRegAndDelete: file C:\Program Files\Altiris\Altiris Agent\AeXNSClientCtl.dll does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXAgent.exe does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXInstallHelper.exe does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXClientStatusBody.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXClientStatusHeader.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXClientWizard.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXNC.css does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXNCPropertiesTabs.xml does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXNCTabs.xml does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXProperties.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXPropertiesBody.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXPropertiesHeader.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\ClientStatus.htm does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\UserNotifications.xml does not exist.
    2011-07-25 16:40:22: Action UnRegAndDelete: error 0x8002801C returned from DllUnregisterServer call for C:\Program Files\Altiris\Altiris Agent\AgentControlTaskHandler.dll.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXAgentInstall.xml does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXNSInvCollector.exe does not exist.
    2011-07-25 16:40:22: Action DeleteFile: file C:\Program Files\Altiris\Altiris Agent\AeXSWDUsrUIWin.exe does not exist.
    2011-07-25 16:40:22: + Running action: StopCoreAgent
    2011-07-25 16:40:22: Installation environment: %TARGET_PLATFORM% => x64
    2011-07-25 16:40:22: Installation environment: %AGENT_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:22: Installation environment: %PLUGINS_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent\Agents
    2011-07-25 16:40:22: + Running action: DumpInstallationEnvironment
    2011-07-25 16:40:22: Installation environment:
    2011-07-25 16:40:22: %AGENT_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:22: %AGENT_INSTALLATION_FOLDER_SAVE% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:22: %AGENT_LOGS_FOLDER% => C:\Users\Public\Documents\Altiris\Altiris Agent\Logs
    2011-07-25 16:40:22: %INSTALLED_AGENT_PLATFORM% => x64
    2011-07-25 16:40:22: %INSTALL_SOURCE_FOLDER% => C:\Users\ADMINI~1\AppData\Local\Temp\apt1
    2011-07-25 16:40:22: %NEW_AGENT_PLATFORM% => x64
    2011-07-25 16:40:22: %OLD_AGENT_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:22: %PLUGINS_INSTALLATION_FOLDER% => C:\Program Files\Altiris\Altiris Agent\Agents
    2011-07-25 16:40:22: %PROGRAM_FILES_COMMON% => C:\Program Files (x86)\Common Files\Altiris
    2011-07-25 16:40:22: %PROGRAM_FILES_COMMON_X64% => C:\Program Files\Common Files\Altiris
    2011-07-25 16:40:22: %PROGRAM_FILES_COMMON_X86% => C:\Program Files (x86)\Common Files\Altiris
    2011-07-25 16:40:22: %TARGET_PLATFORM% => x64
    2011-07-25 16:40:22: %UPGRADE_AGENT_FOLDER% => C:\Program Files\Altiris\Altiris Agent
    2011-07-25 16:40:22: + Running action: CopyAgentFilesTree
    2011-07-25 16:40:23: + Running action: InstallCoreAgentDll
    2011-07-25 16:40:23: + Running action: InstallCommonDll
    2011-07-25 16:40:24: + Running action: InstallSupportDll
    2011-07-25 16:40:24: + Running action: InstallCoreAgentExe
    2011-07-25 16:40:24: Registering Core Agent service...
    2011-07-25 16:40:24: Registered AeXNSAgent.exe
    2011-07-25 16:40:24: + Running action: InstallSurrogatesForX86
    2011-07-25 16:40:24: Registering 32-bit host surrogate app (AeXNSAgentHostSurrogate32.exe)...
    2011-07-25 16:40:24: Registering 32-bit UI surrogate app (AeXAgentUIHostSurrogate32.exe)..
    2011-07-25 16:40:24: + Running action: InstallOutprocHosters
    2011-07-25 16:40:24: + Running action: RegisterExternalAgents
    2011-07-25 16:40:24: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Agent Tasks\BaseTaskHandlers.dll"
    2011-07-25 16:40:24: (Installing Base Task Handlers (Client Task Management - CTA)...)
    2011-07-25 16:40:24: Succeeded
    2011-07-25 16:40:24: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent\client task agent.dll"
    2011-07-25 16:40:24: (Installing Client Task Agent...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\x86\Agents\Client Task Agent\client task agent.dll"
    2011-07-25 16:40:25: (Installing Client Task Agent...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Client Task Agent\CTAgentUI.dll"
    2011-07-25 16:40:25: (Installing Client Task Agent UI...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\AeXWin32RuleProvider.dll"
    2011-07-25 16:40:25: (Installing Inventory Rule Agent Agent (step 1)...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\AeXStdRuleProvider.dll"
    2011-07-25 16:40:25: (Installing Inventory Rule Agent Agent (step 2)...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\AeXStdRuleProvider2.dll"
    2011-07-25 16:40:25: (Installing Inventory Rule Agent Agent (step 3)...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\Inventory Rule Agent\InventoryRuleAgent.dll"
    2011-07-25 16:40:25: (Installing Inventory Rule Agent Agent (step 4)...)
    2011-07-25 16:40:25: Succeeded
    2011-07-25 16:40:25: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\smfagent.dll"
    2011-07-25 16:40:25: (Installing Software Management Agent (step 1)...)
    2011-07-25 16:40:26: Succeeded
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\AeXWiseRuleProvider.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 2)...)
    2011-07-25 16:40:26: Succeeded
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0C0A.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 3)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_040B.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 4)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_040C.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 5)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_041D.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 6)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_041F.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 7)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0404.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 8)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0405.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 9)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0406.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 10)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0407.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 11)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0410.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 12)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0411.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 13)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0412.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 14)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0413.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 15)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0414.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 16)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0415.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 17)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0416.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 18)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0419.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 19)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process Regsvr32 /s "C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\SMFAgent_0804.dll"
    2011-07-25 16:40:26: (Installing Software Management Agent (step 20)...)
    2011-07-25 16:40:26: Failed to perform custom action. ExitCode 0x4
    2011-07-25 16:40:26: Performing custom step. Starting external process "C:\Program Files\Altiris\Altiris Agent\Agents\WMIProviderAgent\AltirisAgentProvider.exe" /service
    2011-07-25 16:40:26: (Installing WMI Agent Provider (step 1)...)
    2011-07-25 16:40:27: Succeeded
    2011-07-25 16:40:27: Performing custom step. Starting external process mofcomp "C:\Program Files\Altiris\Altiris Agent\Agents\WMIProviderAgent\AltirisAgentProvider.mof"
    2011-07-25 16:40:27: (Installing WMI Agent Provider (step 2)...)
    2011-07-25 16:40:27: Succeeded
    2011-07-25 16:40:27: + Running action: RegisterDiagnostics
    2011-07-25 16:40:27: + Running action: SetPermissions
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXAgentActivate.exe
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXAgentUIHost.exe
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXAgentUI.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXAgentDiagnostics.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXAgentPages.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXNetComms.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXNSEvent.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AtrsMCast.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXPackageDelivery.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXNetComms.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXNSEvent.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AtrsMCast.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on AeXPackageDelivery.dll
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on x86 directory
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on x86 directory
    2011-07-25 16:40:27: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on Agents directory
    2011-07-25 16:40:28: Adding GENERIC_READ | GENERIC_EXECUTE for Users Group on Agents directory
    2011-07-25 16:40:28: Deleting files, some errors may occur but can be safely ignored.
    2011-07-25 16:40:28: UnregisterAndDelete: Deleted file AeXSWDUsr.exe
    2011-07-25 16:40:28: SetServerAndWeb cannot set the NS value because it is blank.
    2011-07-25 16:40:28: UpgradeAgent could not set Server and web property in the registry.
    2011-07-25 16:40:28: EnableLogging is leaving previous settings unchanged.
    2011-07-25 16:40:28: Product version set to 7.1.6851.13851
    2011-07-25 16:40:28: StartAgent, starting core agent.
    2011-07-25 16:40:28: StartAgent, starting core agent.
    2011-07-25 16:40:28: Core Agent Re-Installation Ended  
    2011-07-25 16:40:28: ==================================
     
    We tried commands at time index 16:40:26 manually but get a dll corruption error. We are at a loss..
    The second error is when we uninstall and install a client too many times we get the following error will installing\
    "Install failed. Error message: Failed to run action: RegisterExternalAgents"
    This is not the one im worried about right now.


  • 2.  RE: Agent not initialized and other errors

    Posted Jul 26, 2011 10:15 AM

    Your problem is here at the beginning:
     

    2011-07-25 16:40:06: Command line: AeXNSAgent.exe /install /ns=altiris.unomaha.edu /webns=https://altiris.unomaha.edu/altiris
    2011-07-25 16:40:06: Invalid characters in server name (/ns=<server name>) parameter. Will continue installation with blank ns and nsWeb values.
     
    And here at the end:
     
    2011-07-25 16:40:28: SetServerAndWeb cannot set the NS value because it is blank.
    2011-07-25 16:40:28: UpgradeAgent could not set Server and web property in the registry.
     
    Your Command Line does not follow proper convention.  You need quotes around the server names and the switch is /nsweb= not /webns=
    Try AeXNSAgent.exe /install /ns="altiris.unomaha.edu" /nsweb="http://altiris.unomaha.edu/altiris"

    If you chose to use SSL, this means you've created a certificate for your NS and have installed it using GPO on all of your clients prior to attempting to manage them using the Symantec Management Agent.  In this case you would use https://

    Refer to this KB for additional guidance:
    http://www.symantec.com/business/support/index?page=content&id=HOWTO36805&actp=search&viewlocale=en_US&searchid=1311689371726
    http://www.symantec.com/business/support/index?page=content&id=HOWTO8154



  • 3.  RE: Agent not initialized and other errors
    Best Answer

    Posted Jul 26, 2011 03:58 PM

    We got it to work. We had checked the "require SSL" setting in the IIS settings. Problem solved thanks



  • 4.  RE: Agent not initialized and other errors

    Posted Jul 26, 2011 05:42 PM

    And it still works with your command line?