Tags:
create new tag
view all tags

SID-00858: mailnotify stopped working

Status: Answered Answered TWiki version: 4.3.2 Perl version: v5.8.8
Category: CategoryAccessControl Server OS: RHEL 5.5 Last update: 15 years ago

I had setup mailnotify, and it was working. Now however, I get the following error:

[root@twiki twiki]# perl -I bin tools/mailnotify Sandbox Processing Sandbox

AccessControlException: Access to CHANGE Sandbox for BaseUserMapping_666 is denied. access not allowed on topic

-- AaronScamehorn - 2010-06-04

Discussion and Answer

Further info:

Seems to be due to LatexModePlugin:

[root@twiki twiki]# perl -d -I bin tools/mailnotify Sandbox

Loading DB routines from perl5db.pl version 1.28
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(tools/mailnotify:33):    my $verbose = 1;
  DB<1> c
Processing Sandbox
   * jon.doe@nowhere.com: *
        Last notification was at 2010-06-01T21:39:13Z
        Change to JonDoeSandbox at 2010-06-03T01:59:48Z. New revision is 9
        Change to JonDoeSandbox at 2010-06-02T21:01:26Z. New revision is 8
 at /usr/lib/perl5/vendor_perl/5.8.8/Error.pm line 184
        Error::throw('TWiki::AccessControlException=HASH(0x1fffc490)') called at /usr/lib/perl5/vendor_perl/5.8.8/Error.pm line 436
        Error::subs::try('CODE(0x1fdd0f50)', 'HASH(0x1ffe9fe0)') called at /var/www/twiki/lib/TWiki/Func.pm line 1807
        TWiki::Func::saveAttachment('Sandbox', 'WebHome', 'latex0dca4b1606a01e77b979c34f53330d03.png', 'HASH(0x1fdd0d30)') called at /var/www/twiki/lib/TWiki/Plugins/LatexModePlugin/Render.pm line 1021
        TWiki::Plugins::LatexModePlugin::Render::makePNGs('HASH(0x1f522e50)', 'WebHome', 'Sandbox', '/tmp/LQdIlsVQzY/latexlogzpYNg3Oy', '/tmp/LQdIlsVQzY') called at /var/www/twiki/lib/TWiki/Plugins/LatexModePlugin/Render.pm line 790
        TWiki::Plugins::LatexModePlugin::Render::renderEquations('From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'WebHome', 'Sandbox', 'undef') called at /var/www/twiki/lib/TWiki/Plugins/LatexModePlugin.pm line 244
        TWiki::Plugins::LatexModePlugin::afterCommonTagsHandler('From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'WebHome', 'Sandbox', 'undef') called at /var/www/twiki/lib/TWiki/Plugin.pm line 266
        TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x1f458310)', 'afterCommonTagsHandler', 'From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'WebHome', 'Sandbox', 'undef') called at /var/www/twiki/lib/TWiki/Plugins.pm line 344
        TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x1ecd8750)', 'afterCommonTagsHandler', 'From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'WebHome', 'Sandbox', 'undef') called at /var/www/twiki/lib/TWiki/Plugins.pm line 494
        TWiki::Plugins::afterCommonTagsHandler('TWiki::Plugins=HASH(0x1ecd8750)', 'From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'WebHome', 'Sandbox', 'undef') called at /var/www/twiki/lib/TWiki.pm line 2959
        TWiki::handleCommonTags('TWiki=HASH(0x1ecb94e0)', 'From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'Sandbox', 'WebHome', 'undef') called at /var/www/twiki/lib/TWiki/Func.pm line 2054
        TWiki::Func::expandCommonVariables('From: TWiki Administrator <systems@nowhere.com>\x{a}To: jon.doe...', 'WebHome', 'Sandbox') called at /var/www/twiki/lib/TWiki/Contrib/MailerContrib.pm line 370
        TWiki::Contrib::MailerContrib::_sendChangesMails('TWiki=HASH(0x1ecb94e0)', 'Sandbox', 'HASH(0x1e5fc3d0)', '2010-06-01 - 21:39') called at /var/www/twiki/lib/TWiki/Contrib/MailerContrib.pm line 307
        TWiki::Contrib::MailerContrib::_processSubscriptions('TWiki=HASH(0x1ecb94e0)', 'Sandbox', 'TWiki::Contrib::MailerContrib::WebNotify=HASH(0x1fae9380)', 'TWiki::Contrib::MailerContrib::UpData=HASH(0x1fae9460)') called at /var/www/twiki/lib/TWiki/Contrib/MailerContrib.pm line 227
        TWiki::Contrib::MailerContrib::_processWeb('TWiki=HASH(0x1ecb94e0)', 'Sandbox') called at /var/www/twiki/lib/TWiki/Contrib/MailerContrib.pm line 109
        TWiki::Contrib::MailerContrib::mailNotify('ARRAY(0x1e0465c0)', 'undef', 1, 'ARRAY(0x1e1c8060)') called at tools/mailnotify line 52
Debugged program terminated.  Use q to quit or R to restart,
  use o inhibit_exit to avoid stopping after program termination,
  h q, h R or h o to get additional info.
  DB<1>
[root@twiki twiki]#

Why does mailnotify need to render the embedded latex in a Topic that has changed?

-- AaronScamehorn - 2010-06-04

I do not understand why this plugin needs to update content when mailnotify runs. In any case, probably a simple solution is to run mailnotify as the user Apache is running.

-- PeterThoeny - 2010-06-04

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-08-02

      Change status to:
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.
SupportForm
Status Answered
Title mailnotify stopped working
SupportCategory CategoryAccessControl
TWiki version 4.3.2
Server OS RHEL 5.5
Web server Apache/2.2.3
Perl version v5.8.8
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2010-08-02 - PeterThoeny
 
  • 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.