Tags:
create new tag
, view all tags

Question

I'm installling TWiki on a box at work. I admit that this is a kind of odd TWiki, as it was "packagized" here... we have a company software packaging system...

After installation I couldn't start Apache. I was getting CGI.pm conflicts with mod_perl, of the form

Can't call method "register_cleanup" on an undefined value 

I Googled the error; it's pretty common. I even managed to follow the suggestions for a fix, and that got Apache running.

But then I got stuck at the next, similar error. I wasn't interested in re-writing CGI.pm. Eventually, I just turned off mod_perl. SO the problems are gone but I don't understand them. I've never hit this with any of the straight-up, vanilla, "outside" TWiki installations I've done.

I am assuming this is all caused by a mismatch between one or more of TWiki, Apache, mod_perl, perl, and CGI.pm. And, I hate to admit it, but thanks to our company packkaging system, I'm not in a position to pull any of those straight of the Net. :-(

Is anyone familiar with this problem? I'd feel better if someone ellse had seen it.

Environment

TWiki version: 4.x $Date: 2008/01/01 23:28:25 $ $Rev: 10807 $
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: BSD
Web server: Apache 1.3.34
Perl version: 5.8.5
mod_perl version: 1.29
CGI.pm version: 3.29
Client OS:  
Web Browser:  
Categories:  

-- VickiBrown - 21 Nov 2007

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.

You could try SpeedyCGI, FastCGI (see TWikiStandAlone) or similar perhaps. Maybe posting a question over on ModPerl or asking on TWikiIRC would help as well, as this is quite specialised.

-- RichardDonkin - 22 Nov 2007

I'm afraid asking in a ModPerl forum wouldn't be helpful. The mod_perl folks have documented the problem as well as a solution (unfortunately, not a working solution). And I don't really care if this TWiki is run under mod_perl or FastCGI or plain old CGI.

What I care about is finding someone else who has seen this problem specifically with TWiki. It's a fairly common problem, per se. I can't believe it's not been seen before in a TWiki 4 installation.

One of our inside folks suggests I revert to Perl 6.6... that doesn't seem right. There have to be people using mod_perl with TWiki 4 and Perl 5,.8.5.

-- VickiBrown - 27 Nov 2007

Closing this support question after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Jan 2008

 
Change status to:
Topic revision: r4 - 2008-01-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.