Hi Emanuele,

you must set the effective user as the user that is running the
buildout. On your site.cfg there is a section:

# zope and zeo will be running as
zeo-user = zope
zope-user = zope

if for example you're running it as emanuele, you must change zope to
emanuele and re-run buildout with ./bin/buildout -vN -c devel.cfg 

It should take a couple of minutes for buildout to finish and then you
should be able to start zope.

Cheers,
Mike

On Fri, 2010-12-03 at 12:37 +0100, Emanuele Rodo wrote: 
> Hi Mike:
> 
> so, it took sometime: I first updated plone to v4.02 and moved its port
> to 8180; 
> 
> This is the current outcome of sudo ./bin/instance-debug fg
> 
> /usr/lib/python2.6/dist-packages/zope/__init__.py:1: UserWarning: Module
> _hashlib was already imported from None, but
> /usr/local/plumi4/eggs/hashlib-20081119-py2.6-linux-x86_64.egg is being
> added to sys.path
>   # this is a namespace package
> 2010-12-03 12:32:55 INFO ZServer HTTP server started at Fri Dec  3
> 12:32:55 2010
>     Hostname: localhost
>     Port: 8080
> 2010-12-03 12:32:55 INFO ZServer FTP server started at Fri Dec  3
> 12:32:55 2010
>     Hostname: localhost
>     Port: 8021
> 2010-12-03 12:32:55 ERROR Zope Can't find username 'zope'
> Traceback (most recent call last):
>   File
> "/usr/local/plumi4/eggs/Zope2-2.12.13-py2.6-linux-x86_64.egg/Zope2/Startup/run.py",
> line 56, in <module>
>     run()
>   File
> "/usr/local/plumi4/eggs/Zope2-2.12.13-py2.6-linux-x86_64.egg/Zope2/Startup/run.py",
> line 21, in run
>     starter.prepare()
>   File
> "/usr/local/plumi4/eggs/Zope2-2.12.13-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py",
> line 82, in prepare
>     self.dropPrivileges()
>   File
> "/usr/local/plumi4/eggs/Zope2-2.12.13-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py",
> line 220, in dropPrivileges
>     return dropPrivileges(self.cfg)
>   File
> "/usr/local/plumi4/eggs/Zope2-2.12.13-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py",
> line 394, in dropPrivileges
>     raise ZConfig.ConfigurationError(msg)
> ZConfig.ConfigurationError: Can't find username 'zope'
> 
> `I pretend' (in Alice's keywords) you know what it means. Then, could
> you please help me further?
> 
> 
> Thanks a lot again.
> 
> 


_______________________________________________
Discuss mailing list
[email protected]
http://lists.plumi.org/listinfo/discuss

Reply via email to