iPrint authentications fail every day at the same time

  • 7022423
  • 04-Dec-2017
  • 14-Sep-2020

Environment

Micro Focus iPrint Appliance 3.x

Situation

Every day at the same time, iPrint user authentications fail for a few minutes, then start working.  This applies to SSL iPrint printer authentications and ID card releases.

Resolution

Change the Apache log rotation schedule to occur during off peak times by pasting the following string of commands into a terminal session (such as putty):
sed -i 's/DAILY_TIME=""/DAILY_TIME="04:00"/g' /etc/sysconfig/cron;rccron restart
The above commands configure the Apache log rotation to occur each day at 4.00 AM.

Cause

By default, the Apache log rotation runs each day at the same time.  The time of day is 15 minutes after the last server reboot.  During the log rotation period, Apache restarts itself, causing authentication failures until Apache is back up.

Additional Information

You'll see the following entries on /var/log/apache2/error_log file:

ri Nov 17 16:00:04 2017] [notice] Graceful restart requested, doing restart
[Fri Nov 17 16:00:04 2017] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Fri Nov 17 16:00:04 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Nov 17 16:00:04 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Nov 18 16:00:01 2017] [notice] Graceful restart requested, doing restart
[Sat Nov 18 16:00:01 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Nov 18 16:00:01 2017] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Nov 18 16:00:01 2017] [notice] Apache/2.2.12 (Linux/SUSE) mod_ssl/2.2.12 OpenSSL/1.0.1g PHP/5.3.17 ipp_module/$Revision $ configured -- resuming normal operations