• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk 12.5 - event handler issue

K60

New Pleskian
I am having an issue with an event handler that should turn on domainkeys when a subscription is created. Sometimes it works, but most the time it doesn't. Even if the log says it has worked sometimes it does not tick the domainkeys box in plesk.

I am running Windows Server 2012R2 with latest updates & Plesk 12.5.30 Update #4.

Here is the command I am running from the event handler (If I run the same command from the dos prompt it works every time):

Default domain (the first domain added to a subscription or webspace) created

highest (100) Plesk Administrator

"C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update <new_domain_name> -sign_outgoing_mail true


Here is the "event_handler.log" (out of the 3 successes below only 1 time was the domainkeys box in plesk checked for the domain):

[6076] Tue Sep 29 20:55:47 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update test.com -sign_outgoing_mail true
[6076] finished with exit code (SUCCESS: Update of domain 'test.com' completed.
):(0)
[7024] Tue Sep 29 21:00:41 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update test2.com -sign_outgoing_mail true
[7024] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[4204] Tue Sep 29 21:04:01 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test3u.com -sign_outgoing_mail true
[4204] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[1628] Tue Sep 29 21:07:11 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test3test.com -sign_outgoing_mail true
[1628] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[6828] Tue Sep 29 21:23:01 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test123.com -sign_outgoing_mail true
[6828] finished with exit code (SUCCESS: Update of domain 'test123.com' completed.
):(0)
[7944] Tue Sep 29 21:24:13 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings" --update test50.com -sign_outgoing_mail true
[7944] finished with exit code (An error occurred while updating domain settings: Unable to create object:
):(1)
[1508] Tue Sep 29 21:27:24 2015 Plesk Administrator: "C:\Program Files (x86)\Parallels\Plesk\bin\subscription_settings.exe" --update testasdf.com -sign_outgoing_mail true
[1508] finished with exit code (SUCCESS: Update of domain 'testasdf.com' completed.
):(0)
 
Hi @Adam_K60!

From the error message I can suppose that there is no mail service on the subscriptions which fail. Are these subscriptions created based on the same service plan?

Could you please check manually if mail service is enabled on the subscriptions which fail.
 
Back
Top