[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Health] ISO 25010 and GNU Health
From: |
Axel Braun |
Subject: |
Re: [Health] ISO 25010 and GNU Health |
Date: |
Sat, 19 Sep 2015 17:52:50 +0200 |
User-agent: |
KMail/4.14.10 (Linux/3.11.10-29-desktop; KDE/4.14.10; x86_64; ; ) |
Hello Armand,
Am Samstag, 19. September 2015, 14:55:30 schrieb Armand MPASSY-NZOUMBA:
> Here is the error message:
> trytond.service - Tryton server Loaded: loaded
> (/etc/systemd/system/trytond.service; disabled)
This is probably not the right place for the service file.
try /usr/lib/systemd/....
> Active: failed (Result:
> start-limit) since Sat 2015-09-19 16:52:34 CEST; 5s ago Process: 2334
> ExecStart=/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.2/bin/trytond
> --config /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf
> --pidfile=/gnuhealth/tryton/server/config/trytond.pid
I feel here it should read /home/gnuhealth/... and make sure the process has
sufficient rights for the folder.
(Standard SUSE Installation puts pid into /var/lib/trytond )
More, you are not running the latest version of trytond....(3.4.6)
> --logconf=/home/gnuhealth/gnuhealth/tryton/server/config/trytond_log.conf
> (code=exited, status=216/GROUP) Main PID: 2334 (code=exited,
> status=216/GROUP) Sep 19 16:52:34 linux-mgno systemd[1]: trytond.service
> start request repeated too quickly, refusing to start.Sep 19 16:52:34
> linux-mgno systemd[1]: Failed to start Tryton server.
does it run (the part behind ExecStart=) from the command-line ?
> Kindly find the content of the trytond.service
>
> [Unit]Description=Tryton serverAfter=syslog.target
> [Service]Type=simpleUser=gnuhealthGroup=gnuhealth
running the tryton server under a user that can login to the system is a
potential security risk.
> PIDFile=/gnuhealth/tryton/s
> erver/config/trytond.pid
> ExecStart=/home/gnuhealth/gnuhealth/tryton/server/trytond-3.4.2/bin/trytond
> --config /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf
> --pidfile=/gnuhealth/tryton/server/config/trytond.pid
same comment on pid-file location
> --logconf=/home/gnuhealth/gnuhealth/tryton/server/config/trytond_log.conf #
> Give a reasonable amount of time for the server to start up/shut
> downTimeoutSec=300 # We rely on systemd to restart trytond if it
> diesRestart=always
> [Install]WantedBy=multi-user.target
Please check the above and see what it does.
HTH
Axel