Tags:
create new tag
view all tags

SID-00262: Internal Server Error - Insecure dependency in chdir

Status: Unanswered 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

      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 Unanswered
Title Internal Server Error - Insecure dependency in chdir
SupportCategory CategoryRendering
TWiki version 4.2.4
Server OS RHEL4.7
Web server Apache/2.0.52
Perl version v5.8.5
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2009-04-23 - DavidBrezynski
 
  • 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.