Tags:
create new tag
view all tags

Question

I have installed MailerContrib. The problem is that everytime I run the mailnotifier command, it send mails about all the topics changed previously, even if the topics are not changed again. Looks like the script remove_obsolete_locks does not remove the locks.

The command does not do anything, as given below:

C:\Twiki\bin>c:\cygwin\bin\perl -wT remove_obsolete_locks

C:\Twiki\bin>

What could be the problem / solution ? Thanks

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2000
Web server: Apache
Perl version:  
Client OS:  
Web Browser: IE
Categories: Plugins

-- ChengappaCB - 26 Oct 2005

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

The MailerContrib records the time of it's last run in a file in the data directory. If that file can't be written (e.g. because of permissions) then you would get the effect you describe.

-- CrawfordCurrie - 01 Nov 2005

Thanks for the help CrawfordCurrie. I have changed the permissions of all files and folders under Twiki/data to rwxrwxrwx. But the problem is still not solved. Anything else that may be wrong ? Which is the file which gets written ?

Also, if I use the mailnotify, which is the default notifier, this problem does not arise. Hence I tend to think that it is not a problem with permissions...

-- ChengappaCB - 09 Nov 2005

Sorry for all the trouble. I was running mailnotifier with the 'T' switch like

c:\cygwin\bin\perl -wT mailnotifier -m. Once I removed the 'T', everything is solved.

-- ChengappaCB - 10 Nov 2005

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2005-11-30 - CrawfordCurrie
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.