big problem OSError

Steve Giraud <[email protected]> Fri, 20 Oct 2006 14:54:37 +0200
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
Hi all,
I use DirectoryStorage on a big production site.
When I try to access to a folder I have th efollowing error :
	
Site Error

An error was encountered while publishing this resource.

exceptions.OSError
Sorry, a site error occurred.

Traceback (innermost last):

     * Module ZPublisher.Publish, line 188, in publish_module_standard
     * Module Products.PlacelessTranslationService.PatchStringIO,  
line 34, in new_publish
     * Module ZPublisher.Publish, line 145, in publish
     * Module Zope2.App.startup, line 194, in zpublisher_exception_hook
     * Module Products.BTreeFolder2.BTreeFolder2, line 494, in  
__getattr__
     * Module ZODB.Connection, line 704, in setstate
     * Module ZODB.Connection, line 742, in _setstate
     * Module DirectoryStorage.BaseDirectoryStorage, line 137, in load
     * Module DirectoryStorage.Full, line 24, in _load_object_file
     * Module DirectoryStorage.Full, line 39, in _get_current_serial
     * Module DirectoryStorage.LocalFilesystem, line 185, in  
read_database_file
     * Module DirectoryStorage.LocalFilesystem, line 205, in  
_do_read_database_file
     * Module DirectoryStorage.PosixFilesystem, line 108, in read_file

OSError: [Errno 13] Permission denied: '/data/reposit/entdatabase/A/ 
o0/00/00/00/00/00/26/E03/c'

On the filsystem I can't access anymore to /data/reposit/entdatabase/ 
A/o0/00/00/00/00/00/26/E03
I've got a OSError: [Errno 13] Permission denied

When I try a  python /usr/local/lib/python2.3/site-packages/ 
DirectoryStorage/checkds.py --storage /data/reposit/entdatabase
I have the following output :
Entered snapshot using http://ent.lyon.iufm.fr/DSToolkit
Locked snapshot mode
Basic sanity-checking of the directory structure...
Determine how we check the storage, then do it...
checking root files...
unmarking...
Unlocked snapshot mode
Left snapshot mode
Traceback (most recent call last):
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 436, in ?
     main()
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 41, in main
     checkds(s.path,verbose)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 54, in checkds
     c.check()
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 73, in check
     self.storage()
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 92, in storage
     FullChecker(self.directory,self.verbose).check(config)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 104, in check
     self.traverse_all()
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
checkds.py", line 136, in traverse_all
     self.mc = self.filesystem.mark_context('A/')
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 200, in mark_context
     mc.unmark_all(base)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 365, in unmark_all
     self.unmark_all(path)
   File "/usr/local/lib/python2.3/site-packages/DirectoryStorage/ 
PosixFilesystem.py", line 363, in unmark_all
     stats = os.stat(os.path.join(self.fs.dirname,path))
OSError: [Errno 13] Permission denied: '/data/reposit/entdatabase/A/ 
o0/00/00/00/00/00/04/6E6/0368ADADC74226EE'


what sould I do ?
I need help


Steve Giraud
Directeur Technique
http://www.pentila.com
[email protected]




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642