You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sean Lair (JIRA)" <ji...@apache.org> on 2017/12/20 15:48:00 UTC

[jira] [Resolved] (CLOUDSTACK-10201) Catalina.out not being rotated

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-10201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Lair resolved CLOUDSTACK-10201.
------------------------------------
    Resolution: Fixed

4.10 switched to embedded jetty

> Catalina.out not being rotated
> ------------------------------
>
>                 Key: CLOUDSTACK-10201
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10201
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.9.0
>         Environment: logrotate 3.8.6-14.el7
> CentOS7 management server OS
>            Reporter: Sean Lair
>            Priority: Minor
>              Labels: easyfix, patch
>             Fix For: 4.10.0.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> This is fixed in 4.10 as Cloudstack has switched to embedded jetty.
> In 4.9.0:
> Receive following message in "var/spool/mail/root:
> -------------------
> /etc/cron.daily/logrotate:
> error: skipping "/var/log/cloudstack/management/catalina.out" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
> -------------------
> As error states, group is "cloud":
> -----------------
> [root@labcloud01b ~]# ls -l /var/log/cloudstack/
> total 64
> drwxrwx---. 2 root root      6 Dec 18 23:41 ipallocator
> drwxrwx---. 2 root cloud 28672 Dec 20 14:35 management
> drwxrwx---. 2 root cloud 12288 Dec 20 00:15 usage
> -------------------------
> Need to update "cloudstack-catalina.logrotate" with su info



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)