Question

2
Replies
141
Views
AravindY2749 Member since 2016 16 posts
NASCO
Posted: May 14, 2018
Last activity: May 15, 2018
Closed

Log File permission issue for BIX

Hi

When running BIX past the mid night we see below error for log file permission. It is not stopping the process but we are seing the error in the log. Please suggest any resolution.

log4j:ERROR Cannot write to /PegaRULES-FirstLogCreationTime.log
java.io.FileNotFoundException: /PegaRULES-FirstLogCreationTime.log (Permission denied)
at java.io.FileOutputStream.<init>(FileOutputStream.java:233)
at java.io.FileOutputStream.<init>(FileOutputStream.java:183)
at com.pega.pegarules.priv.util.LogDeleteUtil.writeToFile(LogDeleteUtil.java:261)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.setFile(DailySizeRollingFileAppenderPega.java:120)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.rollOver(DailySizeRollingFileAppenderPega.java:226)
at com.pega.pegarules.priv.util.DailySizeRollingFileAppenderPega.subAppend(DailySizeRollingFileAppenderPega.java:159)
at com.pega.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at com.pega.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at com.pega.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:66)
at com.pega.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)
at java.lang.Thread.run(Thread.java:798)

Reporting
Moderation Team has archived post
Share this page LinkedIn