04-23-2012 10:00 AM
03:00:02,166 ERROR [quartz.core.JobRunShell] Job DEFAULT.indexBackupJobDetail threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 03230036 Failed to copy Lucene index root:
Index root: /opt/alfresco/indices/lucene-indexes
Target: /opt/alfresco/indices/backup-lucene-indexes
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:1244)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$CoreReadOnlyWork$1.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2029)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$CoreReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2023)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.doReadOnly(AbstractLuceneIndexerAndSearcherFactory.java:1963)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.backupImpl(AbstractLuceneIndexerAndSearcherFactory.java:1209)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.access$000(AbstractLuceneIndexerAndSearcherFactory.java:1049)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$1.execute(AbstractLuceneIndexerAndSearcherFactory.java:1165)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.backup(AbstractLuceneIndexerAndSearcherFactory.java:1169)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupJob.execute(AbstractLuceneIndexerAndSearcherFactory.java:1578)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: java.io.IOException: Destination '/opt/alfresco/indices/.indexbackup_temp' directory cannot be created
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.copyDirectory(AbstractLuceneIndexerAndSearcherFactory.java:1308)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.backupDirectory(AbstractLuceneIndexerAndSearcherFactory.java:1269)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:1239)
… 46 more
03:00:02,170 ERROR [quartz.core.ErrorLogger] Job (DEFAULT.indexBackupJobDetail threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.error.AlfrescoRuntimeException: 03230036 Failed to copy Lucene index root:
Index root: /opt/alfresco/indices/lucene-indexes
Target: /opt/alfresco/indices/backup-lucene-indexes]
at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 03230036 Failed to copy Lucene index root:
Index root: /opt/alfresco/indices/lucene-indexes
Target: /opt/alfresco/indices/backup-lucene-indexes
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:1244)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$CoreReadOnlyWork$1.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2029)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$CoreReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2023)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2600)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doWithFileLock(IndexInfo.java:2520)
at org.alfresco.repo.search.impl.lucene.index.IndexInfo.doReadOnly(IndexInfo.java:2501)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneBase.doReadOnly(AbstractLuceneBase.java:338)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$NestingReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:2000)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory.doReadOnly(AbstractLuceneIndexerAndSearcherFactory.java:1963)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.backupImpl(AbstractLuceneIndexerAndSearcherFactory.java:1209)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.access$000(AbstractLuceneIndexerAndSearcherFactory.java:1049)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$1.execute(AbstractLuceneIndexerAndSearcherFactory.java:1165)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:253)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent.backup(AbstractLuceneIndexerAndSearcherFactory.java:1169)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupJob.execute(AbstractLuceneIndexerAndSearcherFactory.java:1578)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
… 1 more
Caused by: java.io.IOException: Destination '/opt/alfresco/indices/.indexbackup_temp' directory cannot be created
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.copyDirectory(AbstractLuceneIndexerAndSearcherFactory.java:1308)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.backupDirectory(AbstractLuceneIndexerAndSearcherFactory.java:1269)
at org.alfresco.repo.search.impl.lucene.AbstractLuceneIndexerAndSearcherFactory$LuceneIndexBackupComponent$BackUpReadOnlyWork.doWork(AbstractLuceneIndexerAndSearcherFactory.java:1239)
… 46 more
)
04-23-2012 10:14 AM
04-23-2012 11:59 AM
Caused by: java.io.IOException: Destination '/opt/alfresco/indices/.indexbackup_temp' directory cannot be createdThanks for getting back so fast!
Its an OS permissions issue.
04-24-2012 04:48 AM
04-24-2012 05:34 AM
Have you got two repos running, trying to back up at the same time?Apparently that is the case, thanks, just now we arrived at that conclusion. We are talking to our support about it.
Have you changed anything on the Java security manager?The directory didn't exist, today we got a different one, it doesn't exist now either, apparently one of the processes locks the directory, the other complains and then the first one finishes the job.
Disable the OS super security stuff (for a bit) - any warnings from this in the sys log?
Does the directory exist - is it failing to delete if from the last back up?
10-09-2013 05:50 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.