[
https://issues.apache.org/jira/browse/SOLR-9325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15569564#comment-15569564
]
Tim Parker commented on SOLR-9325:
----------------------------------
Installed the snapshot... chasing a couple of unrelated things on my end, but
what I've seen so far is:
1) the logs all appear to go into the right place
2) Solr is creating an empty directory '2' under the '.../server' directory -
not sure if this relates to the specified home directory being empty at
startup, but... it shouldn't be there
some config info:
SOLR_PID_DIR = /home/content/private/keys
SOLR_LOGS_DIR = /home/content/private/logs
startup command line: /opt/solr/latest/bin/solr start -s
/home/content/private/solr -p 8987 -force
/opt/solr/latest is a symlink to /media/sf_common/solr/latest, which is itself
a symbolic link to the latest Solr build
/media/sf_common is a VirtualBox shared folder
> solr.log written to {solrRoot}/server/logs instead of location specified by
> SOLR_LOGS_DIR
> -----------------------------------------------------------------------------------------
>
> Key: SOLR-9325
> URL: https://issues.apache.org/jira/browse/SOLR-9325
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: logging
> Affects Versions: 5.5.2, 6.0.1
> Environment: 64-bit CentOS 7 with latest patches, JVM 1.8.0.92
> Reporter: Tim Parker
> Assignee: Jan Høydahl
> Fix For: 6.3, master (7.0)
>
> Attachments: SOLR-9325.patch, SOLR-9325.patch, SOLR-9325.patch
>
>
> (6.1 is probably also affected, but we've been blocked by SOLR-9231)
> solr.log should be written to the directory specified by the SOLR_LOGS_DIR
> environment variable, but instead it's written to {solrRoot}/server/logs.
> This results in requiring that solr is installed on a writable device, which
> leads to two problems:
> 1) solr installation can't live on a shared device (single copy shared by two
> or more VMs)
> 2) solr installation is more difficult to lock down
> Solr should be able to run without error in this test scenario:
> burn the Solr directory tree onto a CD-ROM
> Mount this CD as /solr
> run Solr from there (with appropriate environment variables set, of course)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]