[Mailman-Users] Re: ht://Dig error
Richard Barrett
R.Barrett at ftel.co.uk
Thu Feb 27 17:57:32 CET 2003
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....
More information about the Mailman-Users
mailing list