Hi Tim,
Changing the funnelback_user
and funnelback_group
is indeed the right thing to do, but you will need to re-generate the OS service files and also change the permissions of the whole Funnelback folder. Because it has been installed as root
all files will belong to root
and the search
user won't be able to write to them.
That probably explains why Funnelback doesn't start properly, because Jetty log files for instance will belong to root
and the search
user won't be able to append to them.
To do so on Linux, you need to run this command (as root
unfortuantely, as only root
change change ownership of files it owns):
chown -R search:search /opt/funnelback
This is assuming your Funnelback OS user is named search
and belongs to the search
group, and that Funnelback is installed under /opt/funnelback
. Amend the command according to your environment.
To regenerate the service files:
/opt/funnelback/linbin/ActivePerl/bin/perl /opt/funnelback/bin/setup/start_funnelback_on_boot.pl
You can check that the new Jetty service file contains the correct user in /opt/funnelback/services/jetty-webserver.service
. It should contain 2 lines like:
...
wrapper.java.additional.2=-Djetty.groupname=search
wrapper.java.additional.4=-Djetty.username=search
...
Hope this helps,
Nico