Hello Mark, Thank you so much for your response. I ran the command using the root account and I am getting another error now not related to permission but doesn't tell me anything that I can build on to make the import work:
Exception in thread "main" java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:274) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:141) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78) Caused by: java.lang.NullPointerException at java.io.File.<init>(File.java:277) at org.dspace.app.itemimport.ItemImport.<clinit>(ItemImport.java:108) ... 4 more How can I troubleshoot this problem? Thanks again, Regards. -----Original Message----- From: Mark H. Wood [mailto:mw...@iupui.edu] Sent: Tuesday, July 28, 2015 4:11 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Error when using import command in DSpace 5.2 On Tue, Jul 28, 2015 at 02:12:31PM +0300, Layale Bassil wrote: > I am trying to import items into Dspace 5.2 using the /data/bin/dspace import > command but I am getting the following error which I am not being able to > know the reason for: > > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: /data/log/dspace.log.2015-07-28 (Permission > denie d) [snip] > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: /data/log/cocoon.log.2015-07-28 (Permission > denie d) [snip] > log4j:ERROR setFile(null,true) call failed. > java.io.FileNotFoundException: /data/log/dspace.log.2015-07-28 (Permission > denie d) The account in which your Servlet container (e.g. Tomcat) runs does not have permission to open those files for writing. I would check the ownership and permission on those files. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu ------------------------------------------------------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette