redémarrage et lancement
-
"Bonjour, j’ai lancé l’installation d’Open Capture sous Debian 9 sans aucune erreur.
Mais quand je lance la commande ci dessous pour redémarrer j’ai le message suivant :
$ systemctl restart OCForInvoices-web.service
De plus je ne sais pas comment lancer dans un navigateur web Open capture pour tester la solution.
D’avance merci pour votre aide"
-
Bonjour,
Que dis la commande :
$ systemctl status OCForInvoices-web.service
-
Bonjour,
Essayez avec :
sudo systemctl restart OCForInvoices-web.service
ça doit être un problème de Droits. -
Résultat de la commande
systemctl status OCForInvoices-web.service
● OCForInvoices-web.service - Gunicorn instance to Open-Capture For Invoices
Loaded: error (Reason: Invalid argument)
Active: inactive (dead)
Jul 30 04:18:39 vps-269d4e79 systemd[1]: [/etc/systemd/system/OCForInvoices-web.service:9] Execut
able path is not absolute, ignoring: gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock
-m 007 wsgi:appwsgi
Jul 30 04:18:39 vps-269d4e79 systemd[1]: OCForInvoices-web.service: Service lacks both ExecStart=
and ExecStop= setting. Refusing.
Jul 30 04:18:49 vps-269d4e79 systemd[1]: [/etc/systemd/system/OCForInvoices-web.service:9] Execut
able path is not absolute, ignoring: gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock
-m 007 wsgi:appwsgi
Jul 30 04:18:49 vps-269d4e79 systemd[1]: OCForInvoices-web.service: Service lacks both ExecStart=
and ExecStop= setting. Refusing.
Jul 30 04:18:51 vps-269d4e79 systemd[1]: [/etc/systemd/system/OCForInvoices-web.service:9] Execut
able path is not absolute, ignoring: gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock
-m 007 wsgi:appwsgi
Jul 30 04:18:51 vps-269d4e79 systemd[1]: OCForInvoices-web.service: Service lacks both ExecStart=
and ExecStop= setting. Refusing.
Jul 30 04:18:53 vps-269d4e79 systemd[1]: [/etc/systemd/system/OCForInvoices-web.service:9] Execut
able path is not absolute, ignoring: gunicorn --timeout 300000 --workers 3 --bind unix:OCForInvoices.sock
-m 007 wsgi:appwsgi
Jul 30 04:18:53 vps-269d4e79 systemd[1]: OCForInvoices-web.service: Service lacks both ExecStart=
and ExecStop= setting. Refusing.
-
Comme mentionné par Oussama, pouvez vous tenter en sudo ?
Si ca ne marche toujours pas, envoyez nous votre fichier /etc/systemd/system/OCForInvoices-web.service svp
-
"sudo systemctl restart OCForInvoices-web.service donne la meme erreur que la commande sans sudo
voici la capture du fichier /etc/systemd/system/OCForInvoices-web.service. Il n’y a pas de pièce jointe possible dans le forum*"
-
"L’ajout de pièce jointe est désormais possible au sein du forum.
L’ajout de code peut se faire en cliquant sur l’onglet ““Texte”” puis le bouton ““Code”” ou par le biais de BBcodes (#1010)."
-
sudo systemctl restart OCForInvoices-web.service
donne la meme erreur que la commande sans sudo
le format du fichier /etc/systemd/system/OCForInvoices-web.service. n’est pas autorisé en pièce jointe. mais je vous ai envoyé la capture du contenu du fichier précédemment.