Tags:
create new tag
view all tags

Question

I'm seeing the following error in my httpd error log:

[Wed Nov 02 14:36:32 2005] [error] [client 10.2.3.109] File does not exist: /usr /local/www/twiki/usr, referer: http://somehost.west.cmu.edu/twiki/bin/view/Internal/ TWikiAdminNextSteps

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, CommentPlugin, EditInTablePlugin, EditTablePlugin, HeadlinesPlugin, InterwikiPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin
Server OS: FreeBSD 5.4-RELEASE-p8
Web server: Apache/2.0.55 (FreeBSD) PHP/4.4.0 DAV/2 SVN/1.2.3 Server
Perl version: 5.8.7
Client OS: Windows XP/Mac OS X/FreeBSD
Web Browser: Firefox/IE
Categories: System logs

I did some "find -exec greps" for "File does not exist" and it does not seem to be coming from TWiki code. It could be Perl, Apache, or FreeBSD. Has anyone seen this before? I saw the note about .htaccess file (http://twiki.org/cgi-bin/view/Support/PathVarForTWikiRegistration). However I examined the .htaccess file and there does not seem to be a typo there. I'll attach that as well.

Help is appreciated and thanks in advance!

BTW I have changed the FQDN and server admin mail list in the attached testenv output. -- MarkYoshikawa - 04 Nov 2005

Answer

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.

If I am looking at this right, there are inconsistent file paths:

http://somehost.west.cmu.edu/twiki/bin/view/Internal/ TWikiAdminNextSteps?

and

/usr /local/www/twiki/usr

and from your testenv output

$dataDir: /usr/local/www/twiki/data

Note
This is the data directory where TWiki stores all topics.

You might start by looking here.

-- SteveRJones - 05 Nov 2005

Thanks Steve, but it seems with any page that I edit, this error occurs. I'm pretty sure I included $dataDir in the path where I did the find -exec. I tried to look for the string in the files in the whole distribution dir of "twiki/usr" and came up with nothing. I realize however that possibly the DOCUMENT_ROOT variable which is /usr/local/www/twiki might somehow have "/usr" appended to it. I did the same thing for that, find . -exec grep -H "usr" {} \; | less and then searched for DOCUMENT_ROOT. Maybe I'm not understanding how to look. Please let me know.

-- MarkYoshikawa - 12 Nov 2005

There seems to be an issue with DOCUMENT_ROOT and the TWiki path settings. If DOCUMENT_ROOT is set to /usr/local/www/twiki then REQUEST_URI would be /bin/testenv unless you specify individual directory settings in Apache's httpd.conf file.

If you set just the DOCUMENT_ROOT, all path settings need to be in relation to this, e.g. $scriptUrlPath = "/bin" and $pubUrlPath = "/pub".

-- PeterThoeny - 12 Nov 2005

Ok Peter Thanks! I'll check that out and will report what I find out.

-- MarkYoshikawa - 16 Nov 2005

Topic attachments
I Attachment History Action Size Date Who Comment
Texttxt .htaccess.txt r1 manage 3.2 K 2005-11-05 - 01:23 UnknownUser .htaccess file
HTMLhtm testenv.htm r1 manage 10.8 K 2005-11-04 - 23:45 UnknownUser testenv output page
GIFgif wikiHome.gif r1 manage 2.8 K 2005-11-04 - 23:46 UnknownUser The gif file displayed in the testenv page
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2006-01-02 - PeterThoeny
 
  • 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.