Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

AeXNSAgent - oddly hanging

Created: 08 Oct 2010 | 13 comments
Christovan153's picture
0 0 Votes
Login to vote

Recently imaged a PC.

PC will report inventory every week on its schedule no problem.

It will update configuration changes no problem as well.

 

If the PC has been on for a while, and I send it a job, it will not respond.  Perfect example is I am messing around with the baseline tasks, and I pushed it out to 50 PCs earlier today.  Out of the 50 PCs that I sent it to, the two that I have been using to test images on ran it no problem (they were PCs I have been restarting, reimaging, pushing tasks, etc to all day).  Also if I used the Remote Altiris Agent diagnostic tool on any of the 50 PCs not responding, it would then somehow trigger the agent to run the task successfully.   A simple connection to the unresponsive agent causes it to see the task and runs it.  if i don't connect to the PC, it ends up failing due to the tasks time out.  (could be 30 minutes or 240 minutes)

 

Any Ideas?  I'd rather not have to create a job to restart the PCs daily, though that wouldn't necessarily be a bad thing overall :)

 

Comments

Christovan153's picture
08
Oct
2010
0 Votes 0
Login to vote

This is what they are all

This is what they are all showing in the agents log.

 

<event date="Sep 30 00:57:07" severity="1" hostName="WUSAMHXPP-AA080" source="Altiris Agent" module="aexnsagent.exe" process="aexnsagent.exe" pid="1644" thread="276" tickCount="3354015"><![CDATA[
Exception - Access Violation: C0000005
 
Bit Flag: 00000000 - Memory Address Accessed: 036F0000 : 036CF228
 
EAX=02009AE4 EBX=036EFFFD ECX=02009238 EDX=0000022B ESI=036CF5DC
EDI=036CF5CC EBP=036CF50C ESP=036CF4F8 EIP=01F3C950 FLG=00010283
CS=001B DS=001B SS=0023 ES=0023 FS=0023 GS=003B
Stack dump: 
 
Stack Trace 
01F3C950 : C:\Program Files\Common Files\Altiris\AeXNetComms.dll 
01F3C5BD : C:\Program Files\Common Files\Altiris\AeXNetComms.dll 
01F3D46D : C:\Program Files\Common Files\Altiris\AeXNetComms.dll 
]]></event>
 
<event date="Sep 30 00:57:07" severity="2" hostName="WUSAMHXPP-AA080" source="Altiris Agent" module="aexnsagent.exe" process="aexnsagent.exe" pid="1644" thread="276" tickCount="3354125"><![CDATA[Unexpected exit C0000005]]></event>
 
 
C00000005 errors are usually buffer overflow errors... any ideas on this?
 
 
Christovan153's picture
08
Oct
2010
0 Votes 0
Login to vote

Notice the modified dates,

Notice the modified dates, its pretty much consistent with the fact that the last date it was working was the 30th, then when i logged onto it with the remote administration agent diagnostic, more log files were generated.

log_dates.jpg
Christovan153's picture
08
Oct
2010
0 Votes 0
Login to vote

and earlier in

and earlier in sept:

 

 

<event date='Sep 09 00:47:42' severity='1' hostName='WUSAMHXPP-AA080' source='Altiris Agent' module='aexnsagent.exe' process='aexnsagent.exe' pid='1648' thread='252' tickCount='173770234' >
  <![CDATA[
Exception - Access Violation: C0000005
 
Bit Flag: 00000000 - Memory Address Accessed: 033E0000 : 033BF228
 
EAX=01D09AE4 EBX=033DFFFD ECX=01D09238 EDX=0000022B ESI=033BF5DC
EDI=033BF5CC EBP=033BF50C ESP=033BF4F8 EIP=01C3C950 FLG=00010283
CS=001B DS=001B SS=0023 ES=0023 FS=0023 GS=003B
Stack dump: 
 
Stack Trace 
01C3C950 : C:\Program Files\Common Files\Altiris\AeXNetComms.dll 
01C3C5BD : C:\Program Files\Common Files\Altiris\AeXNetComms.dll 
01C3D46D : C:\Program Files\Common Files\Altiris\AeXNetComms.dll 
]]>
</event>
<event date='Sep 09 00:47:42' severity='2' hostName='WUSAMHXPP-AA080' source='Altiris Agent' module='aexnsagent.exe' process='aexnsagent.exe' pid='1648' thread='252' tickCount='173770250' >
  <![CDATA[Unexpected exit C0000005]]>
</event>
Christovan153's picture
08
Oct
2010
0 Votes 0
Login to vote

Would setting the "Symantec

Would setting the "Symantec management Agent" Recovery option in services.msc help with this issue? 

 

More importantly, is it a good practice to set it to automatically restart on a failure?

Rion Carter's picture
02
Nov
2010
0 Votes 0
Login to vote

Restart SMP Agent

You wouldn't have to restart the whole computer to get this working- just the Altiris Agent service. This could be accomplished using a windows scheduled task to kick off a batch file similar to this one:

sc stop AeXNSClient
sc Start AeXNSClient
 

I would suggest:

1) Applying the scheduled task / batch file work-around for on Critical machines
2) Try updating to the latest SMP Service pack and Update the SMP Agents (if possible, I know change controls can impede off the cuff upgrades)

3) If neither of the above work, you could try calling into support to get a thorough diagnosis of the problem by the Task Server team. They can check to see if there is an environmental issue or if this is a bug which needs to get to Development.

Let me know if you have any questions.

SineWave's picture
19
Nov
2010
0 Votes 0
Login to vote

you're not alone

we have the same problem on some pc's.
They work fine, and al of a sudden the problem starts.

Also the pc sometimes hangs during shutdown/logoff with an error that the "Symantec management agent" is not responding.
this can take up to 40 minuts.

the logs al the same:

 

<event date="Nov 19 07:49:31" severity="1" hostName="PCDIG18624" source="Altiris Agent" module="aexnsagent.exe" process="aexnsagent.exe" pid="916" thread="5428" tickCount="374343"><![CDATA[
Exception - Access Violation: C0000005
 
followed by:

<event date="Nov 19 14:20:36" severity="2" hostName="PCDIG18624" source="Altiris Agent" module="aexnsagent.exe" process="aexnsagent.exe" pid="4780" thread="2296" tickCount="23841750"><![CDATA[Unexpected exit C0000005]]></event>

 

 

temporary sollution is to manually remove and reinstall the client.
i already updated al solutions to the latest available version.
the current agent version is 7.0.7436

so i think this can by seen as a know issue.

does anyone know another possible workaround/sollution?

Bondo's picture
24
Nov
2010
0 Votes 0
Login to vote

We are also having the problem

Agent would run fine for a couple days then the service would hang and never return.  We worked with support and they provided an updated agent version Altiris Agent 7.0.8645.  That did not fix it either.  The last thing we have tried is disabling the Application Meting plug-in and that has at least seemed to resolved the agent crashes.  Problem is we need to use Application Metering.

Symantec why do you release such buggy software and provide such poor support on said buggy software.

SineWave's picture
26
Nov
2010
0 Votes 0
Login to vote

aditional info

some extra info.

from te moment the agent starts crashing during loggof/shutdown, it will happen every thime the computers logs off/shuts down.
so restarting the agent is nog a solution here.

i also hoped installing the new agent would do something, but the post from bondo left me dissapointed :-)

i really hope symantec would post their comment here, cause as you can see above, this is't a issolated problem anymore.

KSchroeder's picture
26
Nov
2010
0 Votes 0
Login to vote

All plugins updated?

You mentioned that you had run the Solution upgrades, but did you enable the update tasks for all of the plug-in agents (in particular, App Metering)?  I had a Package Server which was unexpectedly crashing like this during the Agent start up, and traced it back to a corrupted snapshot.xml file which didn't have a filename listed on one of the rows!

Fire up Process Explorer or more simply FileMon, and turn up the Agent logging level to Verbose or Trace; it may help identify what is causing the failure.

You might also try looking through the client policy file to see if there is anything that seems out of place there (i.e. the "no file" snapshot.xml file I came across).

Thanks,
Kyle
Symantec Trusted Advisor

For Forum threads, please click "Mark as Solution" if answered.
For all content, please give a thumbs up if you agree with or support the post.

SineWave's picture
29
Nov
2010
0 Votes 0
Login to vote

i''l give it a try

thx for the info!

the problem is I can't reproduce the problem and our users don't really like to wait 30 minutes before the pc shuts down. so mostly i just reinstall the agent.

So at the moment i don't have a pc to test it.
when one comes up, I'll trey to convert it to a VM and test on that machine.

I'll post an update whenever i'm done testing.

KSchroeder's picture
29
Nov
2010
0 Votes 0
Login to vote

Known issue

This is a "known issue" per the Symwise KB:

http://www.symantec.com/docs/TECH143680

The current "fix" is to restart the Agent, so setting the Service Recovery options above would be an appropriate work-around for now.  We built a little script to push to machines for this:

 Option Explicit
Dim objShell
Set objShell = CreateObject("WScript.Shell")
' Run SC.EXE to set recovery options to 'Restart the Service'
objShell.Run "cmd /c sc failure AeXNSClient reset= 86400 actions= restart/5000/", 1, True
' Delete object
Set objShell = Nothing
WScript.Quit(Err.Number) 

Thanks,
Kyle
Symantec Trusted Advisor

For Forum threads, please click "Mark as Solution" if answered.
For all content, please give a thumbs up if you agree with or support the post.

SineWave's picture
30
Nov
2010
0 Votes 0
Login to vote

Thanks a lot

Nice to hear it's officially an know issue.
now it's waiting for a solution.

also thx for the workaround!

invisibl's picture
19
Dec
2010
0 Votes 0
Login to vote

We have this issue as

We have this issue as well

It's holdng up at least two projects

Totally anxious here....