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 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.

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

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006-10-01 - 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.