SID-00262: Internal Server Error - Insecure dependency in chdir
| Status: |
Unanswered |
TWiki version: |
4.2.4 |
Perl version: |
v5.8.5 |
| Category: |
CategoryRendering |
Server OS: |
RHEL4.7 |
Last update: |
16 years ago |
Hello - I have an intermittent problem where I can repeatedly attempt to display a page and most of the time it will display fine but occasionally, I get the following error in my browser:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, tsounix@hostnamePLEASENOSPAM.edu and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
There is a corresponding error in ssl_error.log:
ssl_error_log:[Fri Apr 10 13:03:10 2009] [error] Insecure dependency in chdir while running setgid at /var/www/twiki/bin/view line 24.\nBEGIN failed--compilation aborted at /var/www/twiki/bin/view line 29.\n
Not really sure where to go with this as most of the time the page displays fine. This does not appear to be page related as I can get the same error by repeatedly viewing other pages as well.
Any ideas?
Thanks
--
DavidBrezynski - 2009-04-10
Discussion and Answer
Not sure, but check the
{SafeEnvPath} configure setting. Also make sure you have a valid
twiki/bin/LocalLib.cfg pointing to your
twiki/lib directory.
--
PeterThoeny - 2009-04-10
My
SafeEnvPath in
LocalSite.cfg is:
$TWiki::cfg{SafeEnvPath} = '/bin:/usr/bin';
and twikiLibPath looks good too:
$twikiLibPath = "/var/www/twiki/lib";
(which is correct)
I've been away for a week and though the twiki is used continuously I don't see any errors in a week. I'll monitor the situation over the next few days and close the call if the errors don't reappear.
Thanks for your help
David
--
DavidBrezynski - 2009-04-20
The error hasn't happened again in almost 2 weeks so closing the thread.
--
DavidBrezynski - 2009-04-23
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.