pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop
[ ok ] Stopping weewx (via systemctl): weewx.service.
pi@WeatherPi:~ $ sudo killall screen
screen: no process found
pi@WeatherPi:~ $ sudo lsof /dev/ttyUSB0
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
pi@WeatherPi:~ $ ps -ef | grep -e weewxd -e screen
pi 3809 11222 0 10:01 pts/1 00:00:00 grep --color=auto -e weewxd
-e screen
pi@WeatherPi:~ $
On Thursday, 25 February 2021 at 21:57:53 UTC+13 [email protected] wrote:
> vnc makes no relevant difference.
> command = ‘screen’ below shows program ‘screen’ has a ‘pi’ user process
> open on /dev/ttyUSB0 at the moment. not weewxd. probably left over from
> earlier troubleshooting.
> kill it with “sudo killall screen”.
> check if any weewxd’s or screen’s hanging around with “ps -ef | grep -e
> weewxd -e screen”. kill them if you find any.
> you should now be back to a clean state with /devttyUSB0 ready for
> opening. do “sudo lsof /dev/ttyUSB0” to be sure
>
> On 25 Feb 2021, at 5:24 pm, gjr80 <[email protected]> wrote:
>
> I don't know, I'm a SSH only person, I am getting out of my depth now.
>
> Gary
>
> On Thursday, 25 February 2021 at 16:21:11 UTC+10 monmul wrote:
>
>> I am using VNC Viewer (and always have) rather than SSH....not sure if
>> that makes any difference?
>>
>> On Thursday, 25 February 2021 at 19:13:29 UTC+13 gjr80 wrote:
>>
>>> Hmm, different to my Davis on my RPi which shows weewxd rather than
>>> screen. I will have to defer to Tom or someone who knows about screen.
>>>
>>> Gary
>>>
>>> On Thursday, 25 February 2021 at 15:58:07 UTC+10 monmul wrote:
>>>
>>>> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop
>>>> [ ok ] Stopping weewx (via systemctl): weewx.service.
>>>> pi@WeatherPi:~ $ sudo lsof /dev/ttyUSB0
>>>> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system
>>>> /run/user/1000/gvfs
>>>> Output information may be incomplete.
>>>> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
>>>> screen 16582 pi 6u CHR 188,0 0t0 20196 /dev/ttyUSB0
>>>> pi@WeatherPi:~ $
>>>>
>>>>
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/0cb90854-d683-4fb3-8ac3-aa8b1d48fb20n%40googlegroups.com.