cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4533) permission issue in usage server and it failed to start after upgrade from 3.0.4 to 4.2
Date Fri, 30 Aug 2013 10:52:51 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754572#comment-13754572
] 

ASF subversion and git services commented on CLOUDSTACK-4533:
-------------------------------------------------------------

Commit cc2f76e1d81e127d271876a55bc538efa5d391b1 in branch refs/heads/4.2 from [~radhikap]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=cc2f76e ]

CLOUDSTACK-4533 usage server issue

                
> permission issue in usage server and it failed to start after upgrade from 3.0.4 to 4.2
> ---------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4533
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4533
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Packaging, Upgrade, Usage
>    Affects Versions: 4.2.1
>         Environment: 
>            Reporter: shweta agarwal
>              Labels: ReleaseNote
>             Fix For: 4.2.1
>
>         Attachments: cloudstack-usage.err, cloudstack-usage.err, cloudstack-usage.out,
cloudstack-usage.out, usage.log
>
>
> did an upgrade from 3.0.4 to 4.2  and then start usage server. 
> Usage server failed to start
> giving following exception :
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /var/log/cloudstack/usage/usage.log (Permission denied)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
>         at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
>         at org.apache.log4j.rolling.RollingFileAppender.activateOptions(RollingFileAppender.java:179)
>         at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
>         at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
>         at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
>         at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
>         at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
>         at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
>         at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1001)
>         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
>         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:773)
>         at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:901)
>         at org.springframework.util.Log4jConfigurer.initLogging(Log4jConfigurer.java:69)
>         at com.cloud.usage.UsageServer.initLog4j(UsageServer.java:89)
>         at com.cloud.usage.UsageServer.init(UsageServer.java:52)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:207)
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException: /var/log/cloudstack/usage/usage.log (Permission denied)
>         at java.io.FileOutputStream.openAppend(Native Method)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
>         at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
>         at org.apache.log4j.rolling.RollingFileAppender.activateOptions(RollingFileAppender.java:179)
>         at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
>         at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:295)
>         at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:176)
>         at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:191)
>         at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:523)
>         at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:492)
>         at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:1001)
>         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:867)
>         at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:755)
> Attaching full logs.
>                                                                                     
                       

--
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

Mime
View raw message