[Mailman-Users] Mailman/htdig problem

Timothy Arnold timothy.arnold at becta.org.uk
Wed Apr 30 17:14:32 CEST 2003


Hi Richard,

I have found the source of the problem. Htsearch!

It worked for me because I had set my environmental variables for
LD_LIBRARY_PATH to the correct location but when I tried it as nobody,
surprise surprise it didn't work. I have altered the system environmental
variables and all is working.

I am very sorry for wasting your time.

Regards,
Timothy.

-----Original Message-----
From: Richard Barrett [mailto:R.Barrett at ftel.co.uk] 
Sent: 30 April 2003 15:48
To: Timothy Arnold
Cc: mailman-users at python.org
Subject: RE: [Mailman-Users] Mailman/htdig problem


At 14:06 30/04/2003, Timothy Arnold wrote:
>Hi Richard,
>
>Thanks for this. I followed the instructions detailed in Operational 
>Information in the install notes and it now had created the indicies. 
>However, mmsearch still fails when I try to conduct a search.
>
>Mmsearch reports:
>
>Htdgi Archives Access Failure
>
>Search failed -12-
>
>The messages that I reported last time are still being reported in the 
>syslog. Any ideas what -12- means?

Further to my earlier suggestions, you can try running htsearch from the 
command line and seeing how it responds. Try the following command:

<path-to-htsearch> -c $prefix/archives/htdig/<listname>.conf

answer the prompt for words with some words to seach for

answer the format as short

What happens? If all is well you should get back a HTTP response 
Content-type header of text/html, followed by a bunch of HTML, this being 
the search results.

In total, if my earlier suggestion of the test script returns the correct 
results, and running htsearch from the command line returns the correct 
results, then you should not have a problem. Let us hope we do not end up 
with that contradiction to deal with.

>Thanks,
>Tim.
>
>-----Original Message-----
>From: Richard Barrett [mailto:R.Barrett at ftel.co.uk]
>Sent: 30 April 2003 13:51
>To: Timothy Arnold; mailman-users at python.org
>Subject: Re: [Mailman-Users] Mailman/htdig problem
>
>
>At 11:18 30/04/2003, Timothy Arnold wrote:
> >Hiya,
> >
> >I have recently installed mailman 2.1.2 with the relevent htdig 
> >patches and I still cannot get it to work.
> >
> >For a given list, the search box is displayed and the configuration 
> >file for the list is generated but the search funtionality doesn't 
> >work
> >- I look in the error log and I find
> >
> >Apr 30 10:56:39 2003 (12488) htsearch for list: test5, existatus: 1 
> >Apr 30 10:56:39 2003 (12488) htsearch for list: test5, cause: 
> >htsearch,
> >detail: -12-
> >
> >On the archive page, it reports that the search index has yet to be 
> >built - do I need to run nightly_htdig for each list when it is 
> >created?
>
>Until nightly_htdig is first run there will be no per-list htdig search 
>indexes for htsearch to use. It is usually a good idea to send an 
>initial message to a list which is being archived, which will cause 
>htdig to be setup for the list (per-list htdig.conf created and search 
>form added to the list's TOC page), and then run nightly_htdig from the 
>command line (as the mailman uid) to generate an initial set of htdig 
>indexes for the list.
>
>Just copy the command for running nightly_htdig in the modified mailman 
>crontab generated by the htdig integration patch
>
>Bear in mind that, in common with most search engines, htdig does not 
>search the web pages when a user submits a search query; rather some 
>part of the search engine's suite of programs (rundig in the case of 
>htdig) builds search indexes for the material and it is from these 
>indexes that a user's search query is satisfied. That is also why the 
>search form has the date/time indexing was last run for the list 
>embedded in it with the caution that more recent archive material will 
>not be found.
>
>btw: this issue is covered in the third paragraph under the heading 
>"Operational Information" in INSTALL.htdig-mm.
>
> >Thanks,
> >Tim.
> >
> >--
> >Timothy Arnold, Server & Network Infrastructure Support Officer, 
> >Internet Services,
> >Becta, Coventry, CV4 7JJ, UK                      Voice: +44 24 7684 7169
> >email: timothy.arnold at becta.org.uk                Fax:   +44 24 7641 1418
> >
> >
> >*********************************************************************
> >*
> >This email and any files transmitted with it are confidential and
> >intended solely for the use of the individual or entity to whom they
> >are addressed. If you have received this email in error please notify
> >the system manager. This footnote also confirms that this email message
> >has been swept by MIMEsweeper for the presence of computer viruses.
> >www.mimesweeper.com
> >**********************************************************************
>
>
>**********************************************************************
>This email and any files transmitted with it are confidential and 
>intended solely for the use of the individual or entity to whom they 
>are addressed. If you have received this email in error please notify 
>the system manager. This footnote also confirms that this email message 
>has been swept by MIMEsweeper for the presence of computer viruses.
>www.mimesweeper.com
>**********************************************************************


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************





More information about the Mailman-Users mailing list