Ho uno strano errore in buildout..
.. strano perché questa stessa configurazione mi funziona in un altra
identica installazione di Plone.

Ho attivato due profili per il buildout, uno per lo sviluppo e uno per la
produttività (si dice così?).
Quello in fase di sviluppo non mi dà alcun problema, mentre l'altro mi dà un
errore di permessi (che incollo sotto).

Come effective-user sia dell'istanza che di zeoserver ho messo il mio
normale utente linux.
Nell'altra installazione non dava errore, perché ora non va più bene?

In allegato i due file coinvolti (production.cfg estende base.cfg).
Questo è l'errore quando lancio il server:

$ bin/zeoserver start
. Traceback (most recent call last):
  File "bin/zeoserver", line 29, in <module>
    + sys.argv[1:])
  File
"/home/efilan/public_html/git/eggs/plone.recipe.zeoserver-1.1.1-py2.6.egg/plone/recipe/zeoserver/ctl.py",
line 35, in main
    zeoctl.main(args)
  File
"/home/efilan/public_html/git/eggs/ZODB3-3.9.5-py2.6-linux-i686.egg/ZEO/zeoctl.py",
line 28, in main
    zdaemon.zdctl.main(args, options)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdctl.py",
line 650, in main
    return zdaemon.zdrun.main(args)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdrun.py",
line 742, in main
    d.main(args)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdrun.py",
line 239, in main
    self.options.realize(args)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdrun.py",
line 107, in realize
    RunnerOptions.realize(self, *args, **kwds)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py",
line 404, in realize
    ZDOptions.realize(self, *args, **kwds)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py",
line 320, in realize
    self.load_logconf(self.logsectionname)
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdrun.py",
line 126, in load_logconf
    RunnerOptions.load_logconf(self, "eventlog")
  File
"/home/efilan/public_html/git/eggs/zdaemon-2.0.4-py2.6.egg/zdaemon/zdoptions.py",
line 354, in load_logconf
    obj.startup()
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/logger.py",
line 51, in startup
    self()
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/factory.py",
line 32, in __call__
    self.instance = self.create()
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/logger.py",
line 42, in create
    handler = handler_factory()
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/factory.py",
line 32, in __call__
    self.instance = self.create()
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/handlers.py",
line 82, in create
    logger = self.create_loghandler()
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/handlers.py",
line 128, in create_loghandler
    handler = loghandler.FileHandler(path)
  File
"/home/efilan/public_html/git/eggs/ZConfig-2.7.1-py2.6.egg/ZConfig/components/logger/loghandler.py",
line 68, in __init__
    StreamHandler.__init__(self, open(filename, mode))
IOError: [Errno 13] Permission denied:
'/home/efilan/public_html/git/var/log/zeoserver.log'
. . . . . . . . . .
daemon manager not running


Grazie, saluti
Federico

Attachment: base.cfg
Description: Binary data

Attachment: production.cfg
Description: Binary data

2010-09-22T12:53:15 daemonizing the process
2010-09-22T12:53:15 set current directory: '/home/efilan/public_html/git/parts/zeoserver'
2010-09-22T12:53:15 daemon manager started
2010-09-22T12:53:15 spawned process pid=5456
2010-09-22T12:53:15 (5456) created PID file '/home/efilan/public_html/git/var/zeoserver.pid'
2010-09-22T12:53:15 (5456) opening storage '1' using FileStorage
2010-09-22T12:53:15 (5456) Blob dir /home/efilan/public_html/git/var/blobstorage/ has insecure mode setting
2010-09-22T12:53:15 (5456) StorageServer created RW with storages: 1:RW:/home/efilan/public_html/git/var/filestorage/Data.fs
2010-09-22T12:53:15 (5456) listening on ('', 8200)
2010-09-22T13:08:18 (5456) new connection ('127.0.0.1', 48001): <ManagedServerConnection ('127.0.0.1', 48001)>
2010-09-22T13:14:43 (5456) disconnected
2010-09-22T13:14:43 (5456) new connection ('127.0.0.1', 38945): <ManagedServerConnection ('127.0.0.1', 38945)>
2010-09-22T13:14:56 (5456) terminated by SIGTERM
2010-09-22T13:14:56 (5456) closing storage '1'
2010-09-22T13:14:56 (5456) removed PID file '/home/efilan/public_html/git/var/zeoserver.pid'
2010-09-22T13:14:56 pid 5456: exit status 0
2010-09-22T13:14:56 Exiting
2010-09-22T13:18:24 daemonizing the process
2010-09-22T13:18:24 set current directory: '/home/efilan/public_html/git/parts/zeoserver'
2010-09-22T13:18:24 daemon manager started
2010-09-22T13:18:24 spawned process pid=5785
2010-09-22T13:18:24 (5785) created PID file '/home/efilan/public_html/git/var/zeoserver.pid'
2010-09-22T13:18:24 (5785) opening storage '1' using FileStorage
2010-09-22T13:18:24 (5785) Blob dir /home/efilan/public_html/git/var/blobstorage/ has insecure mode setting
2010-09-22T13:18:24 (5785) StorageServer created RW with storages: 1:RW:/home/efilan/public_html/git/var/filestorage/Data.fs
2010-09-22T13:18:24 (5785) listening on ('', 8200)
2010-09-22T15:13:27 (5785) new connection ('127.0.0.1', 59447): <ManagedServerConnection ('127.0.0.1', 59447)>
2010-09-22T15:13:27 (5785) disconnected
2010-09-22T15:14:52 (5785) terminated by SIGTERM
2010-09-22T15:14:52 (5785) closing storage '1'
2010-09-22T15:14:52 (5785) removed PID file '/home/efilan/public_html/git/var/zeoserver.pid'
2010-09-22T15:14:52 pid 5785: exit status 0
2010-09-22T15:14:52 Exiting
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a