[chrony-users] gpsd:ERROR... Permission denied

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


I'm trying to setup chronyd with gpsd on a Raspberry Pi Model 2 running Raspbian Jessie.

I'm getting a continuous stream of errors in my var/log/syslog:

Feb  5 19:32:51 raspberrypi gpsd[610]: gpsd:ERROR: device open failed: Permission denied - retrying read-only
Feb  5 19:32:51 raspberrypi gpsd[610]: gpsd:ERROR: read-only device open failed: Permission denied
Feb  5 19:32:51 raspberrypi gpsd[610]: gpsd:ERROR: /dev/pps0: device activation failed.

What could be causing the error?

##### contents of /etc/chrony/chrony.conf file
driftfile /var/lib/chrony/chrony.drift

log tracking measurements statistics
logdir /var/log/chrony

# Stop bad estimates upsetting machine clock.
maxupdateskew 100.0

dumponexit
dumpdir /var/lib/chrony

local stratum 8
manual
smoothtime 400 0.01
makestep .1 -1

allow
logchange 0.5
rtcsync

# set larger delay to allow the NMEA source to overlap with
# the other sources and avoid the falseticker status
refclock SHM 0 refid GPS precision 1e-1 offset 0.9999 delay 0.2
refclock PPS /dev/pps0 lock NMEA


##### contents of /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=""

# Other options you want to pass to gpsd
GPSD_OPTIONS="-n /dev/ttyAMA0 /dev/pps0"


-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/