Opened 3 years ago

Closed 3 years ago

#2332 closed defect (fixed)

Tomcat fails to start on installed systems

Reported by: kalxas Owned by: osgeolive@…
Priority: critical Milestone: OSGeoLive14.0
Component: OSGeoLive Keywords: tomcat
Cc: osgeolive@…

Description

After installing OSGeoLive 14.0 (rc5) to a VM (using the default user "user"), tomcat fails to start from the menu launchers (52nSOS and 52nWPS).

The reason for this is that the group "users" does not exist, instead the "user" group is created for the "user". This has obviously changed in Ubuntu 20.04

This leads to /etc/sudoers.d/tomcat file to need editing in order to reflect this "user" group. Without this edit, sudo will not work for starting tomcat and the launchers will fail.

For reference, this file is created here:

https://github.com/OSGeo/OSGeoLive/blob/master/bin/setdown.sh#L256-L261

Change history (3)

comment:1 by kalxas, 3 years ago

Issue fix:

sudo chmod 755 /etc/sudoers.d/tomcat
sudo sed -i -e "s/users/user/" /etc/sudoers.d/tomcat
sudo chmod 440 /etc/sudoers.d/tomcat

comment:3 by kalxas, 3 years ago

Resolution: fixed
Status: newclosed

Fixed in rc6

Note: See TracTickets for help on using tickets.