Article - CS326678
"Permission denied" is reported when attempting to start ThingWorx Analytics Server
Modified: 22-Jun-2020
Applies To
- ThingWorx Platform 8.5
Description
- Unable to start ThingWorx Analytics Server
- ThingWorx Analytic Server is not coming up after a restart
- journalctl -xe reports
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[logfile] - openFile(/opt/ThingWorxAnalytics/ThingWorxAnalyticsServer/data/logs/worker.log,true) call failed. java.io.FileNotFoundException: /opt/ThingWorxAnalytics/ThingWorxAnalyticsServer/data/logs/worker.log (Permission denied)
at java.io.FileNotFoundException: /opt/ThingWorxAnalytics/ThingWorxAnalyticsServer/data/logs/worker.log (Permission denied)
at at java.io.FileOutputStream.open0(Native Method)
at at java.io.FileOutputStream.open(FileOutputStream.java:270)
at at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:26)
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204)
at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127)
name of log file may vary
at java.io.FileNotFoundException: /opt/ThingWorxAnalytics/ThingWorxAnalyticsServer/data/logs/worker.log (Permission denied)
at at java.io.FileOutputStream.open0(Native Method)
at at java.io.FileOutputStream.open(FileOutputStream.java:270)
at at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:26)
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204)
at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127)
name of log file may vary
This is a printer-friendly version of Article 326678 and may be out of date. For the latest version click CS326678