Tags:
create new tag
view all tags

Question

Hi,

I installed the latest TWiki version 4.2.0. I have enabled mod_perl in my server. However the Search functionality is not working. I have installed GnuWin32 GREP. Are there any other dependencies or modules that I need to install?

This is my SERVER_SOFTWARE: Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/4.3.11 mod_auth_sspi/1.0.4 mod_perl/2.0.1 Perl/v5.8.7

The StoreImpl is RcsLite. The {RCS}{dirPermission} is 0755. The {RCS}{filePermission} is 0644. The {RCS}{SearchAlgorithm} is TWiki::Store::SearchAlgorithms::Forking. My {RCS}{EgrepCmd} is E:\applications\GnuWin32\bin\grep.exe -E %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%

This is the error I get: "Could not perform search. Error was: Can't steal STDERR: Bad file descriptor at..."

Thanks.

Regards, Guruprasad

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: CommentPlugin, EditTablePlugin, EmptyPlugin, InterwikiPlugin, PreferencesPlugin, RenderListPlugin, SlildeShowPlugin, SmiliesPlugin, SpreadsheetPlugin, TablePlugin, TinyMCEPlugin, TwistyPlugin, WysiwygPlugin
Server OS: Windows 2003 (Server Edition)
Web server: Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g PHP/4.3.11 mod_auth_sspi/1.0.4 mod_perl/2.0.1 Perl/v5.8.7
Perl version: Perl/v5.8.7
Client OS: MS Windows XP
Web Browser: MS IE/Firefox
Categories: Installation, Search

-- GuruprasadIyer - 30 Jan 2008

Answer

ALERT! 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.

Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 02 Mar 2008

I had also the problem search did not work on a windows installation for the 2nd time now.

4.2.0rc2: I managed to patch Forking.pm and Sandbox.pm to make this work for TWiki2Go on my PC

4.2.0: installed with TWikiInstaller on Vista. The patches on its own do not work on this (any more?).

I switched from {RCS}{SearchAlgorithm} = Forking -> PurePerl in configure to made it work.

I am not sure if grep installed fine on Vista (there was an error).

Is there anybody else with search problems on Windows (Vista)?

-- MatthiasThullner - 05 Sep 2008

see also SearchProblem

-- MatthiasThullner - 05 Sep 2008

Fortunately I've been able to avoid Vista so far

> I am not sure if grep installed fine on Vista (there was an error).

That would seem to be the place to start checking. Does it work from the command line? E.g., in its /bin/ directory, grep --v

If not, try right-click on grep.exe, and select properties. You may unlock it or otherwise adjust its security properties.

-- SeanCMorgan - 07 Sep 2008

I did install grep manually from .\TWiki\Installs\grep-2.5.1-2-bin.exe and it seems to work from command line:

C:\Program Files\GnuWin32\bin>grep --v
grep (GNU grep) 2.5.1

Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
Dies ist freie Software; in den Quellen befinden sich die Lizenzbedingungen.
Es gibt KEINERLEI Garantie; nicht einmal f³r die TAUGLICHKEIT oder
VERWENDBARKEIT F▄R EINEN BESTIMMTEN ZWECK.
-- MatthiasThullner - 08 Sep 2008

As mentioned before I had problems with Forking.pm and Sandbox.pm. Is this familiar to anybody?

-- MatthiasThullner - 08 Sep 2008

Sorry, closing after more than 30 days. Please reopen with more details if needed...

-- PeterThoeny - 06 Nov 2008

Change status to:
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2008-11-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.