health
[Top][All Lists]
Advanced

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

Re: [Health] Need Help to install GNU Health 3.0 web client


From: guna sekar
Subject: Re: [Health] Need Help to install GNU Health 3.0 web client
Date: Thu, 16 Feb 2017 17:26:46 +0530

In server Everything seems but in browser or tryton client i am unable to login 

Tryton client Error :

Could not connect to the server 

Browser Error : http://52.33.176.71:8000/
   
  This site can’t be reached
   52.33.176.71 refused to connect.

Amazon cloud SLES Server log :

ip-172-31-21-89:/srv/tryton-sao/sao # systemctl status trytond.service
● trytond.service - Tryton server
   Loaded: loaded (/usr/lib/systemd/system/trytond.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2017-02-16 10:21:08 UTC; 8s ago
 Main PID: 2255 (trytond)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/trytond.service
           └─2255 /usr/bin/python /usr/bin/trytond --config /etc/tryton/trytond.conf --pidfile=/var/lib/tryton/try...

Feb 16 10:21:08 ip-172-31-21-89 systemd[1]: Stopped Tryton server.
Feb 16 10:21:08 ip-172-31-21-89 systemd[1]: Started Tryton server.
ip-172-31-21-89:/srv/tryton-sao/sao # systemctl status trytond
● trytond.service - Tryton server
   Loaded: loaded (/usr/lib/systemd/system/trytond.service; disabled; vendor preset: disabled)
   Active: active (running) since Thu 2017-02-16 10:21:08 UTC; 14s ago
 Main PID: 2255 (trytond)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/trytond.service
           └─2255 /usr/bin/python /usr/bin/trytond --config /etc/tryton/trytond.conf --pidfile=/var/lib/tryton/try...

Feb 16 10:21:08 ip-172-31-21-89 systemd[1]: Stopped Tryton server.
Feb 16 10:21:08 ip-172-31-21-89 systemd[1]: Started Tryton server.


When i try to install tryton-sao i got this error 

ip-172-31-21-89:/home/ec2-user # zypper install tryton-sao
Refreshing service 'SMT-http_smt-ec2_susecloud_net'.
Refreshing service 'cloud_update'.
Loading repository data...
Reading installed packages...
Package 'tryton-sao' not found.
Resolving package dependencies...

Nothing to do.

So installed from source, 

ip-172-31-21-89:/srv/tryton-sao/sao # netstat -ln

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN
tcp        0      0 :::22                   :::*                    LISTEN
tcp        0      0 ::1:5432                :::*                    LISTEN
tcp        0      0 :::8000                 :::*                    LISTEN
udp     4992      0 0.0.0.0:68              0.0.0.0:*


Thanks for the support Axel Braun, its been really great if this problem solved, 

-Guna


On Sun, Feb 12, 2017 at 3:08 PM, Axel Braun <address@hidden> wrote:
Good morning,

Am Dienstag, 7. Februar 2017, 14:43:37 CET schrieb guna sekar:

[mail arrived with some delay just this morning...issue with the list? or is
it my provider?]

> Please provide me Instruction and notes which help me to install GNU health
> Web client version
>
> Version :: GNU Health 3.0
> My OS :: SLES 12 SP1 Server,
>
> I tried all instruction in google last two months i'm getting error by
> error :-(, But no proper solution.
> It will be great if someone or some real working instruction notes help me
> to install GNU Health 3.0 & GNU Health 3.0 web client in SLES 12 SP1 Server
> , I am using amazon cloud server

The GNU Health Server installation from packages for SLES 12SP1 comes with a
readme (tryton-server.README.SUSE) that describes the installation for the web
client from source:

Installation of the Webfrontend for tryton (sao) from source
------------------------------------------------------------

In case you want to install sao from source:
sao bases on nodejs, and it comes as separate package. Download and extract
tryton-sao into a directory, say /srv/tryton-sao

Make sure you have nodejs and git installed:
    zypper install nodejs git

Now change into to installation directory and install sao:
    cd /srv/tryton-sao/package
    npm install

Now you need to run grunt. make sure it is run from the locally installed
version:
    cd /srv/tryton-sao/package
    node_modules/grunt-cli/bin/grunt

Last but not least, edit /etc/tryton/trytond.conf
In the section [jsonrpc], set the data path:
    data = "">
Now restart trytond.

HTH
Axel



reply via email to

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