Opened 10 years ago
Closed 7 years ago
#1153 closed defect (wontfix)
tomcat not starting on installed systems under custom user
|Reported by:||kalxas||Owned by:|
|Component:||OSGeoLive||Keywords:||user accounts, tomcat|
When OSGeoLive is installed with user name != "user", tomcat cannot be started.
Linked to #1141
Change history (8)
comment:1 by , 10 years ago
|Keywords:||user accounts added|
comment:2 by , 10 years ago
|Priority:||major → normal|
sudo service tomcat6 start
oh, so the trouble is the new-arbitrary user does not have sudo access to do that.
As a workaround, you can add to the /etc/sudoers.d the following:
<username> ALL=(root) NOPASSWD: /usr/sbin/service tomcat6 start,/usr/sbin/service tomcat6 stop,/usr/sbin/service tomcat6 status
comment:3 by , 10 years ago
As wildintellect suggested, we should update osgeolive_install_quickstart.html including tips for those who want to install under a different user name.
comment:4 by , 10 years ago
Installation Tips section added in 
comment:5 by , 10 years ago
There was a discussion on IRC about using gksu for users other than "user" and live session.
comment:6 by , 9 years ago
|Milestone:||OSGeoLive7.0 → OSGeoLive7.9|
comment:7 by , 9 years ago
|Milestone:||OSGeoLive7.9 → OSGeoLive8.0|
comment:8 by , 7 years ago
|Status:||new → closed|
USER_NAME set to something else at build time or at install time? this is in a VM? I'm not sure how to "skel" the groups a new user is assigned to.
if install-time that's somewhat expected, make sure you add your new user to all the groups that "user" belongs to. (type 'groups' in a terminal when logged in as 'user')