That certainly looks to be a unix permissions issue. Give more detail:

1.) ls -a -l the logs directory and attach that
2.) what user are you running the script under?
3.) Post the location and complete command output for the command.

Mark

On Wed, Mar 24, 2010 at 1:33 PM, George Stanley Kozak <[email protected]> wrote:
> Hi…
>
>
>
> I “think” this was covered on the list, but I couldn’t find the specific
> e-mail.  So, I am hoping that someone can answer this for me.
>
>
>
> I am doing a conversion from DSpace 1.5.2 to DSpace 1.6.  I am at the part
> where I convert the old DSpace logs to the SOLR versions.
>
>
>
> When I execute:
>
> [dspace]/bin/dspace stats-log-converter -i [dspace]/log/dspace.log
> [dspace]/log/new.log –m
>
>
>
> I see the following errors:
>
> log4j:ERROR setFile(null,true) call failed.
>
> java.io.FileNotFoundException: /dspace.log.2010-03-24 (Permission denied)
>
>         at java.io.FileOutputStream.openAppend(Native Method)
>
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
>
>         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
>
>         at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
>
>         at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
>
>         at
> org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:122)
>
>         at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
>
>         at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
>
>         at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
>
>         at
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
>
>         at
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
>
>         at
> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
>
>         at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
>
>         at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
>
>         at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:470)
>
>         at
> org.dspace.core.ConfigurationManager.loadConfig(ConfigurationManager.java:776)
>
>         at
> org.dspace.core.ConfigurationManager.getProperty(ConfigurationManager.java:133)
>
>         at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:83)
>
>
>
> I set the permissions temporarily to 777, and I still get the error.  I also
> see that it tries to convert the cocoon and checker logs.  Can someone tell
> me what I’m doing wrong?
>
>
>
> George Kozak
>
> Digital Library Specialist
>
> Division of Library Information Technologies (DLIT)
>
> 501 Olin Library
>
> Cornell University
>
> Ithaca, NY 14853
>
> 607-255-8924
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-- 
Mark R. Diggory
Head of U.S. Operations - @mire

http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get t...@ther

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to