Why does the "/var/lib/logrotate/logrotate.status.tmp" error log occur?

error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp" Why does the error log occur?

Is there a way to check exactly when the file will be created?

On my system it runs a moment after midnight. “man logrotate” might be helpful, the “-s” option in particular.
Are you trying to run it manually and/or by another user?