health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health] Raspberry Pi Installation issue


From: Cédric Krier
Subject: Re: [Health] Raspberry Pi Installation issue
Date: Fri, 18 Dec 2015 02:08:46 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On 2015-12-18 00:53, Livingstone, Euan wrote:
> >   I guess the user running trytond doesn't have access to the database.
> 
> Correct me if I am wrong (as I have said I don't have a lot of experience 
> with Linux so I could be) but I entered the command;
> 
>             su - postgres -c "createuser --createdb --no-createrole 
> --no-superuser gnuhealth"
> 
> which should give the user gnuhealth access to the database?

It depends of the configuration of postgresql.

> and when I look at running processes it shows that trytond is being run by 
> gnuhealth;
> 
>             address@hidden:~ $ ps aux | grep trytond
>             gnuheal+  1912  0.2  1.7  42428 16912 pts/1    Sl+  00:37   0:01 
> python ./trytond
>             pi        2233  0.0  0.1   4260  1848 pts/0    S+   00:47   0:00 
> grep --color=auto trytond

You can check if the user as access by running as gnuhealth user:

    psql template1

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: address@hidden
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]