Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2965B106A3 for ; Tue, 23 Jul 2013 21:42:48 +0000 (UTC) Received: (qmail 53482 invoked by uid 500); 23 Jul 2013 21:42:48 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 53465 invoked by uid 500); 23 Jul 2013 21:42:48 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 53458 invoked by uid 500); 23 Jul 2013 21:42:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 53454 invoked by uid 99); 23 Jul 2013 21:42:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jul 2013 21:42:48 +0000 Date: Tue, 23 Jul 2013 21:42:47 +0000 (UTC) From: "frank zhang (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CLOUDSTACK-3718) Packaging: MS and API logs remain blank because they are owned by root:root and not cloud:cloud MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-3718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] frank zhang resolved CLOUDSTACK-3718. ------------------------------------- Resolution: Fixed This must be a cleanup issue. I tested in the pure setup the permissions are set correctly to cloud:cloud. it must be somebody edited these files with root in your system > Packaging: MS and API logs remain blank because they are owned by root:root and not cloud:cloud > ----------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3718 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3718 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Packaging > Affects Versions: 4.2.0 > Environment: 4.2 > Reporter: Rayees Namathponnan > Assignee: frank zhang > Priority: Blocker > Fix For: 4.2.0 > > > Steps to reproduce > Step 1 : Install Cloudstack management server > Step 2 : Stop MS and Cleanup /var/log/cloudstack/management/ > Step 3: Remove cloudstack > Step 4 : Re-install MS and run setup scripts > Actual Result > Failed to add log in "management-server.log and api-server.log" and both the files owners are not cloud, > [root@auto_ms2 management]# ll > total 64576 > -rw-rw-r--. 1 cloud cloud 67867 Jul 21 23:59 access_log.2013-07-21.txt > -rw-rw-r--. 1 cloud cloud 13931049 Jul 22 10:51 access_log.2013-07-22.txt > -rw-rw-r--. 1 cloud cloud 45285780 Jul 22 10:51 apilog.log > -rw-rw-r--. 1 cloud cloud 15488 Jul 22 00:00 apilog.log.2013-07-21.gz > -rw-r--r--. 1 root root 0 Jul 21 23:24 api-server.log > -rw-rw-r--. 1 cloud cloud 0 Jul 21 23:24 catalina.2013-07-21.log > -rw-r--r--. 1 cloud cloud 6785324 Jul 22 10:51 catalina.out > -rw-rw-r--. 1 cloud cloud 0 Jul 21 23:24 host-manager.2013-07-21.log > -rw-rw-r--. 1 cloud cloud 437 Jul 21 23:28 localhost.2013-07-21.log > -rw-r--r--. 1 root root 0 Jul 21 23:24 management-server.log > -rw-rw-r--. 1 cloud cloud 0 Jul 21 23:24 manager.2013-07-21.log > -rw-r--r--. 1 root root 5811 Jul 21 23:24 setupManagement.log -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira