Question
I have two servers running Debian 3.1 - one without virtual hosts (server A), the other one with (server B, configured through ISPConfig).
There was no problem installing TWiki on server A; but with server B and TWiki is something wrong.
Although I get no error from the configure script, I can't use
RcsWrap (
RcsLite works). Calling the history of a page leads to the following error:
Content-type: text/plain
TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.
Can't kill STDERR: 'Permission denied'
Datails from the error log:
Can't kill STDERR: 'Permission denied' at /var/www/web2/web/twiki/lib/TWiki/Sandbox.pm line 358.
CGI::Carp::realdie('Can\'t kill STDERR: \'Permission denied\' at /var/www/web2/we...') called at /usr/local/share/perl/5.8.4/CGI/Carp.pm line 396
CGI::Carp::die('Can\'t kill STDERR: \'Permission denied\'') called at /var/www/web2/web/twiki/lib/TWiki/Sandbox.pm line 358
TWiki::Sandbox::sysCommand('TWiki::Sandbox=HASH(0x832d580)', '/usr/bin/rlog -r%REVISION|N% %FILENAME|F%', 'REVISION', 1.1, 'FILENAME', '/var/www/web2/web/twiki/data/Main/WebHome.txt,v') called at /var/www/web2/web/twiki/lib/TWiki/Store/RcsWrap.pm line 300
TWiki::Store::RcsWrap::getRevisionInfo('TWiki::Store::RcsWrap=HASH(0x8b31be8)', 1) called at /var/www/web2/web/twiki/lib/TWiki/Store.pm line 708
TWiki::Store::getRevisionInfo('TWiki::Store=HASH(0x88c40f4)', 'Main', 'WebHome', 1) called at /var/www/web2/web/twiki/lib/TWiki/Meta.pm line 407
TWiki::Meta::getRevisionInfo('TWiki::Meta=HASH(0x8bb2cdc)', 1) called at /var/www/web2/web/twiki/lib/TWiki/Render.pm line 1554
TWiki::Render::renderRevisionInfo('TWiki::Render=HASH(0x8ae06ec)', 'Main', 'WebHome', 'undef', 1) called at /var/www/web2/web/twiki/lib/TWiki/UI/RDiff.pm line 542
TWiki::UI::RDiff::diff('TWiki=HASH(0x814cd28)') called at /var/www/web2/web/twiki/lib/TWiki/UI.pm line 109
TWiki::UI::__ANON__() called at /var/www/web2/web/twiki/lib/CPAN/lib///Error.pm line 379
eval {...} called at /var/www/web2/web/twiki/lib/CPAN/lib///Error.pm line 371
Error::subs::try('CODE(0x8aa977c)', 'HASH(0x8b237e8)') called at /var/www/web2/web/twiki/lib/TWiki/UI.pm line 158
TWiki::UI::run('CODE(0x88bd6c0)') called
Since days I can't solve this problem. I compared the configuration of both servers again and again. The only difference I found is that server B uses virtual hosts. Can this lead into these troubles?
Unfortunately I don't understand the error message from the log; so I don't have any idea how to start. Any suggestions what I need to check?
If helpfull I can send the output from the configure script via email.
Environment
--
ChristianFelber - 27 Oct 2006
Answer
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.
In the meantime I've setup some virtual hosts on server A and TWiki is still working fine; so this is obviously not the problem. Maybe it's ISPConfig which doesn't like TWiki - I don't know.
Is there anybody who can explain me the error message above. I've no idea what it means? What is TWiki complaining about?
--
ChristianFelber - 31 Oct 2006
Solution: Permission of dev/null should be crw-rw-rw, but where crw-r--r--. That was the problem with server B.
--
ChristianFelber - 01 Nov 2006