[
https://issues.apache.org/jira/browse/JENA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153282#comment-14153282
]
Bruno P. Kinoshita commented on JENA-789:
-----------------------------------------
Hi, was having a similar message in logs:
{noformat}
12:20:17 INFO TDB dataset: directory=/var/lib/fuseki/DB
12:20:17 WARN No such directory for static content: /.
12:20:17 WARN You may need to set the --pages or --home option to configure
static content correctly
12:20:17 WARN No pages directory - ./pages
12:20:17 INFO Dataset path = /ds
12:20:17 INFO Fuseki 1.1.0 2014-07-26T18:10:29+0100
12:20:17 INFO Started 2014/09/30 12:20:17 BRT on port 8080
{noformat}
Manually applied the patch and it fixed the issue! +1
> Permission and pages not found errors when fuseki is started non-root
> ---------------------------------------------------------------------
>
> Key: JENA-789
> URL: https://issues.apache.org/jira/browse/JENA-789
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Affects Versions: Fuseki 1.1.0
> Environment: OEL Linux 5
> Reporter: Nicholas Sushkin
> Attachments: jena-789.patch
>
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> Multiple issues in fuseki init script when fuseki is started as a non-root
> user (non-empty $FUSEKI_USER)
> 1. When $FUSEKI_DATA_DIR does not exist, it's created as root by the init
> script and $FUSEKI_USER cannot open the database with FileException
> com.hp.hpl.jena.tdb.base.file.FileException: Failed to open:
> <$FUSEKI_DATA_DIR>/node2id.idn (mode=rw)
>
> at
> com.hp.hpl.jena.tdb.base.file.ChannelManager.open$(ChannelManager.java:82)
>
> 2. When $FUSEKI_HOME is not the same as the home directory of $FUSEKI_USER,
> fuseki is unable to find static content, giving warnings such as
> WARN No such directory for static content: /home/fuseki/.
> WARN You may need to set the --pages or --home option to configure static
> content correctly
> WARN No pages directory - ./pages
> 3. When run as non-root, the server output is not saved in
> $FUSEKI_LOGS_STDERROUT
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)