Opened 19 years ago
Closed 19 years ago
#4368 closed defect (invalid)
SubversionException: ("Can't read file '/home/repos/db/revs/1': End of file found", 70014)
| Reported by: | anonymous | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.10.2 |
| Severity: | normal | Keywords: | needinfo |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
Traceback (most recent call last):
File "/usr/sfw/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/usr/sfw/lib/python2.3/site-packages/trac/web/main.py", line 238, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/sfw/lib/python2.3/site-packages/trac/versioncontrol/web_ui/browser.py", line 101, in process_request
node = get_existing_node(req, repos, path, rev_or_latest)
File "/usr/sfw/lib/python2.3/site-packages/trac/versioncontrol/web_ui/util.py", line 98, in get_existing_node
return repos.get_node(path, rev)
File "/usr/sfw/lib/python2.3/site-packages/trac/versioncontrol/cache.py", line 120, in get_node
return self.repos.get_node(path, rev)
File "/usr/sfw/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 356, in get_node
self.pool)
File "/usr/sfw/lib/python2.3/site-packages/trac/versioncontrol/svn_fs.py", line 533, in __init__
self.root = fs.revision_root(fs_ptr, rev, self.pool())
File "/usr/local/subversion/lib/svn-python/libsvn/fs.py", line 218, in svn_fs_revision_root
return apply(_fs.svn_fs_revision_root, args)
SubversionException: ("Can't read file '/home/repos/db/revs/1': End of file found", 70014)
Attachments (0)
Change History (5)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Thanks.
I tried following.
# chmod -R 0777 /home/repos # chown http:http /home/repos
However, the same error is displayed.
comment:3 by , 19 years ago
I assume that the repository works otherwise?
Try ls -l /home/repos/db/revs/1 to check the owner and that it's not truncated. Your chown line is missing -R.
comment:4 by , 19 years ago
| Description: | modified (diff) |
|---|---|
| Keywords: | needinfo added |
I'm not sure if it would break anything, but "/home/repos" is an unusual place to put your SVN repository. That would suggest that you have a user called "repos". If you do, it could write files like ".bash_history" or other user configuration files into the repository, which is probably not a good thing.
However, searching on Google yielded a few results for your error:
- http://www.svnforum.org/2017/viewtopic.php?p=6501&sid=4a2ecb6e644774c616acf831805695c9
- http://svn.haxx.se/users/archive-2005-07/0575.shtml
Check the suggestions in those to see if it helps. Since the causes of this problem seem to relate to either problems with the building of the SVN libraries, or a corruption in the repository you may want to ask on the Subversion users mailing list since they have more detailed knowledge of the internal workings of Subversion.
comment:5 by , 19 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Thanks.
The cause has been understood.
libaprutil-1.so.0 to which libaprutil-1.so.0 and httpd to which Subversion referred referred was different.
When the same library was referred, it operated without trouble.
Thank you for everybody.
The following articles served as a reference: http://linuxgazette.net/128/ramanathan.html



Make sure your server has read access to your repository.