>
> *It is not a GPS issue, it has something to do with the configuration of
> systemd. I am having the same issue. gpsd will not start if it uses the
> default port of 2947*


Which user are you running these programs as ? I believe ports under 3000
on Debian are privileged.

On Sat, Jun 28, 2014 at 2:36 PM, <[email protected]> wrote:

>
> It is not a GPS issue, it has something to do with the configuration of
> systemd. I am having the same issue. gpsd will not start if it uses the
> default port of 2947, but works on other ports. I am not sure how to fix
> the configuration issue. systemd is listening to the port for some reasons.
>
> For example starting on port 2948:
>  gpsd -D 3 -n -N /dev/tty01 -S 2948
>
>
> gpsd:INFO: launching (Version 3.6)
>
> gpsd:INFO: listening on port 2948
> gpsd:INFO: NTPD ntpd_link_activate: 1
> gpsd:INFO: stashing device /dev/tty01 at slot 0
> gpsd:INFO: opening read-only GPS data source type 0 and at '/dev/tty01'
> gpsd:ERROR: device open failed: No such file or directory - retrying read-
> only
> gpsd:ERROR: read-only device open failed: No such file or directory
> gpsd:ERROR: initial GPS device /dev/tty01 open failed
> gpsd:INFO: running with effective group ID 20
>
> gpsd:INFO: running with effective user ID 65534
>
> gpsd:INFO: startup at 2014-06-28T21:09:24.000Z (1403989764)
>
> Default Port (verified with killall gpsd and rm /var/run/gpsd.sock):
> ):
> gpsd -D 3 -n -N /dev/tty01 -S 2947
>
>
> gpsd:INFO: launching (Version 3.6)
>
> *gpsd:ERROR: can't bind to IPv4 port 2947, Address already in
> usegpsd:ERROR: maybe gpsd is already running!*
> gpsd:INFO: listening on port 2947
> gpsd:INFO: NTPD ntpd_link_activate: 1
> gpsd:INFO: stashing device /dev/tty01 at slot 0
> gpsd:INFO: opening read-only GPS data source type 0 and at '/dev/tty01'
> gpsd:ERROR: device open failed: No such file or directory - retrying
> read-only
> gpsd:ERROR: read-only device open failed: No such file or directory
> gpsd:ERROR: initial GPS device /dev/tty01 open failed
>
> gpsd:INFO: running with effective group ID 20
> gpsd:INFO: running with effective user ID 65534
> gpsd:INFO: startup at 2014-06-28T21:11:21.000Z (1403989881)
>
> lsof -i :2947
> COMMAND PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> systemd   1 root   33u  IPv4  11356      0t0  TCP localhost:gpsd (LISTEN)
>
> lsof -i :2948 returns nothing (with gpsd stopped).
>
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to