• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Problem while updating/installing extensions

JakubW

New Pleskian
Server operating system version
18.04.6
Plesk version and microupdate number
18.0.50
Hi,
I encountered a problem while installing ImmunifyAV and the same when Ive tried to update SSL It.
Any ideas on how to fix this?

LOG:
Wykonanie post-install.php nie powiodło się z powodu następującego błędu:
[2023-03-11 13:13:22.326] 10881:640c70624f495 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/crontabmng' 'set' 'psaadm' '/opt/psa/tmp/sssVwc45M'] with exit code [255]
[2023-03-11 13:13:22.538] 10881:640c70624f495 ERR [panel] crontabmng failed: /usr/bin/crontab execution failed:
"/opt/psa/tmp/sssVwc45M":1: bad day-of-month
errors in crontab file, can't install.
System error: crontab execution error
[2023-03-11 13:13:22.675] 10881:640c70624f495 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/crontabmng' 'set' 'psaadm' '/opt/psa/tmp/sssktdqE7'] with exit code [255]
[2023-03-11 13:13:22.894] 10881:640c70624f495 ERR [panel] crontabmng failed: /usr/bin/crontab execution failed:
"/opt/psa/tmp/sssktdqE7":1: bad day-of-month
errors in crontab file, can't install.
System error: crontab execution error:
0: /opt/psa/admin/plib/Service/Agent.php:196
Service_Agent->execAndGetResponse(string 'crontabmng', array)
1: /opt/psa/admin/plib/Service/Scheduler/Manager.php:22
Service_Scheduler_Manager->setTasks(string 'psaadm', string '47 4 * * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/catalog/s...')
2: /opt/psa/admin/plib/Scheduler/Crontab.php:214
Scheduler_Crontab->save()
3: /opt/psa/admin/plib/Db/Table/Row/ScheduledTask.php:88
Db_Table_Row_ScheduledTask->save()
4: /opt/psa/admin/plib/pm/Scheduler.php:238
pm_Scheduler->putTask(object of type pm_Scheduler_Task)
5: /opt/psa/admin/plib/modules/letsencrypt/library/Installer.php:306
PleskExt\Letsencrypt\Installer->scheduleTask(array, string 'maintenance.php')
6: :
array_walk(array, array)
7: /opt/psa/admin/plib/modules/letsencrypt/library/Installer.php:223
PleskExt\Letsencrypt\Installer->scheduleTasks()
8: /opt/psa/admin/plib/modules/letsencrypt/library/Installer.php:98
PleskExt\Letsencrypt\Installer->handlePostInstall()
9: /opt/psa/admin/plib/modules/letsencrypt/scripts/post-install.php:14
ERROR: PleskUtilException: crontabmng failed: /usr/bin/crontab execution failed:
"/opt/psa/tmp/sssktdqE7":1: bad day-of-month
errors in crontab file, can't install.
System error: crontab execution error (Agent.php:196)
 
Thanks you for response!
cat: /opt/psa/tmp/sssVwc45M: No such file or directory
ls -lah in /opt/psa/tmp/ shows that files stored in here are unmodified for years.
total 62M
drwxrwxrwt 3 root root 4.0K Mar 11 13:32 .
drwxr-xr-x 15 root root 4.0K Feb 20 22:19 ..
drwxrwxrwt 2 root root 4.0K Feb 27 2019 aps
-rwxrwxrwt 1 root root 22M Aug 20 2020 eiuEaua8u
-rwxrwxrwt 1 root root 926K Aug 18 2020 eiumwghhp
-rwxrwxrwt 1 root root 14M Aug 18 2020 eiuoEGGx4
-rwxrwxrwt 1 root root 26M Aug 18 2020 eiuZmnPP1
-rwxrwxrwt 1 root root 972 Feb 24 2021 preKAxl0x
-rw------- 1 psaadm psaadm 272 Feb 22 10:14 sfusWPJxh
 
I was hoping that temporary file that is mentioned in your first log excerpt exists so that we could check why cron is failing for the "bad day-of-month" error. But as it seems to be temporary during the installation process, it is hard to say what is happening.

"string '47 4 * * * /opt/psa/admin/bin/php -dauto_prepend_file=sdk.php '/opt/psa/admin/plib/modules/catalog/s...')" looks corect for me, at least for the day of month parameter, which is a wildcard.

I don't have any mentions of "bad day-of-month" issue on file here either. For that reason I think investigation on the server is required to find the root cause. Please open a support ticket.
 
I found the cause. There was incorrect formatting in the /var/spool/cron/crontab/psaadm file. Entering the correct crons solved my problems.
I'm not sure if they were made by someone who managed the server before me or some bug.
 

Attachments

  • Zrzut ekranu z 2023-03-28 20-52-27.png
    Zrzut ekranu z 2023-03-28 20-52-27.png
    33 KB · Views: 6
Back
Top