Tags:
create new tag
view all tags

SID-00404: apache2 doesn't start up any more - Can't locate TWiki/UI.pm

Status: Answered Answered TWiki version: 4.3.0 Perl version: 5.8.8
Category: CategoryInstallation Server OS: SUSE 10.2 Last update: 16 years ago

I do an installation of the latest TWiki version on a standard SuSE 10.2 server. - I followed the TWiki installation guide (http://twiki.org/cgi-bin/view/TWiki04x03/TWikiInstallationGuidehttp://twiki.org/cgi-bin/view/TWiki04x03/TWikiInstallationGuidehttp://twiki.org/cgi-bin/view/TWiki04x03/TWikiInstallationGuide)

- I ran TWiki:TWiki.ApacheConfigGenerator

Finally, I wanted to resart my apache2 server, which fails with th efollowing meassage in /var/log/error_log :

[Wed Jul 08 15:51:53 2009] [error] Can't locate TWiki/UI.pm in @INC (@INC contains: /data1/appl/twiki/bin . /srv/www/perl-lib /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /srv/www) at /data1/appl/twiki/bin/attach line 30.\nBEGIN failed--compilation aborted at /data1/appl/twiki/bin/attach line 30.\nCompilation failed in require at (eval 5) line 1.\n [Wed Jul 08 15:51:53 2009] [error] Can't load Perl file: /data1/appl/twiki/tools/mod_perl_startup.pl for server destgd0d01302:0, exiting...


So, the file UI.pm is located in /data1/appl/twiki/lib/TWiki, but apache does not find it. ==>>>> somewhere the INC path has to be updated

QUESTION: How can I add this path (/data1/appl/twiki/lib/TWiki) to the standard @INC path?

-- MartinKather - 2009-07-08

Discussion and Answer

/data1/appl/twiki/lib needs to be in your @INC path. Do that in twiki/bin/LocalLib.cfg.

Also, disable the mod_perl startup in your Apache twiki config file. You only need mod_perl in a high traffic site.

-- PeterThoeny - 2009-07-08

      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 apache2 doesn't start up any more - Can't locate TWiki/UI.pm
SupportCategory CategoryInstallation
TWiki version 4.3.0
Server OS SUSE 10.2
Web server 2.2.3
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-07-08 - 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.