Original Message:
Sent: Thu November 07, 2024 05:44 AM
From: Christian Buerli
Subject: SPSS 30 - Network License can not be activated via CLI
Thank you very much for your feedback and for reporting the error (and the workaround).
Greetings from Switzerland
Christian
Original Message:
Sent: 11/6/2024 1:54:00 PM
From: David Dwyer
Subject: RE: SPSS 30 - Network License can not be activated via CLI
@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
Original Message:
Sent: Tue November 05, 2024 05:15 AM
From: Christian Buerli
Subject: SPSS 30 - Network License can not be activated via CLI
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
------------------------------