Re: [dspace-tech] problem user dspace

2016-11-09 Thread hoska . 18
thank ypu so match for your help i have set the dspace's configuration mode to 400 and tomwat8 as owner of dspace's installation directory . it works fine. but i have an other problem ; the server is very slow. the server has 4Gb memory . the java_opts in /etc/default/tomcat8 is : JAVA_OPTS="-Dja

Re: [dspace-tech] problem user dspace

2016-11-08 Thread Mark Wood
On Monday, November 7, 2016 at 2:16:06 PM UTC-5, hoska...@gmail.com wrote: > > thanks for your reply > > in my system tomcat run under user tomcat8. i have not changed this. > i set the dspace's installation directory owner to user tomcat8. (Chown > -R tomcat8:tomcat8 /opt/dspace) > i afraid for

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks for your reply in my system tomcat run under user tomcat8. i have not changed this. i set the dspace's installation directory owner to user tomcat8. (Chown -R tomcat8:tomcat8 /opt/dspace) i afraid for security problems: the database's password is present in dspace.cfg file what are the r

Re: [dspace-tech] problem user dspace

2016-11-07 Thread Mark Wood
You should not have two users "dspace" and "tomcat"! If Tomcat is run by a user named "fred" then the installed DSpace files and directories should be owned by user "fred". It is that simple. Whatever user owns Tomcat should own DSpace too. They are not two separate processes. If Tomcat is

Re: [dspace-tech] problem user dspace

2016-11-07 Thread hoska . 18
thanks in this case i leave aside the user dspace and i will change DSpace's installation folder's owner to tmocat8 but but I wonder if this does not affect the securitity especially for the file dspace.cfg ( where there is password of the database) i need just run :chown -R tomcat8 [directory

Re: [dspace-tech] problem user dspace

2016-11-06 Thread Bruno Nocera Zanette
Yeah, you could do something like that as long as you set the right permissions for DSpace's installation folder. The rule is that Tomcat always has to able to write on DSpace installation folder. So, for instance, If you give permission for dspace group tô write on it and add Tomcat to dspace grou

Re: [dspace-tech] problem user dspace

2016-11-06 Thread hoska . 18
thanks for your reply and all the details you gave me. excuse me i have another question : can i just add the user dspace in the tomcat group and also add the user tomcat in dspace group because I need to run others websapps under tomcat with what you said before; all webapps will run under d

Re: [dspace-tech] problem user dspace

2016-11-05 Thread Bruno Nocera Zanette
Oh... I've forgot to say that this will only works if you really installed DSpace inside "dspace" user. If not, i suggest you to change DSpace's installation folder's owner to "dspace" user. Lets say you installed it using "root" user on folder "/opt/dspace". Everything that is created during inst

Re: [dspace-tech] problem user dspace

2016-11-05 Thread Bruno Nocera Zanette
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'

[dspace-tech] problem user dspace

2016-11-05 Thread hoska . 18
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 r