Tags:
create new tag
, view all tags

Question

I just moved a twiki installation to a new server and at the same upgrading to 4.04. All works fine except mailnotify. When running it from a commandline it generates an "Internal Server Error". But does send out the notifications!

The errorlog then shows: "malformed header from script. Bad header=Processing Abctest: /home/soundwit/public_html/cgi-bin/tbin/mailnotify". (Where abctest is a test wiki. Happens with any web) I set permissions of all files and folder ok, but it keeps giving same results...

Calling it from a crontab does nothing. Mailnotify sits in directory, not the "tools" sub dirt... I assume all permissions are ok. twiki dir = 777 datadir = 766 subdirs = 777 .changes & . mailnotify = 666

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: linux 2.6.9-22.EL
Web server: apache 1.2.36 (unix)
Perl version: 5.8.7
Client OS: Wxp pro
Web Browser: msie, mozilla
Categories: Mail

-- IstvanLeelossy - 08 Aug 2006

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.

More: Now crontab is working but i get: Can't locate TWiki/Contrib/Mailer.pm in @INC (@INC contains: /home/lib... Istvan

-- IstvanLeelossy - 09 Aug 2006

Make sure to run the script from the twiki/bin directory, or add a -I /apth/to/twiki/lib to the script. Read docs in MailerContrib.

-- PeterThoeny - 01 Oct 2006

 
Topic revision: r3 - 2006-10-01 - PeterThoeny
 
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.