You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Brian McBride <br...@epimorphics.com> on 2015/12/16 17:53:51 UTC

Default FUSEKI_BASE when running as a service

What is the default value for FUSEKI_BASE when running as a service?

I found a page

   https://jena.apache.org/documentation/fuseki2/fuseki-layout.html

that says it should be /etc/fuseki.  However, I'm not sure if this page 
has been 'officially published' or is up to date.

When I run Fuseki (versions 2.3.0, 2.3.1) as a service with:

   sudo service fuseki start

the fuseki log reports

[[
2015-12-16 16:24:35.133 INFO  Config               :: 
FUSEKI_BASE=/usr/share/fuseki/run
]]

Brian



-- 
Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)


Re: Default FUSEKI_BASE when running as a service

Posted by Brian McBride <br...@epimorphics.com>.
Hi Andy,

On 16/12/15 18:04, Andy Seaborne wrote:
> Brian,
>
> Do you have a /etc/default/fuseki?
Yes.

The fuseki defaults file was originally developed for Fuseki 1.  It 
didn't define a value for FUSEKI_BASE. I thought that was ok because the 
inet.d script sets a default value if none is defined.  The script debug 
said the script had the right value for FUSEKI_BASE.

Looks like the inet.d script doesn't export FUSEK_BASE if it supplies 
the default. ( I read the tail end of your conversation with Bruno).  If 
I export a value for FUSEKI_BASE in the /etc/default/fuseki script then 
it works.

Issue  resolved.  Thanks.

I should pay my taxes.  Could do a pull request on the init.d script 
with the exports in, though I don't have the infrastructure to test that 
extensively.

Brian

>
> What is the debug output of the server script? (see the service script 
> itself for setting DEBUG)
>
>     Andy
>
> On 16/12/15 16:53, Brian McBride wrote:
>> What is the default value for FUSEKI_BASE when running as a service?
>>
>> I found a page
>>
>> https://jena.apache.org/documentation/fuseki2/fuseki-layout.html
>>
>> that says it should be /etc/fuseki.  However, I'm not sure if this page
>> has been 'officially published' or is up to date.
>>
>> When I run Fuseki (versions 2.3.0, 2.3.1) as a service with:
>>
>>    sudo service fuseki start
>>
>> the fuseki log reports
>>
>> [[
>> 2015-12-16 16:24:35.133 INFO  Config               ::
>> FUSEKI_BASE=/usr/share/fuseki/run
>> ]]
>>
>> Brian
>>
>>
>>
>

-- 
Epimorphics Ltd, http://www.epimorphics.com
Registered address: Court Lodge, 105 High Street, Portishead, Bristol BS20 6PT
Epimorphics Ltd. is a limited company registered in England (number 7016688)


Re: Default FUSEKI_BASE when running as a service

Posted by Andy Seaborne <an...@apache.org>.
Brian,

Do you have a /etc/default/fuseki?

What is the debug output of the server script? (see the service script 
itself for setting DEBUG)

	Andy

On 16/12/15 16:53, Brian McBride wrote:
> What is the default value for FUSEKI_BASE when running as a service?
>
> I found a page
>
>    https://jena.apache.org/documentation/fuseki2/fuseki-layout.html
>
> that says it should be /etc/fuseki.  However, I'm not sure if this page
> has been 'officially published' or is up to date.
>
> When I run Fuseki (versions 2.3.0, 2.3.1) as a service with:
>
>    sudo service fuseki start
>
> the fuseki log reports
>
> [[
> 2015-12-16 16:24:35.133 INFO  Config               ::
> FUSEKI_BASE=/usr/share/fuseki/run
> ]]
>
> Brian
>
>
>