On Jan 5, 11:31 pm, Bob W <[email protected]> wrote:
> > Hi,
> > The following command:
> > "netstat -lpn |grep python"
> > should give you a list of all python program that are listening on a
> > port. By default Trytond listen on 8070. If you don't find it, this
> > means that the server has not been launched.
> > Actually, "ps aux |grep trytond" should also tell if the server is running.
>
> > Another possible problem is that the user that is running the tryton
> > server is not allowed to create databases (the "ps aux.." command gives
> > you which user is running the server).
>
> > HTH
>
> > --
> > Bertrand Chenal
>
> > B2CK SPRL
> > Rue de Rotterdam, 4
> > 4000 Li ge
> > Belgium
> > Tel: +32 474 207 906
> > Email: [email protected]
> > Website:http://www.b2ck.com/
>
> netstat gives me
> tcp6       0      0 :::8070                 :::*
> LISTEN      9678/python
>
> ps gives me
> tryton    9678  0.0  3.7  53016 18624 ?        Sl   14:52   0:01 /usr/
> bin/python /usr/bin/trytond --config=/etc/trytond.conf --logfile=/var/
> log/trytond.log
>
> I changed the port to localhost 9678 although I'm not sure that's
> correct.  It didn't help.

No, 9678 is the process id of the server.
The port is 8070.
Do you still have "Could not connect to server!" in the client?
Do you have any firewall that is running and that could block local
connection to port 8070?
Is there something in /var/log/trytond.log?
-- 
[email protected] mailing list

Reply via email to