This problem is discussed to some extent in the INSTALL.htdig-mm under the heading "htdig Permissions Considerations".

The problem is that the rundig process ends up trying to generate some shareable (across the entire intallation) db files in htdig's COMMON_DIR. If rundig is first run by the root user then the files are created OK. But running as mailman the shared file generation fails because of access permissions and is redone (and fails again) each time rundig is run on behalf of a list by nightly_htdig.

I solved the problem by making /var/www/htdig/common owned by root:mailman and giving the group write privileges over the directory. If you are concerned about the security of this then I think you could revert the privileges over that directory after the db file in common have been created. Personally, I do not bother.

At 16:35 27/02/2003, C. Posey wrote:
Actually I may have spoken too soon...

I am able to actually perform searches off the TOC now, but I am still getting this error generated from the cronjob...

DB2 problem...: /var/www/htdig/db/word2root.db: Permission denied
DB2 problem...: /var/www/htdig/db/root2word.db: Permission denied
/var/www/htdig/bin/rundig: line 68: 30671 Segmentation fault
$BINDIR/htfuzzy $opts endings
DB2 problem...: /var/www/htdig/common/synonyms.db: Permission denied

---

On Thursday, February 27, 2003, at 11:33 AM, C. Posey wrote:

Thx for all your help Richard!

The recompile of htdig did the trick....


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to