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 23:05:46 +0000

Success :(


It would appear to have been an issue with the hba file for the database, Doh!!

 changed from md5 to trust.

now I can access both locally from the pi and remotely from my windows pc :)


Thanks everyone for their help!!


________________________________________
From: Livingstone, Euan
Sent: 18 December 2015 22:47
To: address@hidden
Subject: Re: [Health] Raspberry Pi Installation issue

>    Without any logs or error message, it is very difficult to help you.
>    Maybe there is a firewall?

I have tried to get it to generate a log but it keeps failing to even do that :(

address@hidden:~/gnuhealth/tryton/server/trytond-3.4.8/bin $ ./trytond 
--logconf /home/gnuhealth/gnuhealth/logs/log.log
Traceback (most recent call last):
  File "./trytond", line 80, in <module>
    trytond.server.TrytonServer(options).run()
  File 
"/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.8/trytond/server.py", line 
30, in __init__
    logging.config.fileConfig(options.logconf)
  File "/usr/lib/python2.7/logging/config.py", line 77, in fileConfig
    formatters = _create_formatters(cp)
  File "/usr/lib/python2.7/logging/config.py", line 113, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'


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

On 2015-12-18 14:46, Livingstone, Euan wrote:
> So I started from scratch with a clean install of Raspbian Jessie.
>
> Install prerequests:
>           sudo apt-get install build-essential python-dev python-pip 
> libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev python-ldap python-imaging 
> python2.7-cracklib postgresql postgresql-server-dev-all
>
> Then installed gnuhealth:
>     sudo adduser gnuhealth
>     su - postgres -c "createuser --createdb --no-createrole --no-superuser 
> gnuhealth"
>     su - gnuhealth
>     cd $HOME
>     wget http://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz
>     tar xzf gnuhealth-latest.tar.gz
>     cd gnuhealth-*
>     ./gnuhealth_install.sh
>     source "$HOME"/.gnuhealthrc
>     editconf
>             [jsonrpc]
>             listen = *:8000
>
>     [database]
>             path = /home/gnuhealth/attach
>
>      cdexe
>      ./trytond
>
> Then returned to user 'pi' and installed tryton client:
>     sudo apt-get install tryton-client
>
> But the client will still not connect to the tryton server :(

Without any logs or error message, it is very difficult to help you.
Maybe there is a firewall?

--
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

Attachment: Capture1.PNG
Description: Capture1.PNG


reply via email to

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