[Zope] zopectl fg error

Andreas Jung lists at zopyx.com
Mon Jan 15 13:24:27 EST 2007



--On 15. Januar 2007 19:20:53 +0100 Garito <garito at sistes.net> wrote:

> Hi, all!
>
> Anyone could explain me what is happening here?
>
> garito at ubuntuserver:~/www$ sudo -u zope
> /var/lib/zope2.9/instance/Yanged/bin/zopectl
> fg
> /var/lib/zope2.9/instance/Yanged/bin/runzope -X debug-mode=on
> Traceback (most recent call last):
>   File "/usr/lib/zope2.9/lib/python/Zope2/Startup/run.py", line 56, in ?
>     run()
>   File "/usr/lib/zope2.9/lib/python/Zope2/Startup/run.py", line 19, in run
>     opts = _setconfig()
>   File "/usr/lib/zope2.9/lib/python/Zope2/Startup/run.py", line 50, in
> _setconfig
>     handlers.handleConfig(opts.configroot, opts.confighandlers)
>   File "/usr/lib/zope2.9/lib/python/Zope2/Startup/handlers.py", line 208,
> in
> handleConfig
>     return multihandler(handlers)
>   File "/usr/lib/zope2.9/lib/python/ZConfig/loader.py", line 289, in
> __call__
>     f(value)
>   File "/usr/lib/zope2.9/lib/python/Zope2/Startup/handlers.py", line 191,
> in
> root_handler
>     config.port_base)
>   File "/usr/lib/zope2.9/lib/python/ZServer/datatypes.py", line 38, in
> prepare
>     self.ip = socket.gethostbyname(self.host)
> socket.gaierror: (-2, 'Name or service not known')
>


Likely an issue with your local /etc/hosts file. Figure out the value of
self.host and add a related entry to /etc/hosts.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070115/6771fe3c/attachment.bin


More information about the Zope mailing list