health
[Top][All Lists]
Advanced

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

Re: [Health] Raspberry Pi Installation issue


From: Livingstone, Euan
Subject: Re: [Health] Raspberry Pi Installation issue
Date: Fri, 18 Dec 2015 01:12:37 +0000

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

Seems to work?

       address@hidden:~ $ psql template1
       psql (9.4.5)
       Type "help" for help.

        template1=>


________________________________________
From: address@hidden <address@hidden> on behalf of Cédric Krier <address@hidden>
Sent: 18 December 2015 01:08
To: address@hidden
Subject: Re: [Health] Raspberry Pi Installation issue

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/
This message and its attachment(s) are intended for the addressee(s) only and 
should not be read, copied, disclosed, forwarded or relied upon by any person 
other than the intended addressee(s) without the permission of the sender. If 
you are not the intended addressee you must not take any action based on this 
message and its attachment(s) nor must you copy or show them to anyone. Please 
respond to the sender and ensure that this message and its attachment(s) are 
deleted.

It is your responsibility to ensure that this message and its attachment(s) are 
scanned for viruses or other defects. Edinburgh Napier University does not 
accept liability for any loss or damage which may result from this message or 
its attachment(s), or for errors or omissions arising after it was sent. Email 
is not a secure medium. Emails entering Edinburgh Napier University's system 
are subject to routine monitoring and filtering by Edinburgh Napier University.

Edinburgh Napier University is a registered Scottish charity. Registration 
number SC018373




reply via email to

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