Tags:
create new tag
view all tags

SID-02507: Errors on first time configure

Status: Answered Answered TWiki version: 6.1.0 Perl version: 5.36.1
Category: CategoryInstallation Server OS: Redhat Enterprise 8 Last update: 2 years ago

Hello, I am working on setting up a twiki on a remote server running Redhat Enterprise 8 and am getting an error on the last installation step when going to <host>/do/configure. I have seen some of the other posts about this error but do not understand the solutions offered. Unfortunately, I have never set up a web server or done anything like this before. The full error message is below, any advice would be greatly appreciated. Thank you in advance!

Failed to load the perl module CGI qw(:any). The module could not be found.

Please ensure that:

  1. CGI qw(:any) is installed,
  2. that the module is available on the @INC path,
  3. that the webserver user (apache) has permission to read the CGI qw(:any).pm file.
The detailed error seen was:

Can't locate HTML/Entities.pm in @INC (you may need to install the HTML::Entities module) (@INC contains: /var/www/twiki/lib . /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 /var/www/twiki/lib/CPAN/lib//arch /var/www/twiki/lib/CPAN/lib//5.26.3/x86_64-linux-thread-multi /var/www/twiki/lib/CPAN/lib//5.26.3 /var/www/twiki/lib/CPAN/lib/) at /var/www/twiki/lib/CGI.pm line 6.
BEGIN failed--compilation aborted at /var/www/twiki/lib/CGI.pm line 6.
Compilation failed in require at (eval 10) line 1.
BEGIN failed--compilation aborted at (eval 10) line 1.

-- Caitlin Barron - 2023-06-07

Discussion and Answer

It looks like you have the CGI module, but that it cannot load the HTML::Entities module. Install it using CPAN, see HowToInstallCpanModules.

-- Peter Thoeny - 2023-06-08

I saw that too but when I try to install it I get cpan[2]> install HTML::Entities HTML::Entities is up to date (3.81).

-- Caitlin Barron - 2023-06-08

I saw that too but when I try to install it I get cpan[2]> install HTML::Entities HTML::Entities is up to date (3.81).

-- Caitlin Barron - 2023-06-08

oops, did not mean to double post

-- Caitlin Barron - 2023-06-08

It depends where your cpan[2] installs modules. Make sure to to add this to @INC if missing. You can set the @localPerlLibPath in twiki/bin/LocalLib.cfg

-- Peter Thoeny - 2023-06-14

      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 Errors on first time configure
SupportCategory CategoryInstallation
TWiki version 6.1.0
Server OS Redhat Enterprise 8
Web server Apache 2.4.37
Perl version 5.36.1
Browser & version Chrome 113.0.5672.126
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2023-06-14 - 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.