Nicholas Sushkin created JENA-789:
-------------------------------------

             Summary: 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


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)

Reply via email to