/build/static/layout/Breadcrumb_cap_w.png

Mac managed installs stopped working properly

Hello,
I am not positive but I think this issue stems from Yosemite and how the commands are being called from Kace to the Mac OS, maybe something changed from 10.9 to 10.10? These MIs all worked (mostly) flawlessly in Mavericks. Occasionally with Mavericks my Flash and Java MIs would fail and I would need to reset the "Maximum Attempts" number in the MI, save it, and force a inventory check on the Mac. After the second or third attempt it would install.

I'm now seeing all failures on the following MIs: Cisco AnyConnect, Lync, Flash, JDK, and sometimes MS 2016. 

I'm using .pkg files and I've tried both with the default command and with a command similar to this, both fail: 
sudo /usr/sbin/installer -pkg Microsoft_Office_2016_Installer.pkg -target /Volumes/Macintosh\ HD

Below is a section of the kagent.log file during inventory when the .pkg file is pushed to the Mac, also a screenshot of the downloads folder and the kagent.log being tailed. You can see the mount command failure. Based on this I can see when the install is failing, I just don't know why it's failing, and why the Chrome and Firefox MIs still work flawlessly everytime.

Kace server 6.3, latest 6.3 agent version. I've tested this on a Mac out of the box and imaged using AutoDMG/Deploystudio.

Has anybody experienced this or know what might be going on?

[2015-10-16.16:24:35][runkbot:CleanupLog              ] Cleaning up log file [/var/tmp/tmp.0.7nPIct]
[2015-10-16.16:26:59][runkbot:GetKbot                 ] Kbot [2-0] not found locally, downloading ...
[2015-10-16.16:26:59][runkbot:LaunchAndWait           ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:26:59][runkbot:LaunchAndWait           ] KLaunchClientImpl::LaunchAndWait Kpopen Option
[2015-10-16.16:27:00][KBoxClient:LaunchAndWait        ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:27:00][KBoxClient:LaunchAndWait        ] KLaunchClientImpl::LaunchAndWait sytem() option
[2015-10-16.16:27:00][KBoxClient:LaunchAndWait        ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:27:00][KBoxClient:LaunchAndWait        ] KLaunchClientImpl::LaunchAndWait sytem() option
[2015-10-16.16:27:00][KInventory:Initialize           ] database location  = [/Library/Application Support/Dell/KACE/data/kinventory.db]
[2015-10-16.16:27:00][KInventory:Initialize           ] KInventory   InventoryData attempting to open DB file [/Library/Application Support/Dell/KACE/data/kinventory.db]
[2015-10-16.16:27:00][KInventory:OpenDbFile           ] KInventory   InventoryData opening DB
[2015-10-16.16:27:00][KInventory:OpenDbFile           ] KInventory   InventoryData calling db.open
[2015-10-16.16:27:00][KInventory:Initialize           ] KInventory   InventoryData opened DB successfully
[2015-10-16.16:27:00][KInventory:Initialize           ] KInventory   InventoryData populated the DB
[2015-10-16.16:27:00][KInventory:Initialize           ] report pathAndName = [/Library/Application Support/Dell/KACE/data/inventory.xml]
[2015-10-16.16:27:04][KBoxClient:LaunchAndWait        ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:27:04][KBoxClient:LaunchAndWait        ] KLaunchClientImpl::LaunchAndWait sytem() option
[2015-10-16.16:27:04][KCopy:UploadUsingCurl           ] UploadFile:  Server gzip compression is active
[2015-10-16.16:27:04][KCopy:UploadUsingCurl           ] UploadFile:  uploading file /Library/Application Support/Dell/KACE/data/inventory.xml.gz to https://kace.guardiananalytics.com/service/inventory.php?KUID=C794B9C9-17C9-4000-8A12-7EE037EC0592&VERSION=6.3.314
[2015-10-16.16:27:04][KCopy:UploadUsingCurl           ] UploadFile:  Content-Encoding: gzip added to HTTP Header.
[2015-10-16.16:27:04][KCopy:UploadUsingCurl           ] UploadFile: Uploaded to https://kace.guardiananalytics.com/service/inventory.php?KUID=C794B9C9-17C9-4000-8A12-7EE037EC0592&VERSION=6.3.314 Upload speed: 30404.000000 bytes/second
[2015-10-16.16:27:04][KCopy:UploadUsingCurl           ] UploadFile:  Server gzip compression cleanup.
[2015-10-16.16:27:04][runkbot:LaunchAndWait           ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:27:04][runkbot:LaunchAndWait           ] KLaunchClientImpl::LaunchAndWait Kpopen Option
[2015-10-16.16:27:05][runkbot:UploadUsingCurl         ] UploadFile:  Server gzip compression is active
[2015-10-16.16:27:05][runkbot:UploadUsingCurl         ] UploadFile:  uploading file /var/tmp/tmp.0.aXlOEo.gz to https://kace.guardiananalytics.com/service/kbot_upload.php?checksum=22ba74acbc3931ff988261fa1c31203985898e30b075d3090b6d732a6b84e7b05640c8316900cd6b3515cdeab0d2fab39c26c251ae243596710552651f309def&kbotId=2
[2015-10-16.16:27:05][runkbot:UploadUsingCurl         ] UploadFile:  Content-Encoding: gzip added to HTTP Header.
[2015-10-16.16:27:05][runkbot:UploadUsingCurl         ] UploadFile: Uploaded to https://kace.guardiananalytics.com/service/kbot_upload.php?checksum=22ba74acbc3931ff988261fa1c31203985898e30b075d3090b6d732a6b84e7b05640c8316900cd6b3515cdeab0d2fab39c26c251ae243596710552651f309def&kbotId=2 Upload speed: 5847.000000 bytes/second
[2015-10-16.16:27:05][runkbot:UploadUsingCurl         ] UploadFile:  Server gzip compression cleanup.
[2015-10-16.16:27:05][runkbot:CleanupLog              ] Cleaning up log file [/var/tmp/tmp.0.aXlOEo]
[2015-10-16.16:27:21][AMPAgent:ClientReadCB           ] Header: msgid (969379); msgType (0)
[2015-10-16.16:27:21][AMPAgent:ClientReadCB           ] Payload: pluginId: RunProcess (6); payloadLen (37)
[2015-10-16.16:27:21][AMPAgent:LaunchAndWait          ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:27:21][AMPAgent:LaunchAndWait          ] KLaunchClientImpl::LaunchAndWait sytem() option
[2015-10-16.16:27:21][runkbot:GetKbot                 ] Kbot [6-1287144000] not found locally, downloading ...
[2015-10-16.16:27:22][runkbot:LaunchAndWait           ] KLaunchClientImpl::LaunchAndWait started
[2015-10-16.16:27:22][runkbot:LaunchAndWait           ] KLaunchClientImpl::LaunchAndWait Kpopen Option
[2015-10-16.16:27:22][KDeploy:MountSMBShare           ] Mount command failed - sh: mount: command not found
[2015-10-16.16:27:22][KDeploy:DownloadSMBFile         ] DownloadSMBFile: Failed to mount smb share
[2015-10-16.23:27:26][KDeploy:MountSMBShare           ] Mount command failed - sh: mount: command not found
[2015-10-16.23:27:26][KDeploy:DownloadSMBFile         ] DownloadSMBFile: Failed to mount smb share
[2015-10-16.23:28:04][KDeploy:MountSMBShare           ] Mount command failed - sh: mount: command not found
[2015-10-16.23:28:04][KDeploy:DownloadSMBFile         ] DownloadSMBFile: Failed to mount smb share


tJlpu9.png

(This site doesn't handle pictures well I guess. The image shows the mount command failure part of the log files and the .pkg files which should be installing by themselves but just sit there and fail)


2 Comments   [ + ] Show comments
  • I also have varied success with Mac deployments. Some of them work better if I upload the package as a zip first. - chucksteel 9 years ago
    • I would try that but these were working mostly perfectly I think in Mavericks. I would rather figure out the root cause of why Mac MIs don't work as advertised. I'd rather not have to package each .pkg file in this way and use it as default as k1000 documentation says it should work.

      Update on this case: I came in on Monday to this Mac as I left it. The packages were sitting there still in the Kace downloads folder. Each MI's 'Maximum Attempts' number was reached for this endpoint and 'not installed'. I reset the max attempt number on each of these failed MIs, forced an inventory, and each program installed as they should.

      So bottom line is the initial inventory pushes the package and fails all install attempts. When I reset the max attempts and force inventory, the package installs. - bens401 9 years ago
  • Seems like whatever bug was going on was fixed in 6.4. I updated my server and agents to 6.4, reimaged a new Mac, and all my Managed Installs installed flawlessly. Go figure.... - bens401 9 years ago

Answers (1)

Answer Summary:
Posted by: bens401 9 years ago
Purple Belt
0

Top Answer

Seems like whatever bug was going on was fixed in 6.4. I updated my server and agents to 6.4, reimaged a new Mac, and all my Managed Installs installed flawlessly. Go figure....
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ