Server logs

26 views
Skip to first unread message

Mariano DAngelo

unread,
Jan 27, 2012, 4:20:23 PM1/27/12
to tryton
Hi I'm trying to find were trytond save starup logs.... I'm trying to
configure WebFaction to serve tryton, in the hosting support said that
having my own dedicated ip it's posible.

The port 8000 is already open in the server.
The trytond config listening on 8000 like this: jsonrpc = localhost:
8000


Starting trytond server give the following output

[marianodan@web319 ~]$ trytond
[Fri Jan 27 21:10:25 2012] INFO:server:using /home/marianodan/lib/
python2.6/trytond-2.2.1-py2.6.egg/etc/trytond.conf as configuration
file
[Fri Jan 27 21:10:25 2012] INFO:server:initialising distributed
objects services
[Fri Jan 27 21:10:25 2012] DEBUG:psycopg2:installed. Logging using
Python logging module
[Fri Jan 27 21:10:25 2012] INFO:modules:ir:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:res:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:webdav:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:workflow:registering classes
[Fri Jan 27 21:10:25 2012] INFO:modules:test:registering classes
[Fri Jan 27 21:10:25 2012] INFO:server:starting JSON-RPC protocol on
localhost:8000
[Fri Jan 27 21:10:25 2012] INFO:server:waiting for connections...

but it fail doing the conection from the tryton client, how can I
debug were is failing, there are trytond logs?

Sharoon Thomas

unread,
Jan 27, 2012, 5:51:11 PM1/27/12
to try...@googlegroups.com
Hi,

On Jan 27, 2012, at 4:20 PM, Mariano DAngelo wrote:


[Fri Jan 27 21:10:25 2012] INFO:server:starting JSON-RPC protocol on
localhost:8000

The server daemon is connected to localhost and not listening on all interfaces.

If you are trying to connect to the public interface it would not connect because its
not listening there.

Copy the trytond.conf file and modify the jsonrpc parameter [1]

Thanks,

Sharoon Thomas
Director & CEO, Openlabs Technologies & Consulting Pvt Limited
Regd Office: 2J-Skyline Daffodil, Trippunithura - Kochi - IN 682013

Mobile:  +1 786 247 1317
http://openlabs.co.in


Mariano DAngelo

unread,
Jan 27, 2012, 6:37:32 PM1/27/12
to tryton
how it should be:
jsonrpc = *: 8000 or the real ip?

Cédric Krier

unread,
Jan 29, 2012, 3:15:37 PM1/29/12
to tryton
On 27/01/12 15:37 -0800, Mariano DAngelo wrote:
> how it should be:
> jsonrpc = *: 8000 or the real ip?

It depends on what you want.

* will listen on all interfaces
ip will listen only on this one

--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/

Paul J Stevens

unread,
Jan 31, 2012, 11:38:36 AM1/31/12
to try...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/2012 09:15 PM, Cédric Krier wrote:
> On 27/01/12 15:37 -0800, Mariano DAngelo wrote:
>> how it should be: jsonrpc = *: 8000 or the real ip?
>
> It depends on what you want.
>
> * will listen on all interfaces ip will listen only on this one

And *no* spaces around the asterisk:

jsonrpc = *:8000

- --
________________________________________________________________
Paul J Stevens pjstevns @ gmail, twitter, skype, linkedin

* Premium Hosting Services and Web Application Consultancy *

www.nfg.nl/in...@nfg.nl/+31.85.877.99.97
________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8oGQMACgkQ8iITvBH4zTGpLwCg2p9ET3KZCAdyoucbqZS1iWCf
CDAAoNccPMt6sFrZQ3hU7AbMkFGF63Rf
=aYX3
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages