* Mark van Deursen: " Re: [tryton] Installation guide" (Mon, 16 Dec 2013 20:10:50 +0100):
> On Mon, Dec 16, 2013 at 7:44 PM, Cédric Krier <[email protected]> wrote: > > > On 16/12/13 19:27 +0100, Mark van Deursen wrote: > > > Thanks Axel but I still can't get it working. Maybe you or someone else > > can > > > help me? > > > > > > I have the following setup: > > > - Client : Tryton 3.0.1 OSX > > > - Server : Ubuntu 13.04 on a virtual machine (Virtualbox setup with > > vagrant) > > > > > > This file is part of Tryton. The COPYRIGHT file at the top level of > > > #this repository contains the full copyright notices and license terms. > > > [options] > > > > > > # Activate the json-rpc protocol > > > jsonrpc = *:8000 > > > #ssl_jsonrpc = False > > > > This makes probably the server listening only on IPv6 and probably that > > the connection between the client and the server is not IPv6 aware. > > You must use: > > > > jsonrpc = *:8000,0.0.0.0:8000 > > > Thanks but that doesn't seem to work. > When changing the line to what you wrote I got the following error: > Traceback (most recent call last): > File "bin/trytond", line 111, in <module> > trytond.server.TrytonServer(options).run() > File "/home/vagrant/trytond/trytond/server.py", line 96, in run > self.start_servers() > File "/home/vagrant/trytond/trytond/server.py", line 204, in start_servers > CONFIG['ssl_jsonrpc'])) > File "/home/vagrant/trytond/trytond/protocols/jsonrpc.py", line 372, in > __init__ > self.server = server_class((interface, port), handler_class, 0) > File "/home/vagrant/trytond/trytond/protocols/jsonrpc.py", line 294, in > __init__ > bind_and_activate) > File "/usr/lib/python2.7/SocketServer.py", line 419, in __init__ > self.server_bind() > File "/home/vagrant/trytond/trytond/protocols/jsonrpc.py", line 336, in > server_bind > SimpleJSONRPCServer.server_bind(self) > File "/usr/lib/python2.7/SocketServer.py", line 430, 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) > socket.error: [Errno 98] Address already in use This means another process is already listening on the port (probably an old stalled trytond process). Look at the process table with e.g. ps aux|grep tryton to see which processes run. Stop all trytonds before restarting the server. -- Mathias Behrle MBSolutions Gilgenmatten 10 A D-79114 Freiburg Tel: +49(761)471023 Fax: +49(761)4770816 http://m9s.biz UStIdNr: DE 142009020 PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
signature.asc
Description: PGP signature
