8 Replies Latest reply on May 20, 2010 7:19 AM by phoffmann

    Task failed with result-2147467259 (0x80004005 - code 16389)

    Rookie

      hello all,

       

      we have a Software Distribution Tasks in our Provisioning Templates that fails sometimes with the result -2147467259 (0x80004005 - code 16389). When I restart the Provisioning Task all works fine. I testet this on VMWare 10 times, and the task hangs 2 times.

      We have deleted this package and build new one with the same result. Can anyone help me?

       

      LDMS 9.0

      on a Windows Server 2008 R2, SQL 2005

       

      sdclient_task:

       

      Wed, 28 Apr 2010 11:16:53 Checking preferred server path http://de-bues-spxe-01/software/Microsoft/Office/WKS_MS_Office_2003_DEU_x86/WKS_Office2003DEUx86.exe instead of http://DE-BUES-SLD-03/software/Microsoft/Office/WKS_MS_Office_2003_DEU_x86/WKS_Office2003DEUx86.exe
      Wed, 28 Apr 2010 11:16:53 Path http://DE-BUES-SLD-03/software/Microsoft/Office/WKS_MS_Office_2003_DEU_x86/WKS_Office2003DEUx86.exe was redirected to http://de-bues-spxe-01/software/Microsoft/Office/WKS_MS_Office_2003_DEU_x86/WKS_Office2003DEUx86.exe
      Wed, 28 Apr 2010 11:16:53 Download of 'http://DE-BUES-SLD-03/software/Microsoft/Office/WKS_MS_Office_2003_DEU_x86/WKS_Office2003DEUx86.exe' was redirected to 'http://de-bues-spxe-01/software/Microsoft/Office/WKS_MS_Office_2003_DEU_x86/WKS_Office2003DEUx86.exe'
      Wed, 28 Apr 2010 11:16:54 Performing TCP connection with a timeout of -1 milliseconds
      Wed, 28 Apr 2010 11:16:55 Performing TCP connection with a timeout of 2500 milliseconds
      Wed, 28 Apr 2010 11:16:55 SAD ProcessNeedFileReply about to download s from peer 149.211.36.92
      Wed, 28 Apr 2010 11:17:05 Performing TCP connection with a timeout of -1 milliseconds
      Wed, 28 Apr 2010 11:17:05 Performing TCP connection with a timeout of 2500 milliseconds
      Wed, 28 Apr 2010 11:17:05 SAD ProcessNeedFileReply about to download s from peer 149.211.96.48
      Wed, 28 Apr 2010 11:17:15 Performing TCP connection with a timeout of -1 milliseconds
      Wed, 28 Apr 2010 11:17:16 Performing TCP connection with a timeout of 2500 milliseconds
      Wed, 28 Apr 2010 11:17:16 SAD ProcessNeedFileReply about to download s from peer 149.211.36.67
      Wed, 28 Apr 2010 11:17:26 Performing TCP connection with a timeout of -1 milliseconds
      Wed, 28 Apr 2010 11:17:26 Performing TCP connection with a timeout of 2500 milliseconds
      Wed, 28 Apr 2010 11:17:26 SAD ProcessNeedFileReply about to download s from peer 149.211.92.89
      Wed, 28 Apr 2010 11:17:36 Performing TCP connection with a timeout of -1 milliseconds
      Wed, 28 Apr 2010 11:17:37 Performing TCP connection with a timeout of 2500 milliseconds
      Wed, 28 Apr 2010 11:17:37 SAD ProcessNeedFileReply about to download s from peer 149.211.95.181
      Wed, 28 Apr 2010 11:17:47 processing of package is complete, result -2147467259 (0x80004005 - code 16389)

        • 1. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
          Expert

          What do the event logs say on the machine when it fails? Are you running from source or downloading the files? It looks like you might be using a preferred server, if so, is it possible that the machine is communicating with the wrong server and subsequently hitting a network issue?

           

          Actually, after just doing a brief search of the error, it looks like it might be network related or that the files can't be found.

          • 2. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
            Rookie

            I do not running from source, i am downloading the File. And yes, ist the prefferred Server function. But i also have tested it without the Prefferred Server function direct from the Core with the same result. When the SD Task start, i can see in the sdmcache Folder on the client the @partitial- File from this Package with 0 kb size. It looks like the download will beginn but then anything goes wrong with the communication to the core.

            I have a constant connection from the client to the core. there are 12 Software Distribution Tasks in this provisioning template, and i have this problem only with this package witch is on the 3rd position. So i think it is not a Network problem.

            • 3. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
              Expert

              Well, that it fails intermittently might indicate a communication issue. Otherwise, if it were a problem with the file share or the path you entered for the SDP then it would fail consistently. Were the 10 tests you performed all on the same machine or 10 separate machines?

              • 4. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
                Specialist

                I have a similar or identical problem with distributing a software package.

                 

                The package was made using the AdminStudio Limited Edition software for LDMS 9.0 on a 64-bit Win7Pro O/S.  The package is on a file server; but I have not configured any perferrred servers.

                 

                I schedule the task to run against a single machine running WinXP-Pro and it fails every time.  The following is from the log file:

                 

                <begin>

                Processing package : MathType5
                Wed, 19 May 2010 12:44:00 File (\\video2\Network Installs\AHS Sotware\~Ghost AI Packages\MathType5\AHS Install - MathType 5.msi) is not in cache
                Wed, 19 May 2010 12:44:01 processing of package is complete, result -2147467259 (0x80004005 - code 16389)

                <begin>

                 

                The computer can access the share okay; but when I try to launch the MSI from the client I get the following error:

                 

                "This installation package is not supported by this processor type.  Contact your product vendor."

                 

                 

                Next I pushed the same package to a Win7Prox64 machine and it works.

                 

                 

                maybe your software package isn't compatible with your target computer???

                • 5. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
                  Rookie

                  again.. when the Task fails on a machine, i restart the same Task and start it on the same Machine and then it works. The package is a MS Office 2003. The problem is the File download, not the execute.

                  • 6. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
                    phoffmann SupportEmployee

                    One of the most common problems when dealing with packages like Office is that the sheer number of files (4,000 +) tends to aggravate problems of the sort where 'something' goes wrong with a file (we check each file after we've downloaded it) so that the actual hash of the file no longer matches the hash that we expect it to be (in effect, the file is broken).

                     

                    Once you re-start the job, the client re-downloads the files it has had 'go bad' during the first attempt (since all the other files are "fine" when it checks them to be present in the local cache).

                     

                    A simple solution to this (and strongly recommended) is to use a method of just compressing the entirety of the Office Package into a ZIP-file. This tends to go faster, is more reliable, and requires just a single file to be downloaded (and then hashed). You could then extract it locally (I'm assuming the disk space is less of an issue?) and install it - just controlling it all via a BAT-file for instance?

                     

                    That sounds very much like what's going on in your scenario (since there's nothing wrong "with the package per se" as it does work, as such. Just that the problems start arising when one (or more) files get discarded by the download because the hashes don't match.

                     

                    Does this make sense, or would you need me to explain something in a bit more detail (if so - what?)?

                     

                    - Paul Hoffmann

                    LANDesk EMEA Technical Lead

                    • 7. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
                      Rookie

                      Hallo Paul,

                       

                      our Office Package is one zipped exe file  with 300MB size. We zipped it to save time, so we have only one file to download for the complete Office Package. I repackaged it complete and create a new task - unsuccessfully. Can it be a hash problem?  why does it work when i restart the task?

                      • 8. Re: Task failed with result-2147467259 (0x80004005 - code 16389)
                        phoffmann SupportEmployee

                        Well - the easiest way to tell would be to look in the relevant log.

                         

                        The log-file will have the TASKID as part of its filename - so something like "sdclient_task4.log" if the task ID is 4. You can see the task ID in the 32-bit console (you need to check either your "MY TASKS" or "PUBLIC TASKS" folder. The TASK ID is the 6th column from the right (usually easiest to scroll to the rightern most side to see it). Just to make sure you're looking at the right one (seems so, but just want to make sure).

                         

                        Here's a log entry from a healthy file download for example:

                        Thu, 20 May 2010 13:54:00 File (http://zeus/xx/packages/BATCH/calc.bat) is not in cache
                        Thu, 20 May 2010 13:54:06 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 13:54:07 ILdDownloading file to C:\Program Files\LANDesk\LDClient\SDMCache\ldlogon\FileLists\taskmanifest.MALFEAS.5.3.ini, attempt 0
                        Thu, 20 May 2010 13:54:09 ILdDownloadFile returned 0

                        I've highlighted the most important line (returning the 'success' for this file) in green.

                         

                        Now here's a relevant extract from a download failure I've induced:

                         

                        Downloading file http://ZEUS/xx/asd.txt (JN6UlgSzj5DPtL1Ak0dO+g==, 2)
                        Thu, 20 May 2010 14:17:57 Downloading file 2 of 4 from 'http://ZEUS/xx/asd.txt'
                        Thu, 20 May 2010 14:17:57 The file http://ZEUS/xx/asd.txt (2 levels) was not in the TMC cache.
                        Thu, 20 May 2010 14:17:57 ILdDownloading file to C:\Program Files\LANDesk\LDClient\SDMCache\xx\asd.txt, attempt 0
                        Thu, 20 May 2010 14:17:59 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:01 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:02 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:04 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:05 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:07 ILdDownloadFile returned 80004005
                        Thu, 20 May 2010 14:18:07 ILdDownloading file to C:\Program Files\LANDesk\LDClient\SDMCache\xx\asd.txt, attempt 1
                        Thu, 20 May 2010 14:18:08 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:10 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:12 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:13 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:15 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:16 ILdDownloadFile returned 80004005
                        Thu, 20 May 2010 14:18:16 ILdDownloading file to C:\Program Files\LANDesk\LDClient\SDMCache\xx\asd.txt, attempt 2
                        Thu, 20 May 2010 14:18:18 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:20 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:21 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:23 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:24 Performing TCP connection with a timeout of -1 milliseconds
                        Thu, 20 May 2010 14:18:26 ILdDownloadFile returned 80004005
                        Thu, 20 May 2010 14:18:26 ..\AdditionalFiles.cpp(222): (8DAC4026): Failed to get the file hash for http://ZEUS/xx/asd.txt : (80070002)

                         

                        So in your case, with your log entries, there's a problem downloading "WKS_Office2003DEUx86.exe" successfully. We could enable a bit of debug logging, but by and large it amounts to "the client doesn't like what he's getting", as it were.

                         

                        So in that regard that's normal - when you re-schedule the task, re-examine the relevant log-file, and you should get a nice "returned 0" message for the relevant file(s), which means "all is well", and once all the files have been downloaded fine, we should be able to execute it fine.

                         

                        Does this help you any more at this point - at least to help you along understanding what's happening in the logs?

                         

                        - Paul Hoffmann

                        LANDesk EMEA Technical Lead