org.pentaho.di.core.exception.KettleFileException: Unable to add Kettle file appender to Log4J Could not write to "file:///opt/kaltura/dwh/logs/log_storage_usage_calc_storage_usage.log". Could not write to "file:///opt/kaltura/dwh/logs/log_storage_usage_calc_storage_usage.log".

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have opened a transformation (jens training samples) and i can't save it to the file system i get the same error when i try to run one of those transformations that writes to an excel file org.pentaho.di.core.exception.KettleFileException: org.apache.commons.vfs.FileSystemException: Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:287) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:278) at org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:4706) at org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:92) at org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:4690) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4048) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4024) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1143) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6541) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: org.apache.commons.vfs.FileSystemException: Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". at org.apache.commons.vfs.provider.AbstractFileObject.getOutputStream(Unknown Source) at org.apache.commons.vfs.provider.DefaultFileContent.getOutputStream(Unknown Source) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:251) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:285) ... 28 more Caused by: java.io.FileNotFoundException: G:\Backup\Sonstiges\OLTP2OLAP-Sample\08_lab_fact_sales_basic.ktr (Zugriff verweigert) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.commons.vfs.provider.local.LocalFile.doGetOutputStream(Unknown Source) ... 32 more
    via by Paul Stoellberger,
  • I have opened a transformation (jens training samples) and i can't save it to the file system i get the same error when i try to run one of those transformations that writes to an excel file org.pentaho.di.core.exception.KettleFileException: org.apache.commons.vfs.FileSystemException: Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:287) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:278) at org.pentaho.di.ui.spoon.Spoon.saveMeta(Spoon.java:4706) at org.pentaho.di.ui.spoon.TransFileListener.save(TransFileListener.java:92) at org.pentaho.di.ui.spoon.Spoon.save(Spoon.java:4690) at org.pentaho.di.ui.spoon.Spoon.saveToFile(Spoon.java:4048) at org.pentaho.di.ui.spoon.Spoon.saveFile(Spoon.java:4024) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1143) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6541) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:541) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: org.apache.commons.vfs.FileSystemException: Could not write to "file:///G:/Backup/Sonstiges/OLTP2OLAP-Sample/08_lab_fact_sales_basic.ktr". at org.apache.commons.vfs.provider.AbstractFileObject.getOutputStream(Unknown Source) at org.apache.commons.vfs.provider.DefaultFileContent.getOutputStream(Unknown Source) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:251) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:285) ... 28 more Caused by: java.io.FileNotFoundException: G:\Backup\Sonstiges\OLTP2OLAP-Sample\08_lab_fact_sales_basic.ktr (Zugriff verweigert) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.commons.vfs.provider.local.LocalFile.doGetOutputStream(Unknown Source) ... 32 more
    via by Paul Stoellberger,
  • Saving causing time outs
    via GitHub by prodkid
    ,
  • setting up connection issues
    via by 713392,
  • Problem downloading modpack
    via GitHub by Pokefenn
    ,
  • Several error in server console
    via GitHub by TomPiXX
    ,
    • org.pentaho.di.core.exception.KettleFileException: Unable to add Kettle file appender to Log4J Could not write to "file:///opt/kaltura/dwh/logs/log_storage_usage_calc_storage_usage.log". Could not write to "file:///opt/kaltura/dwh/logs/log_storage_usage_calc_storage_usage.log". at org.pentaho.di.core.logging.LogWriter.createFileAppender(LogWriter.java:233) at org.pentaho.di.job.entries.job.JobEntryJob.execute(JobEntryJob.java:494) at org.pentaho.di.job.Job.execute(Job.java:503) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:642) at org.pentaho.di.job.Job.execute(Job.java:420) at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:63) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.commons.vfs.FileSystemException: Could not write to "file:///opt/kaltura/dwh/logs/log_storage_usage_calc_storage_usage.log". at org.apache.commons.vfs.provider.AbstractFileObject.getOutputStream(Unknown Source) at org.apache.commons.vfs.provider.DefaultFileContent.getOutputStream(Unknown Source) at org.pentaho.di.core.vfs.KettleVFS.getOutputStream(KettleVFS.java:268) at org.pentaho.di.core.logging.Log4jFileAppender.<init>(Log4jFileAppender.java:48) at org.pentaho.di.core.logging.LogWriter.createFileAppender(LogWriter.java:225) ... 8 more Caused by: java.io.FileNotFoundException: /opt/kaltura/dwh/logs/log_storage_usage_calc_storage_usage.log (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.commons.vfs.provider.local.LocalFile.doGetOutputStream(Unknown Source) ... 13 more

    Users with the same issue

    reni
    reni1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    149 more bugmates