Re: [Lxr-general] Problem installing: "The directory / does not exist"
Brought to you by:
ajlittoz
From: Dr R. <drr...@gm...> - 2009-11-04 09:36:46
|
Hi, Every problem we experienced were caused because lack of access rights. Last problem was caused because search (general search) was unable to open index files from /home/admin/swish-e. Index files can be accessed from folder under root (e.g. /some_folder). Thank you for your help and quick replies Malcolm. -Heikki On Wed, Nov 4, 2009 at 9:32 AM, Dr Roessi <drr...@gm...> wrote: > Hi, > > At the moment this root is just fine place to keep our sources, so > I'll leave that fighting with Apache later. > > - Did genxref generate swish-e index files in $swishdir? > > Yes. Folder /home/admin/swish-e contains following files: > -rw-r--r-- 1 root root 0 Nov 3 12:54 testFolder.filenames > -rw-r--r-- 1 root root 4 Nov 3 12:54 testFolder.index.prop.temp > -rw-r--r-- 1 root root 802160 Nov 3 12:54 testFolder.index.temp > > I just created new index from new folder and I got only > myFileName.filenames file. Point is that indexing seems to do > something, and I get at least .filenames file. > > - Using swish-e from the command line, can you search using the indexes created? > > Looks like command line search is trying to use wrong index file, > because I get error: > "err: Index file error: Could not open the index file 'index.swish-e': > No such file or directory" > I can not find any parameters that could be used to search using my > own testFolder.* -indexes. I have set variable: > swishdir=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/admin/bin:/home/admin/swish-e, > like described in installation instructions. > > - Can the user that apache is running as access those indexes? > > I don't have answer for this yet. Might be the problem as well, and I > am investigating this. > > -Heikki > > On Tue, Nov 3, 2009 at 3:43 PM, Malcolm Box <mal...@gm...> wrote: >> >> On Tue, Nov 3, 2009 at 11:35 AM, Dr Roessi <drr...@gm...> wrote: >> > By moving sources from "/home/admin/indexed-src/SW_200936/" to >> > "/testFolder/SW_200936/" solved most of the problems. >> >> That would suggest that /home/admin/indexed-src was not readable by >> the user that apache is running as. >> >> A simple test of this is to configure /home/admin/indexed-src as a >> normal Apache document directory and see if it can be read. >> >> > Currently sources can >> > be browsed via web interface and identifier search works ok. >> >> Good! >> >> > Remaining problem is general search. Even if I search text that is included in indexed >> > files for sure, I get reply "0 files found." and error "Version 'SW_200936' >> > has not been indexed and is unavailable for searching." >> >> Possibly the same problem? >> Things to check: >> >> - Did genxref generate swish-e index files in $swishdir? >> - Using swish-e from the command line, can you search using the indexes created? >> - Can the user that apache is running as access those indexes? >> >> Malcolm >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Lxr-general mailing list >> Lxr...@li... >> https://lists.sourceforge.net/lists/listinfo/lxr-general > |