Hoska, You need to edit the file: /etc/default/tomcat8, to specify that Tomcat will run from now on on the same user that DSpace is installed on. Eg: If you created an user called "dspace", you have to configure Tomcat to run on this user "dspace". This is necessary because otherwise tomcat wouldn't be able to write to files inside dspace's installation folder that are important for it to function correctly, like SOLR files and log files. All you have to do is to change the line "TOMCAT8_USER=...", save and restart tomcat.
Also, if you already ran Tomcat on another user, lets say "root", you will need to change some folder's owner from "root" to the new Tomcat's user, for the same reason explained before. Some of these folder are: - /var/lib/tomcat8 - /var/log/tomcat8 - /var/cache/tomcat8 (there may be others depending on the OS, tomcat's version, configurations, ...): To do it, use the command: "chown -R" (-R is to modify it recursively). Eg.: if it's set on the configuration file that tomcat will run on user "dspace" and group "tomcat8", the command would be: $ chown -R dspace:tomcat8 /var/lib/tomcat8 After doing this, follow both dspace's and tomcat's logs to see if everything is going fine. Em Sáb, 5 de nov de 2016 07:23, <[email protected]> escreveu: Iam new with dspace I followed the tutorial https://wiki.duraspace.org/display/DSDOC5x/DSpace+5.x+Documentation Ihave installed dspace 5.2 on debian jessie 64bits. with tomcat8 maven 3.0.5 openjdk7 ant 1.9 apache2 postgresql9.4 all prerequisite packages are installed with apt-get install tomcat run under user tomcat8 in the tutorial DSpace will need to run as the same user as Tomcat I do not understand is this that the building and installation of dspace in this case will be run as the user name tomcat8 or as the user dspace created above I think the user dspace( creates : useradd -m dspace) is just required for database of dspace is this right or no thanks for help excuse me i am bad in english -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout. -- Bruno Nocera Zanette +55 41 9992-2508 -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
