Author Topic: daily "Anacron" messages?  (Read 977 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
daily "Anacron" messages?
« 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

Offline
*****
Re: daily "Anacron" messages?
« Reply #1 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

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

Offline
***
Re: daily "Anacron" messages?
« Reply #2 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

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

Offline
***
Re: daily "Anacron" messages?
« Reply #3 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.

Offline
***
Re: daily "Anacron" messages?
« Reply #4 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.

Offline
***
Re: daily "Anacron" messages?
« Reply #5 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

Offline
***
Re: daily "Anacron" messages?
« Reply #6 on: January 24, 2025, 10:40:04 AM »
Install Perl modules to solve the errors.

The messages marked as "NOTICE" aren't errors.

Offline
***
Re: daily "Anacron" messages?
« Reply #7 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

Offline
*****
Re: daily "Anacron" messages?
« Reply #8 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.

Offline
***
Re: daily "Anacron" messages?
« Reply #9 on: March 18, 2025, 01:24:40 PM »
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.

Hi,

I'm very sorry, I did what you gave me as recommendations, but the notices continue to appear ...

On the other hand, please advise me on which "official" bases it is expected that there will be a daily, etc. archive available ...

BR
Venty