Question
For unknown reasons, TWiki hangs when retreiving a few slect topics on my site. The two in question are TWikiFAQ and ChartPlugin. The progress bar slowly updates up to a point and then stops updating, but the operation never completes. I get no error messages in debug.txt or in the apache log files either.
For ChartPlugin, the new png files are created, but it appears that the packaging of the page to return to the browser is not happening. I'm not sure how the FAQ page works, so can't comment on whether it's at the packaging point, or whether there's something happening earlier on.
Any hints on where to look to put debug statements would be welcome.
testenv output
Test the environment for TWiki
Please read the TWikiInstallationNotes for more information on TWiki installation.
Environment variables:
COMSPEC C:\WINDOWS\system32\cmd.exe
DOCUMENT_ROOT c:/twiki
GATEWAY_INTERFACE CGI/1.1
HOME /twiki
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_CONNECTION keep-alive
HTTP_COOKIE JSESSIONID=CkTkyL69PymvMCcSfC5JGxD2DTdfFKr2xKlpwdHc3tzqJQqxvhjG!-516167975
HTTP_HOST pdnts
HTTP_KEEP_ALIVE 300
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1
LOGNAME system
PATH /c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/Program Files/Dell/OpenManage/oma/bin:/c/Program Files/Dell/OpenManage/LU/bin:/c/Program Files/Dell/OpenManage/oldiags/bin:/c/Program Files/Dell/OpenManage/Array Manager:/usr/bin:/usr/X11R6/bin
QUERY_STRING
RCSINIT -x,v/
REMOTE_ADDR 10.20.10.25
REMOTE_PORT 4148
REQUEST_METHOD GET
REQUEST_URI /bin/testenv
SCRIPT_FILENAME c:/twiki/bin/testenv
SCRIPT_NAME /bin/testenv
SERVER_ADDR 10.20.5.2
SERVER_ADMIN steve.anthony@jenzabar.net
SERVER_NAME pdnts.jenzabar.net
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
Apache/1.3.33 Server at pdnts.jenzabar.net Port 80
SERVER_SOFTWARE Apache/1.3.33 (Win32)
SYSTEMROOT C:\WINDOWS
TEMP /c/temp
TERM cygwin
TMP /c/temp
TZ EST5EDT
WINDIR C:\WINDOWS
CGI Setup:
Operating system: Windows (cygwin)
Perl version: 5.8.6-4 (Cygwin)
@INC library path: /twiki/lib
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8
.
Note: This is the Perl library path, used to load TWiki modules, third-party modules used by some plugins, and Perl built-in modules.
TWiki module in @INC path:
OK, TWiki.pm found (TWiki version: 02 Sep 2004 $Rev: 1742 $)
Required Perl modules:
CGI (3.05)
CGI::Carp (1.28)
File::Copy (2.08)
File::Spec (3.01)
FileHandle (2.01)
Digest::SHA1 (2.10)
MIME::Base64 (3.05)
Net::SMTP (2.29)
Optional Perl modules:
Algorithm::Diff (1.02)
MIME::Base64 (3.05)
POSIX (1.08)
Encode (2.08)
Error: 'Can't locate Unicode/MapUTF8.pm in @INC (@INC contains: /twiki/lib /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at (eval 35) line 2. BEGIN failed--compilation aborted at (eval 35) line 2. 'Note: Optional module 'Unicode::MapUTF8' not installed - check TWiki documentation to see if your configuration needs this module.
Digest::MD5 (2.33)
GD (2.19)
PATH_INFO:
Note: For a URL such as http://pdnts/bin/testenv/foo/bar, the correct PATH_INFO is /foo/bar, without any prefixed path components. Test this now - particularly if you are using mod_perl, Apache or IIS, or are using a web hosting provider. The page resulting from the test link should have a PATH_INFO of /foo/bar.
mod_perl: Not used for this script (mod_perl not loaded into Apache)
User: system
Note: Your CGI scripts are executing as this user.
Warning: Since your CGI script is not running as user nobody, you need to change the locks in the *,v RCS files of the TWiki distribution from nobody to system. Otherwise, changes to topics will not be logged by RCS.
Fix: If needed, relock all the rcs files to user system
Group(s): administrators administrators root
Test of TWiki.cfg Configuration:
c:\cygwin\bin\perl.exe (2060): *** unable to remap c:\cygwin\bin\cygfreetype-6.dll to same address as parent(0x1030000) != 0x10C0000 12 [main] perl 280 fork_parent: child 2060 died waiting for dll loading
$defaultUrlHost: http://pdnts
Note: This must match the protocol and host part (with optional port number) of the TWiki URL.
$scriptUrlPath: /bin
Note: This must match the 'cgi-bin' part of the URL used to access the TWiki cgi-bin directory.
$pubUrlPath: /pub
Note: This must be the URL of the public directory.This is not set correctly if the /pub/wikiHome.gif image below is broken:
$pubDir: /twiki/pub
Note: This is the public directory, as seen from the file system. It must correspond to $pubUrlPath.
$templateDir: /twiki/templates
Note: This is the TWiki template directory, as seen from the file system.
Warning: Security issue: This directory should not be writable by the system user.
$dataDir: /twiki/data
Note: This is the data directory where TWiki stores all topics.
$mailProgram: /usr/sbin/sendmail -t -oi -oeq
Note: This is not typically used on Windows - the Perl Net::SMTP module is used instead.
$rcsDir: c:/cygwin/bin
Note: This is the directory where RCS is located.
Environment
--
SteveAnthony - 11 Mar 2005
Answer
Did some investigation. Turns out rlog is hanging on the ,v file. As to why; it's most likely a permissions problem.
--
SteveAnthony - 14 Mar 2005
I took the topic and removed the %CHART{...} directive by hand (using VI); and with this, the topic displays fine. Going back and putting the %CHART{...} directive back in, and I'm back to it hanging on rlog.
What do the
ChartPlugin and
RCS have to do with each other?
--
SteveAnthony - 14 Mar 2005