Posted on 02-07-2014 02:14 PM
Client was having issues with some machines being enrolled and being MDM-capable, others not.
We spun up a new 9.23 JSS, using the self-signed JSS CA. Everything there looks fine.
Took a client with no profiles, made sure no jamf binary on it.
Ran through the web-based enroll... downloaded the QuickAdd package, which runs but complains it failed. The computer does show up in the JSS, but it has no profiles and is not mdm capable. Log below. Any thoughts?
Feb 7 15:44:47 testclient.local installd[2871]: ./postinstall: Downloading the JSS CA Certificate...
Feb 7 15:44:48 testclient.local installd[2871]: ./postinstall: Error creating user: An account with the user name ladmin already exists.
Feb 7 15:44:48 testclient.local installd[2871]: ./postinstall: This computer was successfully enrolled to the JSS with the following device certificate: "18EFDA11-64F4-57E3-B53F-A22E0FF92635"
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Retrieving inventory preferences from https://jss.organization.org:8443/...
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Locating accounts...
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Locating applications...
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Locating hard drive information...
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Searching path: /Applications
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Locating package receipts...
Feb 7 15:44:49 testclient.local installd[2871]: ./postinstall: Locating printers...
Feb 7 15:44:51 testclient.local installd[2871]: ./postinstall: Locating hardware information (Mac OS X 10.9.0)...
Feb 7 15:45:13 testclient.local installd[2871]: ./postinstall: Submitting data to https://jss.organization.org:8443/...
Feb 7 15:45:14 testclient.local installd[2871]: ./postinstall: <computer_id>2</computer_id>
Feb 7 15:45:14 testclient.local installd[2871]: ./postinstall: Getting management framework from the JSS...
Feb 7 15:45:14 testclient.local installd[2871]: ./postinstall: Enforcing management framework...
Feb 7 15:45:14 testclient.local installd[2871]: ./postinstall: Checking availability of https://jss.organization.org:8443/...
Feb 7 15:45:14 testclient.local installd[2871]: ./postinstall: The JSS is available.
Feb 7 15:45:15 testclient.local installd[2871]: ./postinstall: Enforcing login/logout hooks...
Feb 7 15:45:16 testclient.local installd[2871]: ./postinstall: The computer was not enrolled in MDM with the JSS. The device certificate did not install.
Feb 7 15:45:16 testclient.local installd[2871]: ./postinstall: Enforcing scheduled tasks...
Feb 7 15:45:16 testclient.local installd[2871]: ./postinstall: Creating launch daemon...
Feb 7 15:45:17 testclient.local installd[2871]: ./postinstall: Creating launch agent...
Feb 7 15:45:17 testclient.local installd[2871]: ./postinstall: Checking for policies triggered by enrollmentComplete
Feb 7 15:45:20 testclient.local installd[2871]: ./postinstall: Enrollment Failed. This PKG may be used already.
Feb 7 15:45:20 testclient.local install_monitor[3657]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
Feb 7 15:45:20 testclient.local installd[2871]: PackageKit: releasing backupd
Feb 7 15:45:20 testclient.local installd[2871]: PackageKit: allow user idle system sleep
Feb 7 15:45:20 testclient.local installd[2871]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “QuickAdd.pkg”." UserInfo=0x7fda83597400 {NSFilePath=./postinstall, NSURL=file://localhost/Users/ladmin/Downloads/QuickAdd.pkg, PKInstallPackageIdentifier=com.jamfsoftware.osxenrollment, NSLocalizedDescription=An error occurred while running scripts from the package “QuickAdd.pkg”.} {
NSFilePath = "./postinstall";
NSLocalizedDescription = "An error occurred while running scripts from the package U201cQuickAdd.pkgU201d.";
NSURL = "file://localhost/Users/ladmin/Downloads/QuickAdd.pkg";
PKInstallPackageIdentifier = "com.jamfsoftware.osxenrollment";
}
Feb 7 15:45:20 testclient.local Installer[3647]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “QuickAdd.pkg”." UserInfo=0x7ff889f3ff90 {NSFilePath=./postinstall, NSURL=file://localhost/Users/ladmin/Downloads/QuickAdd.pkg, PKInstallPackageIdentifier=com.jamfsoftware.osxenrollment, NSLocalizedDescription=An error occurred while running scripts from the package “QuickAdd.pkg”.}
Posted on 05-08-2014 02:54 PM
<0.02>
I was seeing this in 9.31 as well with a fresh QuickAdd_9.31.pkg
Clearing out the SCEP URL per @Bartoo resolved the issue for me.
</0.02>
Posted on 11-10-2015 07:30 PM
I am seeing the same thing with my JAMF Cloud environment...