我刚刚按照 google 和 youtube 上的指南安装了 openerp,但是当我尝试启动服务时出现以下错误,您能建议一下出了什么问题吗?
> ubuntu@ip-172:~$ openerp-server
2014-03-06 12:00:35,954 9197 INFO ?
> openerp: OpenERP version 7.0-20140306-001044 2014-03-06 12:00:35,955
> 9197 INFO ? openerp: addons paths:
> /usr/lib/pymodules/python2.7/openerp/addons 2014-03-06 12:00:35,955
> 9197 INFO ? openerp: database hostname: localhost 2014-03-06
> 12:00:35,955 9197 INFO ? openerp: database port: 5432 2014-03-06
> 12:00:35,955 9197 INFO ? openerp: database user: ubuntu 2014-03-06
> 12:00:36,441 9197 INFO ? openerp.addons.google_docs.google_docs: GData
> lib version `%s GData-Python/2.0.14` detected Exception in thread
> Thread-1: Traceback (most recent call last): File
> "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
> self.run() File "/usr/lib/python2.7/threading.py", line 504, in run
> self.__target(*self.__args, **self.__kwargs) File "/usr/lib/pymodules/python2.7/openerp/service/wsgi_server.py", line
> 436, in serve
> httpd = werkzeug.serving.make_server(interface, port, application, threaded=True) File
> "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 399, in
> make_server
> passthrough_errors, ssl_context) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 331, in
> __init__
> HTTPServer.__init__(self, (host, int(port)), handler) File "/usr/lib/python2.7/SocketServer.py", line 408, in __init__
> self.server_bind() File "/usr/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
> SocketServer.TCPServer.server_bind(self) File "/usr/lib/python2.7/SocketServer.py", line 419, in server_bind
> self.socket.bind(self.server_address) File "/usr/lib/python2.7/socket.py", line 224, in meth
> return getattr(self._sock,name)(*args) error: [Errno 98] Address already in use
>
> 2014-03-06 12:00:36,810 9197 INFO ? openerp: OpenERP server is
> running, waiting for connections...
在最后一行显示正在等待连接,但没有给我提示,我必须使用 crt+c/z
答案1
它不会给您提示,因为它正在等待客户端连接它,此消息表示您的安装是正确的。
此链接将帮助您关联