Hi Geng, On 12 July 2013 10:29, 耿赓 <[email protected]> wrote:
> Hi, Ronald > > They are on different machines. I've installed server 2.2.1 on a machine > and client 2.2.1 on another machine. The problem is, first, I can not add > new database through the client. The button "create" is always inactive; > > > > <https://lh6.googleusercontent.com/-hrmYQY4Uayk/Ud-9AjjY41I/AAAAAAAAAW4/suTJa0-5KgQ/s1600/1.jpg> > > > second, it always shows a "Can not connect to the server" as I tried to > add new profile > > > > > > <https://lh6.googleusercontent.com/-Q9Gb-GTOezk/Ud-9eZkVg0I/AAAAAAAAAXA/uXGOJeKe7Zs/s1600/2.jpg> > > The configuration on server is > *#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] > > # This is the hostname used when generating tryton URI > hostname = vlx068-tpo > > # Activate the json-rpc protocol > jsonrpc = localhost:8000 > * Change the above line to: jsonrpc = 0.0.0.0:8000 or have the server ip instead of 0.0.0.0 regards Ronald > *#ssl_jsonrpc = False > > # Configure the path of json-rpc data > #jsondata_path = /var/www/localhost/tryton > > # Activate the xml-rpc protocol > #xmlrpc = *:8069 > #ssl_xmlrpc = False > > # Activate the webdav protocol > #webdav = *:8080 > #ssl_webdav = False > > # Configure the database type > # allowed values are postgresql, sqlite, mysql > db_type = postgresql > > # Configure the database connection > ## Note: Only databases owned by db_user will be displayed in the > connection dialog > ## of the Tryton client. db_user must have create permission for new > databases > ## to be able to use automatic database creation with the Tryton client. > db_host = localhost > #db_port = False > db_user = tryton > db_password = tryton_d > #db_minconn = 1 > #db_maxconn = 64 > > # Configure the postgresql path for the executable > pg_path = /usr/lib/postgresql/9.1/bin > > # Configure the Tryton server password > admin_passwd = admin > > # Configure the path of the files for the pid and the logs > #pidfile = False > #logfile = False > > #privatekey = server.pem > #certificate = server.pem > > # Configure the SMTP connection > #smtp_server = localhost > #smtp_port = 25 > #smtp_ssl = False > #smtp_tls = False > #smtp_password = False > #smtp_user = False > > # Configure the path to store attachments and sqlite database > data_path = /var/lib/tryton > > # Allow to run more than one instance of trytond > #multi_server = False > > # Configure the session timeout (inactivity of the client in sec) > #session_timeout = 600 > > # Enable psyco module > # Need to have psyco installed http://psyco.sourceforge.net/ > #psyco = False > > # Enable auto-reload of modules if changed > #auto_reload = True > > # Prevent database listing > #prevent_dblist = False > > # Enable cron > # cron = True > > # unoconv connection > #unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext > > # Number of retries on database operational error > # retry = 5* > > Should I reconfigure the document? Thank you > > Geng > > > > On Thursday, July 11, 2013 5:48:29 PM UTC+2, Ronald Munjoma wrote: > >> Hi Gengi, >> >> On Jul 11, 2013 5:42 PM, "耿赓" <[email protected]> wrote: >> > >> > Hello, everyone, >> > >> > could anybody tell me where i can find an available installation and >> configuration documents about tryton? After I installed and configured >> tryton following the online-document, it doesn't work! I can not build any >> connections with the server. >> >> Is the Tryton client and server on the same machine? What error message >> are you getting when trying to access the server? >> >> Regards >> Ronald >> > >> > Thanks in advance >> > Geng >> > > <https://lh6.googleusercontent.com/-Q9Gb-GTOezk/Ud-9eZkVg0I/AAAAAAAAAXA/uXGOJeKe7Zs/s1600/2.jpg> >
