Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
rochfo Super Contributor.
Super Contributor.
1151 views

SAM 7.3 Agent Install - SidebySide Errors


Hi,

We were notified of these SidebySide errors when manually installing a
number of agents earlier. Looking them up online they appear to be
benign but does anyone know for sure?

We received the following errors in the application event log when
manually installing SAM 7.3 on a number of servers this morning. I
suspect we have been getting these errors in the past but I just want to
be sure.

The errors below are from a Windows 2008 R2 Server:

Activation context generation failed for "C:\Program Files (x86)\NetIQ
Sentinel Agent Manager\OnePoint\SNMPExtnAgent.dll". Dependent Assembly
Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
could not be found. Please use sxstrace.exe for detailed diagnosis.

Activation context generation failed for "C:\Program Files (x86)\NetIQ
Sentinel Agent Manager\ONEPOINT\ManualAgentTool.exe". Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
could not be found. Please use sxstrace.exe for detailed diagnosis.

Activation context generation failed for "C:\Program Files (x86)\NetIQ
Sentinel Agent Manager\ONEPOINT\ManualAgentTool.exe". Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
could not be found. Please use sxstrace.exe for detailed diagnosis.

Activation context generation failed for "C:\Program Files (x86)\NetIQ
Sentinel Agent Manager\OnePoint\SNMPExtnAgent.dll".
Dependent Assembly
Microsoft.VC80.ATL,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
could not be found. Please use sxstrace.exe for detailed diagnosis.

Activation context generation failed for
"C:\Windows\system32\CommunicationClientPerformanceCounters.dll".
Dependent Assembly
Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.6195"
could not be found. Please use sxstrace.exe for detailed diagnosis


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
16 Replies
Anonymous_User Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


Is the agent service on your machines running? (Agent Manager Agent
service)

We had an issue where the agent service would start but not remain
started. We were seeing the side-by-side errors. Support told me that
the servers need MS C++ 2005 Redistributable 32/64bit installed in order
for the agent service to run.


--
tscislaw
------------------------------------------------------------------------
tscislaw's Profile: https://forums.netiq.com/member.php?userid=8043
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
rochfo Super Contributor.
Super Contributor.

Re: SAM 7.3 Agent Install - SidebySide Errors


tscislaw;260395 Wrote:
> Is the agent service on your machines running? (Agent Manager Agent
> service)
>
> We had an issue where the agent service would start but not remain
> started. We were seeing the side-by-side errors. Support told me that
> the servers need MS C++ 2005 Redistributable 32/64bit installed in order
> for the agent service to run.
>
> This was for v7.2


Hi,

Yes the agents run fine, I'm just assuming those components that
complained about the version issue won't work fully. In this case MS
Visual C++ 2005/2008 redistributable is installed (multiple versions),
just not the specific version needed. I would have assumed that the
Agent Manager installer would be bundled with the correct version
itself.


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


Unfortunately it is not bundled into the agent package. At one point
pre-novell merger there was an MSI package under development that was
going to resolve this issue , but i'm thinking it got pushed to the
wayside for other more beneficial dev work.

That being said the 2005 C++ packages will no longer have MS support in
2016 from what i understand.


--
Elliscs
------------------------------------------------------------------------
Elliscs's Profile: https://forums.netiq.com/member.php?userid=7783
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
rochfo Super Contributor.
Super Contributor.

Re: SAM 7.3 Agent Install - SidebySide Errors


Elliscs;260402 Wrote:
> Unfortunately it is not bundled into the agent package. At one point
> pre-novell merger there was an MSI package under development that was
> going to resolve this issue , but i'm thinking it got pushed to the
> wayside for other more beneficial dev work.
>
> That being said the 2005 C++ packages will no longer have MS support in
> 2016 from what i understand.


Thanks for that. Thats unfortunate, even a pre-req checker would have
been useful. I've a call logged with Support to determine the impact if
any. Currently as I see it there may be some issues adding the agent to
the correct Config Group during install time (it doesn't error on this
though) and in some cases it doesn't correctly assign a primary computer
when it appears in the SAM Console, these can be addressed post install
easily enough for the moment.


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
brandon-langley Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


rochfordp;260403 Wrote:
> Thanks for that. Thats unfortunate, even a pre-req checker would have
> been useful. I've a call logged with Support to determine the impact if
> any. Currently as I see it there may be some issues adding the agent to
> the correct Config Group during install time (it doesn't error on this
> though) and in some cases it doesn't correctly assign a primary computer
> when it appears in the SAM Console, these can be addressed post install
> easily enough for the moment.



There's an open bug on this and as far as I'm aware we're still
expecting to fix it. Having more customers open SRs against the bug
will increase it's visibility and importance, so if you are reading
this, have the issue, and don't have an open SR, please make sure one
gets opened. Make sure you are accurately conveying your level of
pain/importance to having a fix.

The intended behavior is that our Managed and Unmanaged deployment
process install the runtime package silently, however at some point
something occurred that cause the silent deployment of these packages to
fail on some systems, and currently the primary and known workaround is
to ensure the packages are deployed in advance, but I want to stress
that this is not design or desired behavior, and that it's considered a
bug at this time.


--
brandon.langley
------------------------------------------------------------------------
brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
rochfo Super Contributor.
Super Contributor.

Re: SAM 7.3 Agent Install - SidebySide Errors


brandon.langley;260458 Wrote:
> There's an open bug on this and as far as I'm aware we're still
> expecting to fix it. Having more customers open SRs against the bug
> will increase it's visibility and importance, so if you are reading
> this, have the issue, and don't have an open SR, please make sure one
> gets opened. Make sure you are accurately conveying your level of
> pain/importance to having a fix.
>
> The intended behavior is that our Managed and Unmanaged deployment
> process install the runtime package silently, however at some point
> something occurred that cause the silent deployment of these packages to
> fail on some systems, and currently the primary and known workaround is
> to ensure the packages are deployed in advance, but I want to stress
> that this is not design or desired behavior, and that it's considered a
> bug at this time.


Thanks Brandon,

I know little about the impact of installing Visual C++ Redist to a
server, I assume installing the missing version will drop it into the
SxS folder and the ManualAgentTool will utilise that during its
processing and not impact other applications on the server? I'll need to
explain to our system owners why we need to do this and the impact to
them. Can I just install the missing package and restart the Agent or is
it a complete reinstall?

Also if there is a link to the specific version that is bundled with the
ManualAgentTool you can provide I'd be grateful.


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
brandon-langley Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


rochfordp;260469 Wrote:
> Thanks Brandon,
>
> I know little about the impact of installing Visual C++ Redist to a
> server, I assume installing the missing version will drop it into the
> SxS folder and the ManualAgentTool will utilise that during its
> processing and not impact other applications on the server? I'll need to
> explain to our system owners why we need to do this and the impact to
> them. Can I just install the missing package and restart the Agent or is
> it a complete reinstall?
>
> Also if there is a link to the specific version that is bundled with the
> ManualAgentTool you can provide I'd be grateful.


On the central computer, look under <install
folder>\OnePoint\InstallService for two files that start with
'vcredist", and run them on the agent systems that are not installing.
This is an installer package provided by Microsoft that deploys the
dependent run-time for our C++ code on the operating system. For some
reason (hence why there is a bug) the normal mechanism in Agent Manager
is not able to deploy those packages under some circumstances (we
haven't figured out why yet), and in those circumstances the packages
have to be manually deployed.

So basically, this is equivalent to telling your admins that this is
what happens during agent deployment anyhow, and because something went
wrong this step needs to be manually completed.


----


As far as whether or not you will have to redeploy the agent, if you
have no further issues once those binaries are deployed, go to town.
If you have additional issues, find the 'installedbyCM' values in the
registry hive for Agent Manager, and remove them - then re-scan that
agent with Agent manager and re-deploy. Doing so wont' remove what's
there, it will just force the agent management process to rescan every
file and make sure everything is there, then re-run the final
configuration steps to ensure they completed. If you want to be
super-safe, do this anyhow, but I have typically not found it necessary.


--
brandon.langley
------------------------------------------------------------------------
brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
rochfo Super Contributor.
Super Contributor.

Re: SAM 7.3 Agent Install - SidebySide Errors


brandon.langley;260529 Wrote:
> On the central computer, look under <install
> folder>\OnePoint\InstallService for two files that start with
> 'vcredist", and run them on the agent systems that are not installing.
> This is an installer package provided by Microsoft that deploys the
> dependent run-time for our C++ code on the operating system. For some
> reason (hence why there is a bug) the normal mechanism in Agent Manager
> is not able to deploy those packages under some circumstances (we
> haven't figured out why yet), and in those circumstances the packages
> have to be manually deployed.
>
> So basically, this is equivalent to telling your admins that this is
> what happens during agent deployment anyhow, and because something went
> wrong this step needs to be manually completed.
>
>
> ----
>
>
> As far as whether or not you will have to redeploy the agent, if you
> have no further issues once those binaries are deployed, go to town.
> If you have additional issues, find the 'installedbyCM' values in the
> registry hive for Agent Manager, and remove them - then re-scan that
> agent with Agent manager and re-deploy. Doing so wont' remove what's
> there, it will just force the agent management process to rescan every
> file and make sure everything is there, then re-run the final
> configuration steps to ensure they completed. If you want to be
> super-safe, do this anyhow, but I have typically not found it necessary.


Thanks for this, appreciate it. What confuses me further is I see the
relevant Visual C++ Redist Folder in the WinSxS directory
(x86_microsoft.vc80.mfcloc_*_8.0.50727.6195_none_* for example) on the
agents that are complaining about it being missing. It is however not
listed under 'Programs and Features'.

One final thing, is there an easy way to find agents that have a
problem? The agents appear to run ok and send heartbeats to SAM so its
hard to find agents with problems unless I search for events for those
systems (could be a lot of them) or go to each local NetIQ log file on
them. Alternatively I could search for the SxS error in the application
log if it is still there. I asume it re-appears on Agent restart if the
agent has an issue still?


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
brandon-langley Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


rochfordp;260534 Wrote:
> Thanks for this, appreciate it. What confuses me further is I see the
> relevant Visual C++ Redist Folder in the WinSxS directory
> (x86_microsoft.vc80.mfcloc_*_8.0.50727.6195_none_* for example) on the
> agents that are complaining about it being missing. It is however not
> listed under 'Programs and Features'.
>
> One final thing, is there an easy way to find agents that have a
> problem? The agents appear to run ok and send heartbeats to SAM so its
> hard to find agents with problems unless I search for events for those
> systems (could be a lot of them) or go to each local NetIQ log file on
> them. Alternatively I could search for the SxS error in the application
> log if it is still there. I asume it re-appears on Agent restart if the
> agent has an issue still?


So there are a lot of possible ways that MS's C++ can be deployed by
various applications, and not all of them will put it into Add/Remove
programs. Honestly we really shouldn't either, but for various reasons
it was necessary to use the file-based redistributable in order to
address certain issues. Also, that runtime has two service packs, etc;
add on to that, we need both the 32 and 64-bit versions deployed on a
64-bit system in order to support perf counters properly, etc. I think
you may have identified a good way of identifying the problem - lack of
a Programs/Features entry.

Let's test that, and here's a good way to do so. First, I'm making
assumption based on what I've ready that these are manually-deployed
agents only, and that (until we know better) the lack of a
programs/features entry is the key signature we need to identify the
issue. So then you can create two attributes:

- Create an Attribute that looks for the "Manual Agent" value at the
root of the Agent Manager key hive.
- Create an attribute that looks for the registry key related to the
programs/features entry of the C++ runtime.

Now create a device group that matches when the Manual Agent value is
"Group" (unmanaged agent) and the program/features key (attribute) does
not exist. The computers that fall into that Device Tag are
theoretically the computers that need to be repaired.

Brandon


--
brandon.langley
------------------------------------------------------------------------
brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
rochfo Super Contributor.
Super Contributor.

Re: SAM 7.3 Agent Install - SidebySide Errors


brandon.langley;260745 Wrote:
> So there are a lot of possible ways that MS's C++ can be deployed by
> various applications, and not all of them will put it into Add/Remove
> programs. Honestly we really shouldn't either, but for various reasons
> it was necessary to use the file-based redistributable in order to
> address certain issues. Also, that runtime has two service packs, etc;
> add on to that, we need both the 32 and 64-bit versions deployed on a
> 64-bit system in order to support perf counters properly, etc. I think
> you may have identified a good way of identifying the problem - lack of
> a Programs/Features entry.
>
> Let's test that, and here's a good way to do so. First, I'm making
> assumption based on what I've ready that these are manually-deployed
> agents only, and that (until we know better) the lack of a
> programs/features entry is the key signature we need to identify the
> issue. So then you can create two attributes:
>
> - Create an Attribute that looks for the "Manual Agent" value at the
> root of the Agent Manager key hive.
> - Create an attribute that looks for the registry key related to the
> programs/features entry of the C++ runtime.
>
> Now create a device group that matches when the Manual Agent value is
> "Group" (unmanaged agent) and the program/features key (attribute) does
> not exist. The computers that fall into that Device Tag are
> theoretically the computers that need to be repaired.
>
> Brandon


Thanks for this Brandon, I've done everything bar the atribute for the
C++ runtime as that is more difficult as I can't figure out the exact
version of VC++ that needs to be available for the agent. I've a case
open with support who are looking at options around either manually
dropping the missing files in or updating the version of VC++ already
installed on the agents. When I run the vcredit files you get from the
SAM CC they don't appear to do anything, they run but there is no
feedback as to whether they are installed or not.


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
brandon-langley Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


rochfordp;260970 Wrote:
> Thanks for this Brandon, I've done everything bar the atribute for the
> C++ runtime as that is more difficult as I can't figure out the exact
> version of VC++ that needs to be available for the agent. I've a case
> open with support who are looking at options around either manually
> dropping the missing files in or updating the version of VC++ already
> installed on the agents. When I run the vcredit files you get from the
> SAM CC they don't appear to do anything, they run but there is no
> feedback as to whether they are installed or not.


Here are the two packages from Microsoft's download site. This is not
intended as a patch or a fix, but as a way to confirm this is the issue
that is affecting you; standard disclaimers apply. All that said, if
you successfully apply these two files and you are still having
challenges, there may be something else at play in your environment.

http://www.microsoft.com/en-us/download/details.aspx?id=5638
http://www.microsoft.com/en-us/download/details.aspx?id=18471


--
brandon.langley
------------------------------------------------------------------------
brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
brandon-langley Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


brandon.langley;261002 Wrote:
> Here are the two packages from Microsoft's download site. This is not
> intended as a patch or a fix, but as a way to confirm this is the issue
> that is affecting you; standard disclaimers apply. All that said, if
> you successfully apply these two files and you are still having
> challenges, there may be something else at play in your environment.
>
> http://www.microsoft.com/en-us/download/details.aspx?id=5638
> http://www.microsoft.com/en-us/download/details.aspx?id=18471


Ugh, just as I posted that I thought of something, sure enough when I
dug into the version you posted (and comparing against the runtime
version), I found the problem:

http://tinyurl.com/o4xjesg

Based on that, if you also apply http://tinyurl.com/6mj8b5q, it should
address your issue.


--
brandon.langley
------------------------------------------------------------------------
brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
rochfo Super Contributor.
Super Contributor.

Re: SAM 7.3 Agent Install - SidebySide Errors


brandon.langley;261003 Wrote:
> Ugh, just as I posted that I thought of something, sure enough when I
> dug into the version you posted (and comparing against the runtime
> version), I found the problem:
>
> http://tinyurl.com/o4xjesg
>
> Based on that, if you also apply http://tinyurl.com/6mj8b5q, it should
> address your issue.


Hi Brandon,

Tested this on one of the agents that had a particularly excessive
number of these events being logged constantly. Errors are gone now. One
thing to watch for, the server needed a reboot to update the VC++
versions correctly which is a pain. The VC++ installs didn’t indicate
this but the Application Event log had an informational event saying a
reboot was required.

For now I am only seeing this on Windows 2008 R2 Manual installs.

Thanks again.


--
rochfordp
------------------------------------------------------------------------
rochfordp's Profile: https://forums.netiq.com/member.php?userid=6749
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: SAM 7.3 Agent Install - SidebySide Errors


Dear ALl,

I have some experience instaling manually NetIQ Security MAnager And
Sentinel Agent Manager Agents.
The main problem is that the new installer from Novell, MAISetup.exe,
only installs the C++ redistributables if it is run manually by screen
Any other way of invoking the installation, for example a call for
msiexec to the .msi will install but will fail installing C++
The other thing tokeep in mind is that the agent will work because the
side by side technology is used for poerformance counters that the agent
installs.
the last thing:
If you begin to install manually an agent via MAISetup.exe and then goes
to the temporary installation folder, you will can get the C++
redistributable packages that are packagedwith the agent versión.
So you can use thenm for a previous install, doing it manually or in a
sequence of unattended intall, for exmple, via Microsoft SCCM

Regards,


--
Gustavo_Gandolfo_TENARIS
------------------------------------------------------------------------
Gustavo_Gandolfo_TENARIS's Profile: https://forums.netiq.com/member.php?userid=8550
View this thread: https://forums.netiq.com/showthread.php?t=54192

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.