Closed yoanngoular closed 8 years ago
Merci pour ton retour. Peux-tu me donner les résultats de ces deux commandes (executées via SSH sur la Red Pitaya) ?
$ journalctl -u uwsgi.service -n 50
$ journalctl -u nginx.service -n 50
voici les résultats:
root@koheron:~# journalctl -u uwsgi.service -n 50
-- Logs begin at Thu 2016-02-11 16:28:01 UTC, end at Thu 2016-02-11 16:31:29 UTC. --
Feb 11 16:28:06 koheron systemd[1]: Starting uWSGI...
Feb 11 16:28:06 koheron uwsgi[1998]: [uWSGI] getting INI configuration from /etc/flask-uwsgi/flask-uwsgi.ini
Feb 11 16:29:36 koheron systemd[1]: uwsgi.service: Start operation timed out. Terminating.
Feb 11 16:29:36 koheron systemd[1]: uwsgi.service: Main process exited, code=killed, status=9/KILL
Feb 11 16:29:36 koheron systemd[1]: Failed to start uWSGI.
Feb 11 16:29:36 koheron systemd[1]: uwsgi.service: Unit entered failed state.
Feb 11 16:29:36 koheron systemd[1]: uwsgi.service: Failed with result 'signal'.
Feb 11 16:29:36 koheron systemd[1]: uwsgi.service: Service hold-off time over, scheduling restart.
Feb 11 16:29:36 koheron systemd[1]: Stopped uWSGI.
Feb 11 16:29:36 koheron systemd[1]: Starting uWSGI...
Feb 11 16:29:37 koheron uwsgi[2343]: [uWSGI] getting INI configuration from /etc/flask-uwsgi/flask-uwsgi.ini
Feb 11 16:31:07 koheron systemd[1]: uwsgi.service: Start operation timed out. Terminating.
Feb 11 16:31:07 koheron systemd[1]: uwsgi.service: Main process exited, code=killed, status=9/KILL
Feb 11 16:31:07 koheron systemd[1]: Failed to start uWSGI.
Feb 11 16:31:07 koheron systemd[1]: uwsgi.service: Unit entered failed state.
Feb 11 16:31:07 koheron systemd[1]: uwsgi.service: Failed with result 'signal'.
Feb 11 16:31:07 koheron systemd[1]: uwsgi.service: Service hold-off time over, scheduling restart.
Feb 11 16:31:07 koheron systemd[1]: Stopped uWSGI.
Feb 11 16:31:07 koheron systemd[1]: Starting uWSGI...
Feb 11 16:31:07 koheron uwsgi[2420]: [uWSGI] getting INI configuration from /etc/flask-uwsgi/flask-uwsgi.ini
root@koheron:~# journalctl -u nginx.service -n 50
-- Logs begin at Thu 2016-02-11 16:28:01 UTC, end at Thu 2016-02-11 16:31:33 UTC. --
Feb 11 16:28:08 koheron systemd[1]: Starting A high performance web server and a reverse proxy server...
Feb 11 16:28:12 koheron nginx[2062]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Feb 11 16:28:12 koheron nginx[2062]: nginx: configuration file /etc/nginx/nginx.conf test is successful
Feb 11 16:28:13 koheron systemd[1]: Started A high performance web server and a reverse proxy server.
Merci !
Il semble que uwsgi
n'arrive même pas à démarrer.
Si tu redémarre ta Red Pitaya, est-ce que tu arrive ensuite à faire un ping les LEDs via l'interface web ?
Je viens de me rendre compte que l'app HTTP allait chercher au démarrage s'il existait des instruments sur le web. J'ai supprimé tout ce qui était relié à ça: #311.
En effet le serveur fonctionne car la page html s'affiche. En revanche la modification du registre config/led n'a pas d'effet. "ping your board" non plus.
Peux tu essayer ça :
$ git pull origin master
$ make HOST=125.40.20.79 app_sync_ssh
Puis redémarre ta Red Pitaya
ok ça marche (reglage led et ping your RP)
Super. Merci pour ton aide ! Tiens-moi au courant si tu arrive à effectuer la commande
$ make NAME=adc_dac HOST=125.40.20.79 run
yep ça marche. merci.
Bonjour l'équipe Koheron,
Nous ne parvenons pas à exécuter les commandes
make HOST= ... NAME=instrument run
car il semble qu'il y ait un problème lors du chargement du bitstream via le serveur sur la carte Red Pitaya. Nous supposons que le proxy local empêche le transfert du bitstream. A noter que la machine de développement et la carte Red Pitaya sont sur le réseau général qui a accès à internet uniquement via un Proxy.Configuration utilisée :
Nous avons suivi la documentation pour l'installation de la machine virtuelle :
Ces commandes s'exécutent de manière automatique sur la VM pour passer par le proxy de l'office lors du chargement d'une page web :
Après avoir vérifié que l'IP de notre Red Pitaya sur le réseau général fonctionnait (avec ping 125.40.20.79), on vérifie que la connection ssh fonctionne :
Sur un autre terminal
Il semblerait donc que la modification des fichiers de config du serveur #307 n'ait par résolu le problème auquel nous somme confronté, il nous est toujours pas possible d'utiliser les commandes
make ...
, au moment d'envoyer le bitstream sur la carte, un blocage s'effectue.Comment pourrions nous faire en sorte de contourner ce problème ?
Merci d'avance Yoann