Ok, I'll try running as tomcat.
The wiki has a problem with the tomcat startup script. It looks like it's
supposed to be a link which allows us to download a shell script, but when I
click it, I get the error message You are not allowed to do AttachFile on
this page. Login and try again.. The link I'm talking about is 1 line
above
http://wiki.apache.org/solr/SolrTomcat?action=AttachFiledo=viewtarget=tomcat6#Building_Solr
- Original Message -
From: Michael Della Bitta michael.della.bi...@appinions.com
To: solr-user@lucene.apache.org
Sent: Monday, September 17, 2012 12:32 PM
Subject: Re: Installing Tomcat as the user solr?
I probably wouldn't suggest running Tomcat as root because of the
principle of least privilege, but aside from that, it's sort of
immaterial what you call the account, particularly if you already have
a 'tomcat' daemon account set up.
Michael Della Bitta
Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017
www.appinions.com
Where Influence Isn’t a Game
On Mon, Sep 17, 2012 at 11:13 AM, Ken Clarke
k_cla...@perlprogrammer.net wrote:
Can I have some clarification about installing Tomcat as the user solr?
See http://wiki.apache.org/solr/SolrTomcat#Installing_Tomcat_6 second
paragraph, which states Create the solr user. As solr, extract the Tomcat
6.0 download into /opt/tomcat6.
Does this user need a home-dir? (I'm guessing no). Should it have it's
own private group? If so, is that group a system group with GID 500?
What about a login shell (again I'm guessing not necessary)
The documentation doesn't go on to say that you should switch to the solr
user account when installing SOLR. Sorry if that sounds like a dumb
question, but there is no explanation about why tomcat needs to be
installed as solr rather than tomcat or root.
Thanks.