Posted on 11-19-2015 12:39 PM
Executing Policy XXX-Custom Event Sharp Driver X.10...
Mounting MAC Share to /Volumes/casper...
Error: Could not mount distribution point "MAC Share".
I have printers in self service, when i add 2 printers back to back, the second one errors out with the above message.
when is the /Volumes/casper get unmounted ?
after close out self service, i look int /volumes/ and still see the casper share listed. Why is it still mounted?
ls /Volumes/casper
Posted on 11-19-2015 01:40 PM
I ran the policy again with 'terminal' open. as the policy ran i kept pressing
ls /Volumes to see what was getting mounted
finally is see /Volumes/casper and then a pop-up telling me that 'self service' encountered a problem, contact your administrator.
Posted on 11-19-2015 01:52 PM
Hi, not unmounting network drives is a common problem in OS X. It should unmounting once the policy has finished executing. If you have more than one task to run, can you just put them into once policy?
Posted on 11-19-2015 06:02 PM
Basically these are separate printer policies.
Each printer policy calls a custom event that installs the print driver (once per computer) then returns to add the printer .
I run the first printer via self service and it installs fine, I then do a second printer policy via self service and then get the 'mount' error when it runs the policy to install that printers driver, it then add the printer without driver.
I have multiple of the same network printers scattered throughout the building so I use a policy that is a custom event that installs the driver (once per computer). Why install the same driver each time the same type printer is installed.
But now am running into this darn 'mount' issue.
If this continues I might just have each policy install the driver policy each time within the same policy, not using the custom event, maybe it will work that way.
I see the Casper drive being mounted, but then it says it can't mount
Posted on 11-20-2015 06:58 AM
looks like the casper share doesn't unmount, causing this error.
when i run a printer policy the first time it's fine, casper share unmount
when i run a second printer policy right after, the casper share does not unmount, and i get the 'self service encountered a problem, contact administrator'
I tried this same process on a computer not AD joined, and it worked fine for both printers, i got no errors, printers/drivers installed.
Posted on 11-20-2015 10:11 AM
this is only happening on macs that are bound to AD
when the second printer policy runs, via terminal, I see the casper share mount, but it does not unmount. The error in the policy though says 'could not mount distribution point "MAC Share"
i have to restart the computer then i am able to correctly install the second printer
diskutil unmount /Volumes/casper does not work, it unmounts, but policy still errors and restart is necessary.
Posted on 11-23-2015 11:45 AM
We have "Unmount JSS Distribution" policy in Self Service which has "Files and Processes - Execute Command":
jamf unmountServer -mountPoint /Volumes/distpoint
Posted on 11-27-2015 08:32 AM
@mhasman are you having the same issue I'm having with AD bound macs?
How do your users know when to run the SS policy?
After my first policy runs it unmounts then the second policy tries to mount and cannot, this only happens on AD bound macs. I have to restart computer and run the second policy to get it to work. If it is not AD bound there is no problem running multiple policies one after another.
Looking to switch to http DP
Posted on 11-28-2015 09:28 AM
Looking to switch to http DP
^^^ This.
Posted on 11-28-2015 10:13 AM
Just a suggestion but why not cache the drivers in a separate policy and have the printers show up based on cached status. The install would then be done locally.
Posted on 01-28-2016 01:55 AM
https://jamfnation.jamfsoftware.com/discussion.html?id=10178