Control Web Panel

WebPanel => Problems on other RedHat linux servers => Topic started by: venty on January 15, 2025, 11:17:49 AM

Title: daily "Anacron" messages?
Post by: venty on January 15, 2025, 11:17:49 AM
Hi,

The server is running Alma Linux 9, in the daily "Anacron" messages I have the following texts:

https://prnt.sc/BnXxAsrMBfDg


What is happening?

BR
Venty
Title: Re: daily "Anacron" messages?
Post by: overseer on January 15, 2025, 04:32:04 PM
Did you change the default php.ini to be more "chatty" about errors? It is printing NOTICE errors to your output, but they are just notices, not fatal errors.
https://phoenixnap.com/kb/php-error-types (https://phoenixnap.com/kb/php-error-types)

Do you have this in your php.ini:
Code: [Select]
error_reporting = E_ALL
display_errors = On
Instead, try:
Code: [Select]
error_reporting = E_ERROR
display_errors = Off
Title: Re: daily "Anacron" messages?
Post by: venty on January 15, 2025, 05:02:53 PM
Did you change the default php.ini to be more "chatty" about errors? It is printing NOTICE errors to your output, but they are just notices, not fatal errors.
https://phoenixnap.com/kb/php-error-types (https://phoenixnap.com/kb/php-error-types)

Do you have this in your php.ini:
Code: [Select]
error_reporting = E_ALL
display_errors = On
Instead, try:
Code: [Select]
error_reporting = E_ERROR
display_errors = Off

Hi,

Thank you very much for the recommendation...It's true that I should also disable error reporting, but it worries me a little that these current error reports are related to diagnostics and backups, with CentOS 7 it reported that it had made a daily, weekly, etc. backup...?

I also notice that it makes a daily backup for a user that I deleted a few days ago, and today I'm with a different user, maybe some kind of cache?

Thanks in advance!

BR
Venty
Title: Re: daily "Anacron" messages?
Post by: cyberspace on January 16, 2025, 10:34:51 AM
Run this command as root in shell of your server:

Code: [Select]
dnf -y install perl-diagnostics
it will install the perl module diagnostics and then the first error from the output at your screenshot will disappear.
Title: Re: daily "Anacron" messages?
Post by: cyberspace on January 16, 2025, 07:11:25 PM
Additionally, run the command listed below:

Code: [Select]
dnf -y install perl-English
it will solve one more error associated with the perl modules.
Title: Re: daily "Anacron" messages?
Post by: venty on January 24, 2025, 09:38:53 AM
Hi,

I'm still testing AL9, but I'm worried about error messages when backing up databases...

BR
Venty
Title: Re: daily "Anacron" messages?
Post by: cyberspace on January 24, 2025, 10:40:04 AM
Install Perl modules to solve the errors.

The messages marked as "NOTICE" aren't errors.
Title: Re: daily "Anacron" messages?
Post by: venty on February 06, 2025, 04:41:10 PM
Hi,

I installed..., but the following problems remain:

https://prnt.sc/fzU336rAC-mN    and   https://prnt.sc/M-ELGTHcCHqA

BR
Venty
Title: Re: daily "Anacron" messages?
Post by: overseer on February 07, 2025, 01:19:52 AM
Again, those are Notices -- not errors. If you prefer not to notice them, you can do as I suggested earlier in the thread and change your warning level so they aren't brought front & center to your attention on a regular basis.