Discussion:
[Dspace-tech] tomcat 7 stop/start script for dspace
Chris Gray
2015-02-24 15:46:35 UTC
Permalink
I've been able to find /etc/init.d scripts for tomcat 7, but they run
tomcat as root and dspace needs tomcat to run as the dspace user.

Is the necessary script documented somewhere? If it is, I'm not finding it.

Thanks,
Chris
Hilton Gibson
2015-02-25 20:15:17 UTC
Permalink
Hi Chris

With an Ubuntu server, check: /etc/default/tomcat7

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
Post by Chris Gray
I've been able to find /etc/init.d scripts for tomcat 7, but they run
tomcat as root and dspace needs tomcat to run as the dspace user.
Is the necessary script documented somewhere? If it is, I'm not finding it.
Thanks,
Chris
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for
all
things parallel software development, from weekly thought leadership blogs
to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
https://lists.sourceforge.net/lists/listinfo/dspace-tech
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Chris Gray
2015-02-25 20:43:05 UTC
Permalink
Since there was a problem with the mail list server at sourceforge I got
impatient and went to the IRC channel.

I'll report here how I got up and running on Ubuntu 14.04 LTS thanks to
tdonohue with help from mhwood.

I had done a tomcat7 install from tarball, but I'm now using the Ubuntu
package for tomcat7. The steps are:

1. sudo apt-get install tomcat7
2. sudo service tomcat7 stop
3. Edit /etc/default/tomcat7 and set TOMCAT7_USER=dspace
4. sudo chown -RL dspace /var/lib/tomcat7
5. sudo service tomcat7 start

Chris
Post by Hilton Gibson
Hi Chris
With an Ubuntu server, check: /etc/default/tomcat7
Cheers
hg
*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025C
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa
Tel: +27 21 808 4100 | Cell: +27 84 646 4758
I've been able to find /etc/init.d scripts for tomcat 7, but they run
tomcat as root and dspace needs tomcat to run as the dspace user.
Is the necessary script documented somewhere? If it is, I'm not finding it.
Thanks,
Chris
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel
Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your
hub for all
things parallel software development, from weekly thought
leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
DSpace-tech mailing list
https://lists.sourceforge.net/lists/listinfo/dspace-tech
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Loading...