R: [ZIZope] Problema all'avvio di Zope [Urgente][RISOLTO!]

"Giorgianni Claudio" <[email protected]>
Newsgroups gmane.comp.web.zope.italian
Message-ID <[email protected]>
Grazie ragazzi per il supporto!
Il problema era in effetti relativo al file Data.fs.lock che probabilmente allo scorso riavvio (6 mesi fa!!!) era stato in qualche modo rovinato o rimasto lockato...

Cancellando il suddetto file, Zope è stato di nuovo felice di vivere... :-)

Grazie di nuovo a tutti!

Ciao
Claudio


> -----Messaggio originale-----
> Da: [email protected] 
> [mailto:[email protected]] Per conto di Claudio Battaglino
> Inviato: giovedì 6 dicembre 2007 15.26
> A: Gli utilizzatori italiani di Zope
> Oggetto: Re: [ZIZope] Problema all'avvio di Zope [Urgente]
> 
> 
> Giorgianni Claudio ha scritto:
> > Buongiorno a tutti,
> >
> > Mi e' successo un problema inaspettato nel momento in cui 
> ho riavviato 
> > Zope dopo non aver fatto alcun cambiamento rilevante al mio 
> sistema e 
> > al mio portale Plone. La situazione e' critica perche' in 
> pratica sto 
> > fermando le attivit  della intranet della mia azienda...
> >
> > Systema Operativo: Linux RedHat 7.3
> > Zope: Zope-2.8.6-0
> > Plone: 2.1.3
> >
> >
> > L'errore che Zope mi da quando provo ad avviarlo e' il seguente:
> >
> > =======================================================
> > /home/zope/Plone2.1.3/Products/Archetypes/__init__.py:12: 
> DeprecationWarning: The module, 
> 'Products.CMFCore.CMFCorePermissions' is a deprecated 
> compatiblity alias for 'Products.CMFCore.permissions';  
> please use the new module instead.
> >   from Products.CMFCore import CMFCorePermissions
> > /home/zope/Plone2.1.3/Products/Poi/__init__.py:54: 
> DeprecationWarning: PloneUtilities is deprecated, please 
> import from Products.CMFPlone.utils instead.
> >   from Products.CMFPlone.PloneUtilities import ToolInit
> > /home/zope/Plone2.1.3/Products/kupu/__init__.py:23: 
> DeprecationWarning: The Zope package has been renamed to 
> Zope2. Import of a package named 'Zope' is deprecated and 
> will be disabled starting in Zope 2.11.
> >   import Zope
> > Traceback (most recent call last):
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/Startup/r
> un.py", line 56, in ?
> >     run()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/Startup/r
> un.py", line 21, in run
> >     starter.prepare()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/Startup/_
> _init__.py", line 98, in prepare
> >     self.startZope()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/Startup/_
> _init__.py", line 257, in startZope
> >     Zope2.startup()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/__init__.
> py", line 47, in startup
> >     _startup()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/App/start
> up.py", line 57, in startup
> >     DB = configuration.dbtab.getDatabase('/', is_root=1)
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/DBTab/DBTab.py"
> , line 96, in getDatabase
> >     db = self._createDatabase(name, is_root)
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/DBTab/DBTab.py"
> , line 113, in _createDatabase
> >     db = factory.open()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/Startup/d
> atatypes.py", line 163, in open
> >     DB = self.createDB()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/Zope2/Startup/d
> atatypes.py", line 160, in createDB
> >     return ZODBDatabase.open(self)
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/ZODB/config.py"
> , line 97, in open
> >     storage = section.storage.open()
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/ZODB/config.py"
> , line 133, in open
> >     quota=self.config.quota)
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/ZODB/FileStorag
> e/FileStorage.py", line 112, in __init__
> >     self._lock_file = LockFile(file_name + '.lock')
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/ZODB/lock_file.
> py", line 63, in __init__
> >     lock_file(self._fp)
> >   File 
> "/home/zope/local/stow/Zope-2.8.6-0/lib/python/ZODB/lock_file.
> py", line 42, in lock_file
> >     fcntl.flock(file.fileno(), _flags)
> > IOError: [Errno 11] Resource temporarily unavailable 
> > =========================================
> >
> > Qualcuno sa dirmi quale potrebbe essere il problema?
> > Non ho fatto nessun cambiamento ne sul filesystem, ne su Plone... 
> > Quindi il riavvio di Zope doveva essere una pura formalita' ed 
> > invece...
> >
> > HELP! E' urgente!
> >
> > Grazie!
> > Claudio Giorgianni
> >
> >
> >   
> 
> A proposito... sei sicuro che non ci sia un processo Zope in 
> esecuzione 
> che blocca il file di lock?
> 
> ps auxf|grep python
> 
> 
> cld
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.