SID-00377: Can't perform any search in the system
| Status: |
Answered |
TWiki version: |
4.3.1 |
Perl version: |
5.8.4 |
| Category: |
CategorySearch |
Server OS: |
Solaris 10 |
Last update: |
2 years ago |
when I tried t0 test the "web search" function on the top right. It didn't work. I have edited some of the topics which definitely include "cisco", when I put "cisco" in and do the search, it gave me the following error info:
Could not perform search. Error was:
/usr/sfw/bin/gegrep -F -i -l -H -- %TOKEN|U% %FILES|F% Grep for 'cisco' returned error
--
HuberyHe - 2009-06-18
Discussion and Answer
I have also checked the configure , there is no error there at the moment .
--
HuberyHe - 2009-06-18
I have fixed the problem.
This is also caused by misconfiguration of the {RCS}{FgrepCmd}, After first time configured the path on the configure path, if there is no error, you can't find it anymore. You have to go to the system and edit the config file LocalSite.cfg under twiki-root/lib.
The mistake I made is
TWiki::cfg{RCS}{FgrepCmd} = '/usr/sfw/bin/gegrep ....'
It should be
TWiki::cfg{RCS}{FgrepCmd} = '/usr/sfw/bin/gfgrep...'
--
HuberyHe - 2009-06-30
Happy twikiing on Solaris!
--
PeterThoeny - 2009-07-01
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.