This Question is Answered

10 Replies Last post: Jun 20, 2009 10:09 PM by Mach6  
steve schmidlap Rookie 13 posts since
Jun 6, 2009
Currently Being Moderated

Jun 11, 2009 3:18 AM

Trying to push a software distribution package

This is what I have done so far.

 

1.  Downloaded the installer file for Yahoo Messenger.  File is called msgr9us.exe  I downloaded to the core server.

2.  Created a share on the core server called packages.

3.  Created a distribution package on the core server called Yahoo Messenger Package.

4.  Primay file for the package is \\member1\packages\msgr9us.exe

5.  Added the /s switch as in install option.

6.  Created a delivery method called Yahoo Messenger Delivery.  I am using the push method.

7.  I created an associated scheduled task.

 

I have two virtual machines.  The core server is called member1.  The target client is called 2k3srvr.  I watch both machines when I start the scheduled task.  I see the software distribution task start running on the target client 2k3srvr.  However, it quickly stops with a LanDesk Task Failed error message of:

 

The task Yahoo Messenger Distribution to deploy the package Yahoo Messenger Package failed.

 

This is all I get in response.  Obviously, not helpful at all.  So my questions are:  Is there a log or somewhere I can go to find an error code of some sort?  I don't even know how to begin troubleshooting this failure.

 

When I ran msgr9us /s from the command line on the core server Yahoo Messenger installed silently without prompting me for any input.  It worked just fine.  However, when I try to push this out to the target client the installation doesn't even seem to begin.  The software distribution process starts on the client.  I can tell because an pop up message appears stating.  But then it fails.  Please help.

Mach6 SupportEmployee 318 posts since
May 23, 2008
Currently Being Moderated
1. Jun 11, 2009 7:29 AM in response to: steve schmidlap
Re: Trying to push a software distribution package

Hi Steve,

 

There should be a log file available if you right click on the client device from within the task and choose Log File.  If that option's not there then the same log is found on the client under LANDesk\LDClient\Data.  It should be named something with the task id in it.

 

Also, under LANDesk\LDClient\sdmcache you should see the file being downloaded (if that part's successful).  Of course, if you are using a run from source method instead of download from source then this wouldn't apply.

 

Please attach the log file and let me know if anything is in your sdmcache folder.

Mach6 SupportEmployee 318 posts since
May 23, 2008
Currently Being Moderated
3. Jun 11, 2009 10:38 AM in response to: steve schmidlap
Re: Trying to push a software distribution package

Steve,

 

That log file is indicating that the problem is with the local system account accessing the share.  If your package server is the Core server then a really good way to set up a package share is to make it a subfolder under the ldlogon share.  Ldlogon is already set up with the appropriate permissions and settings for both UNC and HTTP distribution, so it's really easy to dump the files there.

 

My share path is usually something like http://CoreServer/ldlogon/packages/PackageName1/FileToRun.exe.  I prefer HTTP because the Gateway will only work through HTTP (with very limited exceptions that aren't worth the difficulty of settings up).

 

If it's possible, try moving the package to some subfolder under ldlogon and try again (either HTTP or UNC, but I always use HTTP) and let me know the result.

 

Thanks!

Mach6 SupportEmployee 318 posts since
May 23, 2008
Currently Being Moderated
7. Jun 12, 2009 7:22 AM in response to: steve schmidlap
Re: Trying to push a software distribution package

Excellent!  Glad to hear it worked!

 

The short answer on the problem is that the error code you are seeing tells us that Windows is reporting that the installation failed.  In this instance we are simply being the messenger and bringing the reported result back.

 

This could be because there is an "error" that occurs which changes their exit code, but doesn't actually stop the installation.  Another could be that they simply don't use standard exit codes where 0 = success and anything else = failure.  In that scenario Windows might read the exit code, which in this case appears to be 2, and then pass that along, although internally Yahoo has 0 = succes with option A, 1 = success with option B, and 2 = success with option C.  I don't know which (if either) of my scenarios is accurate in this case, because Yahoo would have to tell us that, but the end result is that LANDesk is simply delivering the message it is receiving from Windows, which is pretty much delivering the information it gets from the Yahoo installer (based on the exit code).

Paul Hoffmann SupportEmployee 2,300 posts since
Dec 11, 2007
Currently Being Moderated
8. Jun 12, 2009 8:59 AM in response to: Mach6
Re: Trying to push a software distribution package

Just to add to Mach6's great explanation -- we're working on a way to cope with "non standatd exit codes" - so this is in our radar. Office in particular seems to be a culprit here of late.

 

"For the time being", you can intercept the non-0 exit codes via a batch-file (essentially, you kick off the install from the batch, and intercept whatever return code it throws at you ... then based on that, you can decide "yourself" (via the batch file) whether this is an "OK" or a "Not OK" return code, and send a custom one to the LDMS console.

 

In order to pull off this stunt, I would strongly suggest you have a look at the "Understanding batch File distribution" white paper, which you can find here:

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

 

- Paul Hoffmann

LANDesk EMEA Technical Lead

Mach6 SupportEmployee 318 posts since
May 23, 2008
Currently Being Moderated
10. Jun 20, 2009 10:09 PM in response to: steve schmidlap
Re: Trying to push a software distribution package

Uh oh, another one with the bug.  [-8  LANDesk is really a fun tool to use.  Too fun sometimes.  I think they need a 12 step program to help some of us out.

More Like This

  • Retrieving data ...
LANDesk Community powered by Jive Software's Clearspace ® Subscribe| Legal Notices| Investor Relations| Avocent| Privacy Policy © 2009 LANDesk Software