Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

9.3.4: Mac: Installation failing with SophosNilProxyException

When installing Sophos Antivirus using command line, I get this error:

Jan 12 10:03:51 minidefrancois Sophos Bootstrap[15702]: [SophosDistantObject.m:208] An exception was encountered while messaging the server: SophosNilProxyException. Retrying: 1 attempt(s)

Following https://www.sophos.com/en-us/support/knowledgebase/120570.aspx -- I extract SophosInstall.zip (9.3.4) in a temporary folder, then execute the following command:

Sophos\ Installer.app/Contents/MacOS/Sophos\ Installer --install

Unfortunately, it intermittently fails. In fact, it seems that it fails at first install, then execute correctly at second command.

There's no proxy in place on the computer. Someone know more about this "SophosNilProxyException" ?


install.log:

(Note: SophosCloudEndpoint-1.3.pkg is the package installing SophosInstall at a temporary location, then launching the command above as a postinstall)

Jan 12 10:01:08 minidefrancois installer[15696]: Referenced component packages (1) trustLevel=100

Jan 12 10:01:08 minidefrancois installer[15696]: -[IFPKGDerivedDocument sortedPackageLocations]: result = (

"file://localhost"

)

Jan 12 10:01:08 minidefrancois installer[15696]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost

Jan 12 10:01:08 minidefrancois installer[15696]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Library/Application%20Support/JAMF/Downloads/SophosCloudEndpoint-1.3.pkg

Jan 12 10:01:08 minidefrancois installer[15696]: Set authorization level to root for session

Jan 12 10:01:08 minidefrancois installer[15696]: Administrator authorization granted.

Jan 12 10:01:08 minidefrancois installer[15696]: Will use PK session

Jan 12 10:01:08 minidefrancois installer[15696]: Using authorization level of root for IFPKInstallElement

Jan 12 10:01:08 minidefrancois installer[15696]: Starting installation:

Jan 12 10:01:08 minidefrancois installer[15696]: Configuring volume "Macintosh HD"

Jan 12 10:01:08 minidefrancois installer[15696]: Preparing disk for local booted install.

Jan 12 10:01:08 minidefrancois installer[15696]: Free space on "Macintosh HD": 472.62 Go (472621080576 bytes).

Jan 12 10:01:08 minidefrancois installer[15696]: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.156960O88F1"

Jan 12 10:01:08 minidefrancois installer[15696]: IFPKInstallElement (1 packages)

Jan 12 10:01:08 minidefrancois installd[15555]: PackageKit: Adding client PKInstallDaemonClient pid=15696, uid=0 (/usr/sbin/installer)

Jan 12 10:01:08 minidefrancois installer[15696]: PackageKit: Enqueuing install with framework-specified quality of service (utility)

Jan 12 10:01:08 minidefrancois installd[15555]: PackageKit: ----- Begin install -----

Jan 12 10:01:08 minidefrancois installd[15555]: PackageKit: request=PKInstallRequest <1 packages, destination=/>

Jan 12 10:01:08 minidefrancois installd[15555]: PackageKit: packages=(

"PKLeopardPackage <file://localhost/Library/Application%20Support/JAMF/Downloads/SophosCloudEndpoint-1.3.pkg>"

)

Jan 12 10:01:08 minidefrancois installd[15555]: PackageKit: Extracting file://localhost/Library/Application%20Support/JAMF/Downloads/SophosCloudEndpoint-1.3.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/6EA1714B-BBCC-4446-AEE0-9679C29D055D.activeSandbox/Root, uid=0)

Jan 12 10:01:11 minidefrancois installd[15555]: PackageKit: prevent user idle system sleep

Jan 12 10:01:11 minidefrancois installd[15555]: PackageKit: suspending backupd

Jan 12 10:01:11 minidefrancois installd[15555]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/6EA1714B-BBCC-4446-AEE0-9679C29D055D.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/6EA1714B-BBCC-4446-AEE0-9679C29D055D.activeSandbox

Jan 12 10:01:11 minidefrancois install_monitor[15699]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr

Jan 12 10:01:11 minidefrancois install_monitor[15699]: PackageKit: Locking applications

Jan 12 10:01:11 minidefrancois installd[15555]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/6EA1714B-BBCC-4446-AEE0-9679C29D055D.activeSandbox/Root (1 items) to /

Jan 12 10:01:12 minidefrancois installd[15555]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.Ued4W9/Scripts/com.github.FrancoisGITS.mac-autopkg.pkg.SophosCloudEndpoint.NPwue3

Jan 12 10:01:14 minidefrancois Sophos Bootstrap[15702]: [SMESophosBootstrapAppDelegate.m:1329] System verified

Jan 12 10:03:39 minidefrancois Sophos Installer[15708]: [SMEInstallController.m:212] Installing saas version 9.3.4

Jan 12 10:03:39 minidefrancois Sophos Installer[15708]: [SMEInstallController.m:817] Fresh install of the "saas" product.

Jan 12 10:03:39 minidefrancois Sophos Installer[15708]: [SMEAggregateInstallStrategy.m:71] "installer.prepare.stopProcesses" success: YES

Jan 12 10:03:39 minidefrancois Sophos Installer[15708]: [SMEAggregateInstallStrategy.m:71] "installer.prepare.removeComponents" success: YES

Jan 12 10:03:39 minidefrancois Sophos Installer[15708]: [SMEAggregateInstallStrategy.m:71] "installer.prepare.removeKeychains" success: YES

Jan 12 10:03:39 minidefrancois Sophos Installer[15708]: [SMEAggregateInstallStrategy.m:71] "installer.localPayload.buildPlan" success: YES

Jan 12 10:03:46 minidefrancois Sophos Installer[15708]: [SMEAggregateInstallStrategy.m:71] "installer.localPayload.cacheManifestComponents" success: YES

Jan 12 10:03:46 minidefrancois Sophos Installer[15708]: [SMEAggregateInstallStrategy.m:71] "installer.localPayload.remoteRemove" success: YES

Jan 12 10:03:49 minidefrancois Sophos Bootstrap Downloader[15704]: [SMEDownloadController.m:478] Failed to launch /Library/Caches/com.sophos.sau/CID/Sophos Installer.app/Contents/MacOS/tools/InstallationDeployer with returncode: 11, stderr: 

Jan 12 10:03:49 minidefrancois Sophos Bootstrap[15702]: [SMESophosBootstrapAppDelegate.m:980] Received failure notification: (1)

Jan 12 10:03:51 minidefrancois Sophos Bootstrap[15702]: [SophosDistantObject.m:208] An exception was encountered while messaging the server: SophosNilProxyException. Retrying: 1 attempt(s)

Jan 12 10:03:51 minidefrancois Sophos Bootstrap[15702]: [SMESophosBootstrapAppDelegate.m:222] Installation failed.

Jan 12 10:03:51 minidefrancois install_monitor[15699]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr

Jan 12 10:03:52 minidefrancois installd[15555]: PackageKit: releasing backupd

Jan 12 10:03:52 minidefrancois installd[15555]: PackageKit: allow user idle system sleep

Jan 12 10:03:52 minidefrancois installd[15555]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "Une erreur s’est produite pendant l’exécution des scripts du paquet « SophosCloudEndpoint-1.3.pkg »." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/SophosCloudEndpoint-1.3.pkg, PKInstallPackageIdentifier=com.github.FrancoisGITS.mac-autopkg.pkg.SophosCloudEndpoint, NSLocalizedDescription=Une erreur s’est produite pendant l’exécution des scripts du paquet « SophosCloudEndpoint-1.3.pkg ».} {

NSFilePath = "./postinstall";

NSLocalizedDescription = "Une erreur s\U2019est produite pendant l\U2019ex\U00e9cution des scripts du paquet \U00ab\U00a0SophosCloudEndpoint-1.3.pkg\U00a0\U00bb.";

NSURL = "file://localhost/Library/Application%20Support/JAMF/Downloads/SophosCloudEndpoint-1.3.pkg";

PKInstallPackageIdentifier = "com.github.FrancoisGITS.mac-autopkg.pkg.SophosCloudEndpoint";

}

Jan 12 10:03:52 minidefrancois installd[15555]: PackageKit: Running idle tasks

Jan 12 10:03:52 minidefrancois installer[15696]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "Une erreur s’est produite pendant l’exécution des scripts du paquet « SophosCloudEndpoint-1.3.pkg »." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Library/Application%20Support/JAMF/Downloads/SophosCloudEndpoint-1.3.pkg, PKInstallPackageIdentifier=com.github.FrancoisGITS.mac-autopkg.pkg.SophosCloudEndpoint, NSLocalizedDescription=Une erreur s’est produite pendant l’exécution des scripts du paquet « SophosCloudEndpoint-1.3.pkg ».}

Jan 12 10:03:52 minidefrancois installd[15555]: PackageKit: Removing client PKInstallDaemonClient pid=15696, uid=0 (/usr/sbin/installer)

Jan 12 10:03:52 minidefrancois installd[15555]: PackageKit: Done with sandbox removals

Jan 12 10:03:53 minidefrancois installer[15696]: Install failed: Le programme d’installation a rencontré une erreur qui a provoqué l’échec de l’installation. Contactez l’éditeur du logiciel pour obtenir de l’aide.



This thread was automatically locked due to age.