Tags:
create new tag
view all tags

SID-01279: TWiki Configure not working from browser - Error 500

Status: Answered Answered TWiki version: 4.2.4 Perl version: 5.12.4
Category: Server OS: RedHat Linux Last update: 13 years ago

Linux platform Perl 5.12.x - user installation in user dir (not as root) Twiki 4.2.4 - directly installed in user home directory. did not create it under twiki folder.

After all installation, when I point my browser to http://xyz/bin/configure or http://xyz/bin/view it gives error 500.

However when I run these through command line it works (perl bin/configure and perl bin/view). But it is needed by browser When I see Apache srvr error logs,

[Sun Sep 25 00:42:58 2011] [error] [client myip] Can't locate strict.pm in @INC (@INC contains: /tmp/perl---------------------------------------------please-run-the-install-script---------------------------------------------/site/lib /tmp/perl---------------------------------------------please-run-the-install-script---------------------------------------------/lib .) at myhomedir/bin/configure line 71. [Sun Sep 25 00:42:58 2011] [error] [client myip] BEGIN failed--compilation aborted at myhomedir/bin/configure line 72. [Sun Sep 25 00:42:58 2011] [error] [client myip] Premature end of script headers: configure [Sun Sep 25 00:47:14 2011] [error] [client myip] Can't locate vars.pm in @INC (@INC contains: . /tmp/perl---------------------------------------------please-run-the-install-script---------------------------------------------/site/lib /tmp/perl---------------------------------------------please-run-the-install-script---------------------------------------------/lib .) at setlib.cfg line 27. [Sun Sep 25 00:47:14 2011] [error] [client myip] BEGIN failed--compilation aborted at setlib.cfg line 27. [Sun Sep 25 00:47:14 2011] [error] [client myip] Compilation failed in require at myhomedir/bin/view line 27. [Sun Sep 25 00:47:14 2011] [error] [client myip] BEGIN failed--compilation aborted at myhomedir/bin/view line 28. [Sun Sep 25 00:47:14 2011] [error] [client myip] Premature end of script headers: view

However when I point my browser to http://<myip>:<port it gives my Twiki index page with proper 6 links. All others like installation guide, release notes, etc excpt Twiki configure works. Please help

Thanks Sunil

-- SunilAddagadde - 2011-09-25

Discussion and Answer

Check the file ownership and permission of strict.pm. On my CentOS it is at /usr/lib/perl5/5.8.8/strict.pm. It looks like your webserver user cannot read that file. Check also if SELinux plays a role, disable to test.

-- PeterThoeny - 2011-09-25

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 - 2012-01-23

      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 TWiki Configure not working from browser - Error 500
SupportCategory

TWiki version 4.2.4
Server OS RedHat Linux
Web server Apache 2.2.21
Perl version 5.12.4
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-01-23 - 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.