The following script will solve the often and randomly occuring problem with Adobe CS4 Mac “licensing for this product has stopped working… Error:150:30”
Copy and paste this to Terminal.app, enter your user password when prompted and follow the instructions on the screen. During this process, as ~40MB Liscense recovery file provided by Adobe will be downloaded, executed and deleted afterwards. Make sure to view and agree with the license agreement for this piece of code before you run the script (chances are it will fail otherwise).
if [ "$(grep -o activate.adobe.com /etc/hosts)" = "activate.adobe.com" ];
then echo "/etc/hosts is already modified"
echo "127.0.0.1 activate.adobe.com" >> /etc/hosts
echo "/etc/hosts was successfully modified"
sudo rm -rf "/Library/Application Support/adobe/adobe PCD/cache/cache.db"
sudo rm -rf "/Library/Preferences/FLEXnet Publisher"
say "Now, please wait for the download to finish."
curl -o LicenseRecovery111.dmg http://download.macromedia.com/pub/support/tools/LicenseRecovery111.dmg
sudo hdiutil attach LicenseRecovery111.dmg
sudo python '/Volumes/LicenseRecovery 11.6.1/LicenseRecovery/'LicenseRecover.py
sudo rm -rf ~/AdobeLicensingFilesBackup
sudo hdiutil detach "/Volumes/LicenseRecovery 11.6.1"
sudo rm LicenseRecovery111.dmg
say "Done! now start CS4 and enter your serial"
Be aware that this is not a crack! You will need a valid serial number.
If this doesn’t work for you: