powered by Jive Software

File Not Found error with monitoring plugin and Win 2008 x64

Hi,

I’ve just migrated Openfire to a new server and took the opportunity to install a fresh 3.7.0 build.

Server: Win 2008 x64, 2GB RAM

Database, Separate Win2008R2 SQL 2008R2

AD integrated pulling users and groups

SSO all configured an working

Spark 2.6 b2 clients

130 accounts, 7 groups all shared rosters and about 30 active users.

Everything is working well except one error in the log file that appears every 15 minutes:

2011.03.09 08:52:43 D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

java.io.FileNotFoundException: D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.(Unknown Source)

at org.apache.lucene.store.FSIndexInput$Descriptor.(FSDirectory.java:430)

at org.apache.lucene.store.FSIndexInput.(FSDirectory.java:439)

at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:329)

at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:45)

at org.apache.lucene.index.IndexWriter$1.doBody(IndexWriter.java:264)

at org.apache.lucene.store.Lock$With.run(Lock.java:99)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:259)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:244)

at org.apache.lucene.index.IndexModifier.init(IndexModifier.java:148)

at org.apache.lucene.index.IndexModifier.(IndexModifier.java:111)

at org.jivesoftware.openfire.archive.ArchiveIndexer.updateIndex(ArchiveIndexer.jav a:253)

at org.jivesoftware.openfire.archive.ArchiveIndexer$2.run(ArchiveIndexer.java:178)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2011.03.09 09:07:43 D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

java.io.FileNotFoundException: D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.(Unknown Source)

at org.apache.lucene.store.FSIndexInput$Descriptor.(FSDirectory.java:430)

at org.apache.lucene.store.FSIndexInput.(FSDirectory.java:439)

at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:329)

at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:45)

at org.apache.lucene.index.IndexWriter$1.doBody(IndexWriter.java:264)

at org.apache.lucene.store.Lock$With.run(Lock.java:99)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:259)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:244)

at org.apache.lucene.index.IndexModifier.init(IndexModifier.java:148)

at org.apache.lucene.index.IndexModifier.(IndexModifier.java:111)

at org.jivesoftware.openfire.archive.ArchiveIndexer.updateIndex(ArchiveIndexer.jav a:253)

at org.jivesoftware.openfire.archive.ArchiveIndexer$2.run(ArchiveIndexer.java:178)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2011.03.09 09:22:43 D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

java.io.FileNotFoundException: D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.(Unknown Source)

at org.apache.lucene.store.FSIndexInput$Descriptor.(FSDirectory.java:430)

at org.apache.lucene.store.FSIndexInput.(FSDirectory.java:439)

at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:329)

at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:45)

at org.apache.lucene.index.IndexWriter$1.doBody(IndexWriter.java:264)

at org.apache.lucene.store.Lock$With.run(Lock.java:99)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:259)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:244)

at org.apache.lucene.index.IndexModifier.init(IndexModifier.java:148)

at org.apache.lucene.index.IndexModifier.(IndexModifier.java:111)

at org.jivesoftware.openfire.archive.ArchiveIndexer.updateIndex(ArchiveIndexer.jav a:253)

at org.jivesoftware.openfire.archive.ArchiveIndexer$2.run(ArchiveIndexer.java:178)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

2011.03.09 09:37:43 D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

java.io.FileNotFoundException: D:\Program Files (x86)\Openfire\monitoring\search\segments (The system cannot find the file specified)

at java.io.RandomAccessFile.open(Native Method)

at java.io.RandomAccessFile.(Unknown Source)

at org.apache.lucene.store.FSIndexInput$Descriptor.(FSDirectory.java:430)

at org.apache.lucene.store.FSIndexInput.(FSDirectory.java:439)

at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:329)

at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:45)

at org.apache.lucene.index.IndexWriter$1.doBody(IndexWriter.java:264)

at org.apache.lucene.store.Lock$With.run(Lock.java:99)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:259)

at org.apache.lucene.index.IndexWriter.(IndexWriter.java:244)

at org.apache.lucene.index.IndexModifier.init(IndexModifier.java:148)

at org.apache.lucene.index.IndexModifier.(IndexModifier.java:111)

at org.jivesoftware.openfire.archive.ArchiveIndexer.updateIndex(ArchiveIndexer.jav a:253)

at org.jivesoftware.openfire.archive.ArchiveIndexer$2.run(ArchiveIndexer.java:178)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

The segments folder is indeed missing despite me following a few other threads on here regarding completely removing the plugin and re-installing.

I was wondering could this be something to do with the program files folder having a space in in? (Program Files (x86)? No other plugins are reporting any errors and to be honest, despite this error the monitoring plugin does seem to be functioning.

Any ideas how to fix this?

Thanks

Steve

I thought I would update that this issue fixed itself as soon as users started sending messages (no traffic when I logged the initial report).

I then re-created the index and the missing file was created and the error went away.

Steve