MAC Cleaner Blocks CCLEANER

Good morning

iMac-de-Imac:~ imac$ echo $(id -u)

501

iMac-de-Imac:~ imac$ sudo launchctl enable gui/$(id -u)/com.piriform.ccleaner

Password:

iMac-de-Imac:~ imac$

iMac-de-Imac:~ imac$ sudo launchctl bootstrap gui/$(id -u) /Library/LaunchAgents/com.piriform.ccleaner.plist

Password:

/Applications/CCleaner.app/Contents/scripts/com.piriform.ccleaner.plist: Service is disabled

iMac-de-Imac:~ imac$

When I try to open the CCleaner program in the System.log, the following appears:

Jan 9 10:51:24 iMac-de-Imac com.apple.xpc.launchd[1] (com.piriform.ccleaner.1944[550]): Service exited with abnormal code: 1

Thank you

Alberto Rico

Hello

When I ran sudo launchctl load -D user /Library/LaunchAgents/com.piriform.ccleaner.plist

/Applications/CCleaner.app/Contents/scripts/com.piriform.ccleaner.plist: Service cannot load in requested session

/Applications/CCleaner.app/Contents/Frameworks/CleaningEngine.framework/Versions/A/Resources/com.piriform.ccleaner.engine.xpc.plist: service already loaded

/Applications/CCleaner.app/Contents/PlugIns/Services.framework/Versions/A/Resources/com.piriform.ccleaner.services.submit.plist: service already loaded

/Applications/CCleaner.app/Contents/Frameworks/com.piriform.ccleaner.update.bundle/Contents/XPCServices/com.piriform.ccleaner.update.xpc/Contents/Resources/launch.plist: service already loaded

/Applications/CCleaner.app/Contents/Uninstaller.app/Contents/Resources/com.piriform.ccleaner.uninstall.plist: service already loaded

Alberto Rico

Hello

Using: sudo launchctl dumpstate | grep piriform (please see the attachment)

Alberto Rico

dump_ccleaner.lst

Good morning

launchctl print gui/$(id -u) (please see attachment)

list_serv.lst

Hi @Alberto Rico Can you please see if this can be resolved by running the "CCleaner Fix.app" script that is attached to my message?

You may receive warnings from Mac when attempting to run the CCleaner Fix.app but that is solely because of how it has not yet been notarized.

CCleaner Fix.app.zip

Hi

I put CCleaner Fix.app in the Applications Directory. I ran and in the system.log I got this message:

Jan 10 12:03:41 iMac-de-Imac com.apple.xpc.launchd[1] (com.piriform.ccleaner.1944[578]): Service exited with abnormal code: 1

I restarted the computer as well, ran the sent program and CCleaner.app and nothing happened. The error message is the same for both cases.

The strange thing is that CCleaner works fine for the other users of my computer.

Alberto Rico

HELLO Megan, finally CCleaner worked.

I executed in Terminal the command: /bin/launchctl load -w /LibraryAgents/com.piriform.ccleaner.plist and the program started.

Thank you very much for your help Megan

8 minutes ago, Alberto Rico said:
<div class="ipsQuote_contents ipsClearfix" data-gramm="false">
	<p>
		HELLO Megan, finally CCleaner worked.
	</p>

	<p>
		I executed in Terminal the command: /bin/launchctl load -w /LibraryAgents/com.piriform.ccleaner.plist and the program started.
	</p>

	<p>
		Thank you very much for your help Megan
	</p>
</div>

Do you have to do that every launch or did it fix it completely?

Megan, fix it completely. I have only a message when I open CCleaner after restart or start the computer I got a message like this: The CCleaner application is no longer open. I close the message and try again and it opens without problem.