Hello Yangoon; Thanks for help!! But still not working. 

> 2. Adjust /etc/trytond.conf to reflect the setup of your system and use 
> the 
> >      database user and password from step 1 for db_user and db_password. 
>   
> > So here I opened /etc/trytond.conf file and replace 
> >  #db_user = False 
> > #db_password = False 
> > to 
> > #db_user = tryton 
> > #db_password = tryton 
>
> Please remove the # at the beginning of the lines, so that the settings 
> take 
> effect (restart the server once more after the change). 
>

Removed # 

>
> > 3./etc/init.d/tryton-server restart # Here getting* error*, but start 
> works 
> > for me instead restart 
> > 
> >  following 4 and 5 are optional,  I tried to execute them too 
> > 
> > 4. sudo su - postgres -c "createdb --encoding=UNICODE --owner=tryton 
> > tryton"   #Worked 
> > 5. sudo /usr/bin/trytond -i all -d tryton    *# 
> > Error:*psycopg2.OperationalError: FATAL:  role "root" does not exist 
> > 
>

This time getting "  psycopg2.OperationalError: FATAL:  Peer authentication 
failed for user "tryton"  " Error.  It means postgres ask for peer 
authentication which is failed. But in my pg_hba.conf file there is md5 not 
peer like this:  

# TYPE DATABASE USER ADDRESS METHOD
local  all      all          md5

Again when I try to open tryton using terminal getting Error-2 Name or service 
not known.

Is it a problem with server/localhost because on my local host I have already 
installed phpmyAdmin.

 

Reply via email to