health-dev
[Top][All Lists]
Advanced

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

[Health-dev] Connection error on GNU Health on Docker


From: David Ing
Subject: [Health-dev] Connection error on GNU Health on Docker
Date: Tue, 18 Aug 2015 11:47:47 -0400

I've been following the instructions on "Option 4: Run GNU Health from Docker (Lightweight Containers)" at https://en.wikibooks.org/wiki/GNU_Health/Different_ways_to_test_GNU_Health#Option_4:_Run_GNU_Health_from_Docker_.28Lightweight_Containers.29 on an Ubuntu 14.04 laptop.

When I try to login from Tryton, I'm getting a message:  
"Connection error! Bad username or password"

This is with ...
Host: 127.0.01:8000
Database: health28
User name: admin
Password: gnusolidario 

Any suggestions?  Here's the transcript from the terminal:

-- begin paste --
$ docker-compose up
Starting gnuhealth_db_1...
Starting gnuhealth_tryton_1...
Attaching to gnuhealth_db_1, gnuhealth_tryton_1
tryton_1 | [Tue Aug 18 01:48:35 2015] INFO:trytond.server:using /etc/tryton/trytond.conf as configuration file
tryton_1 | [Tue Aug 18 01:48:35 2015] INFO:trytond.server:initialising distributed objects services
tryton_1 | [Tue Aug 18 01:48:35 2015] INFO:trytond.server:starting JSON-RPC protocol on :::8000
tryton_1 | [Tue Aug 18 14:17:19 2015] INFO:server:stopped
tryton_1 | [Tue Aug 18 14:17:31 2015] INFO:trytond.server:using /etc/tryton/trytond.conf as configuration file
tryton_1 | [Tue Aug 18 14:17:31 2015] INFO:trytond.server:initialising distributed objects services
tryton_1 | [Tue Aug 18 14:17:31 2015] INFO:trytond.server:starting JSON-RPC protocol on :::8000
tryton_1 | [Tue Aug 18 14:17:59 2015] INFO:server:stopped
tryton_1 | [Tue Aug 18 14:31:57 2015] INFO:trytond.server:using /etc/tryton/trytond.conf as configuration file
tryton_1 | [Tue Aug 18 14:31:57 2015] INFO:trytond.server:initialising distributed objects services
tryton_1 | [Tue Aug 18 14:31:58 2015] INFO:trytond.server:starting JSON-RPC protocol on :::8000
tryton_1 | ::ffff:172.17.42.1 - - [18/Aug/2015 14:54:14] code 400, message Bad request syntax ('\x16\x03\x01\x02\x00\x01\x00\x01\xfc\x03\x03=\xb5\xf8S\xe3z:d.s\x9c\\\x02\xb3\xa7\xf7\xac_-\x83g\x02\x8d\x0e\x8bx\x8f\xad\xfc\x96P\x14\x00\x00\x8e\xc00\xc0,\xc0(\xc0$\xc0\x14\xc0')
tryton_1 | [Tue Aug 18 14:54:14 2015] INFO:database:connect to "heallth28"
tryton_1 | [Tue Aug 18 14:54:27 2015] INFO:database:connect to "heallth28"
tryton_1 | [Tue Aug 18 15:15:29 2015] INFO:database:connect to "health28"
tryton_1 | [Tue Aug 18 15:16:37 2015] INFO:database:connect to "health28"
tryton_1 | [Tue Aug 18 15:34:58 2015] INFO:server:stopped
tryton_1 | [Tue Aug 18 15:35:02 2015] INFO:trytond.server:using /etc/tryton/trytond.conf as configuration file
tryton_1 | [Tue Aug 18 15:35:02 2015] INFO:trytond.server:initialising distributed objects services
tryton_1 | [Tue Aug 18 15:35:02 2015] INFO:trytond.server:starting JSON-RPC protocol on :::8000
tryton_1 | [Tue Aug 18 15:35:42 2015] INFO:database:connect to "health28"
tryton_1 | [Tue Aug 18 15:42:37 2015] INFO:server:stopped
tryton_1 | [Tue Aug 18 15:42:45 2015] INFO:trytond.server:using /etc/tryton/trytond.conf as configuration file
tryton_1 | [Tue Aug 18 15:42:45 2015] INFO:trytond.server:initialising distributed objects services
tryton_1 | [Tue Aug 18 15:42:45 2015] INFO:trytond.server:starting JSON-RPC protocol on :::8000
tryton_1 | [Tue Aug 18 15:42:56 2015] INFO:server:stopped
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
db_1     | The files belonging to this database system will be owned by user "postgres".
db_1     | This user must also own the server process.
db_1     | 
db_1     | The database cluster will be initialized with locale "en_US.utf8".
db_1     | The default database encoding has accordingly been set to "UTF8".
db_1     | The default text search configuration will be set to "english".
db_1     | 
db_1     | Data page checksums are disabled.
db_1     | 
db_1     | initdb: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
db_1     | fixing permissions on existing directory /var/lib/postgresql/data ... 
tryton_1 | [Tue Aug 18 15:43:17 2015] INFO:trytond.server:using /etc/tryton/trytond.conf as configuration file
tryton_1 | [Tue Aug 18 15:43:17 2015] INFO:trytond.server:initialising distributed objects services
tryton_1 | [Tue Aug 18 15:43:17 2015] INFO:trytond.server:starting JSON-RPC protocol on :::8000
tryton_1 | [Tue Aug 18 15:43:28 2015] INFO:database:connect to "health28"

-- end paste --

reply via email to

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