{"id":284,"date":"2009-11-11T03:32:05","date_gmt":"2009-11-11T07:32:05","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=284"},"modified":"2013-03-20T08:41:10","modified_gmt":"2013-03-20T12:41:10","slug":"call_handlers-defer-during-call-usrlocalpsahandlersinfo05-grey-tqyvhgexecutable-handler-or-message-cannot-be-delivered-and-error-unable-to-stat-entry","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/call_handlers-defer-during-call-usrlocalpsahandlersinfo05-grey-tqyvhgexecutable-handler-or-message-cannot-be-delivered-and-error-unable-to-stat-entry","title":{"rendered":"call_handlers: DEFER during call &#8216;\/usr\/local\/psa\/handlers\/info\/05-grey-tqyVhg\/executable&#8217; handler OR Message cannot be delivered and error &#8220;Unable to stat entry"},"content":{"rendered":"<p><strong>Error:<\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>call_handlers: DEFER during call &#8216;\/usr\/local\/psa\/handlers\/info\/05-grey-tqyVhg\/executable&#8217; handler<\/strong><\/span><\/p>\n<p><strong>OR<\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Message cannot be delivered and error &#8220;Unable to stat entry &#8216;\/usr\/local\/psa\/handlers\/info\/10-spam-0gemCa\/executable&#8217;<\/strong><\/span><\/p>\n<p>You see the above error message in the mail logs because the <strong>configuration of the handlers i.e. 10-spam-0gemCa are broken<\/strong>. In this case, you need to either delete them OR move them elsewhere so that you can recreate the configuration by using the &#8216;mchk&#8217; utility of Plesk<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p><strong>1. Stop the mail service<\/strong><\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># <span style=\"font-family: Courier New;\">\/usr\/local\/psa\/admin\/sbin\/mailmng --stop-service<\/span><\/strong><\/span><\/pre>\n<\/blockquote>\n<blockquote><p><strong><span style=\"font-family: Courier New;\">OR<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong><span style=\"font-family: Courier New;\"># service qmail stop<\/span><\/strong><\/span><\/pre>\n<\/blockquote>\n<p><strong><span style=\"font-family: Courier New;\">2.<\/span> Backup old handlers in a temporary directory<\/strong><\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># mkdir <\/strong><strong>\/usr\/local\/temp<\/strong><\/span><\/pre>\n<\/blockquote>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong><span style=\"font-family: Courier New;\"># cp -a \/usr\/local\/psa\/handlers\/before-* \/usr\/local\/temp\/<\/span><\/strong><\/span><\/pre>\n<pre><span style=\"color: #0000ff;\"><strong><span style=\"font-family: Courier New;\"># cp -a \/usr\/local\/psa\/handlers\/info \/usr\/local\/temp\/<\/span><\/strong><\/span><\/pre>\n<\/blockquote>\n<p><strong><span style=\"font-family: Courier New;\">3. Remove the handlers<\/span><\/strong><\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong><span style=\"font-family: Courier New;\"># rm -rf <\/span><span style=\"font-family: Courier New;\">\/usr\/local\/psa\/handlers\/before-*\/*<\/span><\/strong><\/span><\/pre>\n<pre><span style=\"color: #0000ff;\"><strong><span style=\"font-family: Courier New;\"># rm -rf \/usr\/local\/psa\/handlers\/info\/*<\/span><\/strong><\/span><\/pre>\n<\/blockquote>\n<p><strong>4. Recreate handlers using mchk utility<\/strong><\/p>\n<blockquote>\n<pre><strong><span style=\"color: #0000ff;\"><span style=\"font-family: Courier New;\"># \/usr\/local\/psa\/admin\/sbin\/mchk --with-spam<\/span><\/span><\/strong><\/pre>\n<\/blockquote>\n<p><strong><span style=\"font-family: Courier New;\">5. <\/span>Start mail service:<\/strong><\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong># <span style=\"font-family: Courier New;\">\/usr\/local\/psa\/admin\/sbin\/mailmng --start-service<\/span><\/strong><\/span><\/pre>\n<\/blockquote>\n<blockquote><p><strong><span style=\"font-family: Courier New;\">OR <\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"><strong><span style=\"font-family: Courier New;\">service qmail start<\/span><\/strong><\/span><\/pre>\n<\/blockquote>\n<p><span style=\"font-family: Courier New;\"><strong>BTW, the path to mailogs is \/usr\/local\/psa\/var\/log\/maillog.<\/strong><br \/>\n<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Error:<br \/>\ncall_handlers: DEFER during call &#8216;\/usr\/local\/psa\/handlers\/info\/05-grey-tqyVhg\/executable&#8217; handler<br \/>\nOR<br \/>\nMessage cannot be delivered and error &#8220;Unable to stat entry &#8216;\/usr\/local\/psa\/handlers\/info\/10-spam-0gemCa\/executable&#8217;<br \/>\nYou see the above error message in the mail logs because the configuration of the handlers i.e. 10-spam-0gemCa are broken. In this case, you need to either delete them OR move them elsewhere so that you can recreate the configuration by using the &#8216;mchk&#8217; utility of Plesk<br \/>\nSolution:<br \/>\n1. Stop the mail service<\/p>\n<p># \/usr\/local\/psa\/admin\/sbin\/mailmng &#8211;stop-service<\/p>\n<p>OR<\/p>\n<p># service qmail stop<\/p>\n<p>2. Backup old handlers in a temporary directory<\/p>\n<p># mkdir \/usr\/local\/temp<\/p>\n<p># cp -a \/usr\/local\/psa\/handlers\/before-* \/usr\/local\/temp\/<br \/>\n# cp -a \/usr\/local\/psa\/handlers\/info \/usr\/local\/temp\/<\/p>\n<p>3. [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[360,359,361,364,366,362,365,363,367],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/284"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/284\/revisions"}],"predecessor-version":[{"id":2142,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/284\/revisions\/2142"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}