[Mailman-Users] Re: ht://Dig error

Richard Barrett r.barrett at openinfo.demon.co.uk
Thu Feb 27 09:00:47 CET 2003


At 21:31 26/02/2003, C. Posey wrote:
>Thanks for your reply:
>
>What you described is exactly what I have...
>
>[/var/www/htdig/conf] root# ls -la
>total 24
>drwxr-xr-x    2 root     root         4096 Feb 25 23:49 .
>drwxr-xr-x    6 root     root         4096 May 19  2002 ..
>lrwxrwxrwx    1 root     root           33 Feb 25 23:49 htdig-mailman -> 
>/usr/local/mailman/archives/htdig
>-rw-r--r--    1 root     root         8411 Feb  6 02:36 htdig.conf
>-rw-r--r--    1 root     root         3102 Feb 25 23:48 mailman.conf.tgz
>
>and in the dir pointed to by the symlink...
>
>[/usr/local/mailman/archives/htdig/] root# ls -la
>total 8
>drwxrwsr-x    2 mailman  mailman      4096 Feb 26 01:52 .
>drwxrwsr-x    5 mailman  mailman      4096 Feb  6 01:47 ..
>lrwxrwxrwx    1 root     mailman        74 Feb  6 07:33 macvoodoolist.conf 
>-> /usr/local/mailman/archives/private/macvoodoolist/htdig/macvoodoolist.conf
>lrwxrwxrwx    1 root     mailman        62 Feb  6 02:24 mailman.conf -> 
>/usr/local/mailman/archives/private/mailman/htdig/mailman.conf

On the face of it this looks OK. What I am puzzled by is that the symlinks 
are owned root:mailman. I would have expected them to be owned by 
mailman:mailman. Ths links are normally automatically created as mail 
posted to the list is being dealt with by Mailman and I would expect the 
process concerned to be running under the mailman uid.

What version of MM are you running? If MM 2.0.x is the qrunner cron job 
running under the mailman user? If MM 2.1 or 2.1.1 how are you starting 
mailmanctl?

How did you install htdig and can you confirm that the installation's 
default CONFIG_DIR is /var/www/htdig/conf?

I'm assuming that either your /usr/local/mailman/Mailman/Defaults.py or 
mm_cfg.py contains the following line:

HTDIG_MAILMAN_LINK = htdig-mailman

>Any other ideas??

Your previous post indicated that nightly_htdig was running OK. I take it 
that the /usr/local/mailman/archives/private/<listname>/htdig/ directories 
contain the <listname>.conf files that are the subject of the symlinks. 
Also that, following nightly_htdig they contain files like this:

mailman at mailman2:/mailman/run/archives/private/rbtest/htdig> ls -l
total 20
-rw-rw-r--    1 mailman  mailman      2048 Feb 25 17:45 db.docdb
-rw-rw-r--    1 mailman  mailman      2048 Feb 25 17:45 db.docs.index
-rw-rw-r--    1 mailman  mailman       128 Feb 25 17:45 db.wordlist
-rw-rw-r--    1 mailman  mailman      2048 Feb 25 17:45 db.words.db
-rw-rw-rw-    1 mailman  mailman      3879 Feb 25 17:38 rbtest.conf
-rw-rw-r--    1 mailman  mailman         0 Feb 25 17:45 rundig_last_run


You could try the following and see if it has any beneficial effects:

1. Select one of your lists and run /usr/local/mailman/bin/blowaway_htdig 
for that list

2. The search form should now be gone from the list's TOC page

3, Send a message to the list

4. The search form should now be back on the list's TOC page. The 
/usr/local/mailman/archives/private/<listname>/htdig/<listname>.conf file 
should be back and alone in the dirctory. Also the symlink in 
/usr/local/mailman/archives/htdig/ should be back.

5. Run nightly_htdig -v <listname> to rebuild the list's search indexes and 
confirm the script says it is doing so. This should add the extra files to 
/usr/local/mailman/archives/private/<listname>/htdig/ and update the list's 
TOC page.

6. Searching should now work.

If it doesn't then let me know.


>---
>
>On Wednesday, February 26, 2003, at 04:00 PM, Richard Barrett wrote:
>
>>I'll guess from what you've said that there is a directory called 
>>/var/www/htdig/conf which contains a file called htdig.conf as part of 
>>your htdig installation. This is the dault directory where htdig expect 
>>to find config files and the default htdig.conf file.
>>
>>If that is so, then you need to create the symlink called htdig-mailman 
>>in the /var/www/htdig/conf, pointing at /usr/local/mailman/archives/htdig.
>>
>
></blockquote></x-html>




More information about the Mailman-Users mailing list