03-23-2012, 11:36 PM
(This post was last modified: 03-23-2012, 11:53 PM by jean-louis_crouzet.)
No the entire Lucene dir is in /var/www/letoDMS-3.3.2/data which gives /var/www/letoDMS-3.3.2/data/Lucene/Indexer.php instead !
Lucene.php is in /var/www/letoDMS-3.3.2/
I'll give a try now.
Extracted from conf/settings.xml:
<server rootDir="/var/www/letoDMS-3.3.2/" httpRoot="/letoDMS-3.3.2/" contentDir="/var/www/letoDMS-3.3.2/data/" stagingDir="/var/www/letoDMS-3.3.2/data/staging/" luceneDir="/var/www/letoDMS-3.3.2/" logFileEnable="true" logFileRotation="d" enableLargeFileUpload="true" partitionSize="2000000">
</server>
I just copied the entire Lucene dir to my /var/www/letoDMS-3.3.2/ and this time when confirming to create the index I've got this error !
Which is to me far complex ;-)
Recreating index
Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'fopen(/var/www/letoDMS-3.3.2//read.lock.file) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied' in /usr/share/php/Zend/Search/Lucene/Storage/File/Filesystem.php:67 Stack trace: #0 /usr/share/php/Zend/Search/Lucene/Storage/Directory/Filesystem.php(184): Zend_Search_Lucene_Storage_File_Filesystem->__construct('/var/www/letoDM...', 'w+b') #1 /usr/share/php/Zend/Search/Lucene/LockManager.php(134): Zend_Search_Lucene_Storage_Directory_Filesystem->createFile('read.lock.file') #2 /usr/share/php/Zend/Search/Lucene.php(527): Zend_Search_Lucene_LockManager::obtainReadLock(Object(Zend_Search_Lucene_Storage_Directory_Filesystem)) #3 /usr/share/php/Zend/Search/Lucene.php(211): Zend_Search_Lucene->__construct('/var/www/letoDM...', true) #4 /var/www/letoDMS-3.3.2/out/out.Indexer.php(79): Zend_Search_Lucene::create('/var/www/letoDM...') #5 {main} thrown in /usr/share/php/Zend/Search/Lucene/Storage/File/Filesystem.php on line 67
Got it to work by changing my Directory for full text index: setting accordingly!
Thanks very much.
Have a nice weekend,
JL
Lucene.php is in /var/www/letoDMS-3.3.2/
I'll give a try now.
Extracted from conf/settings.xml:
<server rootDir="/var/www/letoDMS-3.3.2/" httpRoot="/letoDMS-3.3.2/" contentDir="/var/www/letoDMS-3.3.2/data/" stagingDir="/var/www/letoDMS-3.3.2/data/staging/" luceneDir="/var/www/letoDMS-3.3.2/" logFileEnable="true" logFileRotation="d" enableLargeFileUpload="true" partitionSize="2000000">
</server>
I just copied the entire Lucene dir to my /var/www/letoDMS-3.3.2/ and this time when confirming to create the index I've got this error !
Which is to me far complex ;-)
Recreating index
Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'fopen(/var/www/letoDMS-3.3.2//read.lock.file) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied' in /usr/share/php/Zend/Search/Lucene/Storage/File/Filesystem.php:67 Stack trace: #0 /usr/share/php/Zend/Search/Lucene/Storage/Directory/Filesystem.php(184): Zend_Search_Lucene_Storage_File_Filesystem->__construct('/var/www/letoDM...', 'w+b') #1 /usr/share/php/Zend/Search/Lucene/LockManager.php(134): Zend_Search_Lucene_Storage_Directory_Filesystem->createFile('read.lock.file') #2 /usr/share/php/Zend/Search/Lucene.php(527): Zend_Search_Lucene_LockManager::obtainReadLock(Object(Zend_Search_Lucene_Storage_Directory_Filesystem)) #3 /usr/share/php/Zend/Search/Lucene.php(211): Zend_Search_Lucene->__construct('/var/www/letoDM...', true) #4 /var/www/letoDMS-3.3.2/out/out.Indexer.php(79): Zend_Search_Lucene::create('/var/www/letoDM...') #5 {main} thrown in /usr/share/php/Zend/Search/Lucene/Storage/File/Filesystem.php on line 67
Got it to work by changing my Directory for full text index: setting accordingly!
Thanks very much.
Have a nice weekend,
JL