Logrotate fails on never installed tomcat (catalina) log rotate

Bug #1990056 reported by Sami hulkko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logrotate (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,
I get error:
error: error opening /var/log/tomcat9/catalina.out: Permission denied
logrotate.service: Main process exited, code=exited, status=1/FAILURE
logrotate.service: Failed with result 'exit-code'.

Logrotate fails on tomcat(catalina) log rotate. I have never had tomcat installed in this machine.

System:
Description: Ubuntu 22.04.1 LTS
Release: 22.04

logrotate:
  Installed: 3.19.0-1ubuntu1.1
  Candidate: 3.19.0-1ubuntu1.1
  Version table:
 *** 3.19.0-1ubuntu1.1 500
        500 http://fi.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        100 /var/lib/dpkg/status
     3.19.0-1ubuntu1 500
        500 http://fi.archive.ubuntu.com/ubuntu jammy/main amd64 Packages

SH

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: logrotate 3.19.0-1ubuntu1.1
ProcVersionSignature: Ubuntu 5.15.0-47.51-generic 5.15.46
Uname: Linux 5.15.0-47-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Sep 18 12:07:15 2022
InstallationDate: Installed on 2021-09-28 (354 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: logrotate
UpgradeStatus: Upgraded to jammy on 2022-04-22 (148 days ago)

Revision history for this message
Sami hulkko (sahulkko) wrote :
Revision history for this message
Sami hulkko (sahulkko) wrote (last edit ):

To add, when run manually (restart) runs just fine. Logrotates and logrotates. fyi

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.