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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r6 - 2005-11-30 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.