gpsd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: tcp device open error


From: Василий Пономаренко
Subject: Re[2]: tcp device open error
Date: Thu, 24 Sep 2020 10:59:49 +0300

Hello again! Thank you for faster reply.
 
if config is:
/etc/default/gpsd
# Default settings for the gpsd init script and the hotplug wrapper.
# Start the gpsd daemon automatically at boot time
START_DAEMON="true"
# Use USB hotplugging to add new USB devices automatically to the daemon
USBAUTO="false"
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
DEVICES="URI"
# Other options you want to pass to gpsd
GPSD_OPTIONS="-n -G tcp://192.168.178.61:10110"
 
 
Then erros is:
systemctl status gpsd
● gpsd.service - GPS (Global Positioning System) Daemon
   Loaded: loaded (/lib/systemd/system/gpsd.service; indirect; vendor preset: enabled)
   Active: active (running) since Thu 2020-09-24 09:06:32 MSK; 1min 28s ago
 Main PID: 614 (gpsd)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/gpsd.service
           └─614 /usr/sbin/gpsd -N -n -G tcp://192.168.178.61:10110 URI
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: device open of URI failed: No such file or directory - retrying read-only
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: read-only device open of URI failed: No such file or directory
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: initial GPS device URI open failed
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: TCP device open error can't connect to host/port pair.
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: tcp://192.168.178.61:10110: device activation failed.
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: tcp://192.168.178.61:10110: activation failed, freeing device
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: device open of URI failed: No such file or directory - retrying read-only
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: read-only device open of URI failed: No such file or directory
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: URI: device activation failed.
сен 24 09:06:33 arm4 gpsd[614]: gpsd:ERROR: URI: activation failed, freeing device
 
 
I think, that URI is not device.
 
Please tell me about:
  1. Is there a way to make a forced reconnection to the tcp source (it is unstable and the network is half-dead)?
  1. I need to call the gpkg reconfigure gpsd command every time I manually edit the /etc/default/gpsd file ?

     
 
Среда, 23 сентября 2020, 19:49 +03:00 от Gary E. Miller <gem@rellim.com>:
 
Yo Василий!

On Wed, 23 Sep 2020 15:36:55 +0300
Василий Пономаренко <basvas@mail.ru> wrote:

> I am trying to enable gpsd auto start with the following parameters.

Looks like a systemd(umb) problem. Someone that knows that will have
to help.

But it seems to me that the tcp URI is your "DEVICE".

> However, I get this error message.

I can't read small dark red on black. Text, not screen shots, are
preferred here.

> If I do systemctl restart gpsd.service, the connection is successful. 

That sure makes it look like a systemd(umber) issue.

Hopefully someone that knows systemd(umbest) has an idea for you.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588

Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin
 
 
 
--
Василий Пономаренко
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]