Not sure what's happening.
On 16/12/15 12:01, Neubert, Joachim wrote:
I'm playing with Fuseki 2.3.1 on Centos 7.2, which is based on systemd. Despite that, the
"fuseki" init script should work.
FUSEKI_HOME and FUSEKI_BASE are set explicitly in /etc/defaults/fuseki.
(/opt/fuseki is a symlink to /opt/apache-jena-fuseki-2.3.1)
Are they set and exported or just set?
The script does not seem to export them. It should - but
/etc/defaults/fuseki is simply a sourced file so you can export there.
The DEBUG output of the script reports:
Which version of the script are you running because the output below
does not quite correspond to the script I'm looking at?
(The dev version omits the FUSEKI_BASE (it shoudln't), and the layout is
different)
FUSEKI_HOME = /opt/fuseki
FUSEKI_BASE = /etc/fuseki
FUSEKI_CONF =
FUSEKI_RUN = /var/run
FUSEKI_PID = /var/run/fuseki.pid
FUSEKI_ARGS =
FUSEKI_START = /opt/fuseki/fuseki-server.jar
FUSEKI_CLASSES =
CONFIGS =
However, /etc/fuseki/logs/stderrout.log shows:
[2015-12-16 12:50:13] Server INFO Fuseki 2.3.1 2015-12-08T09:24:07+0000
[2015-12-16 12:50:13] Config INFO
FUSEKI_HOME=/opt/apache-jena-fuseki-2.3.1/.
[2015-12-16 12:50:13] Config INFO
FUSEKI_BASE=/opt/apache-jena-fuseki-2.3.1/run
Now - when I set
export FUSEKI_HOME=/opt/fuseki
export FUSEKI_BASE=/etc/fuseki
in my interactive bash shell, and invoke the init script again, fuseki is
loaded correctly, including the services in /etc/fuseki/configuration.
Not sure if this is related to systemd, or if I missed something completely
unrelated - did anybody else see similar errors?
I doubt it's systemd.
Cheers, Joachim
Andy