Problem solved

Read More...

Porchet replied to the topic 'Weather radio don't want connect' in the forum. 2 months ago

sudo ls -l /tmp/weatherradio_output.txt
[sudo] Mot de passe de nafa : 
ls: impossible d'accéder à '/tmp/weatherradio_output.txt': Aucun fichier ou dossier de ce type

Hello
I am coming back to you because I still have my problem.
Indeed, after a while my weather forecast freezes and I have no more data.
I can't find the tmp file that should give me the cause of the problem.
What do you need to see where the problem comes from that I can't get the tmp file?

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

hello
so I made all the orders in order
and now I get to this.
so I can't start the server anymore.

$ sudo service indi-weatherradio status
● indi-weatherradio.service - INDI server for weather radio
   Loaded: loaded (/etc/systemd/system/indi-weatherradio.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2021-02-18 19:26:04 CET; 35s ago
  Process: 17439 ExecStart=/usr/bin/indiserver -vv indi_weatherradio >> /tmp/weatherradio_output.txt (code=exited, status=1/FAILURE)
 Main PID: 17439 (code=exited, status=1/FAILURE)

févr. 18 19:26:04 NAFABox systemd[1]: Started INDI server for weather radio.
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: startup: /usr/bin/indiserver -vv indi_weatherradio >> /tmp/weatherradio_output.txt
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: Driver indi_weatherradio: pid=17442 rfd=3 wfd=6 efd=7
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: Driver >>: pid=17443 rfd=4 wfd=9 efd=10
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: Driver /tmp/weatherradio_output.txt: pid=17444 rfd=5 wfd=12 efd=13
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: bind: Address already in use
févr. 18 19:26:04 NAFABox indiserver[17439]: Child process 17444 died
févr. 18 19:26:04 NAFABox indiserver[17439]: 2021-02-18T18:26:04: good bye
févr. 18 19:26:04 NAFABox systemd[1]: indi-weatherradio.service: Main process exited, code=exited, status=1/FAILURE
févr. 18 19:26:04 NAFABox systemd[1]: indi-weatherradio.service: Failed with result 'exit-code'.
nafa@NAFABox:~$


Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

Hello
no I can't find the folder with the "sudo" command

nafa@NAFABox:~$ sudo ls -l /tmp/weatherradio_output.txt
[sudo] Mot de passe de nafa : 
ls: impossible d'accéder à '/tmp/weatherradio_output.txt': Aucun fichier ou dossier de ce type
nafa@NAFABox:~$ 

I think the function didn't work when the weather crashed.

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

Here are two useful commands for you to try to monitor the situation

Check that indi is working
====================
$ ps aux | grep indiserver

You should see a line saying that indiserver is working, it will include the command including indi_weatherradio

Check the output of the logfile
=======================
$ tail -f /tmp/logfilename.txt


nafa@NAFABox:~$ ps aux | grep indiserver
nafa 704 0.0 0.0 1836 1364 ? Ss févr.11 0:14 /usr/bin/indiserver -v indi_weatherradio >> /tmp/weatherradio_output.txt
nafa 736 0.0 0.0 0 0 ? Z févr.11 0:00 [indiserver] <defunct>
nafa 27566 0.0 0.0 4196 548 pts/0 S+ 09:13 0:00 grep --color=auto indiserver
nafa@NAFABox:~$ tail -f /tmp/logfilename.txt
tail: impossible d'ouvrir '/tmp/logfilename.txt' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
nafa@NAFABox:~$ tail -f /tmp/weatherradio_output.txt
tail: impossible d'ouvrir '/tmp/weatherradio_output.txt' en lecture: Aucun fichier ou dossier de ce type
tail: aucun fichier restant
nafa@NAFABox:~$

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

No, I did not reboot !

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

hello
so I have a good look, in the "tmp" file.
there is nothing .

Why?

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

hello
so here it is, it happened, my weather station crashed.
So now I'm doing how to find and read the file that will tell me what happened.

See you
Christophe

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

hello
so I managed to modify the command line, more than waiting for the next crash to see where the problem comes from.

Christophe

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

hello
then I don't have a problem to open it, but I can't modify it, because, I don't have the authorization to modify it.

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 3 months ago

Hello
So how do I edit the file, because there's nothing I can do about it?

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 4 months ago

on the other hand I can't manage to restart it any more




● indi-weatherradio.service - INDI server for weather radio
Loaded: loaded (/etc/systemd/system/indi-weatherradio.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-01-22 08:40:39 CET; 5s ago
Process: 20148 ExecStart=/usr/bin/indiserver -v indi_weatherradio (code=exited, status=1/FAILURE)
Main PID: 20148 (code=exited, status=1/FAILURE)

janv. 22 08:40:39 NAFABox systemd[1]: Started INDI server for weather radio.
janv. 22 08:40:39 NAFABox indiserver[20148]: 2021-01-22T07:40:39: startup: /usr/bin/indiserver -v indi_weatherradio
janv. 22 08:40:39 NAFABox indiserver[20148]: 2021-01-22T07:40:39: Driver indi_weatherradio: pid=20150 rfd=3 wfd=6 efd=7
janv. 22 08:40:39 NAFABox indiserver[20148]: 2021-01-22T07:40:39: bind: Address already in use
janv. 22 08:40:39 NAFABox indiserver[20148]: 2021-01-22T07:40:39: good bye
janv. 22 08:40:39 NAFABox systemd[1]: indi-weatherradio.service: Main process exited, code=exited, status=1/FAILURE
janv. 22 08:40:39 NAFABox systemd[1]: indi-weatherradio.service: Failed with result 'exit-code'.

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 4 months ago

hello
so here are my commands that I use to launch the service or to control it :
sudo service indi-weatherradio start
sudo service indi-weatherradio stop
sudo service indi-weatherradio status

so I have to do otherwise to launch the service?
what would be the commands to do in order to have a fair launch with a log in case of problem?

Best regards
Christophe

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 4 months ago

hello

You could look at /tmp/indiserver.log to see what it says. If it is not too large you could post it or a link to it.

I can't find the file in "tmp".

Are you using an Arduino? or a Wemos? See problems with crashes above when using a small memory device with many
sensors.


I have a Arduino

How many sensors are you running?


BME280
MLX
TSL2591

Read More...

Porchet replied to the topic 'Weather Radio - info channel' in the forum. 4 months ago

Hello
So I just saw that my station spat out this morning.
So how do I find out where and what the problem is?

Read More...