SID-00623: Persistent path problems even with configure running ok
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
5.8.5 |
| Category: |
CategoryInstallation |
Server OS: |
RedHat Linux 2.6.16 |
Last update: |
16 years ago |
We installed TWiki 4.3.2 on our
RedHat web server (Apache root: /var/www/html/) under subfolder /var/www/html/wiki/.
Had to manually configure it in order to get it to run configure script properly.
Even with no errors reported by configure, still keep not displaying main page. Problems seem connected to either some path configuration
and something wrong in a file named Unicode.pm, which does not exist anywhere in TWiki subfolder.
Manually web-browsing to /bin/view gives the following error message rather than showing a server-built web page:
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Can't locate Unicodepath in
@INC
(
@INC
contains: path . path-linux-thread-multi ......
Could you please provide advice? Thanks!
--
WalterArrighetti - 2009-11-12
Discussion and Answer
Is there anything in the Apache error log?
--
SeanCMorgan - 2009-11-12
Known issue, see
SID-00291. Workaround fix posted by me on 2009-05-13.
--
PeterThoeny - 2009-11-12
No errors in Apache's logs. TWiki's internal log reports the following:
| 13 Nov 2009 - 12:12 | Can't locate Unicode/String.pm in
@INC
(
@INC
contains: /var/www/html/wiki/lib . /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /var/www/html/wiki/lib/CPAN/lib//arch /var/www/html/wiki/lib/CPAN/lib//5.8.5/i386-linux-thread-multi /var/www/html/wiki/lib/CPAN/lib//5.8.5 /var/www/html/wiki/lib/CPAN/lib/) at /var/www/html/wiki/lib/TWiki/Render.pm line 15.
at /var/www/html/wiki/lib/TWiki/Render.pm line 15
TWiki::Render::BEGIN() called at Unicode/String.pm line 15
eval {...} called at Unicode/String.pm line 15
require TWiki/Render.pm called at /var/www/html/wiki/lib/TWiki.pm line 1501
TWiki::renderer('TWiki=HASH(0x93873c4)') called at /var/www/html/wiki/lib/TWiki.pm line 2915
TWiki::handleCommonTags('TWiki=HASH(0x93873c4)', '\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x97150e8)') called at /var/www/html/wiki/lib/TWiki/UI/View.pm line 392
TWiki::UI::View::_prepare('\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...', 'TWiki=HASH(0x93873c4)', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x97150e8)', 0) called at /var/www/html/wiki/lib/TWiki/UI/View.pm line 353
TWiki::UI::View::view('TWiki=HASH(0x93873c4)') called at /var/www/html/wiki/lib/TWiki/UI.pm line 166
TWiki::UI::__ANON__() called at /var/www/html/wiki/lib/CPAN/lib//Error.pm line 379
eval {...} called at /var/www/html/wiki/lib/CPAN/lib//Error.pm line 371
Error::subs::try('CODE(0x9370de8)', 'HASH(0x9714eb4)') called at /var/www/html/wiki/lib/TWiki/UI.pm line 204
TWiki::UI::run('CODE(0x9702bf0)', 'view', 1) called at /var/www/html/wiki/bin/view line 32
BEGIN failed--compilation aborted at /var/www/html/wiki/lib/TWiki/Render.pm line 15.
at /var/www/html/wiki/lib/TWiki/Render.pm line 15
require TWiki/Render.pm called at /var/www/html/wiki/lib/TWiki.pm line 1501
TWiki::renderer('TWiki=HASH(0x93873c4)') called at /var/www/html/wiki/lib/TWiki.pm line 2915
TWiki::handleCommonTags('TWiki=HASH(0x93873c4)', '\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x97150e8)') called at /var/www/html/wiki/lib/TWiki/UI/View.pm line 392
TWiki::UI::View::_prepare('\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...', 'TWiki=HASH(0x93873c4)', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x97150e8)', 0) called at /var/www/html/wiki/lib/TWiki/UI/View.pm line 353
TWiki::UI::View::view('TWiki=HASH(0x93873c4)') called at /var/www/html/wiki/lib/TWiki/UI.pm line 166
TWiki::UI::__ANON__() called at /var/www/html/wiki/lib/CPAN/lib//Error.pm line 379
eval {...} called at /var/www/html/wiki/lib/CPAN/lib//Error.pm line 371
Error::subs::try('CODE(0x9370de8)', 'HASH(0x9714eb4)') called at /var/www/html/wiki/lib/TWiki/UI.pm line 204
TWiki::UI::run('CODE(0x9702bf0)', 'view', 1) called at /var/www/html/wiki/bin/view line 32
Compilation failed in require at /var/www/html/wiki/lib/TWiki.pm line 1501.
at /var/www/html/wiki/lib/TWiki.pm line 1501
TWiki::renderer('TWiki=HASH(0x93873c4)') called at /var/www/html/wiki/lib/TWiki.pm line 2915
TWiki::handleCommonTags('TWiki=HASH(0x93873c4)', '\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x97150e8)') called at /var/www/html/wiki/lib/TWiki/UI/View.pm line 392
TWiki::UI::View::_prepare('\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//...', 'TWiki=HASH(0x93873c4)', 'Main', 'WebHome', 'TWiki::Meta=HASH(0x97150e8)', 0) called at /var/www/html/wiki/lib/TWiki/UI/View.pm line 353
TWiki::UI::View::view('TWiki=HASH(0x93873c4)') called at /var/www/html/wiki/lib/TWiki/UI.pm line 166
TWiki::UI::__ANON__() called at /var/www/html/wiki/lib/CPAN/lib//Error.pm line 379
eval {...} called at /var/www/html/wiki/lib/CPAN/lib//Error.pm line 371
Error::subs::try('CODE(0x9370de8)', 'HASH(0x9714eb4)') called at /var/www/html/wiki/lib/TWiki/UI.pm line 204
TWiki::UI::run('CODE(0x9702bf0)', 'view', 1) called
--
WalterArrighetti - 2009-11-16
Either apply the hotfix described by me in
SID-00291 on 2009-05-13, or install the required CPAN libraries (See
HowToInstallCpanModules).
--
PeterThoeny - 2009-11-16
Ok, thanks for your help... I manually modified the Perl file (I cant update CPAN at the moment) and the wiki started successfully.
Now I've got another problem: all the wiki pages appear as being un-styled. I checked for the presence of correct and correctly-permissioned CSS files; they are also correctly references in the proper paths from the client-side HTTP pages, but it seems just like no style exists: all the text is unformatted (apart from some bold lines), default black-and-white serif text, etc.
Do you have any clues?
--
WalterArrighetti - 2009-11-17
This looks like a configure issue. Make sure
{PubUrlPath} and
{PubDir} point to the proper place. Right click on a broken image to verify.
It could be a permission/ownership issue on the
twiki/pub dir. Make sure it and everything below is owned by and is writable your webserver user.
--
PeterThoeny - 2009-11-17
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.