Tags:
create new tag
view all tags

Question

When I try and modify an existing page I receive the following error message.
Topic save error 
During save of file Techinfo.MeridianInternalSystemInformation an error was found by the version control system. 
Please notify your TWiki administrator. 
/usr/bin/ci -q -l -m'none' -t-none -w'guest' /home/httpd/twiki/data/Techinfo/MeridianInternalSystemInformation.txt 2>&1
ci: /home/httpd/twiki/data/Techinfo/MeridianInternalSystemInformation.txt,v: Permission denied

Go back in your browser and save your changes locally. 

I notice that it has the user shown as w'guest' but I am logged into my server and my username is shown at the bottom of the page that I'm editing.

This problem started when I reinstalled my server. I was running Linux Red Hat 7.1 with a twiki version a few years old. I installed a fresh copy of RH 9 and a new copy of twiki then restored my twiki data from tape. I ran the latest testenv script (see attached) and solved a few configuration problems but I'm stuck now and I think something may be wrong with my user configuration. I don't have many users so if I need to delete them and start again that is ok. I'm just not sure on the best way to do this and don't want to do it if it isn’t going to help.

Thanks in advance David.

PS I filled in all the questions on the initial start new question page and they were blank when I got to the (edit) page.

Environment

TWiki version: TWiki version: 01 Feb 2003
TWiki plugins: I didn't add any
Server OS: Linux Red Hat 9.0
Web server: Apache 2.0.40 (Came with Red Hat 9)
Perl version: 5.8.0
Client OS: XP SP1
Web Browser: IE 6 SP1

-- DavidPollard - 24 Dec 2003

Answer

the user, under wich apache runs (guest in your case), has to have write permission in the data directory and pub directory. the following will set the owner and permission for data:

chown -R guest data

chmod -R 755 data

I hope it will help.

-- MarcelTrap - 24 Dec 2003

Actually, -w'guest' indicates the login user name, not the Apache user.

There seem to be two problems. The guest login user name indicates that the save script is not authenticated, so check your .htaccess file. The permission denied error indicates that the files are not writable by the Apache user apache (as shown by the testenv output)

Please report how you fixed this error and close the question.

Not sure why the form content did not show up in the topic, I just tried it out and it works.

-- PeterThoeny - 24 Dec 2003

Update

Thanks for the help guys. I have made progress but it is still not right. my .htaccess file was missing. I had forgotten to restore it. This may have been something to do with it being a hidden file.

I now receive the following as soon as I try and edit a page and I notice that I am never asked for my username and password.

Attached is the contents of my .htaccess file.

* htaccess: Contents of the .htaccess file

I have read back through the installation guide and I'm going round in circles. My file permissions all look ok. I created a new user and that seemd to work but that user can't edit either. (still didn't prompt for pw) Any other files you might want to look at?

===================================================================

Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.0.40 Server at linuxprod Port 80

===================================================================


"ErrorDocument 401" is on line 6 and 13 in your .htaccess, I would remove line 13 wink

--Main.MarcelTrap - 07 Jan 2004

Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtm TestTWikienvironment.htm r1 manage 12.1 K 2003-12-24 - 00:50 UnknownUser  
Unknown file formatext htaccess r1 manage 1.1 K 2003-12-29 - 03:52 UnknownUser Contents of the .htaccess file
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2004-04-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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.