9 Replies Latest reply on Oct 21, 2008 3:01 PM by MasterEales

    Failed to download file

    Apprentice

      I seem to be getting this same error on any package, even if it worked in the past. I upgraded to to 8.8 SP2 today and no change. Can someone help translate and advise of the solution?

       

      Thanks!

       

      ---begin---

      Processing package : Remove etrust
      Thu, 16 Oct 2008 15:52:59 Web request to core server failed, result 1, http status 401
      Thu, 16 Oct 2008 15:52:59 Cannot get preferred server list from core
      Thu, 16 Oct 2008 15:52:59 File (\\fl2000-app002\packages\RemoveEtrust.cmd) is not in cache
      Thu, 16 Oct 2008 15:53:06 Web request to core server failed, result 1, http status 401
      Thu, 16 Oct 2008 15:53:06 Cannot get preferred server list from core
      Thu, 16 Oct 2008 15:53:07 ..\AdditionalFiles.cpp(63): (8DAC4026): Failed to download file http://LANDesk.Gateway@192.168.0.84/ldlogon/FileLists/taskmanifest.FL2000-APP002.256.81.ini : (8000070B)
      Thu, 16 Oct 2008 15:53:07 processing of package is complete, result -1918091226 (0x8dac4026 - code 16422)
      Tue, 21 Oct 2008 14:35:01 Web request to core server failed, result 1, http status 401
      Tue, 21 Oct 2008 14:35:01 Cannot get preferred server list from core
      Tue, 21 Oct 2008 14:35:01 File (\\fl2000-app002\packages\RemoveEtrust.cmd) is not in cache
      Tue, 21 Oct 2008 14:35:07 Web request to core server failed, result 1, http status 401
      Tue, 21 Oct 2008 14:35:07 Cannot get preferred server list from core
      Tue, 21 Oct 2008 14:35:08 ..\AdditionalFiles.cpp(63): (8DAC4026): Failed to download file http://LANDesk.Gateway@192.168.0.84/ldlogon/FileLists/taskmanifest.FL2000-APP002.256.81.ini : (8000070B)
      Tue, 21 Oct 2008 14:35:08 processing of package is complete, result -1918091226 (0x8dac4026 - code 16422)

      ---end---

        • 1. Re: Failed to download file
          Apprentice

          Here's the info from ScheduledTaskHandler_256.log:

           

          ---begin---

          10/21/2008 2:34:44 PM : loading distribution task (256) for global scheduler client.
          10/21/2008 2:34:44 PM : performing hash calculations on package : Remove etrust
          10/21/2008 2:34:45 PM : Batch file packages are not supported on pre 8.5 clients
          10/21/2008 2:34:45 PM : Batch file packages are not supported on pre 8.5 clients
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:45 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:47 PM :          256 : Updating allowed machines if needed.
          10/21/2008 2:34:47 PM :          256 : Calling method to perform remote operations.
          10/21/2008 2:34:47 PM :          256 : Before hasherize of C:\Program Files\LANDesk\ManagementSuite\landesk\files\FL2000-APP002-task-256.pmf
          10/21/2008 2:34:47 PM :          256 : After hasherize
          10/21/2008 2:34:47 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:34:47 PM :          256 : Troubleshooting guidelines
          The global scheduler has delegated task 256.
            The task was delegated by (source): FL2000-APP002
            This task was delegated to (dest) : FL2000-APP002
            Using GlobalTask_Idn              : 12
          This delegation was done by creating an entry in the GlobalTask table on the destination core (the task id is provided above).
          The Entry in the GlobalTask should have set to state column to 1 to indicate that it is a new task and should be processed.
          The scheduler service should detect and process this delegated task, please check scheduler service log on the destination core to see if it successfully detected the GlobalTask entry.

          10/21/2008 2:34:47 PM :          256 : Waiting for task 256 from FL2000-APP002 to complete on FL2000-APP002.  Checking every 10 seconds, inactivity timeout after 1200 seconds.
          Tue, 21 Oct 2008 14:34:49 Using user specified port 12174 for remote execute
          Tue, 21 Oct 2008 14:34:49 Using user specified read timeout 300000 for remote execute
          Tue, 21 Oct 2008 14:34:49 1 machines targeted to task
          Tue, 21 Oct 2008 14:34:51 Creating a pool of 1 worker threads
          Tue, 21 Oct 2008 14:34:51 Worker thread started
          Tue, 21 Oct 2008 14:34:51 Thread pool created
          Tue, 21 Oct 2008 14:34:51 Processing package
          Tue, 21 Oct 2008 14:34:51 Item placed in the Machine Node Queue
          Tue, 21 Oct 2008 14:34:51 Thread is activating, 1 active threads
          Tue, 21 Oct 2008 14:34:51 Queue Item 76431472: Preparing to process node
          Tue, 21 Oct 2008 14:34:51 processing machine CON4872001
          Tue, 21 Oct 2008 14:34:53 Remote execute of application 'C:\Program Files\LANDesk\LDClient\fileversion.exe', params '"C:\Program Files\LANDesk\LDClient\sdclient.exe"' on CON4872001 (4f00a8c0)
          Tue, 21 Oct 2008 14:34:54 sdclient file version characterized as LDMS8_8
          Tue, 21 Oct 2008 14:34:54 CON4872001, executing C:\Program Files\LANDesk\LDClient\sdclient.exe /p="\\fl2000-app002\packages\RemoveEtrust.cmd" /levels=2 /FileListName="taskmanifest.FL2000-APP002.256.81.ini" /FileListHash="m9CUxyw6s+xQCt6uZ8iqbw==" /bat /N /An /lanpps=0 /wanpps=0 /taskid=256 /core="FL2000-APP002:192.168.0.84" /sad=100 /taskname="Remove eTrust" /pkgname="Remove etrust" /pkgdesc="Removing eTrust antivirus in preparation for replacing it"
          Tue, 21 Oct 2008 14:34:54 Remote execute of application 'C:\Program Files\LANDesk\LDClient\sdclient.exe', params '/p="\\fl2000-app002\packages\RemoveEtrust.cmd" /levels=2 /FileListName="taskmanifest.FL2000-APP002.256.81.ini" /FileListHash="m9CUxyw6s+xQCt6uZ8iqbw==" /bat /N /An /lanpps=0 /wanpps=0 /taskid=256 /core="FL2000-APP002:192.168.0.84" /sad=100 /taskname="Remove eTrust" /pkgname="Remove etrust" /pkgdesc="Removing eTrust antivirus in preparation for replacing it" ' on CON4872001 (4f00a8c0)
          Tue, 21 Oct 2008 14:35:08 CON4872001 remote execution complete, result 0, exitcode -1918091226
          Tue, 21 Oct 2008 14:35:08 CON4872001, getting client log file
          Tue, 21 Oct 2008 14:35:08 CON4872001, getting client log file
          Tue, 21 Oct 2008 14:35:08 Thread has completed processing, 0 active threads remaining
          Tue, 21 Oct 2008 14:35:08 The Machine Node Queue is now empty
          Tue, 21 Oct 2008 14:35:08 Shutting down thread pool
          Tue, 21 Oct 2008 14:35:08 The Machine Node Queue is now empty
          Tue, 21 Oct 2008 14:35:08 Thread pool shutdown
          Tue, 21 Oct 2008 14:35:09 Task complete, status 8
          10/21/2008 2:35:17 PM :          256 : FL2000-APP002 has completed task with status 5 (Delegated task complete.)
          10/21/2008 2:35:17 PM :          256 : Proxy work thread for core FL2000-APP002 is complete.
          10/21/2008 2:35:17 PM :          256 : Thread is complete, synchronizing status information.
          10/21/2008 2:35:17 PM : Warning: No link entries were returned.  No tasks will be synchronized
          10/21/2008 2:35:17 PM : Warning: No link entries were returned.  No tasks will be synchronized
          10/21/2008 2:35:17 PM :          256 : Remote operations complete, synchronizing status information.
          10/21/2008 2:35:17 PM :          256 : Task complete, returning status 7

          ---end---

           

          ...and the portion of SchedSvc.log:

           

          ---begin---

          Tue, 21 Oct 2008 14:34:48 Troubleshooting information: A global scheduler task (GlobalTask_Idn 12) was detected, Launching the global scheduler skeleton to process the task.
          Tue, 21 Oct 2008 14:35:09 Troubleshooting information: The skeleton has completed processing global scheduler task (GlobalTask_Idn 12).
          Tue, 21 Oct 2008 14:35:09 Global task (12) has completed.
          Tue, 21 Oct 2008 14:35:17 Task 256, exitcode 7 has been translated to status 7
          Tue, 21 Oct 2008 14:35:17 Setting task 256 status to 7
          Tue, 21 Oct 2008 14:35:17 Sending task 256 status of 7 to mbsdk
          Tue, 21 Oct 2008 14:35:17 Sending alert locally C:\Program Files\LANDesk\ManagementSuite\MBSDKAlertHandler.exe taskid=256
          Tue, 21 Oct 2008 14:36:06 Task 178, exitcode 7 has been translated to status 7
          Tue, 21 Oct 2008 14:36:06 Setting task 178 status to 7
          Tue, 21 Oct 2008 14:36:06 Sending task 178 status of 7 to mbsdk
          Tue, 21 Oct 2008 14:36:06 Sending alert locally C:\Program Files\LANDesk\ManagementSuite\MBSDKAlertHandler.exe taskid=178
          Tue, 21 Oct 2008 14:37:09 Task 242, exitcode 7 has been translated to status 7
          Tue, 21 Oct 2008 14:37:09 Setting task 242 status to 7
          Tue, 21 Oct 2008 14:37:09 Sending task 242 status of 7 to mbsdk
          Tue, 21 Oct 2008 14:37:09 Sending alert locally C:\Program Files\LANDesk\ManagementSuite\MBSDKAlertHandler.exe taskid=242

          ---end---

           

           

          ... and from LANDesk.Scheduler.GlobalScheduler.Skeleton.exe.log:

           

          ---begin---

          10/21/2008 2:34:48 PM : Request to process global task (GlobalTask_Idn 12) from the GlobalTask database table.
          10/21/2008 2:34:49 PM : FL2000-APP002 256 : The global task (GlobalTask_Idn 12) has been retrieved from the database and will be processed.
          10/21/2008 2:34:49 PM : FL2000-APP002 256 : Validating the hash (SqutOBNsPhi+MmGeATeOfA==) for the delegated PMF data
          10/21/2008 2:34:49 PM : FL2000-APP002 256 : This scheduled task does not contain a RemoteOperation node, no processing will be done
          10/21/2008 2:34:49 PM : FL2000-APP002 256 : Loading GS Server for LANDesk.Scheduler.GlobalSchedulerTaskHandler, LANDesk.Scheduler.GlobalSchedulerTaskHandler.GSServer
          10/21/2008 2:34:49 PM : FL2000-APP002 256 : Successfully loaded AppDomain for LANDesk.Scheduler.GlobalSchedulerTaskHandler.GSServer
          10/21/2008 2:34:49 PM : FL2000-APP002 256 : Starting global scheduler server LANDesk.Scheduler.GlobalSchedulerTaskHandler.GSServer
          10/21/2008 2:34:51 PM : Processing download file C:\Program Files\LANDesk\ManagementSuite\ldlogon\FileLists\taskmanifest.FL2000-APP002.256.81.ini
          10/21/2008 2:34:51 PM : Core name obtained from database : FL2000-APP002
          10/21/2008 2:35:09 PM : FL2000-APP002 256 : Unloading AppDomain for LANDesk.Scheduler.GlobalSchedulerTaskHandler.GSServer
          10/21/2008 2:35:09 PM : FL2000-APP002 256 : Skeleton has completed processing task 256

          ---end---

          • 2. Re: Failed to download file
            zman Master

            Is this a laptop configured to go through a Gateway?

            Looks like the first error is Web Request error. Can you browse to the url located below:

             

            http://coreserver/landesk/managementsuite/softwaredistribution/apmservice/PolicyRequest.asmx 

             

            Replace coreserver with you actual core server name.

             

            401  normally indicates that Anonymous access has been disabled for the Webservice. Check out this doc

            http://community.landesk.com/support/docs/DOC-2587

            • 3. Re: Failed to download file
              Apprentice

              It is a laptop but we do not use a LANDesk Gateway. That URL generates:

               

              ---begin---

              Server Error in '/LANDesk/ManagementSuite/SoftwareDistribution/ApmService' Application.

              Parser Error

              Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

              Parser Error Message: Could not load type 'ApmService.Global'.

              Source Error:

              Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="ApmService.Global" %>
              

              Source File: /LANDesk/ManagementSuite/SoftwareDistribution/ApmService/global.asax    Line: 1


              Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

               

              ---end---

              • 4. Re: Failed to download file
                Apprentice

                The anoymous access was unchecked for the three virtual directories, but Integrated was checked instead. I added the anonymous access, and it generated the same error trying to access the above URL, and this is the new log file generated by the task:

                 

                -begin-

                 

                Processing package : Remove etrust
                Tue, 21 Oct 2008 15:35:33 Web request to core server failed, result 1, http status 401
                Tue, 21 Oct 2008 15:35:33 Cannot get preferred server list from core
                Tue, 21 Oct 2008 15:36:23 File (
                fl2000-app002\packages\RemoveEtrust.cmd) is not in cache
                Tue, 21 Oct 2008 15:36:24 Web request to core server failed, result 1, http status 401
                Tue, 21 Oct 2008 15:36:24 Cannot get preferred server list from core
                Tue, 21 Oct 2008 15:37:14 Downloading file to C:\Program Files\LANDesk\LDClient\sdmcache\taskmanifest.FL2000-APP002.256.81.ini, attempt 0
                Tue, 21 Oct 2008 15:37:16 DownloadFile returned 0
                Tue, 21 Oct 2008 15:37:16

                Downloading file
                fl2000-app002\packages\RemoveEtrust.cmd (ojWlhLgfu2FfEGpHMPvOqQ==, 2)
                Tue, 21 Oct 2008 15:37:16 Downloading file 1 of 1 from '
                fl2000-app002\packages\RemoveEtrust.cmd'
                Tue, 21 Oct 2008 15:37:16 Web request to core server failed, result 1, http status 401
                Tue, 21 Oct 2008 15:37:16 Cannot get preferred server list from core
                Tue, 21 Oct 2008 15:38:06 The file
                fl2000-app002\packages\RemoveEtrust.cmd (2 levels) was not in the TMC cache.
                Tue, 21 Oct 2008 15:38:06 The file
                fl2000-app002\packages\RemoveEtrust.cmd (2 levels) was not in the TMC cache.
                Tue, 21 Oct 2008 15:38:06 Downloading file to C:\Program Files\LANDesk\LDClient\sdmcache\packages\RemoveEtrust.cmd, attempt 0
                Tue, 21 Oct 2008 15:38:08 DownloadFile returned 0
                Tue, 21 Oct 2008 15:38:08 Batch file Client Thread
                Tue, 21 Oct 2008 15:38:08 PackagePath: \\fl2000-app002\packages\RemoveEtrust.cmd
                Tue, 21 Oct 2008 15:38:08 Web request to core server failed, result 1, http status 401
                Tue, 21 Oct 2008 15:38:08 Cannot get preferred server list from core
                Tue, 21 Oct 2008 15:39:02
                Tue, 21 Oct 2008 15:39:02 Installation result 80070001
                Tue, 21 Oct 2008 15:39:02 processing of package is complete, result -2147024895 (0x80070001 - code 1)

                 

                -end-

                • 6. Re: Failed to download file
                  Apprentice

                  The contents of the file were wrong. I changed them per the document and am testing...

                  • 7. Re: Failed to download file
                    Apprentice

                    I am getting the same problem!

                     

                    I've tried a number of things but still get the failed to download message, strange thing is that on some SP2 systems i send the job to it gives me that message. If i re-run the job it works? abit hit and miss.

                     

                    I've put some xtrace's on some of the clients and have sent some jobs to them, I will check in the morning to see what's in the log

                    link to my post

                    Failed to Download Additional Files

                    • 8. Re: Failed to download file
                      Apprentice

                      It seems to be working now with this task. I've been installing, removing, re-installing, re-removing etc on my system and now it's saying the machine has another installation pending and won't fails to run the removal batch file again. I'll try it on a true lab machine.

                      • 9. Re: Failed to download file
                        Apprentice

                        I've notice that too, after i get the failed to download - another installation is in progress

                        go onto the machine and nothing is running or being sent to the system (no sdclient.exe in memory) which is kinda wierd 

                         

                        if you need to do some logging :)

                         

                        How To: Enable XTrace Diagnostic Logging for the LANDESK Core and Clients