Edgewall Software
Modify

Ticket #4368 (closed defect: invalid)

Opened 5 years ago

Last modified 5 years ago

SubversionException: ("Can't read file '/home/repos/db/revs/1': End of file found", 70014)

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.2
Severity: normal Keywords: needinfo
Cc:
Release Notes:
API Changes:

Description (last modified by mgood) (diff)

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

Change History

comment:1 Changed 5 years ago by Noah Kantrowitz <coderanger@…>

Make sure your server has read access to your repository.

comment:2 Changed 5 years ago by anonymous

Thanks.

I tried following.

# chmod -R 0777 /home/repos
# chown http:http /home/repos

However, the same error is displayed.

comment:3 Changed 5 years ago by Tim Hatch <trac@…>

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 Changed 5 years ago by mgood

  • 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:

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 Changed 5 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to 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

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.