Project

General

Profile

Actions

Task #11844

closed

geoserver?.d4science.org: Provide a script for start/stop the tomcat container

Added by Roberto Cirillo about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
_InfraScience Systems Engineer
Category:
Application
Target version:
Start date:
May 25, 2018
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

Is it possible to have a standard script for start/stop the tomcat container in the gcube home?
I've tried to use the following command:

service tomcat7 restart without success:

gcube@geoserver:~$ service tomcat7 status
You need root privileges to run this script
gcube@geoserver:~$ sudo service tomcat7 status
[sudo] password for gcube:

The same situation is also present in the following geoserver instances:

geoserver2.d4science.org
geoserver3.d4science.org
geoserver4.d4science.org

Related issues

Related to D4Science Infrastructure - Incident #11843: geoserver.d4science.org: java.lang.OutOfMemoryError: Java heap spaceClosedRoberto CirilloMay 25, 2018

Actions
Actions #1

Updated by Roberto Cirillo about 7 years ago

  • Subject changed from geoserver.d4science.org: Provide a script for start/stop the tomcat container to geoserver?.d4science.org: Provide a script for start/stop the tomcat container
Actions #2

Updated by Roberto Cirillo about 7 years ago

  • Related to Incident #11843: geoserver.d4science.org: java.lang.OutOfMemoryError: Java heap space added
Actions #5

Updated by Andrea Dell'Amico about 7 years ago

There's a role already that adds a custom start/stop script inside the gcube home directory and configures the sudo rules. It's the same used on all the smartgears nodes.

Actions #6

Updated by Andrea Dell'Amico about 7 years ago

  • Status changed from New to In Progress
Actions #7

Updated by Andrea Dell'Amico about 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Done. Now you can use the start/stop scripts that are present into the gcube home directory.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)