[Mailman-Users] Mailman & htdig integration patch

Richard Barrett r.barrett at openinfo.co.uk
Sat Jul 19 08:10:52 CEST 2003


On Friday, July 18, 2003, at 05:00 PM, Rob Brandt wrote:

> I created a link from /apache/cgi-bin/htsearch to /opt/www/htdig/bin/  
> and now it
> works.  If this is not the right thing to do, let me know.
>
> Rob
>
>

As long as the MM config variable HTDIG_HTSEARCH_PATH points to  
htsearch, all is well.

The need for this and other configuration issues is fully explained in  
the INSTALL.htdig-mm file added to your MM build directory by patch  
#444884

>
> Quoting Rob Brandt <bronto at csd-bes.net>:
>
>> hmm, I have no file "/opt/www/htdig/bin/htsearch".  There's a bunch  
>> of other
>> stuff there, but not htsearch.
>>
>> I had already made the change in $prefix/Mailman/mm_cfg.py, but hadn't
>> verified
>> that this file existed.
>>
>> The log file says cause: htsearch
>>
>> Rob
>>
>>
>> Quoting Richard Barrett <r.barrett at openinfo.co.uk>:
>>
>>>
>>> On Friday, July 18, 2003, at 02:01 PM, Rob Brandt wrote:
>>>
>>>> OK, I have it mostly installed and working.  Sending a message to my
>>>> test list
>>>> creates the search form at the top of the archives.  I've run the  
>>>> cron
>>>> job
>>>> manually, and the db's have been created without error in
>>>> /opt/www/htdig/common.
>>>
>>> Have list specific db's also been created in:
>>>
>>>       $prefix/archives/private/<listname>/htdig.
>>>
>>>> But when I try to run a search, I get:
>>>>
>>>> htdig Archives Access Failure
>>>> search failed -12-
>>>>
>>>
>>> This error is because mmsearch is not getting back any output from  
>>> the
>>> STDOUT of an htsearch instance that is has run as a sub-process to
>>> search the list-specifc indexes.
>>>
>>> Have you checked MM's error log ($prefix/logs/error) for some
>>> indication of the problem?
>>>
>>> Are you certain that the MM config variable HTDIG_HTSEARCH_PATH has  
>>> the
>>> right value assigned to match your htdig installation? I think you  
>>> will
>>> find the default value in $prefix/Mailman/Defaults.py is
>>> '/usr/local/bin/htsearch' and you might want to re-assign that to
>>> '/opt/www/htdig/bin/htsearch' in $prefix/Mailman/mm_cfg.py if you  
>>> have
>>> installed htdig in /opt/www/htdig.
>>>
>>> Let us know how you get on.
>>>
>>>> If you want to make another attempt to access a list archive then go
>>>> via the
>>>> list users information page.
>>>>
>>>> If this problem persists then please e-mail the following  
>>>> information
>>>> to the
>>>> mailman at www.example.org:
>>>>
>>>>     http://www.example.org/pipermail/testlist/
>>>>     /mailman/mmsearch/testlist
>>>>
>>>> What now?
>>>>
>>>> Rob
>>>>
>>>>
>>>> Quoting Richard Barrett <r.barrett at openinfo.co.uk>:
>>>>
>>>>>
>>>>> On Thursday, July 17, 2003, at 03:12 PM, Rob Brandt wrote:
>>>>>
>>>>>> I am attempting to apply Richard Barrett's htdig integration  
>>>>>> patch to
>>>>>> my mailman
>>>>>> 2.1.2 installation and am running into difficulties.
>>>>>>
>>>>>> The patch pages say that I need to apply the "Archive indexer  
>>>>>> control
>>>>>> to improve
>>>>>> index" before applying the htdig patch, and the Archive patch  
>>>>>> says I
>>>>>> have to
>>>>>> apply  bug fix patch #728836 first. But I can't find any  
>>>>>> reference to
>>>>>> a #728836
>>>>>> anywhere in the tracking system, including patches, bugs or  
>>>>>> feature
>>>>>> requests.
>>>>>>
>>>>>
>>>>> Try looking here:
>>>>>
>>>>> http://sourceforge.net/tracker/
>>>>> index.php?func=detail&aid=728836&group_id=103&atid=100103
>>>>>
>>>>>> Has this been incorporated in 2.1.2?  I tried applying the Archive
>>>>>> indexer patch
>>>>>> directly, but it failed.
>>>>>>
>>>>>
>>>>> At times patches, including #728836, get included in the CVS in
>>>>> preparation for the next MM release (2.1.3 I guess) and are marked  
>>>>> as
>>>>> closed although they are still necessary for the current stable
>>>>> release
>>>>> (2.1.2 in the case of #728836). The patches are still on  
>>>>> sourceforge.
>>>>>
>>>>> The INSTALL.htdig-mm file in the #444884 patch contains the URLs of
>>>>> all
>>>>> the necessary precursor patches on soruceforge. You can also view  
>>>>> that
>>>>> file content here:
>>>>>
>>>>> http://www.openinfo.co.uk/mailman/patches/444884/install.html
>>>>>
>>>>>> Help?
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Rob
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------
>> Mailman-Users mailing list
>> Mailman-Users at python.org
>> http://mail.python.org/mailman/listinfo/mailman-users
>> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
>> Searchable Archives:  
>> http://www.mail-archive.com/mailman-users%40python.org/
>>
>> This message was sent to: bronto at csd-bes.net
>> Unsubscribe or change your options at
>> http://mail.python.org/mailman/options/mailman-users/bronto%40csd- 
>> bes.net
>>
>
>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives:  
> http://www.mail-archive.com/mailman-users%40python.org/
>
> This message was sent to: r.barrett at openinfo.co.uk
> Unsubscribe or change your options at
> http://mail.python.org/mailman/options/mailman-users/ 
> r.barrett%40openinfo.co.uk
>





More information about the Mailman-Users mailing list