Your message dated Mon, 18 Feb 2019 22:05:50 +0000
with message-id <e1gvr2s-000elt...@fasolo.debian.org>
and subject line Bug#919638: fixed in tomcat9 9.0.16-2
has caused the Debian Bug report #919638,
regarding solr-tomcat: Permission problems after update to tomcat9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
919638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919638
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: solr-tomcat
Version: 3.6.2+dfsg-16
Severity: important

Dear Maintainer,

After updating tomcat to tomcat9 and solr-tomcat to 3.6.2+dfsg-16, it
seems to be having problems writing to its index directory.  The
problem surfaced when using dovecot to look up messages.  Attached is
the error from the catalina log.

/var/lib/solr/index does look like it has the right permissions:
/var/lib/solr/data and /var/lib/solr/data/index are owned by
tomcat:tomcat, permissions 770, and tomcat seems to be running as user
tomcat.  I have verified that I can write to the directory as root,
and as such it's not on a read-only filesystem.  I have no idea why it
fails to write the lock file.


17-Jan-2019 23:27:24.199 INFO [http-nio-8080-exec-6] 
org.apache.solr.update.processor.LogUpdateProcessor.finish 
{add=[173976/7e5de009f991854df726000012cf7b9c/md5i]} 0 1002
17-Jan-2019 23:27:24.200 SEVERE [http-nio-8080-exec-6] 
org.apache.solr.common.SolrException.log 
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: 
NativeFSLock@/var/lib/solr/data/index/write.lock: 
java.io.FileNotFoundException: /var/lib/solr/data/index/write.lock (Read-only 
file system)
        at org.apache.lucene.store.Lock.obtain(Lock.java:84)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1098)
        at 
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:84)
        at 
org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
        at 
org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
        at 
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:219)
        at 
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
        at 
org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115)
        at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:157)
        at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
        at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
        at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:365)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:260)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.FileNotFoundException: /var/lib/solr/data/index/write.lock 
(Read-only file system)
        at java.base/java.io.RandomAccessFile.open0(Native Method)
        at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
        at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
        at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
        at 
org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:203)
        at org.apache.lucene.store.Lock.obtain(Lock.java:95)
        ... 33 more

17-Jan-2019 23:27:24.201 INFO [http-nio-8080-exec-6] 
org.apache.solr.core.SolrCore.execute [] webapp=/solr path=/update params={} 
status=500 QTime=1002 
17-Jan-2019 23:27:24.201 SEVERE [http-nio-8080-exec-6] 
org.apache.solr.common.SolrException.log 
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: 
NativeFSLock@/var/lib/solr/data/index/write.lock: 
java.io.FileNotFoundException: /var/lib/solr/data/index/write.lock (Read-only 
file system)
        at org.apache.lucene.store.Lock.obtain(Lock.java:84)
        at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1098)
        at 
org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:84)
        at 
org.apache.solr.update.UpdateHandler.createMainIndexWriter(UpdateHandler.java:101)
        at 
org.apache.solr.update.DirectUpdateHandler2.openWriter(DirectUpdateHandler2.java:171)
        at 
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:219)
        at 
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
        at 
org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115)
        at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:157)
        at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79)
        at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
        at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:365)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:260)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
        at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
        at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1417)
        at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.io.FileNotFoundException: /var/lib/solr/data/index/write.lock 
(Read-only file system)
        at java.base/java.io.RandomAccessFile.open0(Native Method)
        at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:345)
        at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
        at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
        at 
org.apache.lucene.store.NativeFSLock.obtain(NativeFSLockFactory.java:203)
        at org.apache.lucene.store.Lock.obtain(Lock.java:95)
        ... 33 more

17-Jan-2019 23:27:24.206 WARNING [http-nio-8080-exec-8] 
org.apache.solr.handler.XMLLoader.processUpdate unexpected attribute 
commit/@softCommit
17-Jan-2019 23:27:24.206 INFO [http-nio-8080-exec-8] 
org.apache.solr.update.DirectUpdateHandler2.commit start 
commit(optimize=false,waitFlush=false,waitSearcher=true,expungeDeletes=false)
17-Jan-2019 23:27:24.207 INFO [http-nio-8080-exec-8] 
org.apache.solr.search.SolrIndexSearcher.<init> Opening Searcher@781d94fc main
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming Searcher@781d94fc 
main from Searcher@153b3170 main
        
fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming result for 
Searcher@781d94fc main
        
fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming Searcher@781d94fc 
main from Searcher@153b3170 main
        
filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming result for 
Searcher@781d94fc main
        
filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming Searcher@781d94fc 
main from Searcher@153b3170 main
        
queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming result for 
Searcher@781d94fc main
        
queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming Searcher@781d94fc 
main from Searcher@153b3170 main
        
documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.warm autowarming result for 
Searcher@781d94fc main
        
documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.core.QuerySenderListener.newSearcher QuerySenderListener 
sending requests to Searcher@781d94fc main
17-Jan-2019 23:27:24.209 INFO [pool-1-thread-1] 
org.apache.solr.core.QuerySenderListener.newSearcher QuerySenderListener done.
17-Jan-2019 23:27:24.210 INFO [pool-1-thread-1] 
org.apache.solr.core.SolrCore.registerSearcher [] Registered new searcher 
Searcher@781d94fc main
17-Jan-2019 23:27:24.207 INFO [http-nio-8080-exec-8] 
org.apache.solr.update.DirectUpdateHandler2.commit end_commit_flush
17-Jan-2019 23:27:24.212 INFO [pool-1-thread-1] 
org.apache.solr.search.SolrIndexSearcher.close Closing Searcher@153b3170 main
        
fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
        
filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
        
queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
        
documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
17-Jan-2019 23:27:24.212 INFO [http-nio-8080-exec-8] 
org.apache.solr.update.processor.LogUpdateProcessor.finish {commit=} 0 6
17-Jan-2019 23:27:24.212 INFO [http-nio-8080-exec-8] 
org.apache.solr.core.SolrCore.execute [] webapp=/solr path=/update params={} 
status=0 QTime=6 


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages solr-tomcat depends on:
ii  solr-common  3.6.2+dfsg-16
ii  tomcat9      9.0.14-1

solr-tomcat recommends no packages.

solr-tomcat suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: tomcat9
Source-Version: 9.0.16-2

We believe that the bug you reported is fixed in the latest version of
tomcat9, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 919...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <a...@debian.org> (supplier of updated tomcat9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 18 Feb 2019 20:58:51 +0100
Source: tomcat9
Architecture: source
Version: 9.0.16-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
Changed-By: Markus Koschany <a...@debian.org>
Closes: 919638
Changes:
 tomcat9 (9.0.16-2) unstable; urgency=medium
 .
   * Team upload.
   * tomcat9.service: Permit read and write access to /var/lib/solr too.
     (Closes: #919638)
Checksums-Sha1:
 00f543b600ef70738c41ee3c9a6209b0a360fab8 2857 tomcat9_9.0.16-2.dsc
 138da212f48f45dd79432102ca7d20d5c31d0535 32500 tomcat9_9.0.16-2.debian.tar.xz
 ef0290f1dcaae48d319b768a50f7e3b4c26f7473 15446 tomcat9_9.0.16-2_amd64.buildinfo
Checksums-Sha256:
 fd267dafd35632700abef3c953cee1a6ef967e239b5c44ff6e0dd8d72d819498 2857 
tomcat9_9.0.16-2.dsc
 9f6a5ba816b7c36e1c32fe2e9e9a6fc996c68e50b906940b80d6df6820a75f88 32500 
tomcat9_9.0.16-2.debian.tar.xz
 2f6f87300b01c231a1c38699f32d74c73ad86bb2bd96f4f5b6692912299dac30 15446 
tomcat9_9.0.16-2_amd64.buildinfo
Files:
 649d597120da491790cf926a00045acc 2857 java optional tomcat9_9.0.16-2.dsc
 5780f6d0c27b4f1bd74f921e615f3c7f 32500 java optional 
tomcat9_9.0.16-2.debian.tar.xz
 c6ac45af0bc906b43d0f91a5ae429784 15446 java optional 
tomcat9_9.0.16-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAlxrJYtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkmRkQALOiIaye7rpZ45xZGuvkaHq5CEKv+KJ5sW5j
WFw3RZh3XfQUPCqxZ91ubERTzy5hOoq+JPKNiLVLBG0y3bWP5EEAuX65aQHmMK6d
nCTUguYJ1OCyYkdvsvHVb/NjW60g1V89xVWzAhYDe6g++cZnsTEJh3pr32efRHxr
DErtQaqY7/RCtyWaijneNA2xho+Ol9YY3D1Peq1T1MS3I43bMKn8aIllFSOU3MMn
lwEkd5Y8qZhzZI+C7al5NIsaKA3hB/dDQZfFtJdOEzOIWGqi7qYakIZ74FBYoyKf
iRKwNNM7k2gfQUHvcQ/6+8Obkf2W1tXKcjsF61loiM/zGd4ZcbgOREHTSp+b83oF
5vMGRxPGLcwS0EoGC7WJMnZvZEoW/DyUKJZNIGoPXUOlepGTomCdpctcW125NtbJ
6W6gdx32rz7gARP3hr5mfsGA2ng3x5qhch4iqDKcwe1ePQp0ZGvc//WSluyZeggE
e8dELp0Fr1SFwuFCNeKvmlL4FmB/+3vCjahp+efg21+ECh4RWoHRWITejImL+mA/
dZHn/rxfMgMAF8pAhf2T8Xi9dDeRvscfQKNB8GiiOy+KwO1xJBC3EMyalnGij+SS
ejiGqx3q1ILZ1YittKwW06HhQNQG6Il1Ea/05y8zCNbS/vj5RsBNRVt+Z1kOt/Q2
WmzRfaT6
=7Yvq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to