Posts by marcomc:

    How-To fix Sophos Central Endpoint “Installation Failed” on macOS Sierra

    October 17th, 2017
    Sophos Central Endpoint Installation Failed

    “Installation Failed. Contact your computer system administrator or Sophos Technical Support for further assistance.”

    If you get this error while trying to (re)install Sophos Endpoint or even Sophos Home and in /var/log/install.log you see something like:

    2017-10-17 10:47:56-06 hulk Sophos Bootstrap[5051]: [SMESophosBootstrapAppDelegate.m:1656] System verified 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEInstallController.m:237] Installing saas version 9.6.5 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEInstallController.m:857] Upgrading the "saas" product 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.prepare.stopProcesses" success: YES 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMERemoveFilesStrategy.m:110] Removing files belonging to components: [prepare] 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.prepare.removeComponents" success: YES 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.prepare.removeKeychains" success: YES 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEReceiptClient.m:199] Failed to launch receipt at /Library/Application Support/Sophos/saas/Installer.app/Contents/MacOS/tools/InstallationDeployer. launch path not accessible 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEReceiptClient.m:56] Failed to launch receipt. 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEReceiptClient.m:199] Failed to launch receipt at /Library/Application Support/Sophos/saas/Installer.app/Contents/MacOS/tools/InstallationDeployer. launch path not accessible 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEReceiptClient.m:73] Failed to launch receipt. 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEBuildInstallPlanStrategy.m:115] Failed to connect with receipt 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.buildPlan" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.cacheManifestComponents" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.remoteRemove" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.createUsersAndGroups" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.installComponents" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.processStart" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.localPayload.distributeNotifications" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEAggregateInstallStrategy.m:93] "installer.writeReceipt" success: NO 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEInstallController.m:467] "installer" success: NO 2017-10-17 10:48:36-06 hulk Sophos Bootstrap[5051]: [SMESophosBootstrapAppDelegate.m:1131] Received failure notification: (1) 2017-10-17 10:48:36-06 hulk Sophos Installer[5087]: [SMEInstallController.m:347] Successfully sent the installer telemetry 2017-10-17 10:48:37-06 hulk Sophos Installer[5087]: [SGCServerAuthenticator.m:159] Server connection successfully validated 2017-10-17 10:48:38-06 hulk Sophos Installer[5087]: [SGCCDFSBroker.m:306] Feedback json file was successfully uploaded (status code: 201). 2017-10-17 10:48:38-06 hulk Sophos Installer[5087]: [SMEInstallController.m:377] Failed to update saas to 9.6.5 2017-10-17 10:48:38-06 hulk Sophos Installer[5087]: [SophosDistantObject.m:219] An exception was encountered while messaging the server: SophosNilProxyException.

    a passible cause is that the file "/Library/Application Support/Sophos/saas/Installer.app/Contents/MacOS/tools/InstallationDeployer" permissions are incorrect and the file is not marked as executable as per the cause described on Sophos’ Community blog https://community.sophos.com/products/sophos-home/f/sophos-home-for-mac/89938/sophos-home-not-working-unable-to-uninstall—trapped-by-sophos-what-to-do/326016#326016 to fix the issue run the following commands from the command-line:

    cd /Library/Application\ Support/Sophos/saas/Installer.app/Contents/MacOS/tools/
    sudo chmod a+x InstallationDeployer

    then run the Sophos Antivirus installer again and the process should complete successfully.

    No Comments "

    out for The Journey Of Dreams

    February 22nd, 2015

    The Journey Of DreamsYou might have noticed that I haven’t been partucurlay active on marcomc.com in the last two years.
    Do not worry! MarcoMC.com is nod dead.
    I have recently left the United Kingdom on my Harley and I have started this amasing adventure called The Journey Of Dreams.org which will help me to make come true the most of my lifetime dreams and help other to achieve the same.

    You can get involved in it, go and have a look…

    So if you find me around the world please give me your support.

    This is the link to The Journey Of Dreams homepage: www.thejourneyofdreams.org
    There you will be able to get updates about what’s happening in my life.

    you can also follow me on Twitter: @MarcoMCdotCOM

    …and  what abount MarcoMC.com?

    Do not despear because I will keep posting every now and then in here, but mainly it will be about technical stuff.
    When I will have some unique pieces of tech that I’ll like to share, it will be posted here: I have in the queue a few ideas that involve Motorcycles, GPS & RaspberryPI and a few more. Stay tuned!

    No Comments "

    How-To unlock MAGIC-SIM stuck in DUAL-MODE (007) on an iPhone 6

    January 12th, 2015

    The MAGIC-SIM DUAL-MODE (aka 007 mode) is not working well on any iPhone model.
    Once activated it will take away the `STK menu` from your SIM Applications list with no apparent way to roll back to normality. At this point the MAGIC-SIM is practically useless.

    The only one to restore the STK menu without the need to use a non-Apple mobile, is very simple by the way, but surely not intuitive (especially because not documented anywhere):

    1. Go to iPhone’s ‘Settings’ application
    2. Enter the ‘Phone’ settings
    3. Edit the ‘My Number’ option: type there 007
    4. The MAGIC-SIM will receive the input and immediately restore the STK menu in the SIM Application list

    Enjoy!

     

     

    7 Comments "

    Single room available in West Acton, London

    February 13th, 2014

    We have a vacancy for a single room in our lovely and gorgeous house.
    If you are not directly interested, would you know know anyone interested?
    NOEL ROAD

    The house is in Noel Road, W3 0JL
    1 minute walk from West Acton station, Central Line
    10 minutes walk from North Ealing station, Piccadilly Line

    Availability

    You can move in any time from NOW.
    The house contract is up to the 19th of July 2014.
    So we, the current tenants, intend to leave at that day as we have plans for world-traveling.
    But it would be possible to update/extend the contract if you like to stay and invite other friends to the house.

    Sigle-room description

    £623 deposit
    £450/m rent
    £70-85/m expenses (council tax, fiber optic,gas,electricity,water)

    The room is tiny, good for one person, with a small desk and a large wardrobe.
    The single bed is quite new and has a drawer where you can fit stuff.

    It’s been kept in neat conditions, by our lovely house-mate Patricia, which sadly is leaving in these days.

    House description

    It’s a two floors apparent with front bay where we park motorbikes or guests cars

    • group floor:
      • large entrance
      • huge kitchen (dish washer, gas oven, large cookers)
      • huge leaving room (three sofas and more space)
      • one guests toilet with laundry
      • one bedroom in the ground floor
    • upper floor:
      • 3 bedrooms
      • a toilet, with shower and bath
    • Huge Garden:
      • water pond
      • hammock
      • BBQ
      • 2 sheds
      • many trees
      • space for parking 2 or more motorbikes and scooters

    About the the current tenants

    We are Arturas, Diego and Marco (me), respectively from Lithuania and Italy.
    Diego and me have been living in UK since 2008, Arturas is here since 2012.

    Patricia is the former house-mate which is sadly leaving us, to embark in a new wonderful life adventure with her soon-to-be husband.

    We are professionals, aged 27, 29 and 33, two IT engineers and a particularly skilled bus-driver. We are usually quite busy, but very sociable and always ready for a laugh and a Pancake-Sunday (our tradition)!

    We love to run house parties every a while for which we love our garden.

    We currently have a 5th guest, my sister, which is sharing my double room (that lowers the shared costs and add a bit more of femininity to the house habits).

    We are all CouchSurfers and we love to have guests (if we all agree unanimously) and so you are welcome to have your relatives and friends to stay with us for some days.
    We love company.

    For any question, please drop a comment or call contact me via email or Facebook (and I’ll give you my mobile number)

    Enjoy the pictures:
    https://drive.google.com/folderview?id=0B16Q25obDI71Qy12bk13TldUZU0&usp=sharing

    No Comments "

    How-To Add A Reset Button To A Raspberry Pi Model A and B Rev 1

    May 22nd, 2013

    Here are the instructions to create a Reset Button for your RaspberryPi Rev.1 which can also ‘wake’ the RPi from halt/shutdown state.

    RaspberryPI Power Button

    RaspberryPI Power Button

    While on the new RaspberryPi Rev.2 is present a new set of pin called P6 header that provide a way to implement a reset switch, there is NO such option on the Rev. 1 boards (256MB RAM version released before Sept. 2012), therefore we will have to use the standard GPIO (P1 header) to create our reset button.

    This solution do not involve any software, and is based on the concept to short-to-ground one of the GPIO 5V pin, for which you will require:

    • 1 Button/Switch
    • 2 female-to-female pin cable

    Assembly procedure:

    1. Connect one of the pin cables to the the P1-02 GPIO pin (5V0 or PIN #3)
    2. Connect the other pin cable to the P1-06 GPIO pin (GND or PIN #5)
    3. Connect the the two pin cables to the button.
    RaspberryPi GPIO

    RaspberryPi GPIO

    Every time you push the button it will create a short between the 5V and the Ground pins of the GPIO and that will cause an hard-reset of the RPi so avoid doing so when the system is running and you can shut it down in a cleaner way.

    In case the RPi is shut-down this button will work as a Power-On/Wake switch.

    Useful links:
    RaspberryPi General Purpose Input/Outpu (GPIO)

    1 Comment "

    How-To Create An Encrypted DMG File From Command-Line in OSX

    May 21st, 2013

    You can create an secure encrypted DMG disk image from the command-line in Mac OS X using ‘hdiutil’, type the following instrcution in the Terminal application:

    #hdiutil create -encryption AES-256 -fs HFS+ new.dmg -srcfolder /path/to/your/folder
    • Substitute ‘/path/to/your/folder’ with the actual path of the folder containing the files that you want to secure.
    • You can use ‘MS-DOS’ in place of ‘HFS+’ for the FileSystem type. Other formats are available.
    • You can change the encryption type to AES-128

    No Comments "

    How-To Install an Apple (Wireless and USB) Keyboard in Windows 7

    February 15th, 2013

    I recently discovered a new small utility that helps to use a Apple Keyboard and most of its special ‘Fn’ keys with Windows.

    This utility is called AppleWirelessKeyboard that you can download from this link:
    http://uxsoft.cz/projects/applewirelesskeyboard/AppleWirelessKeyboard.exe

    Despite it’s name (that specifically mentions ‘Wireless’) I found that this utility makes also Apple USB keyboards to work properly.

    I have tested it with Windows 7 and a (not so recent) Apple USB Keyboard without a numeric pad.

    Installation

    1. Create a folder called AppleWirelessKeyboard in
      C:\Program Files\AppleWirelessKeyboard\
    2. Download the AppleWirelessKeyboard.exe utility into the AppleWirelessKeyboard folder.
    3. Create a link for the downloaded AppleWirelessKeyboard.exe to
      C:\Users\<your user>\AppData\Microsoft\Windows\Start Menu\Programs\Startup
    4. now you can manually launch the utility and at any following system start-up the utility will be automatically activated.

    Please leave comments with your testimonials about what models and what systems the utility is compatible with.

    Ciao

    No Comments "

    How-To order a GiffGaff Nano SIM from Nanogaff

    February 7th, 2013

    Nanogaff is a community-powerds distribution system for GiffGaff Nano SIM cards.
    This is the link where you can order your Nano SIM: http://nanosim.giffgaffapps.com

    Here is also the link on how to swap you standard or micro SIM to the Nano SIM, via the SIM swap procedure:

    http://community.giffgaff.com/t5/Learn-giffgaff-Top-Tips/What-is-SIM-Swap/ta-p/7320084

    No Comments "

    How-To fix the GPG error: “The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY”

    February 6th, 2013

    These are the few command-line instruction to fix the GPG Error (NO_PUBKEY) that may appear when trying to run the ‘apt-get update’ command on a APT based system:

    “GPG error: http://some.site.com stable Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY SOMEGPGKEY

    This issue may reveal itself when you want to source packages from a repository that is unknown by your copy of the GPG  database, therefore APT will consider the repository as an untrusted source.

    If you are sure that the repository is safe, you can circumvent the error manually adding the site’s public key to your GPG database using the following commands:

    don’t use sudo if you act as root
    $ gpg --keyserver subkeys.pgp.net --recv SOMEGPGKEY
    $ gpg --export --armor SOMEGPGKEY | sudo apt-key add -

    Comments and feedbacks and ‘like’ are welcome as always!

    No Comments "

    Virgin vs BT vs Sky: Fibre Optic Broadband Comparison for UK 2013

    January 18th, 2013


    I produced this schema in January 2013 for my own use as I am finally moving to a Fibre Optic covered area.

    VIRGIN L no phone line
    30 Mb/s
    12 months contract
    £49.95 initial fee
    £52.50 first 3 months tot (£17.5*3)
    £202.50 other 9 months tot (£22.5×9)
    £0.00 line rental per months
    £0.00 line rental tot
    £304.95 total in 12 months
    £25.41 avarage per month

    VIRGIN XL no phone line
    60 Mb/s
    12 months contract
    £49.95 initial fee
    £67.50 first 3 months tot (£22.5*3)
    £247.50 other 9 months tot (£27.50×9)
    £0.00 line rental per months
    £0.00 line rental tot
    £364.95 total in 12 months
    £30.41 avarage per month

    VIRGIN XL no phone line
    100 Mb/s
    12 months contract
    £49.95 initial fee
    £90.00 first 3 months tot (£30*3)
    £315.00 other 9 months tot (£35×9)
    £0.00 line rental per months
    £0.00 line rental tot
    £454.95 total in 12 months
    £37.91 avarage per month

    VIRGIN L + phone line
    30 Mb/s
    18 months contract
    £0.00 initial fee
    £0.00 first 6 m tot
    £174.00 other 12 months tot (£14.5×12)
    £14.99 line rental per months
    £269.82 line rental for 18 months
    £458.81 total in 18 months
    £25.49 avarage per month

    VIRGIN XL + phone line
    60 Mb/s
    18 months contract
    £0.00 initial fee
    £30.00 first 6 months tot (£5×6)
    £234.00 other 12 months tot (£19.5×12)
    £14.99 line rental per months
    £269.82 line rental for 18 months
    £548.81 total in 18 months
    £30.49 avarage per month

    VIRGIN XXL + phone line
    100 Mb/s
    18 months contract
    £0.00 initial fee
    £75.00 first 6 m (£12.50×6)
    £324.00 other 12 months tot (£27×12)
    £14.99 line rental per months
    £269.82 line rental for 18 months
    £683.81 total in 18 months
    £37.99 avarage per month

    Sky
    40 Mb/s
    12 months contract
    £10.00 initial fee
    £30.00 first 6 m tot (£10×3)
    £180.00 other 9 months tot (£20×9)
    £14.50 line rental per months
    £174.00 line rental for 12 months
    £408.50 total in 12 months
    £22.69 avarage per month

    More Broadband with superfast BT Infinity
    38 Mb/s
    18 months contract
    £25.00 initial fee
    £27.00 first 6 m tot (£9×3)
    £216.00 other 12 months tot (£18×12)
    £10.75 line rental per months
    £193.50 line rental for 18 months
    £50.00 voucher Sainsbury
    £422.25 total in 18 months
    £23.46 avarage per month

    Unlimited Broadband with superfast BT Infinity
    76 Mb/s
    18 months contract
    £0.00 initial fee
    £60.00 first 6 m tot (£20×3)
    £312.00 other 12 months tot (£26×12)
    £10.75 line rental per months
    £193.50 line rental for 18 months
    £50.00 voucher Sainsbury
    £526.25 total in 18 months
    £29.24 avarage per month

    Unlimited Broadband with superfast BT Infinity 160
    160 Mb/s
    18 months contract
    £0.00 initial fee
    £35.00 per month
    £630.00 all 18 months
    £10.75 line rental per months
    £193.50 line rental for 18 months
    £50.00 voucher Sainsbury
    £819.25 total in 18 months
    £45.51 avarage per month

    No Comments "