• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Daily cronjob "email-security/scripts/sa-train-bayes.php" fails

AvaDev

New Pleskian
Server operating system version
Debian 11.11
Plesk version and microupdate number
Plesk Obsidian 18.0.67 Update 3 Web Host Edition
Since 13.03.2025 the daily cronjob "/opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/email-security/scripts/sa-train-bayes.php" fails.
"Plesk E-Mail Security Pro" version 1.5.12-5258

Admin error e-mail:
Code:
Cron <psaadm@REMOVED> /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/email-security/scripts/sa-train-bayes.php'

[2025-03-13 11:02:03.736] 237234:67d2ad1bb3742 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/filemng' 'root' 'unzip-noclobber' '-d' '/tmp/eseyIGPJ' '/tmp/eseyIGPJ.gz' '--allow-root'] with exit code [1]
[2025-03-13 11:02:03.887] 237234:67d2ad1bb3742 ERR [extension/email-security] filemng failed: Archive: /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /tmp/eseyIGPJ.gz or
/tmp/eseyIGPJ.gz.zip, and cannot find /tmp/eseyIGPJ.gz.ZIP, period.
filemng: Error during unpacking of /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
unzip: cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

Plesk panel log-browser:
Code:
2025-03-14 11:02:03    
ERR
extension/email-security [332305:67d3fe9bb197a]
filemng failed: Archive:  /tmp/esC8s9Pw.gz
filemng: /usr/bin/unzip execution failed:
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/esC8s9Pw.gz or
        /tmp/esC8s9Pw.gz.zip, and cannot find /tmp/esC8s9Pw.gz.ZIP, period.
filemng: Error during unpacking of /tmp/esC8s9Pw.gz
filemng: /usr/bin/unzip execution failed:
unzip:  cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

---

2025-03-14 11:02:03    
ERR
panel [332305:67d3fe9bb197a]
'/opt/psa/admin/bin/filemng' 'root' 'unzip-noclobber' '-d' '/tmp/esC8s9Pw' '/tmp/esC8s9Pw.gz' '--allow-root' failed with code 1.

stdout:
filemng: /usr/bin/unzip execution failed:
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/esC8s9Pw.gz or
        /tmp/esC8s9Pw.gz.zip, and cannot find /tmp/esC8s9Pw.gz.ZIP, period.
filemng: Error during unpacking of /tmp/esC8s9Pw.gz
filemng: /usr/bin/unzip execution failed:
unzip:  cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

stderr:
Archive:  /tmp/esC8s9Pw.gz
filemng: /usr/bin/unzip execution failed:
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/esC8s9Pw.gz or
        /tmp/esC8s9Pw.gz.zip, and cannot find /tmp/esC8s9Pw.gz.ZIP, period.
filemng: Error during unpacking of /tmp/esC8s9Pw.gz
filemng: /usr/bin/unzip execution failed:
unzip:  cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

---

2025-03-14 11:02:03    
ERR
util_exec [332305:67d3fe9bb197a]
proc_close() failed ['/opt/psa/admin/bin/filemng' 'root' 'unzip-noclobber' '-d' '/tmp/esC8s9Pw' '/tmp/esC8s9Pw.gz' '--allow-root'] with exit code [1]

---

2025-03-13 11:02:03    
ERR
extension/email-security [237234:67d2ad1bb3742]
filemng failed: Archive:  /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/eseyIGPJ.gz or
        /tmp/eseyIGPJ.gz.zip, and cannot find /tmp/eseyIGPJ.gz.ZIP, period.
filemng: Error during unpacking of /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
unzip:  cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

---

2025-03-13 11:02:03    
ERR
panel [237234:67d2ad1bb3742]
'/opt/psa/admin/bin/filemng' 'root' 'unzip-noclobber' '-d' '/tmp/eseyIGPJ' '/tmp/eseyIGPJ.gz' '--allow-root' failed with code 1.

stdout:
filemng: /usr/bin/unzip execution failed:
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/eseyIGPJ.gz or
        /tmp/eseyIGPJ.gz.zip, and cannot find /tmp/eseyIGPJ.gz.ZIP, period.
filemng: Error during unpacking of /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
unzip:  cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

stderr:
Archive:  /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/eseyIGPJ.gz or
        /tmp/eseyIGPJ.gz.zip, and cannot find /tmp/eseyIGPJ.gz.ZIP, period.
filemng: Error during unpacking of /tmp/eseyIGPJ.gz
filemng: /usr/bin/unzip execution failed:
unzip:  cannot find or open ./--allow-root, ./--allow-root.zip or ./--allow-root.ZIP.
filemng: Error during unpacking of --allow-root

---

2025-03-13 11:02:03    
ERR
util_exec [237234:67d2ad1bb3742]
proc_close() failed ['/opt/psa/admin/bin/filemng' 'root' 'unzip-noclobber' '-d' '/tmp/eseyIGPJ' '/tmp/eseyIGPJ.gz' '--allow-root'] with exit code [1]

Is the cronjob still correct? What exactly can i do here? Thanks for any help and hints!
 
Back
Top