Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

BaseXmlCallback Exception: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:50121

Updated: 21 May 2010 | 6 comments
ansis.developer's picture
0 0 Votes
Login to vote

During installation of Client Management Suite I got this exception thrown out in Altiris Log Viewer. After this Exception gets thrown out there follow up many other exceptions like "AeXSvc service was unable to restart", causing installation to fail.

Before installing CMS, netstat shows that on port 50121 there is a TCP listening socket, but when installation starts this socket does not appear anymore in netstat(also process AtrsHost.exe is not in Task Manager anymore).

Netstat before installation:

 TCP    0.0.0.0:50121          0.0.0.0:0              LISTENING       5436
 [AtrsHost.exe]

And Log output:
 

Log File Name: C:\Program Files\Altiris\Notification Server\Logs\a.log
Priority: 1
Date: 7/10/2009 5:40:11 AM
Tick Count: 13540937
Host Name: ALTIRIS-CLIENT
Process: w3wp (4864)
Thread ID: 11
Module: w3wp.exe
Source: Altiris.TaskManagement.ClientTask.*
Description: BaseXmlCallback Exception: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:50121
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingClient.EstablishConnection()
at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingClient.AttempSendRequest(String service, Hashtable input)
at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingClient.SendRequestI(String service, Hashtable input)
at Altiris.DotNetLib.Sockets.SecureRemoting.SecureRemotingClient.SendRequest(String service, Hashtable input)
at Altiris.ClientTask.Server.HttpHandlers.WebClientApiManager.ProcessGetTasksRequest(XmlTextWriter wr, NameValueCollection queryValues, Stream requestStream, Int32 contentLength)
at Altiris.ClientTask.Server.HttpHandlers.GetTasks.WriteResponse(XmlTextWriter wr)
at Altiris.TaskManagement.Common.XmlHttp.BaseXmlXmlHttpCallback.WriteResponseRaw(XmlTextWriter xwr)
at Altiris.TaskManagement.Common.XmlHttp.BaseXmlHttpCallback.ProcessRequest(HttpContext context)

Comments

jharings's picture
10
Jul
2009
0 Votes 0
Login to vote

I have to ask

It seems you are having lots of problems, just getting the basic console to load. You passed all the pre-reqs right? Otherwise you wouldn't get this far. However, do you have .net 3.5 SP1 on your box?

Jim Harings
HP Enterprise Services
1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect club.

ansis.developer's picture
10
Jul
2009
0 Votes 0
Login to vote

Yes, all pre-reqs passed(SQL

Yes, all pre-reqs passed(SQL 2005 Enterprise Edition, 4GB of RAM, IE 7 ...)!

I have tried to install it on different machines - VirtualBox and right now I am installing it on native Intel Q6600 with 4GB of RAM. Others also seem to have the same issue.

Yes, I have .NET 3.5 with SP1. Also I have latest updates for Windows 2003 Server(tried also without latest updates).

jharings's picture
10
Jul
2009
0 Votes 0
Login to vote

See my post on the other comment

Currently .net 3.5 SP1 is not supported and must be removed. See Altiris KB46492.

Jim Harings
HP Enterprise Services
1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect club.

rpoag's picture
04
Sep
2009
0 Votes 0
Login to vote

bump

I have the same issue.  I do not have .NET 3.5 SP1.  Any ideas where to go with it?

Ryan Poag<br>Campbell & Company, Inc.<br>If your question has been resolved, please be sure to "Mark as Solution"! Thank you.

jharings's picture
04
Sep
2009
0 Votes 0
Login to vote

Check to see if you have a maintenance task enabled

I saw these type of errors, amongst others, when I didn't.

Jim Harings
HP Enterprise Services
1st Rule of Connect Club: Mark the post that helped you the most as a 'solution'. 2nd Rule of Connect Club:You must talk about Connect club.

rpoag's picture
11
Sep
2009
0 Votes 0
Login to vote

Ended up that a repair of the

Ended up that a repair of the notification server core fixed most of the issues.  There was a CMDB issue I had to call support to get the fix for as well.

Ryan Poag<br>Campbell & Company, Inc.<br>If your question has been resolved, please be sure to "Mark as Solution"! Thank you.