• 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 Logrotate Problems

daanse

Regular Pleskian
Hi,

Getting following Emails every day:

Subject: Cron <root@x> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
gzip: stdin: file size changed while zipping

Every Week:
Subject: Cron <root@x> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/drweb-update:
ERROR: Dr.Web Updater: failed to download files !
run-parts: /etc/cron.daily/drweb-update exited with return code 109

And Sometimes:
Cron <root@x> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
find: `/proc/25257/fd': No such file or directory

But only on one Server, not from others.
And i saw already another Post in Forum with the dev NULL thing but it didn't look like a Solution.
And yes, Emails would stop but why does they come? For me it seems, that Cron has some fails somehow.
Would be great to have a Solution with that.

My System:
Debian 8.5
latest Plesk 12.5
 
Hi daanse,

Getting following Emails every day:

Subject: Cron <root@x> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/logrotate:
gzip: stdin: file size changed while zipping
This is just a warning, nothing more. Logrotate recognizes the file size changing and informs about it.

Every Week:
Subject: Cron <root@x> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
/etc/cron.daily/drweb-update:
ERROR: Dr.Web Updater: failed to download files !
run-parts: /etc/cron.daily/drweb-update exited with return code 109
In some cases, the DrWeb update didn't finish as expected. Due to the case, that you wrote "Every Week" and the cronjob is done 7 days a week, you can safely ignore this report, because DrWeb was successfully updated the day before, if ther was no error. To manually update DrWeb, consider to run the command "/opt/drweb/update.pl".

And Sometimes:
Cron <root@x> [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean
find: `/proc/25257/fd': No such file or directory
During the session - clean - operation ( done every hour, each day ), there was a file/folder found, which didn't exist anymore, when the very same operation tried to delete it. Due to the fact, that the operation FIRST lists the actually php - sessions and AFTERWARDS deletes it, it might be the case that the listed php - session has already been regulary closed and the deletion - process didn't find the initial listed file/folder.


As you can see, all three situations, where you are informed about the results ( in case of issues/failures/warnings ), are nothing to be concerned about. :)
The solution to add "2>/dev/null" to some cronjobs is reasonable, to avoid eMails with pretty useless informations... but it's up to you... YOU choose! :D
 
Nice, thank you!
This explain a lot to me. It was not clear for me on other Threads.
:) I'll consider to add the String.
 
I did not have those sessionclean errors until recently, now I get those several times a day.
Must have happened since the last Plesk or PHP update, dunno... but it does not appear to create any problems.
 
Back
Top