IT Management Suite

  • 1.  NS 6.5 dead after failed update

    Posted Jul 13, 2009 06:58 AM
    Hi there,
    I have Altiris NS 6.5 Installed on a server.
    I was running an update, i think it was SP3 and the installation failed.
    Now the NS is broken.. the Altiris database on othe SQL Server seems fine, but i can't access any setting from NS.
    I got the client installed on hundreds of computers.. but i need to fix this ASAP  i tried this solution..
    https://kb.altiris.com/display/1n/articleDirect/index.asp?aid=46542&r=0.5377008
    Will be it be ok to reinstall altiris again? will it pick up the database and work again?
    Any other solutions?
    This is a screenshot of the error
    imagebrowser image

    thanks




  • 2.  RE: NS 6.5 dead after failed update

    Posted Jul 13, 2009 07:45 AM
    Did you get any error messages in general? Can you check the Altiris logs on the server to see what they say? How did you do the upgrade (were you logged onto the server, or at least using a terminal services connection with a session ID of 0)?

    You can do a repair of the Notification Server, by running repair on BOTH Notification Server and the last installed NS Hotfix that is present in the add\remove control panel. This will then launch the mini-setup so you can reconfigure and point it to the existing database.


  • 3.  RE: NS 6.5 dead after failed update

    Posted Jul 13, 2009 08:05 AM
    Hi,
    i didn't get any error in particular.
    I was logged on to the server.
    The log error i get all the time is:
    <event date='Jul 13 10:01:50' severity='2' hostName='xxx-xxx-xxx' source='Client Task Agent' module='Client Task Agent.dll' process='AeXNSAgent.exe' pid='1164' thread='2892' tickCount='59234' >
    <![CDATA[CAtrsException exception, error = "Attempted to reference a null interface", OS error = 2147549183, at line 71

    re-throw at CAtrsInterfacePtr::operator->

    re-throw at CTaskAgentBase::IsRegistered

    re-throw at CTaskAgentBase::CheckRegister]]></event>

    Please note i've changed the hostname to xxx-xxx-xxx for security reasons.

    How do i  run the repair on the NS Server?

    Thanks



  • 4.  RE: NS 6.5 dead after failed update

    Posted Jul 13, 2009 09:39 AM
    as I stated above. "by running repair on BOTH Notification Server and the last installed NS (specific) Hotfix that is present in the add\remove control"


  • 5.  RE: NS 6.5 dead after failed update

    Posted Jul 13, 2009 10:10 AM
    Hi, when i was doing the repair i got the error attached here..
    imagebrowser image

    After this error when i open the cosole i got this error message..

    System.IO.FileNotFoundException: ?
    File name: "Altiris.NS"
    at Altiris.NS.UI.ConsolePage.Page_Load(Object sender, EventArgs e)
    at System.Web.UI.Control.OnLoad(EventArgs e)
    at ASP.Console_aspx.OnLoad(EventArgs e) in C:\Program Files (x86)\Altiris\Notification Server\Console.aspx:line 22
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain()

    === Pre-bind state information ===
    LOG: DisplayName = Altiris.NS, Version=6.0.6074.80, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f
    (Fully-specified)
    LOG: Appbase = file:///C:/Program Files (x86)/Altiris/Notification Server
    LOG: Initial PrivatePath = bin
    Calling assembly : Altiris.Web.NS, Version=6.0.6074.70, Culture=neutral, PublicKeyToken=null.
    ===

    LOG: Publisher policy file is found at C:\WINDOWS\assembly\GAC\policy.6.0.Altiris.NS\6.0.6074.0__d516cb311cfb6e4f\Altiris.NS.config.
    LOG: Host configuration file not found.
    LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: Altiris.NS, Version=6.0.6074.80, Culture=neutral, PublicKeyToken=d516cb311cfb6e4f
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_ns/2727d9cf/c95d4a6b/Altiris.NS.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_ns/2727d9cf/c95d4a6b/Altiris.NS/Altiris.NS.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Altiris/Notification Server/bin/Altiris.NS.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Altiris/Notification Server/bin/Altiris.NS/Altiris.NS.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_ns/2727d9cf/c95d4a6b/Altiris.NS.EXE.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/altiris_ns/2727d9cf/c95d4a6b/Altiris.NS/Altiris.NS.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Altiris/Notification Server/bin/Altiris.NS.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/Altiris/Notification Server/bin/Altiris.NS/Altiris.NS.EXE.

    Also when i check in the log i got this errors.


    Jul 13 15:00:01 I Next policy request from server altiris.com will be at 2009-07-13 15:03:01, in 3 minutes ServerSettings AeXNSAgent.exe AeXNSAgent.exe (1164) 1236
    Jul 13 15:00:01 E RequestPolicies failed: HTTP error: 500 Internal Server Error (-2147209951) ConfigServer AeXNSAgent.exe AeXNSAgent.exe (1164) 1236
    Jul 13 15:00:01 W HTTP error: 500 Internal Server Error (-2147209951) CoNetworkTransport(116) AeXNetComms.dll AeXNSAgent.exe (1164) 1236
    Jul 13 15:00:01 W Get 'altiris.com/Altiris/NS/Agent/GetClientPolicies.aspx?xml=<Request configVersion="2"><WrkstaGuid>{B7A95B85-01EF-4555-8C5A-F1A461A53FF4}</WrkstaGuid></Request>&compress=1&hash=BD50184BA5E985172AB375E14CFE60F7' failed: HTTP error: 500 Internal Server Error (-2147209951) AeXNetworkTransport AeXNetComms.dll AeXNSAgent.exe (1164) 1236
    Jul 13 15:00:01 I Next basic inventory update will be sent to server altiris.com at 2009-07-14 15:00:01, in 1440 minutes ServerSettings AeXNSAgent.exe AeXNSAgent.exe (1164) 1236
    Jul 13 15:00:01 I Basic inventory update has been sent ConfigServer AeXNSAgent.exe AeXNSAgent.exe (1164) 1236
    Jul 13 14:59:58 E An exception occurred while attempting to process jobs request. Error: System.Threading.ThreadAbortException: Thread was being aborted. at Altiris.Core.Sockets.SecureRemoting.SecureRemotingClient.SendRequestI(String service, Hashtable input) at Altiris.Core.Sockets.SecureRemoting.SecureRemotingClient.SendRequest(String service, Hashtable input) at Altiris.ClientTask.Server.Web.WebClientApiManager.ProcessGetTasksRequest(NameValueCollection queryValues, Stream requestStream, Int32 contentLength) Altiris


    Any ideas?
    Thanks




  • 6.  RE: NS 6.5 dead after failed update

    Posted Jul 13, 2009 10:21 AM
    How far through the process did you get? It appears you missing some critical .net assembly files. These are usually fixed by doing a repair (a few instance where this is not the case), so we'll have to tread carefully


  • 7.  RE: NS 6.5 dead after failed update

    Posted Jul 13, 2009 10:35 AM
    Hi, after the error windows the Repair showed a repair finished message.
    Regards



  • 8.  RE: NS 6.5 dead after failed update

    Posted Jul 14, 2009 06:20 AM
    Hi, any update with this issue, please?



  • 9.  RE: NS 6.5 dead after failed update

    Posted Jul 14, 2009 07:31 AM
    So, I was waiting to see if the issue was resolved. You need to post some of the log files here. Try filtering the logs for errors only, if you can only copy and paste information.