SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  SPSS 30 - Network License can not be activated via CLI

    Posted Tue November 05, 2024 11:21 AM
    Edited by David Dwyer Wed November 06, 2024 01:19 PM
    The network license can not be activated via CLI as described on the following page:
    If I execute the command …
    sudo "/Applications/IBM SPSS Statistics/Resources/Activation/licenseactivator" LSHOST="spss.lic.xxx.xxx" COMMUTE_MAX_LIFE="7"
    … I receive the following error:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
    *** First throw call stack:
    (
    0   CoreFoundation                      0x00007ff805cb36e6 __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007ff80579bbd0 objc_exception_throw + 62
    2   Foundation                          0x00007ff806cdc8cf -[NSConcreteTask launchWithDictionary:error:] + 5366
    3   licenseactivator                    0x00000001098949fb runCommand + 155
    4   licenseactivator                    0x0000000109895506 startLicenseActivator + 326
    5   licenseactivator                    0x00000001098955fd main + 237
    6   dyld                                0x00007ff8057d02cd start + 1805
    )
    libc++abi: terminating due to uncaught exception of type NSException
    zsh: abort      sudo "/Applications/IBM SPSS Statistics/Resources/Activation/licenseactivator
    (Inserting the license server address via GUI is not an issue, but we need to deploy SPSS.)

    Addendum (Solution):

    IBM changed the app name from “SPSS Statistics.app” (v29) to “IBM SPSS Statistics.app” (v30).

    If I change the app name to “SPSS Statistics.app” I am able to license via the licenseactivator CLI.

    I just updated my licensing postinstall script to (make it work again):

    #!/bin/zsh


    # Rename application file due to licensing error

    sudo mv "/Applications/IBM SPSS Statistics/IBM SPSS Statistics.app" "/Applications/IBM SPSS Statistics/SPSS Statistics.app"


    # Activate SPSS network license

    sudo "/Applications/IBM SPSS Statistics/Resources/Activation/licenseactivator" LSHOST="spss.lic.xxx.xxx" COMMUTE_MAX_LIFE="7"


    # Restore original name of application file

    sudo mv "/Applications/IBM SPSS Statistics/SPSS Statistics.app" "/Applications/IBM SPSS Statistics/IBM SPSS Statistics.app"


    exit 0



    ------------------------------
    Christian Buerli
    ------------------------------



  • 2.  RE: SPSS 30 - Network License can not be activated via CLI

    Posted Wed November 06, 2024 01:52 PM

    IBM changed the app name from "SPSS Statistics.app" (v29) to "IBM SPSS Statistics.app" (v30).

    So I just updated my licensing postinstall script to (make it work again):

    #!/bin/zsh


    # Rename application file due to licensing error (by IBM)

    sudo mv "/Applications/IBM SPSS Statistics/IBM SPSS Statistics.app" "/Applications/IBM SPSS Statistics/SPSS Statistics.app"


    # Activate SPSS network license

    sudo "/Applications/IBM SPSS Statistics/Resources/Activation/licenseactivator" LSHOST="spss.license.xxx.xxx" COMMUTE_MAX_LIFE="7"


    # Restore original name of application file

    sudo mv "/Applications/IBM SPSS Statistics/SPSS Statistics.app" "/Applications/IBM SPSS Statistics/IBM SPSS Statistics.app"


    exit 0

    This works with IBM SPSS Statistics v30.0.0.0 (171) and v30.0.0.0 (172) for macOS.



    ------------------------------
    Christian Buerli
    ------------------------------



  • 3.  RE: SPSS 30 - Network License can not be activated via CLI
    Best Answer

    Posted Wed November 06, 2024 01:54 PM

    @Christian Buerli, many thanks for bringing this to our attention!

    I have logged a defect with IBM SPSS Statistics Development on this matter.  Please subscribe to and follow Known Issue DT409141 to be updated when it is resolved.



    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 4.  RE: SPSS 30 - Network License can not be activated via CLI

    Posted Thu November 07, 2024 05:45 AM
    Edited by Christian Buerli Thu November 07, 2024 05:46 AM
    Thank you very much for your feedback and for reporting the error (and the workaround).
    Greetings from Switzerland
    Christian








  • 5.  RE: SPSS 30 - Network License can not be activated via CLI

    Posted Sun December 01, 2024 03:03 PM

    Also thanks from Switzerland ! 



    ------------------------------
    Yannick HOUSSEAU
    ------------------------------