Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-17 Thread liv...@gmail.com
Hello Paul, I will double check ant output. Maybe I'll see some clues. Thank you very much! Liviu Pe miercuri, 16 septembrie 2020, la 09:16:15 UTC+3, Paul Münch a scris: > Hello Liviu, > > as I read in the code, the 'log.report.dir' is not used in > 'org.apache.log4j', but the key 'log.dir'

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-16 Thread Paul Münch
Hello Liviu, as I read in the code, the 'log.report.dir' is not used in 'org.apache.log4j', but the key 'log.dir' in 'dspace/config/log4j.properties'. Its default value is '${dspace.dir}/log'. Maybe something went wrong during Ant process, so your configuration was not set up correctly. Kind

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-15 Thread liv...@gmail.com
Hello Paul, I checked the paths. In /home/dspace/dspace/config/local.cfg exists this line: dspace.dir=/home/dspace/dspace and in /home/dspace/dspace/config/log4j.properties: log4j.appender.A1.File=${log.dir}/dspace.log log4j.appender.A2.File=${log.dir}/checker.log

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-15 Thread liv...@gmail.com
Thank you, Yes, that line exists in /home/dspace/dspace/config/dspace.cfg Best regards, Liviu Pe luni, 14 septembrie 2020, la 23:53:15 UTC+3, bla...@umich.edu a scris: > In dspace.log you should set where the log files live: > > # directory where logs are stored > > log.report.dir =

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-15 Thread Paul Münch
Hello Liviu, yes, it seems so. Maybe there are wrong or missing paths in the configuration files. Please check the configuration keys 'dspace.dir' in dspace/config/local.cfg and 'log.dir' in dspace/config/log4j.properties. Kind regards, Paul Münch Am 14.09.20 um 20:19 schrieb liv...@gmail.com:

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-14 Thread Jose Blanco
In dspace.log you should set where the log files live: # directory where logs are stored log.report.dir = ${dspace.dir}/log On Mon, Sep 14, 2020 at 2:20 PM liv...@gmail.com wrote: > Hello, > > Thank you for your response. Dspace user is "dspace" and has write > permissions on

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-14 Thread liv...@gmail.com
Hello, Thank you for your response. Dspace user is "dspace" and has write permissions on /usr/local/tomcat/log and /home/dspace/dspace/log. What intrigues me is that the path of the log (/dspace.log.2020-09-13) seems to start from the root system, or am I wrong? Thank you. Liviu Pe luni,

Re: [dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-14 Thread Paul Münch
Hello, please take a look at the error message. The 'dspace.log'-file can't be written because of false permissions. Please check if the system user which run DSpace (e.g. 'tomcat' or 'dspace') has permissions to write into the configured directory. I hope this helps and kind regards, Paul

[dspace-tech] java.io.FileNotFoundException: /dspace.log.2020-09-13 (Permission denied)

2020-09-13 Thread liv...@gmail.com
Hi, We are trying to migrate from DSpace 6.0 to DSpace-CRIS 6RC2 and we have followed the instructions to Upgrade an existent DSpace (not CRIS) . After successfully building