Question
When i perform a search on "all public webs", i get the following error:
Could not perform search. Error was: /usr/local/bin/egrep -i -l -H -- %TOKEN|U% %FILES|F% Grep for '\btest\b' returned error
it's the same error regardless of using /bin/grep or the newer version of grep i installed (as above) while trying to fix this. this only began after we upgraded recently from 4.0.0. It doesn't matter what the search string is. i do not get this error when searching without selecting 'all public webs'.
there are no errors in twiki's logs or system (apache) logs.
Environment
--
PaulTheodoropoulos - 23 Sep 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
--
LorettaFarrell - 21 Oct 2008
I am having the exact same error with TWiki4x02 under HP-UX 11..I'm think it's related to data migration from our old Bejing version into twiki4. My live site ( migrated data) has the issue where as my default test site ( no data migrated) does not have this issue. Can anyone shed any light on this, I have about 100 engineers not happy right now. Even a tidbit on how to track this down..what files may be causing this or any response at all from support would be much appreciated
--
LorettaFarrell - 21 Oct 2008
Try to set the expert option {RCS}{SearchAlgorithm} from Forking to PurePerl, just to see, if the grep tool itself has a problem. Next thing, I would check are the file permissions and ownerships.
Just for comparison: these are my egrep and fgrep settings:
{RCS}{EgrepCmd} /bin/grep -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%
{RCS}{FgrepCmd} /bin/grep -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%
--
OliverKrueger - 22 Oct 2008
Yes turning off forking has fixed the issue on my live site. Funny it works on my test site though same path etc..In any case I'll leave it off.:) Thanks very much for your support effort on this issue Oliver!